dvb_mpeg_pes_optional(3)
π 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 be10. 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). so00means 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.
π uint16_t dvb_mpeg_pes_optional::copyright
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
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms