FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
SPS Struct Reference

Sequence parameter set. More...

#include <h264.h>

Data Fields

int profile_idc
 
int level_idc
 
int chroma_format_idc
 
int transform_bypass
 qpprime_y_zero_transform_bypass_flag
 
int log2_max_frame_num
 log2_max_frame_num_minus4 + 4
 
int poc_type
 pic_order_cnt_type
 
int log2_max_poc_lsb
 log2_max_pic_order_cnt_lsb_minus4
 
int delta_pic_order_always_zero_flag
 
int offset_for_non_ref_pic
 
int offset_for_top_to_bottom_field
 
int poc_cycle_length
 num_ref_frames_in_pic_order_cnt_cycle
 
int ref_frame_count
 num_ref_frames
 
int gaps_in_frame_num_allowed_flag
 
int mb_width
 pic_width_in_mbs_minus1 + 1
 
int mb_height
 pic_height_in_map_units_minus1 + 1
 
int frame_mbs_only_flag
 
int mb_aff
 mb_adaptive_frame_field_flag
 
int direct_8x8_inference_flag
 
int crop
 frame_cropping_flag
 
unsigned int crop_left
 frame_cropping_rect_left_offset
 
unsigned int crop_right
 frame_cropping_rect_right_offset
 
unsigned int crop_top
 frame_cropping_rect_top_offset
 
unsigned int crop_bottom
 frame_cropping_rect_bottom_offset
 
int vui_parameters_present_flag
 
AVRational sar
 
int video_signal_type_present_flag
 
int full_range
 
int colour_description_present_flag
 
enum AVColorPrimaries color_primaries
 
enum AVColorTransferCharacteristic color_trc
 
enum AVColorSpace colorspace
 
int timing_info_present_flag
 
uint32_t num_units_in_tick
 
uint32_t time_scale
 
int fixed_frame_rate_flag
 
short offset_for_ref_frame [256]
 
int bitstream_restriction_flag
 
int num_reorder_frames
 
int scaling_matrix_present
 
uint8_t scaling_matrix4 [6][16]
 
uint8_t scaling_matrix8 [6][64]
 
int nal_hrd_parameters_present_flag
 
int vcl_hrd_parameters_present_flag
 
int pic_struct_present_flag
 
int time_offset_length
 
int cpb_cnt
 See H.264 E.1.2.
 
int initial_cpb_removal_delay_length
 initial_cpb_removal_delay_length_minus1 + 1
 
int cpb_removal_delay_length
 cpb_removal_delay_length_minus1 + 1
 
int dpb_output_delay_length
 dpb_output_delay_length_minus1 + 1
 
int bit_depth_luma
 bit_depth_luma_minus8 + 8
 
int bit_depth_chroma
 bit_depth_chroma_minus8 + 8
 
int residual_color_transform_flag
 residual_colour_transform_flag
 
int constraint_set_flags
 constraint_set[0-3]_flag
 
int new
 flag to keep track if the decoder context needs re-init due to changed SPS
 

Detailed Description

Sequence parameter set.

Definition at line 151 of file h264.h.

Field Documentation

int SPS::profile_idc
int SPS::level_idc
int SPS::chroma_format_idc
int SPS::transform_bypass

qpprime_y_zero_transform_bypass_flag

Definition at line 155 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), init_dequant_tables(), and init_scan_tables().

int SPS::log2_max_frame_num
int SPS::poc_type
int SPS::log2_max_poc_lsb
int SPS::delta_pic_order_always_zero_flag
int SPS::offset_for_non_ref_pic

Definition at line 160 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and init_poc().

int SPS::offset_for_top_to_bottom_field

Definition at line 161 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and init_poc().

int SPS::poc_cycle_length

num_ref_frames_in_pic_order_cnt_cycle

Definition at line 162 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and init_poc().

int SPS::ref_frame_count
int SPS::gaps_in_frame_num_allowed_flag

Definition at line 164 of file h264.h.

Referenced by decode_slice_header(), ff_h264_decode_seq_parameter_set(), and start_frame().

int SPS::mb_width

pic_width_in_mbs_minus1 + 1

Definition at line 165 of file h264.h.

Referenced by decode_slice_header(), and ff_h264_decode_seq_parameter_set().

int SPS::mb_height

pic_height_in_map_units_minus1 + 1

Definition at line 166 of file h264.h.

Referenced by decode_slice_header(), and ff_h264_decode_seq_parameter_set().

int SPS::frame_mbs_only_flag
int SPS::mb_aff
int SPS::direct_8x8_inference_flag
int SPS::crop

frame_cropping_flag

Definition at line 170 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set().

unsigned int SPS::crop_left

frame_cropping_rect_left_offset

Definition at line 171 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set().

unsigned int SPS::crop_right

frame_cropping_rect_right_offset

Definition at line 172 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and h264_slice_header_init().

unsigned int SPS::crop_top

frame_cropping_rect_top_offset

Definition at line 173 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set().

unsigned int SPS::crop_bottom

frame_cropping_rect_bottom_offset

Definition at line 174 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and h264_slice_header_init().

int SPS::vui_parameters_present_flag

Definition at line 175 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set().

AVRational SPS::sar
int SPS::video_signal_type_present_flag

Definition at line 177 of file h264.h.

Referenced by decode_slice_header(), and decode_vui_parameters().

int SPS::full_range
int SPS::colour_description_present_flag

Definition at line 179 of file h264.h.

Referenced by decode_slice_header(), and decode_vui_parameters().

enum AVColorPrimaries SPS::color_primaries

Definition at line 180 of file h264.h.

Referenced by decode_slice_header(), and decode_vui_parameters().

enum AVColorTransferCharacteristic SPS::color_trc

Definition at line 181 of file h264.h.

Referenced by decode_slice_header(), and decode_vui_parameters().

enum AVColorSpace SPS::colorspace
int SPS::timing_info_present_flag
uint32_t SPS::num_units_in_tick
uint32_t SPS::time_scale
int SPS::fixed_frame_rate_flag

Definition at line 186 of file h264.h.

Referenced by decode_vui_parameters().

short SPS::offset_for_ref_frame[256]

Definition at line 187 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and init_poc().

int SPS::bitstream_restriction_flag
int SPS::num_reorder_frames
int SPS::scaling_matrix_present

Definition at line 190 of file h264.h.

Referenced by decode_scaling_matrices(), and ff_h264_decode_seq_parameter_set().

uint8_t SPS::scaling_matrix4[6][16]
uint8_t SPS::scaling_matrix8[6][64]
int SPS::nal_hrd_parameters_present_flag

Definition at line 193 of file h264.h.

Referenced by decode_buffering_period(), decode_picture_timing(), and decode_vui_parameters().

int SPS::vcl_hrd_parameters_present_flag

Definition at line 194 of file h264.h.

Referenced by decode_buffering_period(), decode_picture_timing(), and decode_vui_parameters().

int SPS::pic_struct_present_flag
int SPS::time_offset_length
int SPS::cpb_cnt

See H.264 E.1.2.

Definition at line 197 of file h264.h.

Referenced by decode_buffering_period(), and decode_hrd_parameters().

int SPS::initial_cpb_removal_delay_length

initial_cpb_removal_delay_length_minus1 + 1

Definition at line 198 of file h264.h.

Referenced by decode_buffering_period(), and decode_hrd_parameters().

int SPS::cpb_removal_delay_length

cpb_removal_delay_length_minus1 + 1

Definition at line 199 of file h264.h.

Referenced by decode_hrd_parameters(), and decode_picture_timing().

int SPS::dpb_output_delay_length

dpb_output_delay_length_minus1 + 1

Definition at line 200 of file h264.h.

Referenced by decode_hrd_parameters(), and decode_picture_timing().

int SPS::bit_depth_luma
int SPS::bit_depth_chroma

bit_depth_chroma_minus8 + 8

Definition at line 202 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), fill_picture_parameters(), h264_set_parameter_from_sps(), and start_frame().

int SPS::residual_color_transform_flag

residual_colour_transform_flag

Definition at line 203 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), fill_picture_parameters(), and start_frame().

int SPS::constraint_set_flags

constraint_set[0-3]_flag

Definition at line 204 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_get_profile(), and more_rbsp_data_in_pps().

int SPS::new

flag to keep track if the decoder context needs re-init due to changed SPS

Definition at line 205 of file h264.h.

Referenced by decode_slice_header(), ff_h264_decode_seq_parameter_set(), and field_end().


The documentation for this struct was generated from the following file: