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. | |
| 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.
| AVFormatContext* vidl2_ffmpeg_istream::pimpl::fmt_cxt_ |
Definition at line 45 of file vidl2_ffmpeg_istream_v1.txx.
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.
| 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.
A contiguous memory buffer to store the current image data.
Definition at line 63 of file vidl2_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 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.
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.
1.5.1