DolbyVisionConfig


@UnstableApi
public final class DolbyVisionConfig


Dolby Vision configuration data.

Summary

Public fields

final @Nullable String

The RFC 6381 codecs string, or null if the profile isn't recognized and so a codecs string can't be constructed.

final int

The level number.

final int

The profile number.

Public methods

static DolbyVisionConfig

Parses Dolby Vision configuration data.

Public fields

codecs

public final @Nullable String codecs

The RFC 6381 codecs string, or null if the profile isn't recognized and so a codecs string can't be constructed.

level

public final int level

The level number.

profile

public final int profile

The profile number.

Public methods

parse

public static DolbyVisionConfig parse(ParsableByteArray data)

Parses Dolby Vision configuration data.

Parameters
ParsableByteArray data

A ParsableByteArray, whose position is set to the start of the Dolby Vision configuration data to parse.

Returns
DolbyVisionConfig

The DolbyVisionConfig corresponding to the configuration.