19 #ifndef AVCODEC_H264_SEI_H
20 #define AVCODEC_H264_SEI_H
static int FUNC() sps(CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
bitstream reader API header.
H.264 parameter set handling.
const char * ff_h264_sei_stereo_mode(const H264SEIFramePacking *h)
Get stereo_mode string from the h264 frame_packing_arrangement.
H264_SEI_FpaType
frame_packing_arrangement types
@ H264_SEI_FPA_TYPE_INTERLEAVE_ROW
@ H264_SEI_FPA_TYPE_INTERLEAVE_TEMPORAL
@ H264_SEI_FPA_TYPE_TOP_BOTTOM
@ H264_SEI_FPA_TYPE_CHECKERBOARD
@ H264_SEI_FPA_TYPE_INTERLEAVE_COLUMN
@ H264_SEI_FPA_TYPE_SIDE_BY_SIDE
void ff_h264_sei_uninit(H264SEIContext *h)
Reset SEI values at the beginning of the frame.
H264_SEI_PicStructType
pic_struct in picture timing SEI message
@ H264_SEI_PIC_STRUCT_BOTTOM_FIELD
2: bottom field
@ H264_SEI_PIC_STRUCT_BOTTOM_TOP
4: bottom field, top field, in that order
@ H264_SEI_PIC_STRUCT_TOP_BOTTOM_TOP
5: top field, bottom field, top field repeated, in that order
@ H264_SEI_PIC_STRUCT_TOP_FIELD
1: top field
@ H264_SEI_PIC_STRUCT_FRAME_TRIPLING
8: frame tripling
@ H264_SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM
6: bottom field, top field, bottom field repeated, in that order
@ H264_SEI_PIC_STRUCT_TOP_BOTTOM
3: top field, bottom field, in that order
@ H264_SEI_PIC_STRUCT_FRAME_DOUBLING
7: frame doubling
@ H264_SEI_PIC_STRUCT_FRAME
0: frame
int ff_h264_sei_decode(H264SEIContext *h, GetBitContext *gb, const struct H264ParamSets *ps, void *logctx)
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.
A reference to a data buffer.
uint8_t active_format_description
int preferred_transfer_characteristics
int initial_cpb_removal_delay[32]
Initial timestamps for CPBs.
int present
Buffering period SEI flag.
H264SEIDisplayOrientation display_orientation
H264SEIFramePacking frame_packing
H264SEIUnregistered unregistered
H264SEIAlternativeTransfer alternative_transfer
H264SEIA53Caption a53_caption
H264SEIGreenMetaData green_metadata
H264SEIRecoveryPoint recovery_point
H264SEIBufferingPeriod buffering_period
H264SEIPictureTiming picture_timing
int anticlockwise_rotation
H264_SEI_FpaType arrangement_type
int content_interpretation_type
int arrangement_repetition_period
int current_frame_is_frame0_flag
int quincunx_sampling_flag
int arrangement_cancel_flag
is previous arrangement canceled, -1 if never received
int dpb_output_delay
dpb_output_delay in picture timing SEI message, see H.264 C.2.2
H264SEITimeCode timecode[3]
Maximum three timecodes in a pic_timing SEI.
int ct_type
Bit set of clock types for fields/frames in picture timing SEI message.
int timecode_cnt
Number of timecode in use.
int cpb_removal_delay
cpb_removal_delay in picture timing SEI message, see H.264 C.1.2
H264_SEI_PicStructType pic_struct
int recovery_frame_cnt
recovery_frame_cnt