@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<ByteArray<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 bitdepthLumaInt

The bit depth of the luma samples.

codecs

val codecsString!

An RFC 6381 codec string for the VVC track.

initializationData

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

The initialization data for the VVC decoder.

nalUnitLengthFieldLength

val nalUnitLengthFieldLengthInt

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