libdvbv5 1.22.1
Library to work with Digital TV devices on Linux
Data Fields
ts_t Struct Reference

MPEG PES timestamp structure, used for dts and pts. More...

#include <mpeg_pes.h>

Data Fields

uint8_t one:1
 
uint8_t bits30:3
 
uint8_t tag:4
 
union {
   uint16_t   bitfield
 
   struct {
      uint16_t   one1:1
 
      uint16_t   bits15:15
 
   } 
 
}; 
 
union {
   uint16_t   bitfield2
 
   struct {
      uint16_t   one2:1
 
      uint16_t   bits00:15
 
   } 
 
}; 
 

Detailed Description

MPEG PES timestamp structure, used for dts and pts.

Parameters
tag4 bits Should be 0010 for PTS and 0011 for DTS
bits303 bits Timestamp bits 30-32
one1 bit Sould be 1
bits1515 bits Timestamp bits 15-29
one11 bit Should be 1
bits0015 Bits Timestamp bits 0-14
one21 bit Should be 1

Definition at line 108 of file mpeg_pes.h.

Field Documentation

◆ 

union { ... } ts_t::@103

◆ 

union { ... } ts_t::@105

◆ bitfield

uint16_t ts_t::bitfield

Definition at line 114 of file mpeg_pes.h.

◆ bitfield2

uint16_t ts_t::bitfield2

Definition at line 122 of file mpeg_pes.h.

◆ bits00

uint16_t ts_t::bits00

Definition at line 125 of file mpeg_pes.h.

◆ bits15

uint16_t ts_t::bits15

Definition at line 117 of file mpeg_pes.h.

◆ bits30

uint8_t ts_t::bits30

Definition at line 110 of file mpeg_pes.h.

◆ one

uint8_t ts_t::one

Definition at line 109 of file mpeg_pes.h.

◆ one1

uint16_t ts_t::one1

Definition at line 116 of file mpeg_pes.h.

◆ one2

uint16_t ts_t::one2

Definition at line 124 of file mpeg_pes.h.

◆ tag

uint8_t ts_t::tag

Definition at line 111 of file mpeg_pes.h.


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