View Source Membrane.H265.DecoderConfigurationRecord (Membrane H.264 and H.265 plugin v0.10.2)
Utility functions for parsing and generating HEVC Configuration Record.
The structure of the record is described in section 8.3.3.1.1 of MPEG-4 part 15 (ISO/IEC 14496-15 Edition 2017-02).
Summary
Types
@type t() :: %Membrane.H265.DecoderConfigurationRecord{ bit_depth_chroma_minus8: non_neg_integer(), bit_depth_luma_minus8: non_neg_integer(), chroma_format_idc: non_neg_integer(), constraint_indicator_flags: non_neg_integer(), level_idc: non_neg_integer(), nalu_length_size: non_neg_integer(), num_temporal_layers: non_neg_integer(), ppss: [binary()], profile_compatibility_flags: non_neg_integer(), profile_idc: non_neg_integer(), profile_space: non_neg_integer(), spss: [binary()], temporal_id_nested: non_neg_integer(), tier_flag: non_neg_integer(), vpss: [binary()] }
Structure representing the Decoder Configuartion Record
Functions
@spec generate( [Membrane.H26x.NALu.t()], [Membrane.H26x.NALu.t()], [Membrane.H26x.NALu.t()], Membrane.H265.Parser.stream_structure() ) :: binary() | nil
Generates a DCR based on given PPSs, SPSs and VPSs.
Parses the DCR.