payload_unit_start_indicator 1 Transport_priority 1 PID 13 Transport_scrambling_control 2 ‘00' adaptation_field_control 2 continuity_counter 4 if(adaptation_field_control = = '10' || adaptation_field_control = = '11'){ adaptation_field() } if(adaptation_field_control = = '01' || adaptation_field_control = = '11') { for (i=0; i<N; i++){ Data_byte 8 } } } The adaptation field within a TS packet shall have the structure shown in Table 9. 9 Structure of the adaptation field of a TS packet Syntax Number of Restrictions bits adaptation_field() { adaptation_field_length 8 if (adaptation_field_length>0) { Discontinuity_indicator 1 random_access_indicator 1 elementary_stream_priority_indicator 1 PCR_flag 1 OPCR_flag 1 ‘0' splicing_point_flag 1 transport_private_data_flag 1 adaptation_field_extension_flag 1 ‘0' if (PCR_flag = = '1') { program_clock_reference_base 33 Reserved 6 program_clock_reference_extension 9 } if (OPCR_flag = = '1') { not used }
payload_unit_start_indicator 1 Transport_priority 1 PID 13 Transport_scrambling_control 2 ‘00' adaptation_field_control 2 continuity_counter 4 if(adaptation_field_control = = '10' || adaptation_field_control = = '11'){ adaptation_field() } if(adaptation_field_control = = '01' || adaptation_field_control = = '11') { for (i=0; i<N; i++){ Data_byte 8 } } } The adaptation field within a TS packet shall have the structure shown in Table 9. 9 Structure of the adaptation field of a TS packet Syntax Number of bits Restrictions adaptation_field() { adaptation_field_length 8 if (adaptation_field_length>0) { Discontinuity_indicator 1 random_access_indicator 1 elementary_stream_priority_indicator 1 PCR_flag 1 OPCR_flag 1 ‘0' splicing_point_flag 1 transport_private_data_flag 1 adaptation_field_extension_flag 1 ‘0' if (PCR_flag = = '1') { program_clock_reference_base 33 Reserved 6 program_clock_reference_extension 9 } if (OPCR_flag = = '1') { not used }