@UnstableApi
public final class VvcConfig


VVC configuration data.

Summary

Public fields

final int

The bit depth of the luma samples.

final String

An RFC 6381 codec string for the VVC track.

final List<byte[]>

The initialization data for the VVC decoder.

final int

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

Public methods

static VvcConfig

Parses VVC configuration data from a vvcC box.

Public fields

bitdepthLuma

public final int bitdepthLuma

The bit depth of the luma samples.

codecs

public final String codecs

An RFC 6381 codec string for the VVC track.

initializationData

public final List<byte[]> initializationData

The initialization data for the VVC decoder.

nalUnitLengthFieldLength

public final int nalUnitLengthFieldLength

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

Public methods

parse

public static VvcConfig parse(ParsableByteArray data)

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
ParsableByteArray data

The vvcC box data.

Returns
VvcConfig

The parsed configuration.

Throws
androidx.media3.common.ParserException

If the data is malformed.