View Source Membrane.H265.Parser.DecoderConfigurationRecord (Membrane H265 plugin v0.4.0)

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).

Link to this section Summary

Types

t()

Structure representing the Decoder Configuartion Record

Functions

Generates a DCR based on given PPSs, SPSs and VPSs.

Parses the DCR.

Link to this section Types

Specs

t() :: %Membrane.H265.Parser.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

Link to this section Functions

Link to this function

generate(vpss, spss, ppss, arg4)

View Source

Specs

Generates a DCR based on given PPSs, SPSs and VPSs.

Specs

parse(binary()) :: t()

Parses the DCR.