Table 6.38 Stream Syntax for the Genre Descriptor
Syntax
No. of Bits
Format
genre_descriptor() {
descriptor_tag
8
0xAB
descriptor_length
8
uimsbf
reserved
3
‘111’
attribute_count
5
uimsbf
for (i=0; i< attribute_count; i++) {
attribute
8
uimsbf
}
}
descriptor_tag
– This 8-bit unsigned integer shall have the value 0x0xAB, identifying this descriptor
as
genre_descriptor()
.
descriptor_length
– This 8-bit unsigned integer shall specify the number of bytes of the descriptor
that immediately follow the
descriptor_length
field.
attribute_count
– This 5-bit unsigned integer value shall be in the range 1 to 31 and shall indicate
the number of
attribute
bytes to follow.
attribute
– This 8-bit unsigned integer shall be in the range 0x01 to 0xFE and shall specify a basic
genre or category type or detail attribute for the program, coded as a reference to the
Categorical Genre Code Assignments Table (Table 6.20), including any expansions to that
table as may be provided by the DCC Selection Code Table.
6.10
Multiple String Structure
This is a general data structure used specifically for text strings. Text strings appear as event titles,
long channel names, the ETT messages, and RRT text items. The bit stream syntax for the Multiple
String Structure shall be as shown in Table 6.39.
Table 6.39 Bit Stream Syntax for the Multiple String Structure
Syntax
No. of Bits Format
multiple_string_structure() {
Do'stlaringiz bilan baham: |