libdvbv5  1.11.0
Library to work with Digital TV devices on Linux
dvb_ts_packet_header Struct Reference

Header of a MPEG-TS transport packet. More...

#include <header.h>

Data Fields

uint8_t sync_byte
 
union {
   uint16_t   bitfield
 
   struct {
      uint16_t   pid:13
 
      uint16_t   transport_priority:1
 
      uint16_t   payload_unit_start_indicator:1
 
      uint16_t   transport_error_indicator:1
 
   } 
 
}; 
 
uint8_t continuity_counter:4
 
uint8_t adaptation_field_control:2
 
uint8_t transport_scrambling_control:2
 
uint8_t adaptation_field_length
 

Detailed Description

Header of a MPEG-TS transport packet.

Parameters
sync_bytesync byte
pidProgram ID
transport_prioritytransport priority
payload_unit_start_indicatorpayload unit start indicator
transport_error_indicatortransport error indicator
continuity_countercontinuity counter
adaptation_field_controladaptation field control
transport_scrambling_controltransport scrambling control
adaptation_field_lengthadaptation field length
See also
http://www.etherguidesystems.com/Help/SDOs/MPEG/Semantics/MPEG-2/transport_packet.aspx
Examples:
dvbv5-zap.c.

Definition at line 57 of file header.h.

Field Documentation

union { ... }
uint8_t dvb_ts_packet_header::adaptation_field_control
Examples:
dvbv5-zap.c.

Definition at line 69 of file header.h.

uint8_t dvb_ts_packet_header::adaptation_field_length

Definition at line 73 of file header.h.

uint16_t dvb_ts_packet_header::bitfield
Examples:
dvbv5-zap.c.

Definition at line 60 of file header.h.

uint8_t dvb_ts_packet_header::continuity_counter

Definition at line 68 of file header.h.

uint16_t dvb_ts_packet_header::payload_unit_start_indicator

Definition at line 64 of file header.h.

uint16_t dvb_ts_packet_header::pid
Examples:
dvbv5-zap.c.

Definition at line 62 of file header.h.

uint8_t dvb_ts_packet_header::sync_byte
Examples:
dvbv5-zap.c.

Definition at line 58 of file header.h.

uint16_t dvb_ts_packet_header::transport_error_indicator

Definition at line 65 of file header.h.

uint16_t dvb_ts_packet_header::transport_priority

Definition at line 63 of file header.h.

uint8_t dvb_ts_packet_header::transport_scrambling_control

Definition at line 70 of file header.h.


The documentation for this struct was generated from the following file: