libdvbv5 1.22.1
Library to work with Digital TV devices on Linux
|
Provides a way to handle MPEG-TS descriptors found on Digital TV streams. More...
#include <unistd.h>
#include <stdint.h>
#include <arpa/inet.h>
Go to the source code of this file.
Data Structures | |
struct | dvb_desc |
Linked list containing the several descriptors found on a MPEG-TS table. More... | |
struct | dvb_descriptor |
Contains the parser information for the MPEG-TS parser code. More... | |
Macros | |
#define | DVB_MAX_PAYLOAD_PACKET_SIZE |
Maximum size of a table session to be parsed. More... | |
#define | DVB_CRC_SIZE |
number of bytes for the descriptor's CRC check More... | |
#define | TS_Information_descriptior |
Typedefs | |
typedef void(* | dvb_table_init_func) (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, void **table) |
Function prototype for a function that initializes the descriptors parsing on a table. More... | |
typedef int(* | dvb_desc_init_func) (struct dvb_v5_fe_parms *parms, const uint8_t *buf, struct dvb_desc *desc) |
Function prototype for the descriptors parsing init code. More... | |
typedef void(* | dvb_desc_print_func) (struct dvb_v5_fe_parms *parms, const struct dvb_desc *desc) |
Function prototype for the descriptors parsing print code. More... | |
typedef void(* | dvb_desc_free_func) (struct dvb_desc *desc) |
Function prototype for the descriptors memory free code. More... | |
Functions | |
uint32_t | dvb_bcd (uint32_t bcd) |
Converts from BCD to CPU integer internal representation. More... | |
void | dvb_hexdump (struct dvb_v5_fe_parms *parms, const char *prefix, const unsigned char *buf, int len) |
dumps data into the logs in hexadecimal format More... | |
int | dvb_desc_parse (struct dvb_v5_fe_parms *parms, const uint8_t *buf, uint16_t buflen, struct dvb_desc **head_desc) |
parse MPEG-TS descriptors More... | |
void | dvb_desc_free (struct dvb_desc **list) |
frees a dvb_desc linked list More... | |
void | dvb_desc_print (struct dvb_v5_fe_parms *parms, struct dvb_desc *desc) |
prints the contents of a struct dvb_desc linked list More... | |
Variables | |
const dvb_table_init_func | dvb_table_initializers [256] |
Table with all possible descriptors. More... | |
const struct dvb_descriptor | dvb_descriptors [] |
Contains the parsers for the several descriptors. More... | |
Provides a way to handle MPEG-TS descriptors found on Digital TV streams.
Definition in file descriptors.h.
#define TS_Information_descriptior |
Definition at line 776 of file descriptors.h.