struct H264SPS
Defined at line 93 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.h
Public Members
int profile_idc
bool constraint_set0_flag
bool constraint_set1_flag
bool constraint_set2_flag
bool constraint_set3_flag
bool constraint_set4_flag
bool constraint_set5_flag
int level_idc
int seq_parameter_set_id
int chroma_format_idc
bool separate_colour_plane_flag
int bit_depth_luma_minus8
int bit_depth_chroma_minus8
bool qpprime_y_zero_transform_bypass_flag
bool seq_scaling_matrix_present_flag
int[6][16] scaling_list4x4
int[6][64] scaling_list8x8
int log2_max_frame_num_minus4
int pic_order_cnt_type
int log2_max_pic_order_cnt_lsb_minus4
bool delta_pic_order_always_zero_flag
int offset_for_non_ref_pic
int offset_for_top_to_bottom_field
int num_ref_frames_in_pic_order_cnt_cycle
int expected_delta_per_pic_order_cnt_cycle
int[255] offset_for_ref_frame
int max_num_ref_frames
bool gaps_in_frame_num_value_allowed_flag
int pic_width_in_mbs_minus1
int pic_height_in_map_units_minus1
bool frame_mbs_only_flag
bool mb_adaptive_frame_field_flag
bool direct_8x8_inference_flag
bool frame_cropping_flag
int frame_crop_left_offset
int frame_crop_right_offset
int frame_crop_top_offset
int frame_crop_bottom_offset
bool vui_parameters_present_flag
int sar_width
int sar_height
bool bitstream_restriction_flag
int max_num_reorder_frames
int max_dec_frame_buffering
bool timing_info_present_flag
int num_units_in_tick
int time_scale
bool fixed_frame_rate_flag
bool video_signal_type_present_flag
int video_format
bool video_full_range_flag
bool colour_description_present_flag
int colour_primaries
int transfer_characteristics
int matrix_coefficients
bool nal_hrd_parameters_present_flag
int cpb_cnt_minus1
int bit_rate_scale
int cpb_size_scale
int[32] bit_rate_value_minus1
int[32] cpb_size_value_minus1
bool[32] cbr_flag
int initial_cpb_removal_delay_length_minus_1
int cpb_removal_delay_length_minus1
int dpb_output_delay_length_minus1
int time_offset_length
bool low_delay_hrd_flag
int chroma_array_type
vector raw_data
Public Methods
void H264SPS ()
Defined at line 104 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
void GetLevelConfigFromProfileLevel (VideoCodecProfile profile, uint8_t level, int * level_idc, bool * constraint_set3_flag)
Get corresponding SPS |level_idc| and |constraint_set3_flag| value from
requested |profile| and |level| (see Spec A.3.1).
Defined at line 84 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
std::optional<gfx::Size> GetCodedSize ()
Based on T-REC-H.264 7.4.2.1.1, "Sequence parameter set data semantics",
available from http://www.itu.int/rec/T-REC-H.264.
Defined at line 110 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
std::optional<gfx::Rect> GetVisibleRect ()
Also based on section 7.4.2.1.1.
Defined at line 132 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
VideoColorSpace GetColorSpace ()
Based on T-REC-H.264 E.2.1, "VUI parameters semantics",
available from http://www.itu.int/rec/T-REC-H.264.
Defined at line 187 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
uint8_t GetIndicatedLevel ()
Helper to compute indicated level from parsed SPS data. The value of
indicated level would be included in H264LevelIDC enum representing the
level as in name.
Defined at line 198 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
bool CheckIndicatedLevelWithinTarget (uint8_t target_level)
Helper to check if indicated level is lower than or equal to
|target_level|.
Defined at line 214 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.cc
Enumerations
enum H264ProfileIDC
| Name | Value |
|---|---|
| kProfileIDCBaseline | 66 |
| kProfileIDCConstrainedBaseline | kProfileIDCBaseline |
| kProfileIDCMain | 77 |
| kProfileIDScalableBaseline | 83 |
| kProfileIDScalableHigh | 86 |
| kProfileIDCHigh | 100 |
| kProfileIDHigh10 | 110 |
| kProfileIDSMultiviewHigh | 118 |
| kProfileIDHigh422 | 122 |
| kProfileIDStereoHigh | 128 |
| kProfileIDHigh444Predictive | 244 |
Defined at line 96 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.h
enum H264LevelIDC
| Name | Value |
|---|---|
| kLevelIDC1p0 | 10 |
| kLevelIDC1B | 9 |
| kLevelIDC1p1 | 11 |
| kLevelIDC1p2 | 12 |
| kLevelIDC1p3 | 13 |
| kLevelIDC2p0 | 20 |
| kLevelIDC2p1 | 21 |
| kLevelIDC2p2 | 22 |
| kLevelIDC3p0 | 30 |
| kLevelIDC3p1 | 31 |
| kLevelIDC3p2 | 32 |
| kLevelIDC4p0 | 40 |
| kLevelIDC4p1 | 41 |
| kLevelIDC4p2 | 42 |
| kLevelIDC5p0 | 50 |
| kLevelIDC5p1 | 51 |
| kLevelIDC5p2 | 52 |
| kLevelIDC6p0 | 60 |
| kLevelIDC6p1 | 61 |
| kLevelIDC6p2 | 62 |
Defined at line 110 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.h
enum AspectRatioIdc
| Name | Value |
|---|---|
| kExtendedSar | 255 |
Defined at line 133 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.h
enum
| Name | Value |
|---|---|
| kBitRateScaleConstantTerm | 6 |
| kCPBSizeScaleConstantTerm | 4 |
| kDefaultInitialCPBRemovalDelayLength | 24 |
| kDefaultDPBOutputDelayLength | 24 |
| kDefaultTimeOffsetLength | 24 |
Defined at line 137 of file ../../src/media/third_party/chromium_media/media/video/h264_parser.h