24 #ifndef AVCODEC_H264_PS_H 25 #define AVCODEC_H264_PS_H 37 #define MAX_SPS_COUNT 32 38 #define MAX_PPS_COUNT 256 114 unsigned int ref_count[2];
119 int chroma_qp_index_offset[2];
133 uint32_t(*dequant4_coeff[6])[16];
134 uint32_t(*dequant8_coeff[6])[64];
int video_signal_type_present_flag
int scaling_matrix_present
uint8_t scaling_matrix4[6][16]
int bitstream_restriction_flag
uint32_t num_units_in_tick
AVColorTransferCharacteristic
Color Transfer Characteristic.
unsigned int crop_top
frame_cropping_rect_top_offset
int fixed_frame_rate_flag
int deblocking_filter_parameters_present
deblocking_filter_parameters_present_flag
unsigned int crop_left
frame_cropping_rect_left_offset
int offset_for_non_ref_pic
int gaps_in_frame_num_allowed_flag
int bit_depth_chroma
bit_depth_chroma_minus8 + 8
AVColorSpace
YUV colorspace type.
enum AVColorPrimaries color_primaries
int cabac
entropy_coding_mode_flag
unsigned int crop_right
frame_cropping_rect_right_offset
int transform_bypass
qpprime_y_zero_transform_bypass_flag
int redundant_pic_cnt_present
redundant_pic_cnt_present_flag
bitstream reader API header.
AVColorPrimaries
Chromaticity coordinates of the source primaries.
H.264 common definitions.
enum AVColorTransferCharacteristic color_trc
int mb_aff
mb_adaptive_frame_field_flag
int poc_type
pic_order_cnt_type
int constrained_intra_pred
constrained_intra_pred_flag
int weighted_pred
weighted_pred_flag
int residual_color_transform_flag
residual_colour_transform_flag
int delta_pic_order_always_zero_flag
int offset_for_top_to_bottom_field
int crop
frame_cropping_flag
int ref_frame_count
num_ref_frames
int initial_cpb_removal_delay_length
initial_cpb_removal_delay_length_minus1 + 1
int poc_cycle_length
num_ref_frames_in_pic_order_cnt_cycle
int colour_description_present_flag
int init_qp
pic_init_qp_minus26 + 26
int direct_8x8_inference_flag
uint8_t scaling_matrix8[6][64]
int pic_order_present
pic_order_present_flag
short offset_for_ref_frame[256]
int timing_info_present_flag
int vcl_hrd_parameters_present_flag
Libavcodec external API header.
main external API structure.
int dpb_output_delay_length
dpb_output_delay_length_minus1 + 1
int vui_parameters_present_flag
int constraint_set_flags
constraint_set[0-3]_flag
Rational number (pair of numerator and denominator).
refcounted data buffer API
int log2_max_poc_lsb
log2_max_pic_order_cnt_lsb_minus4
int ff_h264_decode_seq_parameter_set(GetBitContext *gb, AVCodecContext *avctx, H264ParamSets *ps, int ignore_truncation)
Decode SPS.
int transform_8x8_mode
transform_8x8_mode_flag
int pic_struct_present_flag
A reference to a data buffer.
int init_qs
pic_init_qs_minus26 + 26
Utilties for rational number calculation.
int nal_hrd_parameters_present_flag
int log2_max_frame_num
log2_max_frame_num_minus4 + 4
int bit_depth_luma
bit_depth_luma_minus8 + 8
int mb_width
pic_width_in_mbs_minus1 + 1
int slice_group_count
num_slice_groups_minus1 + 1
int cpb_cnt
See H.264 E.1.2.
int cpb_removal_delay_length
cpb_removal_delay_length_minus1 + 1
int ff_h264_decode_picture_parameter_set(GetBitContext *gb, AVCodecContext *avctx, H264ParamSets *ps, int bit_length)
Decode PPS.
unsigned int crop_bottom
frame_cropping_rect_bottom_offset
void ff_h264_ps_uninit(H264ParamSets *ps)
Uninit H264 param sets structure.
int mb_slice_group_map_type
enum AVColorSpace colorspace