# ObuParser.SequenceHeader

# ObuParser.SequenceHeader

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/container/ObuParser.SequenceHeader "View this page in Java")

<br />

```
class ObuParser.SequenceHeader
```

<br />

*** ** * ** ***

An AV1 Sequence header.

## Summary

|                                                              ### Public functions                                                              |
|------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `java-static `[ObuParser.SequenceHeader](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader)`?` | [parse](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#parse(androidx.media3.container.ObuParser.Obu))`(obu: `[ObuParser.Obu](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.Obu)`!)` Returns a[SequenceHeader](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader)parsed from the input OBU, or`null`if the AV1 bitstream is not yet supported. |

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [chromaSamplePosition](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#chromaSamplePosition()) See`chroma_sample_position`.                            |
| [Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)       | [colorPrimaries](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#colorPrimaries()) See`color_primaries`.                                               |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [decoderModelInfoPresentFlag](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#decoderModelInfoPresentFlag()) See`decoder_model_info_present_flag`.     |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [frameIdNumbersPresentFlag](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#frameIdNumbersPresentFlag()) See`frame_id_numbers_present_flag`.           |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [highBitdepth](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#highBitdepth()) See`high_bitdepth`.                                                     |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [initialDisplayDelayMinus1](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#initialDisplayDelayMinus1()) See`initial_display_delay_minus_one`.         |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [initialDisplayDelayPresentFlag](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#initialDisplayDelayPresentFlag()) See`initial_display_delay_present`. |
| [Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)       | [matrixCoefficients](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#matrixCoefficients()) See`matrix_coefficients`.                                   |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [monochrome](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#monochrome()) See`mono_chrome`.                                                           |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [orderHintBits](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#orderHintBits()) See`OrderHintBits`.                                                   |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [reducedStillPictureHeader](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#reducedStillPictureHeader()) See`reduced_still_picture_header`.            |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [seqForceIntegerMv](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#seqForceIntegerMv()) See`seq_force_integer_mv`.                                    |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [seqForceScreenContentTools](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#seqForceScreenContentTools()) See`seq_force_screen_content_tools`.        |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [seqLevelIdx0](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#seqLevelIdx0()) See`seq_level_idx`.                                                     |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [seqProfile](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#seqProfile()) See`seq_profile`.                                                           |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [seqTier0](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#seqTier0()) See`seq_tier`.                                                                  |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [subsamplingX](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#subsamplingX()) See`subsampling_x`.                                                     |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [subsamplingY](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#subsamplingY()) See`subsampling_Y`.                                                     |
| [Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)       | [transferCharacteristics](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#transferCharacteristics()) See`transfer_characteristics`.                    |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [twelveBit](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader#twelveBit()) See`twelve_bit`.                                                              |

## Public functions

### parse

```
java-static fun parse(obu: ObuParser.Obu!): ObuParser.SequenceHeader?
```

Returns a[SequenceHeader](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.SequenceHeader)parsed from the input OBU, or`null`if the AV1 bitstream is not yet supported.  

|                                                    Parameters                                                     |
|-------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| `obu: `[ObuParser.Obu](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser.Obu)`!` | The input OBU with type[OBU_SEQUENCE_HEADER](https://developer.android.com/reference/kotlin/androidx/media3/container/ObuParser#OBU_SEQUENCE_HEADER()). |

## Public properties

### chromaSamplePosition

```
val chromaSamplePosition: Int
```

See`chroma_sample_position`.  

### colorPrimaries

```
val colorPrimaries: Byte
```

See`color_primaries`.  

### decoderModelInfoPresentFlag

```
val decoderModelInfoPresentFlag: Boolean
```

See`decoder_model_info_present_flag`.  

### frameIdNumbersPresentFlag

```
val frameIdNumbersPresentFlag: Boolean
```

See`frame_id_numbers_present_flag`.  

### highBitdepth

```
val highBitdepth: Boolean
```

See`high_bitdepth`.  

### initialDisplayDelayMinus1

```
val initialDisplayDelayMinus1: Int
```

See`initial_display_delay_minus_one`.  

### initialDisplayDelayPresentFlag

```
val initialDisplayDelayPresentFlag: Boolean
```

See`initial_display_delay_present`.  

### matrixCoefficients

```
val matrixCoefficients: Byte
```

See`matrix_coefficients`.  

### monochrome

```
val monochrome: Boolean
```

See`mono_chrome`.  

### orderHintBits

```
val orderHintBits: Int
```

See`OrderHintBits`.  

### reducedStillPictureHeader

```
val reducedStillPictureHeader: Boolean
```

See`reduced_still_picture_header`.  

### seqForceIntegerMv

```
val seqForceIntegerMv: Boolean
```

See`seq_force_integer_mv`.  

### seqForceScreenContentTools

```
val seqForceScreenContentTools: Boolean
```

See`seq_force_screen_content_tools`.  

### seqLevelIdx0

```
val seqLevelIdx0: Int
```

See`seq_level_idx`.  

### seqProfile

```
val seqProfile: Int
```

See`seq_profile`.  

### seqTier0

```
val seqTier0: Int
```

See`seq_tier`.  

### subsamplingX

```
val subsamplingX: Boolean
```

See`subsampling_x`.  

### subsamplingY

```
val subsamplingY: Boolean
```

See`subsampling_Y`.  

### transferCharacteristics

```
val transferCharacteristics: Byte
```

See`transfer_characteristics`.  

### twelveBit

```
val twelveBit: Boolean
```

See`twelve_bit`.