49 uint8_t reserved_000000;
50 uint8_t c_not_y_channel_flag;
52 uint16_t horizontal_offset;
56 uint16_t *user_data_words;
57 uint16_t checksum_word;
65 uint32_t packet_start_code_prefix;
67 uint16_t PES_packet_length;
69 uint8_t PES_scrambling_control;
71 uint8_t data_alignment_indicator;
73 uint8_t original_or_copy;
74 uint8_t PTS_DTS_flags;
77 uint8_t DSM_trick_mode_flag;
78 uint8_t additional_copy_info_flag;
80 uint8_t PES_extension_flag;
81 uint8_t PES_header_data_length;
82 uint8_t reserved_0010;
139 struct klbs_context_s *bs;
int klvanc_smpte2038_convert_line_to_words(struct klvanc_smpte2038_anc_data_line_s *l, uint16_t **words, uint16_t *wordCount)
Convert type struct klvanc_smpte2038_anc_data_line_s into a more traditional line of vanc words,...
int klvanc_smpte2038_packetizer_append(struct klvanc_smpte2038_packetizer_s *ctx, struct klvanc_packet_header_s *pkt)
TODO - Brief description goes here.
int klvanc_smpte2038_parse_pes_payload(uint8_t *payload, unsigned int byteCount, struct klvanc_smpte2038_anc_data_packet_s **result)
Inspect a section payload. This function is identical to klvanc_smpte2038_parse_pes_packet(),...
int klvanc_smpte2038_packetizer_begin(struct klvanc_smpte2038_packetizer_s *ctx)
Initialize state, typically done at the beginning of each incoming SDI frame must be done before att...
int klvanc_smpte2038_packetizer_alloc(struct klvanc_smpte2038_packetizer_s **ctx)
Allocate a context so we can use this with the rest of the library.
void klvanc_smpte2038_anc_data_packet_free(struct klvanc_smpte2038_anc_data_packet_s *pkt)
Deallocate and release a previously allocated pkt, see klvanc_smpte2038_parse_section().
int klvanc_smpte2038_parse_pes_packet(uint8_t *section, unsigned int byteCount, struct klvanc_smpte2038_anc_data_packet_s **result)
Inspect a section, if its deemed valid, create a VANC packet and return it to the caller....
int klvanc_smpte2038_packetizer_end(struct klvanc_smpte2038_packetizer_s *ctx, uint64_t pts)
Finalize VANC collection state. Typically done when the last VANC line in a frame has been passed to...
void klvanc_smpte2038_packetizer_free(struct klvanc_smpte2038_packetizer_s **ctx)
Deallocate and release a previously allocated context, see klvanc_smpte2038_packetizer_alloc().
void klvanc_smpte2038_anc_data_packet_dump(struct klvanc_smpte2038_anc_data_packet_s *h)
Inspect structure and output textual information to console.
TODO - Brief description goes here.
Definition smpte2038.h:43
TODO - Brief description goes here.
Definition smpte2038.h:64
TODO - Brief description goes here.
Definition smpte2038.h:134
VANC Headers and packet structure.