Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 36 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ <h1>Identifying AV1 streams in MPEG-2 TS</h1>
| Syntax | No. Of bits | Mnemonic |
|:---------------------------------|:-----------:|:----------:|
| registration_descriptor() { | | |
| **descriptor_tag** | **8** | **uimsbf** |
| **descriptor_length** | **8** | **uimsbf** |
| **format_identifier** | **32** | **uimsbf** |
| &nbsp;&nbsp;**descriptor_tag** | 8 | uimsbf |
| &nbsp;&nbsp;**descriptor_length** | 8 | uimsbf |
| &nbsp;&nbsp;**format_identifier** | 32 | uimsbf |
| } | | |

### Semantics
Expand All @@ -102,27 +102,27 @@ <h1>Identifying AV1 streams in MPEG-2 TS</h1>
| Syntax | No. Of bits | Mnemonic |
|:---------------------------------|:-----------:|:----------:|
| AV1_video_descriptor() { | | |
| **descriptor_tag** | **8** | **uimsbf** |
| **descriptor_length** | **8** | **uimsbf** |
| **marker** | **1** | **bslbf** |
| **version** | **7** | **uimsbf** |
| **seq_profile** | **3** | **uimsbf** |
| **seq_level_idx_0** | **5** | **uimsbf** |
| **seq_tier_0** | **1** | **bslbf** |
| **high_bitdepth** | **1** | **bslbf** |
| **twelve_bit** | **1** | **bslbf** |
| **monochrome** | **1** | **bslbf** |
| **chroma_subsampling_x** | **1** | **bslbf** |
| **chroma_subsampling_y** | **1** | **bslbf** |
| **chroma_sample_position** | **2** | **uimsbf** |
| **hdr_wcg_idc** | **2** | **uimsbf** |
| **reserved_zeros** | **1** | **bslbf** |
| **initial_presentation_delay_present** | **1** | **bslbf** |
| if (initial_presentation_delay_present) { |
| **initial_presentation_delay_minus_one** | **4** | **uimsbf** |
| } else { | | |
| **reserved_zeros** | **4** | **uimsbf** |
| } | | |
| &nbsp;&nbsp;**descriptor_tag** | **8 | uimsbf |
| &nbsp;&nbsp;**descriptor_length** | 8 | uimsbf |
| &nbsp;&nbsp;**marker** | 1 | bslbf |
| &nbsp;&nbsp;**version** | 7 | uimsbf |
| &nbsp;&nbsp;**seq_profile** | 3 | uimsbf |
| &nbsp;&nbsp;**seq_level_idx_0** | 5 | uimsbf |
| &nbsp;&nbsp;**seq_tier_0** | 1 | bslbf |
| &nbsp;&nbsp;**high_bitdepth** | 1 | bslbf |
| &nbsp;&nbsp;**twelve_bit** | 1 | bslbf |
| &nbsp;&nbsp;**monochrome** | 1 | bslbf |
| &nbsp;&nbsp;**chroma_subsampling_x** | 1 | bslbf |
| &nbsp;&nbsp;**chroma_subsampling_y** | 1 | bslbf |
| &nbsp;&nbsp;**chroma_sample_position** | 2 | uimsbf |
| &nbsp;&nbsp;**hdr_wcg_idc** | 2 | uimsbf |
| &nbsp;&nbsp;**reserved_zeros** | 1 | bslbf |
| &nbsp;&nbsp;**initial_presentation_delay_present** | 1 | bslbf |
| &nbsp;&nbsp;if (initial_presentation_delay_present) { |
| &nbsp;&nbsp;&nbsp;&nbsp;**initial_presentation_delay_minus_one** | 4 | uimsbf |
| &nbsp;&nbsp;} else { | | |
| &nbsp;&nbsp;&nbsp;&nbsp;**reserved_zeros** | 4 | uimsbf |
| &nbsp;&nbsp;} | | |
| } | | |

### Semantics
Expand Down Expand Up @@ -178,16 +178,18 @@ <h1>Identifying AV1 streams in MPEG-2 TS</h1>
| Syntax | No. Of bits | Mnemonic |
|:------------------------------------------------------------------|:-----------:|:----------:|
| ts_open_bitstream_unit(NumBytesInTsObu) { | | |
| obu_start_code /* equal to 0x01 */ | **24** | **uimsbf** |
| NumBytesInObu = 0 | | |
| for( i = 2; i < NumBytesInTsObu; i++ ) { | | |
| if( i + 2 < NumBytesInTsObu && nextbits(24) == 0x000003 ) { | | |
| open_bitstream_unit[NumBytesInObu++] | **8** | **uimsbf** |
| open_bitstream_unit[NumBytesInObu++] | **8** | **uimsbf** |
| i += 2 | | |
| emulation_prevention_three_byte /* equal to 0x03 */ | **8** | **uimsbf** |
| } else | | |
| open_bitstream_unit[NumBytesInObu++] | **8** | **uimsbf** |
| &nbsp;&nbsp;obu_start_code /* equal to 0x01 */ | **24** | **uimsbf** |
| &nbsp;&nbsp;NumBytesInObu = 0 | | |
| &nbsp;&nbsp;for( i = 2; i < NumBytesInTsObu; i++ ) { | | |
| &nbsp;&nbsp;&nbsp;&nbsp;if( i + 2 < NumBytesInTsObu && nextbits(24) == 0x000003 ) { | | |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open_bitstream_unit[NumBytesInObu++] | **8** | **uimsbf** |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open_bitstream_unit[NumBytesInObu++] | **8** | **uimsbf** |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i += 2 | | |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;emulation_prevention_three_byte /* equal to 0x03 */ | **8** | **uimsbf** |
| &nbsp;&nbsp;&nbsp;&nbsp;} else { | | |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open_bitstream_unit[NumBytesInObu++] | **8** | **uimsbf** |
| &nbsp;&nbsp;&nbsp;&nbsp;} | | |
| &nbsp;&nbsp;} | | |
| } | | |

**obu_start_code** - This value shall be set to 0x000001.
Expand Down