FFmpeg
Data Fields
SPS Struct Reference

Sequence parameter set. More...

#include <h264.h>

Data Fields

unsigned int  sps_id
 
int  profile_idc
 
int  level_idc
 
 
  qpprime_y_zero_transform_bypass_flag More...
 
  log2_max_frame_num_minus4 + 4 More...
 
int  poc_type
  pic_order_cnt_type More...
 
  log2_max_pic_order_cnt_lsb_minus4 More...
 
 
 
 
  num_ref_frames_in_pic_order_cnt_cycle More...
 
  num_ref_frames More...
 
 
int  mb_width
  pic_width_in_mbs_minus1 + 1 More...
 
int  mb_height
  pic_height_in_map_units_minus1 + 1 More...
 
 
int  mb_aff
  mb_adaptive_frame_field_flag More...
 
 
int  crop
  frame_cropping_flag More...
 
unsigned int  crop_left
  frame_cropping_rect_left_offset More...
 
unsigned int  crop_right
  frame_cropping_rect_right_offset More...
 
unsigned int  crop_top
  frame_cropping_rect_top_offset More...
 
unsigned int  crop_bottom
  frame_cropping_rect_bottom_offset More...
 
 
 
 
int  full_range
 
 
 
 
 
 
uint32_t  num_units_in_tick
 
uint32_t  time_scale
 
 
short  offset_for_ref_frame [256]
 
 
 
 
 
 
 
 
 
 
int  cpb_cnt
  See H.264 E.1.2. More...
 
  initial_cpb_removal_delay_length_minus1 + 1 More...
 
  cpb_removal_delay_length_minus1 + 1 More...
 
  dpb_output_delay_length_minus1 + 1 More...
 
  bit_depth_luma_minus8 + 8 More...
 
  bit_depth_chroma_minus8 + 8 More...
 
  residual_colour_transform_flag More...
 
  constraint_set[0-3]_flag More...
 
int  new
  flag to keep track if the decoder context needs re-init due to changed SPS More...
 

Detailed Description

Sequence parameter set.

Definition at line 173 of file h264.h.

Field Documentation

unsigned int SPS::sps_id

Definition at line 174 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and ff_h264_decode_slice_header().

int SPS::profile_idc

Definition at line 175 of file h264.h.

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

int SPS::level_idc

Definition at line 176 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), fill_picture_parameters(), parse_nal_units(), and vaapi_h264_start_frame().

int SPS::chroma_format_idc

Definition at line 177 of file h264.h.

Referenced by decode_scaling_matrices(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_h264_update_thread_context(), ff_pred_weight_table(), fill_picture_parameters(), h264_slice_header_init(), svq3_decode_init(), vaapi_h264_start_frame(), and vdadec_init().

int SPS::transform_bypass

qpprime_y_zero_transform_bypass_flag

Definition at line 178 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_init_dequant_tables(), init_scan_tables(), and vdpau_h264_start_frame().

int SPS::log2_max_frame_num

log2_max_frame_num_minus4 + 4

Definition at line 179 of file h264.h.

Referenced by decode_nal_units(), decode_picture_timing(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_init_poc(), fill_picture_parameters(), parse_nal_units(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::poc_type

pic_order_cnt_type

Definition at line 180 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_init_poc(), fill_picture_parameters(), parse_nal_units(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::log2_max_poc_lsb

log2_max_pic_order_cnt_lsb_minus4

Definition at line 181 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_init_poc(), fill_picture_parameters(), parse_nal_units(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::delta_pic_order_always_zero_flag

Definition at line 182 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), fill_picture_parameters(), parse_nal_units(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::offset_for_non_ref_pic

Definition at line 183 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and ff_init_poc().

int SPS::offset_for_top_to_bottom_field

Definition at line 184 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and ff_init_poc().

int SPS::poc_cycle_length

num_ref_frames_in_pic_order_cnt_cycle

Definition at line 185 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and ff_init_poc().

int SPS::ref_frame_count

num_ref_frames

Definition at line 186 of file h264.h.

Referenced by ff_generate_sliding_window_mmcos(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), fill_picture_parameters(), parse_nal_units(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::gaps_in_frame_num_allowed_flag

Definition at line 187 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), and vaapi_h264_start_frame().

int SPS::mb_width

pic_width_in_mbs_minus1 + 1

Definition at line 188 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), and parse_nal_units().

int SPS::mb_height

pic_height_in_map_units_minus1 + 1

Definition at line 189 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), and parse_nal_units().

int SPS::frame_mbs_only_flag

Definition at line 190 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), fill_picture_parameters(), parse_nal_units(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::mb_aff

mb_adaptive_frame_field_flag

Definition at line 191 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), fill_picture_parameters(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::direct_8x8_inference_flag

Definition at line 192 of file h264.h.

Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), fill_picture_parameters(), get_dct8x8_allowed(), pred_spatial_direct_motion(), pred_temp_direct_motion(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::crop

frame_cropping_flag

Definition at line 193 of file h264.h.

Referenced by alloc_picture(), ff_h264_decode_seq_parameter_set(), and init_dimensions().

unsigned int SPS::crop_left

frame_cropping_rect_left_offset

Definition at line 196 of file h264.h.

Referenced by alloc_picture(), ff_h264_decode_seq_parameter_set(), init_dimensions(), and parse_nal_units().

unsigned int SPS::crop_right

frame_cropping_rect_right_offset

Definition at line 197 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), init_dimensions(), and parse_nal_units().

unsigned int SPS::crop_top

frame_cropping_rect_top_offset

Definition at line 198 of file h264.h.

Referenced by alloc_picture(), ff_h264_decode_seq_parameter_set(), init_dimensions(), and parse_nal_units().

unsigned int SPS::crop_bottom

frame_cropping_rect_bottom_offset

Definition at line 199 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), init_dimensions(), and parse_nal_units().

int SPS::vui_parameters_present_flag

Definition at line 200 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set().

AVRational SPS::sar

Definition at line 201 of file h264.h.

Referenced by decode_vui_parameters(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), and h264_slice_header_init().

int SPS::video_signal_type_present_flag

Definition at line 202 of file h264.h.

Referenced by decode_vui_parameters(), and ff_h264_decode_slice_header().

int SPS::full_range

Definition at line 203 of file h264.h.

Referenced by decode_vui_parameters(), ff_h264_decode_seq_parameter_set(), and ff_h264_decode_slice_header().

int SPS::colour_description_present_flag

Definition at line 204 of file h264.h.

Referenced by decode_vui_parameters(), and ff_h264_decode_slice_header().

enum AVColorPrimaries SPS::color_primaries

Definition at line 205 of file h264.h.

Referenced by decode_vui_parameters(), and ff_h264_decode_slice_header().

enum AVColorTransferCharacteristic SPS::color_trc

Definition at line 206 of file h264.h.

Referenced by decode_vui_parameters(), and ff_h264_decode_slice_header().

enum AVColorSpace SPS::colorspace

Definition at line 207 of file h264.h.

Referenced by decode_vui_parameters(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), and ff_h264_update_thread_context().

int SPS::timing_info_present_flag

Definition at line 208 of file h264.h.

Referenced by decode_vui_parameters(), ff_h264_decode_seq_parameter_set(), and h264_slice_header_init().

uint32_t SPS::num_units_in_tick

Definition at line 209 of file h264.h.

Referenced by decode_vui_parameters(), ff_h264_decode_seq_parameter_set(), and h264_slice_header_init().

uint32_t SPS::time_scale

Definition at line 210 of file h264.h.

Referenced by decode_vui_parameters(), ff_h264_decode_seq_parameter_set(), and h264_slice_header_init().

int SPS::fixed_frame_rate_flag

Definition at line 211 of file h264.h.

Referenced by decode_vui_parameters().

short SPS::offset_for_ref_frame[256]

Definition at line 212 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), and ff_init_poc().

int SPS::bitstream_restriction_flag

Definition at line 213 of file h264.h.

Referenced by decode_postinit(), decode_vui_parameters(), ff_h264_decode_init(), ff_h264_decode_seq_parameter_set(), and ff_h264_decode_slice_header().

int SPS::num_reorder_frames

Definition at line 214 of file h264.h.

Referenced by avpriv_h264_has_num_reorder_frames(), decode_postinit(), decode_vui_parameters(), ff_h264_decode_init(), ff_h264_decode_seq_parameter_set(), and ff_h264_decode_slice_header().

int SPS::scaling_matrix_present

Definition at line 215 of file h264.h.

Referenced by decode_scaling_matrices(), and ff_h264_decode_seq_parameter_set().

uint8_t SPS::scaling_matrix4[6][16]

Definition at line 216 of file h264.h.

Referenced by decode_scaling_matrices(), ff_h264_decode_picture_parameter_set(), and ff_h264_decode_seq_parameter_set().

uint8_t SPS::scaling_matrix8[6][64]

Definition at line 217 of file h264.h.

Referenced by decode_scaling_matrices(), ff_h264_decode_picture_parameter_set(), and ff_h264_decode_seq_parameter_set().

int SPS::nal_hrd_parameters_present_flag

Definition at line 218 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 219 of file h264.h.

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

int SPS::pic_struct_present_flag

Definition at line 220 of file h264.h.

Referenced by decode_picture_timing(), decode_postinit(), decode_vui_parameters(), and parse_nal_units().

int SPS::time_offset_length

Definition at line 221 of file h264.h.

Referenced by decode_hrd_parameters(), decode_picture_timing(), and ff_h264_decode_seq_parameter_set().

int SPS::cpb_cnt

See H.264 E.1.2.

Definition at line 222 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 223 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 224 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 225 of file h264.h.

Referenced by decode_hrd_parameters(), and decode_picture_timing().

int SPS::bit_depth_luma

bit_depth_luma_minus8 + 8

Definition at line 226 of file h264.h.

Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_h264_filter_mb(), ff_h264_init_cabac_states(), ff_h264_update_thread_context(), fill_picture_parameters(), get_pixel_format(), h264_filter_mb_fast_internal(), h264_frame_start(), h264_slice_header_init(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), parse_nal_units(), svq3_decode_init(), vaapi_h264_start_frame(), and vdadec_init().

int SPS::bit_depth_chroma

bit_depth_chroma_minus8 + 8

Definition at line 227 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), fill_picture_parameters(), h264_frame_start(), h264_slice_header_init(), svq3_decode_init(), and vaapi_h264_start_frame().

int SPS::residual_color_transform_flag

residual_colour_transform_flag

Definition at line 228 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), fill_picture_parameters(), vaapi_h264_start_frame(), and vdpau_h264_start_frame().

int SPS::constraint_set_flags

constraint_set[0-3]_flag

Definition at line 229 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 230 of file h264.h.

Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), and ff_h264_field_end().


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

Generated on Wed Jun 10 2015 01:57:23 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /