View Source ExMP4.Codec.Hevc (MP4 Reader and Writer v0.3.0)

Module responsible for parsing and generating HEVC Configuration Record.

Summary

Types

t()

Structure representing the Decoder Configuartion Record

Functions

Parses the DCR.

Serializes a DCR

Types

@type t() :: %ExMP4.Codec.Hevc{
  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 parse(binary()) :: t()

Parses the DCR.

@spec serialize(t()) :: binary()

Serializes a DCR