# VvcConfig

Artifact: [androidx.media3:media3-extractor](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/extractor/VvcConfig.java+class:androidx.media3.extractor.VvcConfig)

*** ** * ** ***

<br />

```
@UnstableApi
class VvcConfig
```

<br />

*** ** * ** ***

VVC configuration data.

## Summary

| ### Public functions |
|---|---|
| `java-static https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig#parse(androidx.media3.common.util.ParsableByteArray)(data: https://developer.android.com/reference/kotlin/androidx/media3/common/util/ParsableByteArray!)` Parses VVC configuration data from a `vvcC` box. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig#bitdepthLuma()` The bit depth of the luma samples. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig#codecs()` An RFC 6381 codec string for the VVC track. |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig#initializationData()` The initialization data for the VVC decoder. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig#nalUnitLengthFieldLength()` 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: https://developer.android.com/reference/kotlin/androidx/media3/common/util/ParsableByteArray!` | The `vvcC` box data. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/extractor/VvcConfig!` | The parsed configuration. |

| Throws |
|---|---|
| `https://developer.android.com/reference/kotlin/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.