vidl2_ffmpeg_istream::pimpl Struct Reference

List of all members.

Detailed Description

Definition at line 14 of file vidl2_ffmpeg_istream_stub.txx.


Public Member Functions

 pimpl ()
 pimpl ()

Public Attributes

AVFormatContext * fmt_cxt_
int vid_index_
AVStream * vid_str_
int64_t last_dts
 Decode time of last frame.
AVFrame * frame_
 The last successfully read frame.
int num_frames_
 number of counted frames.
vil_memory_chunk_sptr contig_memory_
 A contiguous memory buffer to store the current image data.
vidl2_frame_sptr cur_frame_
 The last successfully decoded frame.
bool deinterlace_
 Apply deinterlacing on the frames?.
unsigned frame_number_offset_
 Some codec/file format combinations need a frame number offset.
AVFormatContext * fmt_cxt_
AVStream * vid_str_
int64_t start_time
 Start time of the stream, to offset the dts when computing the frame number.
AVFrame * frame_
 The last successfully read frame.
SwsContext * sws_context_
 A software scaling context.

Constructor & Destructor Documentation

vidl2_ffmpeg_istream::pimpl::pimpl (  )  [inline]

Definition at line 32 of file vidl2_ffmpeg_istream_v1.txx.

vidl2_ffmpeg_istream::pimpl::pimpl (  )  [inline]

Definition at line 38 of file vidl2_ffmpeg_istream_v2.txx.


Member Data Documentation

AVFormatContext* vidl2_ffmpeg_istream::pimpl::fmt_cxt_

Definition at line 45 of file vidl2_ffmpeg_istream_v1.txx.

int vidl2_ffmpeg_istream::pimpl::vid_index_

Definition at line 46 of file vidl2_ffmpeg_istream_v1.txx.

AVStream* vidl2_ffmpeg_istream::pimpl::vid_str_

Definition at line 47 of file vidl2_ffmpeg_istream_v1.txx.

int64_t vidl2_ffmpeg_istream::pimpl::last_dts

Decode time of last frame.

Definition at line 50 of file vidl2_ffmpeg_istream_v1.txx.

AVFrame* vidl2_ffmpeg_istream::pimpl::frame_

The last successfully read frame.

If frame_->data[0] is not NULL, then the frame corresponds to the codec state, so that codec.width and so on apply to the frame data.

Definition at line 57 of file vidl2_ffmpeg_istream_v1.txx.

int vidl2_ffmpeg_istream::pimpl::num_frames_

number of counted frames.

Definition at line 60 of file vidl2_ffmpeg_istream_v1.txx.

vil_memory_chunk_sptr vidl2_ffmpeg_istream::pimpl::contig_memory_

A contiguous memory buffer to store the current image data.

Definition at line 63 of file vidl2_ffmpeg_istream_v1.txx.

vidl2_frame_sptr vidl2_ffmpeg_istream::pimpl::cur_frame_ [mutable]

The last successfully decoded frame.

Definition at line 66 of file vidl2_ffmpeg_istream_v1.txx.

bool vidl2_ffmpeg_istream::pimpl::deinterlace_

Apply deinterlacing on the frames?.

Definition at line 69 of file vidl2_ffmpeg_istream_v1.txx.

unsigned vidl2_ffmpeg_istream::pimpl::frame_number_offset_

Some codec/file format combinations need a frame number offset.

These codecs have a delay between reading packets and generating frames.

Definition at line 73 of file vidl2_ffmpeg_istream_v1.txx.

AVFormatContext* vidl2_ffmpeg_istream::pimpl::fmt_cxt_

Definition at line 52 of file vidl2_ffmpeg_istream_v2.txx.

AVStream* vidl2_ffmpeg_istream::pimpl::vid_str_

Definition at line 54 of file vidl2_ffmpeg_istream_v2.txx.

int64_t vidl2_ffmpeg_istream::pimpl::start_time

Start time of the stream, to offset the dts when computing the frame number.

Definition at line 60 of file vidl2_ffmpeg_istream_v2.txx.

AVFrame* vidl2_ffmpeg_istream::pimpl::frame_

The last successfully read frame.

If frame_->data[0] is not NULL, then the frame corresponds to the codec state, so that codec.width and so on apply to the frame data.

Definition at line 67 of file vidl2_ffmpeg_istream_v2.txx.

SwsContext* vidl2_ffmpeg_istream::pimpl::sws_context_

A software scaling context.

This is the context used for the software scaling and colour conversion routines. Since the conversion is likely to be the same for each frame, we save the context to avoid re-creating it every time.

Definition at line 78 of file vidl2_ffmpeg_istream_v2.txx.


The documentation for this struct was generated from the following files:
Generated on Wed Dec 3 05:21:04 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.5.1