Go to the documentation of this file.
19 #ifndef AVCODEC_H264_SEI_H
20 #define AVCODEC_H264_SEI_H
H264_SEI_PicStructType pic_struct
void ff_h264_sei_uninit(H264SEIContext *h)
Reset SEI values at the beginning of the frame.
int recovery_frame_cnt
recovery_frame_cnt
int timecode_cnt
Number of timecode in use.
@ H264_SEI_PIC_STRUCT_TOP_BOTTOM
3: top field, bottom field, in that order
int ff_h264_sei_decode(H264SEIContext *h, GetBitContext *gb, const struct H264ParamSets *ps, void *logctx)
int present
Buffering period SEI flag.
int initial_cpb_removal_delay[32]
Initial timestamps for CPBs.
int dpb_output_delay
dpb_output_delay in picture timing SEI message, see H.264 C.2.2
H264SEIRecoveryPoint recovery_point
const char * ff_h264_sei_stereo_mode(const H2645SEIFramePacking *h)
Get stereo_mode string from the h264 frame_packing_arrangement.
int ct_type
Bit set of clock types for fields/frames in picture timing SEI message.
@ H264_SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM
6: bottom field, top field, bottom field repeated, in that order
@ H264_SEI_PIC_STRUCT_BOTTOM_TOP
4: bottom field, top field, in that order
H264SEIGreenMetaData green_metadata
@ H264_SEI_PIC_STRUCT_FRAME
0: frame
@ H264_SEI_PIC_STRUCT_FRAME_TRIPLING
8: frame tripling
@ H264_SEI_PIC_STRUCT_FRAME_DOUBLING
7: frame doubling
H264SEIBufferingPeriod buffering_period
static int FUNC() sps(CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
int ff_h264_sei_process_picture_timing(H264SEIPictureTiming *h, const SPS *sps, void *logctx)
Parse the contents of a picture timing message given an active SPS.
@ H264_SEI_PIC_STRUCT_BOTTOM_FIELD
2: bottom field
int cpb_removal_delay
cpb_removal_delay in picture timing SEI message, see H.264 C.1.2
H264_SEI_PicStructType
pic_struct in picture timing SEI message
@ H264_SEI_PIC_STRUCT_TOP_FIELD
1: top field
@ H264_SEI_PIC_STRUCT_TOP_BOTTOM_TOP
5: top field, bottom field, top field repeated, in that order
H264SEITimeCode timecode[3]
Maximum three timecodes in a pic_timing SEI.
H264SEIPictureTiming picture_timing