Membrane.H265.DecoderConfigurationRecord (Membrane H.264 and H.265 plugin v0.10.8)

Copy Markdown View Source

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

t()

Structure representing the Decoder Configuartion Record

Functions

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

Parses the DCR.

Types

t()

@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

generate(vpss, spss, ppss, arg4)

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

parse(arg1)

@spec parse(binary()) :: t()

Parses the DCR.