Public Member Functions | Public Attributes
vidl_ffmpeg_istream::pimpl Struct Reference

List of all members.

Public Member Functions

 pimpl ()
 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.
vil_memory_chunk_sptr raw_video_memory_
 A contiguous memory buffer to frame data for raw video, because there is no decoder to hold it for us.
vidl_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.
int64_t start_time
 Start time of the stream, to offset the dts when computing the frame number.
AVPacket packet_
 The last successfully read packet (before decoding).
SwsContext * sws_context_
 A software scaling context.

Detailed Description

Definition at line 14 of file vidl_ffmpeg_istream_stub.txx.


Constructor & Destructor Documentation

vidl_ffmpeg_istream::pimpl::pimpl ( ) [inline]

Definition at line 33 of file vidl_ffmpeg_istream_v1.txx.

vidl_ffmpeg_istream::pimpl::pimpl ( ) [inline]

Definition at line 39 of file vidl_ffmpeg_istream_v2.txx.

vidl_ffmpeg_istream::pimpl::pimpl ( ) [inline]

Definition at line 39 of file vidl_ffmpeg_istream_v3.txx.


Member Data Documentation

A contiguous memory buffer to store the current image data.

Definition at line 63 of file vidl_ffmpeg_istream_v1.txx.

The last successfully decoded frame.

Definition at line 69 of file vidl_ffmpeg_istream_v1.txx.

Apply deinterlacing on the frames?.

Definition at line 72 of file vidl_ffmpeg_istream_v1.txx.

Definition at line 46 of file vidl_ffmpeg_istream_v1.txx.

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 vidl_ffmpeg_istream_v1.txx.

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

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

Definition at line 76 of file vidl_ffmpeg_istream_v1.txx.

Decode time of last frame.

Definition at line 51 of file vidl_ffmpeg_istream_v1.txx.

number of counted frames.

Definition at line 60 of file vidl_ffmpeg_istream_v1.txx.

The last successfully read packet (before decoding).

This must not be freed if the packet contains the raw image, in which case the frame_ will have only a shallow copy

Definition at line 75 of file vidl_ffmpeg_istream_v2.txx.

A contiguous memory buffer to frame data for raw video, because there is no decoder to hold it for us.

Definition at line 66 of file vidl_ffmpeg_istream_v1.txx.

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

Definition at line 62 of file vidl_ffmpeg_istream_v2.txx.

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 86 of file vidl_ffmpeg_istream_v2.txx.

Definition at line 47 of file vidl_ffmpeg_istream_v1.txx.

Definition at line 48 of file vidl_ffmpeg_istream_v1.txx.


The documentation for this struct was generated from the following files: