DtvKit_ATSC3.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CAvCtrl Class Reference

Public Member Functions

 CAvCtrl ()
 Create and Register the data for controlling the Audio and Video data flow to decoder.
 
 ~CAvCtrl ()
 Clear and Delete the Data.
 
void AvCtrl_CbDataEvent (sAvData_t *pAvData)
 To push the data to the queue.
 
void AvDataHandlerThread (void)
 Thread to control audio and video 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 RegisterAvEventNotify (AvDataCbFunc fParamsPtr)
 Registed the Call back for receiving the data.
 

Public Attributes

std::thread * mAvDataThread
 
AvDataCbFunc mAvDataCb
 

Constructor & Destructor Documentation

◆ CAvCtrl()

CAvCtrl::CAvCtrl ( )

Create and Register the data for controlling the Audio and Video data flow to decoder.

Parameters
void
Return values
Nil

◆ ~CAvCtrl()

CAvCtrl::~CAvCtrl ( )

Clear and Delete the Data.

Parameters
void
Return values
Nil

Member Function Documentation

◆ AvCtrl_CbDataEvent()

CAvCtrl::AvCtrl_CbDataEvent ( sAvData_t * pAvData)

To push the data to the queue.

Parameters
sAvData_t*pAvData
Return values
void

◆ AvDataHandlerThread()

CAvCtrl::AvDataHandlerThread ( void )

Thread to control audio and video data.

Parameters
void
Return values
void

◆ GetAvData()

CAvCtrl::GetAvData ( sAvBuffer_t * pAvData)

Get the Audio and Video data based on Media Type after parsing from ALP.

Parameters
sAvBuffer_t*pAvData
Return values
int32_t

◆ RegisterAvEventNotify()

CAvCtrl::RegisterAvEventNotify ( AvDataCbFunc fParamsPtr)

Registed the Call back for receiving the data.

Parameters
AvDataCbFuncfParamsPtr
Return values
void

◆ SetHandler()

CAvCtrl::SetHandler ( AvDataCbFunc fData)

Set the AV data to the callback for receiving the data.

Parameters
AvDataCbFuncfData
Return values
void

Member Data Documentation

◆ mAvDataCb

AvDataCbFunc CAvCtrl::mAvDataCb

Callback handler for controlling the AV data

◆ mAvDataThread

std::thread* CAvCtrl::mAvDataThread

Thread for Controlling Audio and Video


The documentation for this class was generated from the following file: