127 std::recursive_mutex mMut;
128 std::queue<sAvBuffer_t> mAvQueue;
std::function< void(sAvData_t *) AvDataCbFunc)
Definition atsc_mw_av_control.h:61
Definition atsc_mw_av_control.h:64
std::thread * mAvDataThread
Definition atsc_mw_av_control.h:82
~CAvCtrl()
Clear and Delete the Data.
int32_t GetAvData(sAvBuffer_t *pAvData)
Get the Audio and Video data based on Media Type after parsing from ALP.
void SetHandler(AvDataCbFunc fData)
Set the AV data to the callback for receiving the data.
void AvDataHandlerThread(void)
Thread to control audio and video data.
AvDataCbFunc mAvDataCb
Definition atsc_mw_av_control.h:124
void AvCtrl_CbDataEvent(sAvData_t *pAvData)
To push the data to the queue.
void RegisterAvEventNotify(AvDataCbFunc fParamsPtr)
Registed the Call back for receiving the data.
CAvCtrl()
Create and Register the data for controlling the Audio and Video data flow to decoder.
Definition atsc_mw_av_control.h:38
int32_t iSvcId
Definition atsc_mw_av_control.h:41
uint8_t * pData
Definition atsc_mw_av_control.h:45
uint32_t iSize
Definition atsc_mw_av_control.h:40
int32_t iPhyCh
Definition atsc_mw_av_control.h:44
int32_t iMajCh
Definition atsc_mw_av_control.h:42
int32_t iMediaType
Definition atsc_mw_av_control.h:39
int32_t iMinCh
Definition atsc_mw_av_control.h:43
Definition atsc_mw_av_control.h:51
int32_t iMinorCh
Definition atsc_mw_av_control.h:55
uint8_t * pAvData
Definition atsc_mw_av_control.h:57
int32_t iServiceId
Definition atsc_mw_av_control.h:53
int32_t iMediaType
Definition atsc_mw_av_control.h:52
int32_t iMajorCh
Definition atsc_mw_av_control.h:54
uint32_t iAvSize
Definition atsc_mw_av_control.h:58
int32_t iPhyCh
Definition atsc_mw_av_control.h:56