dvb_table_pat_program(3)

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

✨ dvb_table_pat_program β€” the tea on the MPEG-TS PAT program table πŸ’–

okay bestie, so this is the manual page for dvb_table_pat_program(3) from the Library Functions Manual β€” and yes it's a function-ish entry but it's actually a struct, we love a plot twist πŸ’…


🌸 NAME 🌸

dvb_table_pat_program β€” MPEG-TS PAT program table, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pat.h>

✨ Data Fields ✨

uint16_t service_id
union {
   uint16_t bitfield
   struct {
      uint16_t pid:13
      uint8_t reserved:3
   }
};
struct dvb_table_pat_program * next

πŸ’– Detailed Description πŸ’–

so literally, this is the MPEG-TS PAT program table. that's the assignment, and she ate πŸ”₯

Parameters

  • service_id β€” service id πŸ‘‘
  • pid β€” pid 🌈
  • next β€” pointer to struct dvb_table_pat_program 🫢

This structure is used to store the original PAT program table, converting the integer fields to the CPU endianness. no cap, that endianness glow-up is the entire point ✨

⚠️ okay so listen: the undocumented parameters are used only internally by the API and/or are fields that are reserved. They shouldn't be used, as they may change on future API releases. so hands off bestie, that's not your section of the group chat πŸ’€

also important, and I need you to actually hear me on this one: everything after dvb_table_pat_program::next (including it) won't be bit-mapped to the data parsed from the MPEG TS. So, metadata are added there. so like, past that point it's not the raw bits anymore, it's extra metadata hanging out πŸ™ˆ

Definition at line 77 of file pat.h. πŸ“


πŸŽ€ Field Documentation πŸŽ€

union { ... } dvb_table_pat_program

the anonymous union situation, she's mysterious, she's unnamed, iconic 🧚

uint16_t dvb_table_pat_program::bitfield

Definition at line 80 of file pat.h. πŸ’œ

struct dvb_table_pat_program* dvb_table_pat_program::next

Definition at line 86 of file pat.h. πŸ’œ

uint16_t dvb_table_pat_program::pid

Definition at line 82 of file pat.h. πŸ’œ

uint8_t dvb_table_pat_program::reserved

Definition at line 83 of file pat.h. πŸ’œ

uint16_t dvb_table_pat_program::service_id

Definition at line 78 of file pat.h. πŸ’œ


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libdvbv5 from the source code. πŸ€–βœ¨ (yes the robot wrote it, and honestly? slay.)


πŸ’Œ cute sign-off time: this lil page lives in libdvbv5, Version 1.32.0, brought to you by the libdvbv5 crew, and it's the dvb_table_pat_program(3) page you just read, fr fr. go parse some transport streams, bestie, you got this πŸ¦‹πŸ’–πŸŒΈ
πŸ“¦ where this page comes from