dvb_mpeg_pes_optional(3)

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

πŸ’– dvb_mpeg_pes_optional(3) β€” the MPEG PES optional header, bestie edition πŸ’–

okay so bestie, you're in the dvb_mpeg_pes_optional(3) part of the Library Functions Manual, and lemme tell you, this is the optional header of an MPEG PES packet and she is structured. πŸŽ€


✨ NAME ✨

dvb_mpeg_pes_optional β€” MPEG PES optional header. that's it, that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

#include <mpeg_pes.h>

πŸ¦‹ Data Fields πŸ¦‹

this is the part where she's literally a union of a raw bitfield and a struct of named bits, plus three little friends hanging out below. keep your eyes on the bit widths, they MATTER:

union {
   uint16_t bitfield
   struct {
      uint16_t PES_extension:1
      uint16_t PES_CRC:1
      uint16_t additional_copy_info:1
      uint16_t DSM_trick_mode:1
      uint16_t ES_rate:1
      uint16_t ESCR:1
      uint16_t PTS_DTS:2
      uint16_t original_or_copy:1
      uint16_t copyright:1
      uint16_t data_alignment_indicator:1
      uint16_t PES_priority:1
      uint16_t PES_scrambling_control:2
      uint16_t two:2
   }
};
uint8_t length
uint64_t pts
uint64_t dts

πŸ‘‘ Detailed Description πŸ‘‘

MPEG PES optional header. she's optional but she's main character, periodt.

🌈 Parameters 🌈

okay so every single one of these, no skipping, I promised:

  • two β€” 2 bits. Should be 10. that's it. that's the assignment. it's giving "the rules are the rules". ⭐
  • PES_scrambling_control β€” 2 bits. PES Scrambling Control (Not Scrambled=00, otherwise scrambled). so 00 means she's out in the open, anything else means she's scrambled. πŸ”₯
  • PES_priority β€” 1 bit. PES Priority. queen behaviour, she goes first. πŸ‘‘
  • data_alignment_indicator β€” 1 bit. PES data alignment.
  • copyright β€” 1 bit. PES content protected by copyright. do NOT repost. πŸ™ˆ
  • original_or_copy β€” 1 bit. PES content is original (=1) or copied (=0). fr fr, no in-between.
  • PTS_DTS β€” 2 bit. PES header contains PTS (=10, =11) and/or DTS (=01, =11). lowkey the most chaotic two bits in here. 😭
  • ESCR β€” 1 bit. PES header contains ESCR fields.
  • ES_rate β€” 1 bit. PES header contains ES_rate field.
  • DSM_trick_mode β€” 1 bit. PES header contains DSM_trick_mode field.
  • additional_copy_info β€” 1 bit. PES header contains additional_copy_info field.
  • PES_CRC β€” 1 bit. PES header contains CRC field.
  • PES_extension β€” 1 bit. PES header contains extension field.
  • length β€” 8 bit. PES header data length.
  • pts β€” 64 bit. PES PTS timestamp.
  • dts β€” 64 bit. PES DTS timestamp.
πŸ’€ Definition at line 152 of file mpeg_pes.h. like, if you need receipts, there they are.

🫢 Field Documentation 🫢

πŸ’œ union { ... } dvb_mpeg_pes_optional

the union herself. iconic.

πŸ’œ uint16_t dvb_mpeg_pes_optional::additional_copy_info

Definition at line 158 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::bitfield

Definition at line 154 of file mpeg_pes.h.

Definition at line 164 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::data_alignment_indicator

Definition at line 165 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::DSM_trick_mode

Definition at line 159 of file mpeg_pes.h.

πŸ’œ uint64_t dvb_mpeg_pes_optional::dts

Definition at line 173 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::ES_rate

Definition at line 160 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::ESCR

Definition at line 161 of file mpeg_pes.h.

πŸ’œ uint8_t dvb_mpeg_pes_optional::length

Definition at line 171 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::original_or_copy

Definition at line 163 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::PES_CRC

Definition at line 157 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::PES_extension

Definition at line 156 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::PES_priority

Definition at line 166 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::PES_scrambling_control

Definition at line 167 of file mpeg_pes.h.

πŸ’œ uint64_t dvb_mpeg_pes_optional::pts

Definition at line 172 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::PTS_DTS

Definition at line 162 of file mpeg_pes.h.

πŸ’œ uint16_t dvb_mpeg_pes_optional::two

Definition at line 168 of file mpeg_pes.h.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for libdvbv5 from the source code. so like, a robot wrote this, but a fancy robot. πŸ€–βœ¨


and that's the whole page bestie!! this came to you courtesy of libdvbv5, Version 1.32.0, filed under dvb_mpeg_pes_optional(3). slay, ate, no crumbs left, periodt. πŸ’…πŸ’–πŸ¦‹πŸŒΈπŸŽ€πŸ‘‘πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from