@UnstableApi
class VvcConfig


VVC configuration data.

Summary

Public functions

java-static VvcConfig!

Parses VVC configuration data from a vvcC box.

Public properties

Int

The bit depth of the luma samples.

String!

An RFC 6381 codec string for the VVC track.

(Mutable)List<Array<Byte>!>!

The initialization data for the VVC decoder.

Int

The length in bytes of the NAL unit length field in each sample.

Public functions

parse

java-static fun parse(data: ParsableByteArray!): VvcConfig!

Parses VVC configuration data from a vvcC box.

See ISO/IEC 14496-15:2024, Clause 11.2.4.2.2 for the VvcDecoderConfigurationRecord syntax.

Parameters
data: ParsableByteArray!

The vvcC box data.

Returns
VvcConfig!

The parsed configuration.

Throws
androidx.media3.common.ParserException

If the data is malformed.

Public properties

bitdepthLuma

val bitdepthLuma: Int

The bit depth of the luma samples.

codecs

val codecs: String!

An RFC 6381 codec string for the VVC track.

initializationData

val initializationData: (Mutable)List<Array<Byte>!>!

The initialization data for the VVC decoder.

nalUnitLengthFieldLength

val nalUnitLengthFieldLength: Int

The length in bytes of the NAL unit length field in each sample.