Av1Config
@UnstableApi
class Av1Config
AV1 configuration data.
Summary
Public functions |
|
|---|---|
java-static Av1Config? |
Parses the av1C configuration record and OBU sequence header and returns an |
Public properties |
|
|---|---|
Int |
The bit depth of the samples, or |
String! |
An RFC 6381 codecs string representing the video format. |
@C.ColorRange Int |
The |
Int |
The |
Int |
The |
Public functions
parse
java-static fun parse(initializationData: ByteArray<Byte>!): Av1Config?
Parses the av1C configuration record and OBU sequence header and returns an Av1Config from their data.
See av1C configuration record syntax in the AV1 ISOBMFF spec.
See av1C OBU syntax in the AV1 Bitstream spec.
| Parameters | |
|---|---|
initializationData: ByteArray<Byte>! |
The exact bytes of the AV1 configuration data to parse. |
| Returns | |
|---|---|
Av1Config? |
A parsed representation of the AV1 configuration data, or |
| Throws | |
|---|---|
androidx.media3.common.ParserException |
If an error occurred parsing the data. |
Public properties
codecs
val codecs: String!
An RFC 6381 codecs string representing the video format.
See codecs and the AV1 codec string spec.
colorRange
val colorRange: @C.ColorRange Int
The C.ColorRange of the video, or NO_VALUE if unknown or not applicable.
colorSpace
@C.ColorSpace
val colorSpace: Int
The C.ColorSpace of the video, or NO_VALUE if unknown or not applicable.
colorTransfer
@C.ColorTransfer
val colorTransfer: Int
The C.ColorTransfer of the video, or NO_VALUE if unknown or not applicable.