#include <avcodec.h>
Definition at line 2815 of file avcodec.h.
Referenced by parse_packet().
Definition at line 2818 of file avcodec.h.
Referenced by flac_read_timestamp().
Definition at line 2820 of file avcodec.h.
Referenced by compute_pkt_fields(), dash_write_packet(), LLVMFuzzerTestOneInput(), and parse_packet().
This field is used for proper frame duration computation in lavf.
It signals, how much longer the frame duration of the current frame is compared to normal frame duration.
frame_duration = (1 + repeat_pict) * time_base
It is used by codecs like H.264 to display telecined material.
Definition at line 2830 of file avcodec.h.
Referenced by avformat_find_stream_info(), compute_frame_duration(), and ts_fixup().
Definition at line 2831 of file avcodec.h.
Referenced by flac_parse(), flac_read_timestamp(), get_best_header(), LLVMFuzzerTestOneInput(), and parse_packet().
Definition at line 2832 of file avcodec.h.
Referenced by LLVMFuzzerTestOneInput(), and parse_packet().
Definition at line 2845 of file avcodec.h.
Referenced by avformat_find_stream_info(), dash_init(), flac_parse(), flac_read_timestamp(), get_best_header(), old_flac_header(), parse_packet(), and read_frame_internal().
byte offset from starting packet start
Definition at line 2852 of file avcodec.h.
Referenced by compute_pkt_fields().
Set by parser to 1 for key frames and 0 for non-key frames.
It is initialized to -1, so if the parser doesn't set this flag, old-style fallback using AV_PICTURE_TYPE_I picture type as key frames will be used.
Definition at line 2861 of file avcodec.h.
Referenced by LLVMFuzzerTestOneInput(), and parse_packet().
Offset of the current timestamp against last timestamp sync point in units of AVCodecContext.time_base.
Set to INT_MIN when dts_sync_point unused. Otherwise, it must contain a valid timestamp offset.
Note that the timestamp of sync point has usually a nonzero dts_ref_dts_delta, which refers to the previous sync point. Offset of the next frame after timestamp sync point will be usually 1.
For example, this corresponds to H.264 cpb_removal_delay.
Presentation delay of current frame in units of AVCodecContext.time_base.
Set to INT_MIN when dts_sync_point unused. Otherwise, it must contain valid non-negative timestamp delta (presentation time of a frame must not lie in the past).
This delay represents the difference between decoding and presentation time of the frame.
For example, this corresponds to H.264 dpb_output_delay.
Byte position of currently parsed frame in stream.
Definition at line 2914 of file avcodec.h.
Referenced by LLVMFuzzerTestOneInput(), and parse_packet().
Duration of the current frame.
For audio, this is in units of 1 / AVCodecContext.sample_rate. For all other types, this is in units of AVCodecContext.time_base.
Definition at line 2926 of file avcodec.h.
Referenced by get_best_header(), and parse_packet().
Indicate whether a picture is coded as a frame, top field or bottom field.
For example, H.264 field_pic_flag equal to 0 corresponds to AV_PICTURE_STRUCTURE_FRAME. An H.264 picture with field_pic_flag equal to 1 and bottom_field_flag equal to 0 corresponds to AV_PICTURE_STRUCTURE_TOP_FIELD.
The format of the coded data, corresponds to enum AVPixelFormat for video and for enum AVSampleFormat for audio.
Note that a decoder can have considerable freedom in how exactly it decodes the data, so the format reported here might be different from the one returned by a decoder.