Commit 15d26b4c authored by Jean-Paul Saman's avatar Jean-Paul Saman

Doxygen documentation fixex.

parent 52d1a27c
...@@ -85,12 +85,12 @@ typedef void (*dvbpsi_demux_subdec_cb_t) ...@@ -85,12 +85,12 @@ typedef void (*dvbpsi_demux_subdec_cb_t)
struct dvbpsi_demux_s; struct dvbpsi_demux_s;
typedef struct dvbpsi_demux_subdec_s typedef struct dvbpsi_demux_subdec_s
{ {
uint32_t i_id; uint32_t i_id; /*!< subtable id */
dvbpsi_demux_subdec_cb_t pf_callback; dvbpsi_demux_subdec_cb_t pf_callback; /*!< subdec callback */
void * p_cb_data; void * p_cb_data; /*!< subdec callback data */
struct dvbpsi_demux_subdec_s * p_next; struct dvbpsi_demux_subdec_s * p_next; /*!< next subdec callback */
void (*pf_detach)(dvbpsi_t *, uint8_t, uint16_t); void (*pf_detach)(dvbpsi_t *, uint8_t, uint16_t); /*!< detach subdec callback */
} dvbpsi_demux_subdec_t; } dvbpsi_demux_subdec_t;
...@@ -143,7 +143,8 @@ dvbpsi_t *dvbpsi_AttachDemux(dvbpsi_t * p_dvbpsi, ...@@ -143,7 +143,8 @@ dvbpsi_t *dvbpsi_AttachDemux(dvbpsi_t * p_dvbpsi,
/*! /*!
* \fn void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi) * \fn void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi)
* \brief Destroys a demux structure. * \brief Destroys a demux structure.
* \param h_dvbpsi The handle of the demux to be destroyed. * \param p_dvbpsi The handle of the demux to be destroyed.
* \return nothing
*/ */
void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi); void dvbpsi_DetachDemux(dvbpsi_t *p_dvbpsi);
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
extern "C" { extern "C" {
#endif #endif
#define DR_0A_API_VER 2 #define DR_0A_API_VER 2 /*!< descriptor 0a API version */
typedef uint8_t iso_639_language_code_t[3]; typedef uint8_t iso_639_language_code_t[3]; /*!< ISO639 three letter language codes */
/***************************************************************************** /*****************************************************************************
* dvbpsi_iso639_dr_t * dvbpsi_iso639_dr_t
...@@ -61,9 +61,9 @@ typedef struct dvbpsi_iso639_dr_s ...@@ -61,9 +61,9 @@ typedef struct dvbpsi_iso639_dr_s
uint8_t i_code_count; /*!< length of the i_iso_639_code uint8_t i_code_count; /*!< length of the i_iso_639_code
array */ array */
struct { struct {
iso_639_language_code_t iso_639_code; /*!< ISO_639_language_code */ iso_639_language_code_t iso_639_code; /*!< ISO_639_language_code */
uint8_t i_audio_type; /*!< audio_type */ uint8_t i_audio_type; /*!< audio_type */
} code[64]; } code[64]; /*!< list of ISO 639 codes */
} dvbpsi_iso639_dr_t; } dvbpsi_iso639_dr_t;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/*! /*!
* \file <dr_45.h> * \file <dr_45.h>
* \author Jean-Paul Saman <jpsaman at videolan dot org> * \author Jean-Paul Saman <jpsaman@videolan.org>
* \brief VBI data descriptor parsing. * \brief VBI data descriptor parsing.
* *
* DVB VBI data descriptor parsing, according to ETSI EN 300 468 * DVB VBI data descriptor parsing, according to ETSI EN 300 468
...@@ -43,7 +43,7 @@ extern "C" { ...@@ -43,7 +43,7 @@ extern "C" {
* dvbpsi_vbidata_line_t * dvbpsi_vbidata_line_t
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \struct dvbpsi_vbidata_line_t * \struct dvbpsi_vbidata_line_s
* \brief one VBI Data line structure. * \brief one VBI Data line structure.
* *
* This structure is used since vbidata_t structure will contain several * This structure is used since vbidata_t structure will contain several
...@@ -55,8 +55,8 @@ extern "C" { ...@@ -55,8 +55,8 @@ extern "C" {
*/ */
typedef struct dvbpsi_vbidata_line_s typedef struct dvbpsi_vbidata_line_s
{ {
uint8_t i_parity; /* 1 bits */ uint8_t i_parity; /*!< parity bit (1 bits) */
uint8_t i_line_offset; /* 5 bits */ uint8_t i_line_offset; /*!< line offset (5 bits) */
} dvbpsi_vbidata_line_t; } dvbpsi_vbidata_line_t;
...@@ -64,7 +64,7 @@ typedef struct dvbpsi_vbidata_line_s ...@@ -64,7 +64,7 @@ typedef struct dvbpsi_vbidata_line_s
* dvbpsi_vbidata_t * dvbpsi_vbidata_t
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \struct dvbpsi_vbidata_t * \struct dvbpsi_vbidata_s
* \brief one VBI data structure. * \brief one VBI data structure.
* *
* This structure is used since vbi_descriptor will contain several * This structure is used since vbi_descriptor will contain several
...@@ -76,9 +76,9 @@ typedef struct dvbpsi_vbidata_line_s ...@@ -76,9 +76,9 @@ typedef struct dvbpsi_vbidata_line_s
*/ */
typedef struct dvbpsi_vbidata_s typedef struct dvbpsi_vbidata_s
{ {
uint8_t i_data_service_id; /* 8 bits */ uint8_t i_data_service_id; /*!< data service id (8 bits) */
uint8_t i_lines; uint8_t i_lines; /*!< number of lines */
dvbpsi_vbidata_line_t p_lines[255]; dvbpsi_vbidata_line_t p_lines[255]; /*!< VBI lines data */
} dvbpsi_vbidata_t; } dvbpsi_vbidata_t;
...@@ -98,8 +98,8 @@ typedef struct dvbpsi_vbidata_s ...@@ -98,8 +98,8 @@ typedef struct dvbpsi_vbidata_s
*/ */
typedef struct dvbpsi_vbi_dr_s typedef struct dvbpsi_vbi_dr_s
{ {
uint8_t i_services_number; uint8_t i_services_number; /*!< service number */
dvbpsi_vbidata_t p_services[85]; dvbpsi_vbidata_t p_services[85]; /*!< services table */
} dvbpsi_vbi_dr_t; } dvbpsi_vbi_dr_t;
......
...@@ -82,7 +82,7 @@ dvbpsi_bouquet_name_dr_t* dvbpsi_DecodeBouquetNameDr( ...@@ -82,7 +82,7 @@ dvbpsi_bouquet_name_dr_t* dvbpsi_DecodeBouquetNameDr(
* dvbpsi_GenBouquetNameDr * dvbpsi_GenBouquetNameDr
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \fn dvbpsi_descriptor_t * dvbpsi_GenStuffingDr( * \fn dvbpsi_descriptor_t * dvbpsi_GenBouquetNameDr(
dvbpsi_bouquet_name_dr_t * p_decoded, int b_duplicate) dvbpsi_bouquet_name_dr_t * p_decoded, int b_duplicate)
* \brief "bouquet name" descriptor generator. * \brief "bouquet name" descriptor generator.
* \param p_decoded pointer to a decoded "bouquet name" descriptor * \param p_decoded pointer to a decoded "bouquet name" descriptor
......
...@@ -55,11 +55,11 @@ extern "C" { ...@@ -55,11 +55,11 @@ extern "C" {
*/ */
typedef struct dvbpsi_short_event_dr_s typedef struct dvbpsi_short_event_dr_s
{ {
uint8_t i_iso_639_code[3]; uint8_t i_iso_639_code[3]; /*!< ISO 639 language code */
int i_event_name_length; int i_event_name_length; /*!< length of event name */
uint8_t i_event_name[256]; uint8_t i_event_name[256]; /*!< "short event" name */
int i_text_length; int i_text_length; /*!< text length */
uint8_t i_text[256]; uint8_t i_text[256]; /*!< "short event" text */
} dvbpsi_short_event_dr_t; } dvbpsi_short_event_dr_t;
......
...@@ -44,10 +44,10 @@ extern "C" { ...@@ -44,10 +44,10 @@ extern "C" {
* dvbpsi_extended_event_dr_t * dvbpsi_extended_event_dr_t
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \struct dvbpsi_short_event_dr_s * \struct dvbpsi_extended_event_dr_s
* \brief "short event" descriptor structure. * \brief "extended event" descriptor structure.
* *
* This structure is used to store a decoded "short event" descriptor. * This structure is used to store a decoded "extended event" descriptor.
*/ */
/*! /*!
* \typedef struct dvbpsi_short_event_dr_s dvbpsi_extended_event_dr_t * \typedef struct dvbpsi_short_event_dr_s dvbpsi_extended_event_dr_t
...@@ -55,21 +55,21 @@ extern "C" { ...@@ -55,21 +55,21 @@ extern "C" {
*/ */
typedef struct dvbpsi_extended_event_dr_s typedef struct dvbpsi_extended_event_dr_s
{ {
uint8_t i_descriptor_number; uint8_t i_descriptor_number; /*!< descriptor number */
uint8_t i_last_descriptor_number; uint8_t i_last_descriptor_number; /*!< last descriptor number */
uint8_t i_iso_639_code[3]; uint8_t i_iso_639_code[3]; /*!< 3 letter ISO 639 language code */
int i_entry_count; int i_entry_count; /*!< entry count */
uint8_t i_item_description_length[126]; uint8_t i_item_description_length[126]; /*!< length of item_description */
uint8_t *i_item_description[126]; uint8_t *i_item_description[126]; /*!< item description */
uint8_t i_item_length[126]; uint8_t i_item_length[126]; /*!< length of item */
uint8_t *i_item[126]; uint8_t *i_item[126]; /*!< items */
int i_text_length; int i_text_length; /*!< text length */
uint8_t *i_text; uint8_t *i_text; /*!< text */
uint8_t i_buffer[256]; /* do not use */ uint8_t i_buffer[256]; /*!< do not used*/
} dvbpsi_extended_event_dr_t; } dvbpsi_extended_event_dr_t;
......
...@@ -40,17 +40,17 @@ extern "C" { ...@@ -40,17 +40,17 @@ extern "C" {
/***************************************************************************** /*****************************************************************************
* dvbpsi_service_dr_t * dvbpsi_stream_identifier_dr_s
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \struct dvbpsi_service_dr_s * \struct dvbpsi_stream_identifier_dr_s
* \brief "stream identifier" descriptor structure. * \brief "stream identifier" descriptor structure.
* *
* This structure is used to store a decoded "stream identifier" * This structure is used to store a decoded "stream identifier"
* descriptor. (ETSI EN 300 468 section 6.2.37). * descriptor. (ETSI EN 300 468 section 6.2.37).
*/ */
/*! /*!
* \typedef struct dvbpsi_service_dr_s dvbpsi_stream_identifier_dr_t * \typedef struct dvbpsi_stream_identifier_dr_s dvbpsi_stream_identifier_dr_t
* \brief dvbpsi_stream_identifier_dr_t type definition. * \brief dvbpsi_stream_identifier_dr_t type definition.
*/ */
typedef struct dvbpsi_stream_identifier_dr_s typedef struct dvbpsi_stream_identifier_dr_s
......
...@@ -53,8 +53,8 @@ extern "C" { ...@@ -53,8 +53,8 @@ extern "C" {
*/ */
typedef struct dvbpsi_parental_rating_s typedef struct dvbpsi_parental_rating_s
{ {
uint32_t i_country_code; uint32_t i_country_code; /*!< country code of parental rating */
uint8_t i_rating; uint8_t i_rating; /*!< parental rating */
} dvbpsi_parental_rating_t; } dvbpsi_parental_rating_t;
...@@ -75,8 +75,8 @@ typedef struct dvbpsi_parental_rating_s ...@@ -75,8 +75,8 @@ typedef struct dvbpsi_parental_rating_s
*/ */
typedef struct dvbpsi_parental_rating_dr_s typedef struct dvbpsi_parental_rating_dr_s
{ {
uint8_t i_ratings_number; uint8_t i_ratings_number; /*!< number of rating */
dvbpsi_parental_rating_t p_parental_rating[64]; dvbpsi_parental_rating_t p_parental_rating[64]; /*!< parental rating table */
} dvbpsi_parental_rating_dr_t; } dvbpsi_parental_rating_dr_t;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/*! /*!
* \file <dr_56.h> * \file <dr_56.h>
* \author Derk-Jan Hartman <hartman at videolan dot org> * \author Derk-Jan Hartman <hartman@videolan.org>
* \brief EBU Teletext descriptor parsing. * \brief EBU Teletext descriptor parsing.
* *
* DVB EBU Teletext descriptor parsing, according to ETSI EN 300 468 * DVB EBU Teletext descriptor parsing, according to ETSI EN 300 468
...@@ -43,7 +43,7 @@ extern "C" { ...@@ -43,7 +43,7 @@ extern "C" {
* dvbpsi_teletext_t * dvbpsi_teletext_t
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \struct dvbpsi_teletextpage_t * \struct dvbpsi_teletextpage_s
* \brief one teletext page structure. * \brief one teletext page structure.
* *
* This structure is used since teletext_descriptor will contain several * This structure is used since teletext_descriptor will contain several
...@@ -55,10 +55,10 @@ extern "C" { ...@@ -55,10 +55,10 @@ extern "C" {
*/ */
typedef struct dvbpsi_teletextpage_s typedef struct dvbpsi_teletextpage_s
{ {
uint8_t i_iso6392_language_code[3]; /* 24 bits */ uint8_t i_iso6392_language_code[3]; /*!< ISO 6392 Language codes (24 bits) */
uint8_t i_teletext_type; /* 5 bits */ uint8_t i_teletext_type; /*!< teletext type (5 bits) */
uint8_t i_teletext_magazine_number; /* 3 bits */ uint8_t i_teletext_magazine_number; /*!< teletext magazine number (3 bits) */
uint8_t i_teletext_page_number; /* 8 bits */ uint8_t i_teletext_page_number; /*!< teletext page number (8 bits) */
} dvbpsi_teletextpage_t; } dvbpsi_teletextpage_t;
...@@ -79,8 +79,8 @@ typedef struct dvbpsi_teletextpage_s ...@@ -79,8 +79,8 @@ typedef struct dvbpsi_teletextpage_s
*/ */
typedef struct dvbpsi_teletext_dr_s typedef struct dvbpsi_teletext_dr_s
{ {
uint8_t i_pages_number; uint8_t i_pages_number; /*!< number of pages */
dvbpsi_teletextpage_t p_pages[64]; dvbpsi_teletextpage_t p_pages[64]; /*!< teletext pages */
} dvbpsi_teletext_dr_t; } dvbpsi_teletext_dr_t;
......
...@@ -82,8 +82,8 @@ typedef struct dvbpsi_local_time_offset_s ...@@ -82,8 +82,8 @@ typedef struct dvbpsi_local_time_offset_s
*/ */
typedef struct dvbpsi_local_time_offset_dr_s typedef struct dvbpsi_local_time_offset_dr_s
{ {
uint8_t i_local_time_offsets_number; uint8_t i_local_time_offsets_number; /*!< local time offset number */
dvbpsi_local_time_offset_t p_local_time_offset[19]; dvbpsi_local_time_offset_t p_local_time_offset[19]; /*!< local time offset */
} dvbpsi_local_time_offset_dr_t; } dvbpsi_local_time_offset_dr_t;
......
...@@ -54,10 +54,10 @@ extern "C" { ...@@ -54,10 +54,10 @@ extern "C" {
*/ */
typedef struct dvbpsi_subtitle_s typedef struct dvbpsi_subtitle_s
{ {
uint8_t i_iso6392_language_code[3]; uint8_t i_iso6392_language_code[3]; /*!< ISO 6392 language code */
uint8_t i_subtitling_type; uint8_t i_subtitling_type; /*!< subtitling type */
uint16_t i_composition_page_id; uint16_t i_composition_page_id; /*!< composition page id */
uint16_t i_ancillary_page_id; uint16_t i_ancillary_page_id; /*!< ancillayr page id */
} dvbpsi_subtitle_t; } dvbpsi_subtitle_t;
...@@ -78,8 +78,8 @@ typedef struct dvbpsi_subtitle_s ...@@ -78,8 +78,8 @@ typedef struct dvbpsi_subtitle_s
*/ */
typedef struct dvbpsi_subtitling_dr_s typedef struct dvbpsi_subtitling_dr_s
{ {
uint8_t i_subtitles_number; uint8_t i_subtitles_number; /*!< subtiles number */
dvbpsi_subtitle_t p_subtitle[20]; dvbpsi_subtitle_t p_subtitle[20]; /*!< subtitles */
} dvbpsi_subtitling_dr_t; } dvbpsi_subtitling_dr_t;
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
#ifndef _DVBPSI_DVBPSI_H_ #ifndef _DVBPSI_DVBPSI_H_
#define _DVBPSI_DVBPSI_H_ #define _DVBPSI_DVBPSI_H_
#define DVBPSI_VERSION 1.0.0 #define DVBPSI_VERSION 1.0.0 /*!< Human readible DVBPSI version*/
#define DVBPSI_VERSION_INT ((1<<16)+(0<<8)+0) #define DVBPSI_VERSION_INT ((1<<16)+(0<<8)+0) /*!< Machine readible DVBPSI version */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -91,7 +91,7 @@ struct dvbpsi_s ...@@ -91,7 +91,7 @@ struct dvbpsi_s
* dvbpsi_NewHandle * dvbpsi_NewHandle
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \fn dvbpsi_t *dvbpsi_NewHandle(dvbpsi_message_cb *callback, int level) * \fn dvbpsi_t *dvbpsi_NewHandle(dvbpsi_message_cb callback, int level)
* \brief Create a new dvbpsi_t handle to be used by PSI decoders or encoders * \brief Create a new dvbpsi_t handle to be used by PSI decoders or encoders
* \param callback message callback handler, if NULL then no errors, warnings * \param callback message callback handler, if NULL then no errors, warnings
* or debug messages will be sent to the caller application * or debug messages will be sent to the caller application
...@@ -108,9 +108,9 @@ dvbpsi_t *dvbpsi_NewHandle(dvbpsi_message_cb callback, int level); ...@@ -108,9 +108,9 @@ dvbpsi_t *dvbpsi_NewHandle(dvbpsi_message_cb callback, int level);
* dvbpsi_DeleteHandle * dvbpsi_DeleteHandle
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \fn void dvbpsi_NewHandle(dvbpsi_t *handle) * \fn void dvbpsi_DeleteHandle(dvbpsi_t *handle)
* \brief Deletes a dvbpsi_t handle created with dvbpsi_NewHandle * \brief Deletes a dvbpsi_t handle created with dvbpsi_NewHandle
* \param pointer to dvbpsi_t malloced data * \param handle pointer to dvbpsi_t malloced data
* \return nothing * \return nothing
* *
* Delets a dvbpsi_t handle by calling free(handle). Make sure to detach any * Delets a dvbpsi_t handle by calling free(handle). Make sure to detach any
......
...@@ -156,7 +156,6 @@ void dvbpsi_DetachBAT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, ...@@ -156,7 +156,6 @@ void dvbpsi_DetachBAT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
* \param i_bouquet_id bouquet ID * \param i_bouquet_id bouquet ID
* \param i_version BAT version * \param i_version BAT version
* \param b_current_next current next indicator * \param b_current_next current next indicator
* \param i_network_id original network id
* \return nothing. * \return nothing.
*/ */
void dvbpsi_InitBAT(dvbpsi_bat_t *p_bat, uint16_t i_bouquet_id, uint8_t i_version, void dvbpsi_InitBAT(dvbpsi_bat_t *p_bat, uint16_t i_bouquet_id, uint8_t i_version,
...@@ -169,7 +168,6 @@ void dvbpsi_InitBAT(dvbpsi_bat_t *p_bat, uint16_t i_bouquet_id, uint8_t i_versio ...@@ -169,7 +168,6 @@ void dvbpsi_InitBAT(dvbpsi_bat_t *p_bat, uint16_t i_bouquet_id, uint8_t i_versio
* \param i_bouquet_id bouquet ID * \param i_bouquet_id bouquet ID
* \param i_version BAT version * \param i_version BAT version
* \param b_current_next current next indicator * \param b_current_next current next indicator
* \param i_network_id original network id
* \return nothing. * \return nothing.
*/ */
#define dvbpsi_NewBAT(p_bat, i_bouquet_id, i_version, b_current_next) \ #define dvbpsi_NewBAT(p_bat, i_bouquet_id, i_version, b_current_next) \
......
...@@ -64,7 +64,6 @@ typedef struct dvbpsi_eit_event_s ...@@ -64,7 +64,6 @@ typedef struct dvbpsi_eit_event_s
dvbpsi_descriptor_t * p_first_descriptor; /*!< First of the following dvbpsi_descriptor_t * p_first_descriptor; /*!< First of the following
DVB descriptors */ DVB descriptors */
struct dvbpsi_eit_event_s * p_next; /*!< next element of struct dvbpsi_eit_event_s * p_next; /*!< next element of
the list */ the list */
...@@ -171,10 +170,13 @@ void dvbpsi_InitEIT(dvbpsi_eit_t* p_eit, uint16_t i_service_id, uint8_t i_versio ...@@ -171,10 +170,13 @@ void dvbpsi_InitEIT(dvbpsi_eit_t* p_eit, uint16_t i_service_id, uint8_t i_versio
* \def dvbpsi_NewEIT(p_eit, i_ts_id, i_version, b_current_next, i_network_id) * \def dvbpsi_NewEIT(p_eit, i_ts_id, i_version, b_current_next, i_network_id)
* \brief Allocate and initialize a new dvbpsi_eit_t structure. * \brief Allocate and initialize a new dvbpsi_eit_t structure.
* \param p_eit pointer to the EIT structure * \param p_eit pointer to the EIT structure
* \param i_ts_id transport stream ID * \param i_service_id service ID
* \param i_version EIT version * \param i_version EIT version
* \param b_current_next current next indicator * \param b_current_next current next indicator
* \param i_ts_id transport stream ID
* \param i_network_id original network id * \param i_network_id original network id
* \param i_segment_last_section_number segment_last_section_number
* \param i_last_table_id i_last_table_id
* \return nothing. * \return nothing.
*/ */
#define dvbpsi_NewEIT(p_eit, i_service_id, i_version, b_current_next, i_ts_id, i_network_id, i_segment_last_section_number, i_last_table_id) \ #define dvbpsi_NewEIT(p_eit, i_service_id, i_version, b_current_next, i_ts_id, i_network_id, i_segment_last_section_number, i_last_table_id) \
......
...@@ -160,7 +160,6 @@ void dvbpsi_InitNIT(dvbpsi_nit_t* p_nit, uint16_t i_network_id, ...@@ -160,7 +160,6 @@ void dvbpsi_InitNIT(dvbpsi_nit_t* p_nit, uint16_t i_network_id,
* \param i_network_id network id * \param i_network_id network id
* \param i_version NIT version * \param i_version NIT version
* \param b_current_next current next indicator * \param b_current_next current next indicator
* \param i_pcr_pid PCR_PID
* \return nothing. * \return nothing.
*/ */
#define dvbpsi_NewNIT(p_nit, i_network_id, \ #define dvbpsi_NewNIT(p_nit, i_network_id, \
...@@ -218,11 +217,11 @@ dvbpsi_descriptor_t* dvbpsi_NITAddDescriptor(dvbpsi_nit_t* p_nit, ...@@ -218,11 +217,11 @@ dvbpsi_descriptor_t* dvbpsi_NITAddDescriptor(dvbpsi_nit_t* p_nit,
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \fn dvbpsi_nit_ts_t* dvbpsi_NITAddTS(dvbpsi_nit_t* p_nit, * \fn dvbpsi_nit_ts_t* dvbpsi_NITAddTS(dvbpsi_nit_t* p_nit,
uint8_t i_ts_id, uint16_t i_orig_network_id) uint16_t i_ts_id, uint16_t i_orig_network_id)
* \brief Add an TS in the NIT. * \brief Add an TS in the NIT.
* \param p_nit pointer to the NIT structure * \param p_nit pointer to the NIT structure
* \param i_ts_id type of TS * \param i_ts_id type of TS
* \param i_pid PID of the TS * \param i_orig_network_id PID of the TS
* \return a pointer to the added TS. * \return a pointer to the added TS.
*/ */
dvbpsi_nit_ts_t* dvbpsi_NITAddTS(dvbpsi_nit_t* p_nit, dvbpsi_nit_ts_t* dvbpsi_NITAddTS(dvbpsi_nit_t* p_nit,
......
...@@ -112,6 +112,7 @@ typedef void (* dvbpsi_pmt_callback)(void* p_cb_data, dvbpsi_pmt_t* p_new_pmt); ...@@ -112,6 +112,7 @@ typedef void (* dvbpsi_pmt_callback)(void* p_cb_data, dvbpsi_pmt_t* p_new_pmt);
void* p_cb_data) void* p_cb_data)
* \brief Creates and initialization of a PMT decoder and attaches it to dvbpsi_t * \brief Creates and initialization of a PMT decoder and attaches it to dvbpsi_t
* handle * handle
* \param p_dvbpsi handle
* \param i_program_number program number * \param i_program_number program number
* \param pf_callback function to call back on new PMT * \param pf_callback function to call back on new PMT
* \param p_cb_data private data given in argument to the callback * \param p_cb_data private data given in argument to the callback
......
...@@ -178,7 +178,7 @@ void dvbpsi_EmptySIS(dvbpsi_sis_t *p_sis); ...@@ -178,7 +178,7 @@ void dvbpsi_EmptySIS(dvbpsi_sis_t *p_sis);
/*! /*!
* \def dvbpsi_DeleteSIS(p_sis) * \def dvbpsi_DeleteSIS(p_sis)
* \brief Clean and free a dvbpsi_sis_t structure. * \brief Clean and free a dvbpsi_sis_t structure.
* \param p_sIt pointer to the SIS structure * \param p_sis pointer to the SIS structure
* \return nothing. * \return nothing.
*/ */
#define dvbpsi_DeleteSIS(p_sis) \ #define dvbpsi_DeleteSIS(p_sis) \
......
...@@ -98,7 +98,7 @@ int dvbpsi_AttachTOT(dvbpsi_t* p_dvbpsi, uint8_t i_table_id, ...@@ -98,7 +98,7 @@ int dvbpsi_AttachTOT(dvbpsi_t* p_dvbpsi, uint8_t i_table_id,
/*! /*!
* \fn int dvbpsi_DetachTOT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension) * \fn int dvbpsi_DetachTOT(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
* \brief Destroy a TDT/TOT decoder. * \brief Destroy a TDT/TOT decoder.
* \param p_demux Subtable demultiplexor to which the decoder is attached. * \param p_dvbpsi Subtable demultiplexor to which the decoder is attached.
* \param i_table_id Table ID, usually 0x70 * \param i_table_id Table ID, usually 0x70
* \param i_extension Table ID extension, unused in the TDT/TOT * \param i_extension Table ID extension, unused in the TDT/TOT
* \return nothing. * \return nothing.
...@@ -178,7 +178,7 @@ dvbpsi_descriptor_t* dvbpsi_TOTAddDescriptor(dvbpsi_tot_t* p_tot, ...@@ -178,7 +178,7 @@ dvbpsi_descriptor_t* dvbpsi_TOTAddDescriptor(dvbpsi_tot_t* p_tot,
* dvbpsi_GenTOTSections * dvbpsi_GenTOTSections
*****************************************************************************/ *****************************************************************************/
/*! /*!
* \fn dvbpsi_psi_section_t* dvbpsi_GenTOTSections(dvbpsi_t *p_dvbpsi, dvbpsi_Ttot_t* p_tot) * \fn dvbpsi_psi_section_t* dvbpsi_GenTOTSections(dvbpsi_t *p_dvbpsi, dvbpsi_tot_t* p_tot)
* \brief TDT/TOT generator * \brief TDT/TOT generator
* \param p_dvbpsi handle to dvbpsi with attached decoder * \param p_dvbpsi handle to dvbpsi with attached decoder
* \param p_tot TDT/TOT structure * \param p_tot TDT/TOT structure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment