ATSC_DESC_SERVICE_LOCATION_ELEMENTARY(3)

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

πŸ’– atsc_desc_..._elementary β€” Library Functions Manual πŸ’–

okay bestie, pull up a chair πŸͺ‘ because we're about to talk about atsc_desc_service_location_elementary(3), and honestly? it's giving "small struct, big responsibilities." this is a libdvbv5 situation, so you know we're doing C. no cap. πŸŽ€


✨ NAME ✨

atsc_desc_service_location_elementary β€” service location elementary descriptors

like, the whole vibe is "elementary descriptors for service location." that's it. that's the name. slay. πŸ’…


🌸 SYNOPSIS 🌸

#include <desc_atsc_service_location.h>

πŸ¦‹ Data Fields πŸ¦‹

uint8_t stream_type
union {
   uint16_t bitfield
   struct {
      uint16_t elementary_pid:13
      uint16_t reserved:3
   }
};
unsigned char ISO_639_language_code [3]

yes bestie, there's a union in there, and yes, there's a bitfield struct nested inside it. it's giving "let me hold two interpretations of the same bytes and pick whichever one you need." iconic behavior fr fr. πŸ‘‘


πŸ’œ DETAILED DESCRIPTION πŸ’œ

service location elementary descriptors

like the name said. it's descriptors. for elementary service locations. we stay consistent. ✨

🫢 Parameters 🫢

  • stream_type β€” stream type
  • elementary_pid β€” elementary pid
  • ISO_639_language_code β€” ISO 639 language code
and if you wanna know where the whole thing lives: Definition at line 51 of file desc_atsc_service_location.h. 🏠

πŸŽ€ FIELD DOCUMENTATION πŸŽ€

🌈 union { ... } β€” atsc_desc_service_location_elementary

the anonymous union moment. it's anonymous because it doesn't need a name to be the main character. πŸ’…


⭐ uint16_t atsc_desc_service_location_elementary::bitfield

the raw 16-bit view of the union. just the bits, all together, no filter.

Definition at line 54 of file desc_atsc_service_location.h. πŸ“


πŸ“ uint16_t atsc_desc_service_location_elementary::elementary_pid

this one's a 13-bit bitfield (uint16_t elementary_pid:13, if you're keeping receipts) β€” the elementary pid, chillin' inside the struct view.

Definition at line 56 of file desc_atsc_service_location.h. πŸ“


🧚 unsigned char atsc_desc_service_location_elementary::ISO_639_language_code[3]

it's an array of 3 unsigned chars, and it's carrying the ISO 639 language code. three characters, one language, zero notes. πŸ—£οΈ

Definition at line 60 of file desc_atsc_service_location.h. πŸ“


πŸ’€ uint16_t atsc_desc_service_location_elementary::reserved

a 3-bit reserved field. it's reserved, bestie. do not touch. it's not for us. let it live its truth. πŸ™ˆ

Definition at line 57 of file desc_atsc_service_location.h. πŸ“


πŸ”₯ uint8_t atsc_desc_service_location_elementary::stream_type

the uint8_t stream type. one byte of pure stream-type energy.

Definition at line 52 of file desc_atsc_service_location.h. πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for libdvbv5 from the source code.

(yes, Doxygen wrote this one, not a human. it ate and left no crumbs. πŸ€–βœ¨)


and that's the whole page, bestie! 🌸 one last thing β€” this lil' beauty ships with libdvbv5, Version 1.32.0, and the footer timestamp we're repping is atsc_desc_..._elementary(3). go forth and parse those descriptors, you absolute legend. mwah. πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from