|
FFmpeg
|
#include <decode_simple.h>
Data Fields | |
| AVCodecInternal | avci |
| int | intra_only_flag |
| This is set to AV_FRAME_FLAG_KEY for decoders of intra-only formats (those whose codec descriptor has AV_CODEC_PROP_INTRA_ONLY set) to set the flag generically. | |
| enum AVPictureType | initial_pict_type |
| This is set to AV_PICTURE_TYPE_I for intra only video decoders and to AV_PICTURE_TYPE_NONE for other decoders. | |
| int | nb_draining_errors |
| int | draining_started |
| The caller has submitted a NULL packet on input. | |
| int64_t | pts_correction_num_faulty_pts |
| int64_t | pts_correction_num_faulty_dts |
| Number of incorrect PTS values so far. | |
| int64_t | pts_correction_last_pts |
| Number of incorrect DTS values so far. | |
| int64_t | pts_correction_last_dts |
| PTS of the last frame. | |
| uint64_t | side_data_pref_mask |
| DTS of the last frame. | |
| AVFormatContext * | demuxer |
| AVStream * | stream |
| AVCodecContext * | decoder |
| AVPacket * | pkt |
| AVFrame * | frame |
| int(* | process_frame )(struct DecodeContext *dc, AVFrame *frame) |
| void * | opaque |
| AVDictionary * | decoder_opts |
| int | max_frames |
| AVCodecInternal DecodeContext::avci |
| int DecodeContext::intra_only_flag |
This is set to AV_FRAME_FLAG_KEY for decoders of intra-only formats (those whose codec descriptor has AV_CODEC_PROP_INTRA_ONLY set) to set the flag generically.
Definition at line 71 of file decode.c.
Referenced by decode_simple_internal(), ff_decode_internal_sync(), ff_decode_preinit(), and ff_decode_receive_frame_internal().
| enum AVPictureType DecodeContext::initial_pict_type |
This is set to AV_PICTURE_TYPE_I for intra only video decoders and to AV_PICTURE_TYPE_NONE for other decoders.
It is used to set the AVFrame's pict_type before the decoder receives it.
Definition at line 78 of file decode.c.
Referenced by decode_simple_internal(), ff_decode_internal_sync(), ff_decode_preinit(), and ff_decode_receive_frame_internal().
| int DecodeContext::nb_draining_errors |
Definition at line 81 of file decode.c.
Referenced by ff_decode_flush_buffers().
| int DecodeContext::draining_started |
The caller has submitted a NULL packet on input.
Definition at line 86 of file decode.c.
Referenced by avcodec_send_packet(), ff_decode_flush_buffers(), and ff_decode_get_packet().
| int64_t DecodeContext::pts_correction_num_faulty_pts |
Definition at line 88 of file decode.c.
Referenced by ff_decode_flush_buffers(), ff_decode_preinit(), and guess_correct_pts().
| int64_t DecodeContext::pts_correction_num_faulty_dts |
Number of incorrect PTS values so far.
Definition at line 89 of file decode.c.
Referenced by ff_decode_flush_buffers(), ff_decode_preinit(), and guess_correct_pts().
| int64_t DecodeContext::pts_correction_last_pts |
Number of incorrect DTS values so far.
Definition at line 90 of file decode.c.
Referenced by ff_decode_flush_buffers(), ff_decode_preinit(), and guess_correct_pts().
| int64_t DecodeContext::pts_correction_last_dts |
PTS of the last frame.
Definition at line 91 of file decode.c.
Referenced by ff_decode_flush_buffers(), ff_decode_preinit(), and guess_correct_pts().
| uint64_t DecodeContext::side_data_pref_mask |
DTS of the last frame.
Bitmask indicating for which side data types we prefer user-supplied (global or attached to packets) side data over bytestream.
Definition at line 97 of file decode.c.
Referenced by ff_decode_internal_sync(), ff_decode_preinit(), and side_data_pref().
| AVFormatContext* DecodeContext::demuxer |
Definition at line 34 of file decode_simple.h.
| AVStream* DecodeContext::stream |
Definition at line 35 of file decode_simple.h.
| AVCodecContext* DecodeContext::decoder |
Definition at line 36 of file decode_simple.h.
Referenced by decode_read(), ds_free(), ds_open(), ds_run(), process_frame(), process_frame(), and process_frame().
| AVPacket* DecodeContext::pkt |
Definition at line 38 of file decode_simple.h.
| AVFrame* DecodeContext::frame |
Definition at line 39 of file decode_simple.h.
Referenced by decode_read(), ds_free(), ds_open(), ff_attach_decode_data(), and ff_decode_frame_props().
| int(* DecodeContext::process_frame) (struct DecodeContext *dc, AVFrame *frame) |
Definition at line 41 of file decode_simple.h.
Referenced by decode_read(), ds_run(), and main().
| void* DecodeContext::opaque |
Definition at line 42 of file decode_simple.h.
Referenced by main(), process_frame(), and process_frame().
| AVDictionary* DecodeContext::decoder_opts |
Definition at line 44 of file decode_simple.h.
| int DecodeContext::max_frames |
Definition at line 45 of file decode_simple.h.
Referenced by decode_read(), and main().