MediaCodecs.MPEG4.DecoderConfigDescriptor (MediCodecs v0.7.0)

View Source

Module describing DecoderConfigDescriptor (defined in: ISO/IEC 14496-1)

Summary

Functions

Parses the binary into a DecoderConfigDescriptor struct.

Serializes the DecoderConfigDescriptor struct into a binary format.

Types

t()

@type t() :: %MediaCodecs.MPEG4.DecoderConfigDescriptor{
  avg_bitrate: non_neg_integer(),
  buffer_size_db: non_neg_integer(),
  decoder_specific_info: binary(),
  max_bitrate: non_neg_integer(),
  object_type_indication: non_neg_integer(),
  stream_type: non_neg_integer(),
  up_stream: boolean()
}

Functions

parse(arg)

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

Parses the binary into a DecoderConfigDescriptor struct.

serialize(descriptor)

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

Serializes the DecoderConfigDescriptor struct into a binary format.