libclosedcaption 1.0.3
ISDB-Tb/SBTVD (Brazilian DTV) closed caption extraction from MPEG-TS
Loading...
Searching...
No Matches
PacketPES_s::header::flags Union Reference

#include <packet-pes.h>

Data Fields

uint16_t raw
 
struct { 
 
   uint8_t   PES_extension_flag: 1 
 
   uint8_t   PES_CRC_flag: 1 
 
   uint8_t   copy_info_flag: 1 
 
   uint8_t   DSM_trick_mode_flag: 1 
 
   uint8_t   ES_rate_flag: 1 
 
   uint8_t   ESCR_flag: 1 
 
   uint8_t   PTS_DTS_flag: 2 
 
   uint8_t   rights: 1 
 
   uint8_t   copyright: 1 
 
   uint8_t   alignment: 1 
 
   uint8_t   priority: 1 
 
   uint8_t   scrambling: 2 
 
   uint8_t   emulation: 2 
 
} bit 
 

Detailed Description

Flags of bytes 6 and 7 of the packet.

Definition at line 62 of file packet-pes.h.

Field Documentation

◆ raw

uint16_t PacketPES_s::header::flags::raw

Bytes 6 and 7, not decoded.

Definition at line 63 of file packet-pes.h.

◆ PES_extension_flag

uint8_t PacketPES_s::header::flags::PES_extension_flag

Has header extension.

Definition at line 73 of file packet-pes.h.

◆ PES_CRC_flag

uint8_t PacketPES_s::header::flags::PES_CRC_flag

Has PES CRC.

Definition at line 74 of file packet-pes.h.

◆ copy_info_flag

uint8_t PacketPES_s::header::flags::copy_info_flag

Has additional_copy_info.

Definition at line 75 of file packet-pes.h.

◆ DSM_trick_mode_flag

uint8_t PacketPES_s::header::flags::DSM_trick_mode_flag

Has DSM_trick_mode.

Definition at line 76 of file packet-pes.h.

◆ ES_rate_flag

uint8_t PacketPES_s::header::flags::ES_rate_flag

Has ES_rate.

Definition at line 77 of file packet-pes.h.

◆ ESCR_flag

uint8_t PacketPES_s::header::flags::ESCR_flag

Has ESCR.

Definition at line 78 of file packet-pes.h.

◆ PTS_DTS_flag

uint8_t PacketPES_s::header::flags::PTS_DTS_flag

PTS/DTS present, see PTS_is_NONE and the next ones.

Definition at line 79 of file packet-pes.h.

◆ rights

uint8_t PacketPES_s::header::flags::rights

original_or_copy.

Definition at line 82 of file packet-pes.h.

◆ copyright

uint8_t PacketPES_s::header::flags::copyright

copyright.

Definition at line 83 of file packet-pes.h.

◆ alignment

uint8_t PacketPES_s::header::flags::alignment

data_alignment_indicator.

Definition at line 84 of file packet-pes.h.

◆ priority

uint8_t PacketPES_s::header::flags::priority

PES_priority.

Definition at line 85 of file packet-pes.h.

◆ scrambling

uint8_t PacketPES_s::header::flags::scrambling

PES_scrambling_control (0 = not scrambled).

Definition at line 86 of file packet-pes.h.

◆ emulation

uint8_t PacketPES_s::header::flags::emulation

Fixed marker '10' of the optional header.

Definition at line 87 of file packet-pes.h.

◆ [struct]

struct { ... } PacketPES_s::header::flags::bit

Decoded flags.

Warning
The order of the bit fields depends on the compiler; this struct works on GCC/Clang on little-endian machines. Decoded flags.

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