ts_t(3)

πŸ“¦
version 1.32.0 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

ts_t β€” bestie, this is the MPEG PES timestamp structure, and she's the one holding down both dts and pts. We're in section 3 of the manual, so come get your library-function realness. πŸ‘‘


✨ SYNOPSIS ✨

#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 πŸ“–

Okay so. ts_t is the MPEG PES timestamp structure, and she is used for dts and pts. That's the whole vibe. It's giving "small struct, enormous responsibility." πŸ’…

Parameters 🌸

  • tag β€” 4 bits. Should be 0010 for PTS and 0011 for DTS. She's got range, she contains multitudes.
  • bits30 β€” 3 bits. Timestamp bits 30-32.
  • one β€” 1 bit. Sould be 1. (Yes, "Sould". We're keeping it. It's canon. πŸ’€)
  • bits15 β€” 15 bits. Timestamp bits 15-29.
  • one1 β€” 1 bit. Should be 1.
  • bits00 β€” 15 Bits. Timestamp bits 0-14.
  • one2 β€” 1 bit. Should be 1.

Definition at line 108 of file mpeg_pes.h. Iconic placement, no notes. ✨


πŸ¦‹ Field Documentation πŸ¦‹

union { ... } ts_t

union { ... } ts_t

Yeah bestie, two anonymous unions, both going by ts_t, both eating zero crumbs. 🫢


uint16_t ts_t::bitfield

Definition at line 114 of file mpeg_pes.h.

uint16_t ts_t::bitfield2

Definition at line 122 of file mpeg_pes.h.

uint16_t ts_t::bits00

Definition at line 125 of file mpeg_pes.h.

uint16_t ts_t::bits15

Definition at line 117 of file mpeg_pes.h.

uint8_t ts_t::bits30

Definition at line 110 of file mpeg_pes.h.

uint8_t ts_t::one

Definition at line 109 of file mpeg_pes.h.

uint16_t ts_t::one1

Definition at line 116 of file mpeg_pes.h.

uint16_t ts_t::one2

Definition at line 124 of file mpeg_pes.h.

uint8_t ts_t::tag

Definition at line 111 of file mpeg_pes.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libdvbv5 from the source code. No human wrote this, and honestly? The robot ate. πŸ€–βœ¨


Okay so that's the whole page, bestie β€” and here's your lil sign-off: this masterpiece of a manpage comes courtesy of libdvbv5, Version 1.32.0, filed under ts_t(3). Go forth and timestamp responsibly. πŸŽ€πŸ’œ
πŸ“¦ where this page comes from