Commit ef32ce11 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Rename dvbpsi_decoder_sections_completed() to dvbpsi_decoder_psi_sections_completed()

parent 9ee6abd6
......@@ -211,9 +211,9 @@ void dvbpsi_decoder_reset(dvbpsi_decoder_t* p_decoder, const bool b_force)
}
/*****************************************************************************
* dvbpsi_decoder_sections_completed
* dvbpsi_decoder_psi_sections_completed
*****************************************************************************/
bool dvbpsi_decoder_sections_completed(dvbpsi_decoder_t* p_decoder)
bool dvbpsi_decoder_psi_sections_completed(dvbpsi_decoder_t* p_decoder)
{
assert(p_decoder);
assert(p_decoder->i_last_section_number <= 255);
......
......@@ -262,15 +262,15 @@ void dvbpsi_decoder_delete(dvbpsi_decoder_t *p_decoder);
void dvbpsi_decoder_reset(dvbpsi_decoder_t* p_decoder, const bool b_force);
/*****************************************************************************
* dvbpsi_decoder_sections_completed
* dvbpsi_decoder_psi_sections_completed
*****************************************************************************/
/*!
* \fn bool dvbpsi_decoder_sections_completed(dvbpsi_decoder_t* p_decoder);
* \fn bool dvbpsi_decoder_psi_sections_completed(dvbpsi_decoder_t* p_decoder);
* \brief Have all sections for this decoder been received?
* \param p_decoder pointer to dvbpsi_decoder_t with decoder
* \return true when all PSI sections have been received, false otherwise
*/
bool dvbpsi_decoder_sections_completed(dvbpsi_decoder_t* p_decoder);
bool dvbpsi_decoder_psi_sections_completed(dvbpsi_decoder_t* p_decoder);
/*****************************************************************************
* dvbpsi_decoder_psi_section_add
......
......@@ -458,7 +458,7 @@ static void dvbpsi_atsc_GatherEITSections(dvbpsi_t * p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_eit_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_eit_decoder)))
{
assert(p_eit_decoder->pf_eit_callback);
......
......@@ -380,7 +380,7 @@ static void dvbpsi_atsc_GatherETTSections(dvbpsi_t* p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_ett_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_ett_decoder)))
{
assert(p_ett_decoder->pf_ett_callback);
......
......@@ -487,7 +487,7 @@ static void dvbpsi_atsc_GatherMGTSections(dvbpsi_t * p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_mgt_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_mgt_decoder)))
{
assert(p_mgt_decoder->pf_mgt_callback);
......
......@@ -387,7 +387,7 @@ static void dvbpsi_atsc_GatherSTTSections(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_stt_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_stt_decoder)))
{
assert(p_stt_decoder->pf_stt_callback);
......
......@@ -524,7 +524,7 @@ static void dvbpsi_atsc_GatherVCTSections(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_vct_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_vct_decoder)))
{
assert(p_vct_decoder->pf_vct_callback);
......
......@@ -434,7 +434,7 @@ void dvbpsi_bat_sections_gather(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_bat_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_bat_decoder)))
{
assert(p_bat_decoder->pf_bat_callback);
......
......@@ -313,7 +313,7 @@ void dvbpsi_cat_sections_gather(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_cat_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_cat_decoder)))
{
assert(p_cat_decoder->pf_cat_callback);
......
......@@ -420,7 +420,7 @@ void dvbpsi_nit_sections_gather(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_nit_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_nit_decoder)))
{
assert(p_nit_decoder->pf_nit_callback);
......
......@@ -322,7 +322,7 @@ void dvbpsi_pat_sections_gather(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sect
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_pat_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_pat_decoder)))
{
assert(p_pat_decoder->pf_pat_callback);
......
......@@ -383,7 +383,7 @@ void dvbpsi_pmt_sections_gather(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t* p_sect
return;
}
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_pmt_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_pmt_decoder)))
{
assert(p_pmt_decoder->pf_pmt_callback);
......
......@@ -378,7 +378,7 @@ void dvbpsi_rst_sections_gather(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_rst_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_rst_decoder)))
{
assert(p_rst_decoder->pf_rst_callback);
......
......@@ -400,7 +400,7 @@ void dvbpsi_sdt_sections_gather(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_sdt_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_sdt_decoder)))
{
assert(p_sdt_decoder->pf_sdt_callback);
......
......@@ -392,7 +392,7 @@ void dvbpsi_sis_sections_gather(dvbpsi_t *p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_sis_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_sis_decoder)))
{
assert(p_sis_decoder->pf_sis_callback);
......
......@@ -370,7 +370,7 @@ void dvbpsi_tot_sections_gather(dvbpsi_t* p_dvbpsi,
}
/* Check if we have all the sections */
if (dvbpsi_decoder_sections_completed(DVBPSI_DECODER(p_tot_decoder)))
if (dvbpsi_decoder_psi_sections_completed(DVBPSI_DECODER(p_tot_decoder)))
{
assert(p_tot_decoder->pf_tot_callback);
......
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