MediaCodecs.H265.NALU.SPS (MediCodecs v0.7.0)
View SourceStruct describing an H.265 Sequence Parameter Set (SPS).
Summary
Functions
Gets the height.
Gets the SPS ID.
Builds the MIME type from the SPS.
Parses a SPS NALU from a binary string.
Gets the stream profile.
Get video parameter set ID from the SPS.
Gets the width.
Types
@type profile() :: :main | :main_10 | :main_still_picture | :rext
@type t() :: %MediaCodecs.H265.NALU.SPS{ bit_depth_chroma_minus8: non_neg_integer(), bit_depth_luma_minus8: non_neg_integer(), chroma_format_idc: non_neg_integer(), conformance_window: [non_neg_integer()] | nil, log2_diff_max_min_luma_coding_block_size: non_neg_integer(), log2_max_pic_order_cnt_lsb_minus4: non_neg_integer(), log2_min_luma_coding_block_size_minus3: non_neg_integer(), max_dec_pic_buffering_minus1: [non_neg_integer()], max_latency_increase_plus1: [non_neg_integer()], max_num_reorder_pics: [non_neg_integer()], max_sub_layers_minus1: non_neg_integer(), pic_height_in_luma_samples: non_neg_integer(), pic_width_in_luma_samples: non_neg_integer(), profile_tier_level: MediaCodecs.H265.NALU.SPS.ProfileTierLevel.t(), separate_colour_plane_flag: 0 | 1, seq_parameter_set_id: non_neg_integer(), sub_layer_ordering_info_present_flag: 0 | 1, temporal_id_nesting_flag: 0 | 1, video_parameter_set_id: non_neg_integer() }
Functions
@spec height(t()) :: non_neg_integer()
Gets the height.
@spec id(nalu :: binary()) :: non_neg_integer()
Gets the SPS ID.
Builds the MIME type from the SPS.
The tag is the first part of the MIME type (e.g. hvc1
).
Parses a SPS NALU from a binary string.
Gets the stream profile.
@spec video_parameter_set_id(nalu :: binary()) :: non_neg_integer()
Get video parameter set ID from the SPS.
@spec width(t()) :: non_neg_integer()
Gets the width.