36#define MAX_CHANNELS    80  
   42        0,   0,  57,  63,  69,  79,  85, 177, 183, 189,     
 
   43        195, 201, 207, 213, 473, 479, 485, 491, 497, 503,   
 
   44        509, 515, 521, 527, 533, 539, 545, 551, 557, 563,   
 
   45        569, 575, 581, 587, 593, 599, 605, 611, 617, 623,   
 
   46        629, 635, 641, 647, 653, 659, 665, 671, 677, 683,   
 
   47        689, 695, 701, 707, 713, 719, 725, 731, 737, 743,   
 
   48        749, 755, 761, 767, 773, 779, 785, 791, 797, 803,   
 
   49        809, 815,   0,  0,   0,    0,   0,   0,   0,   0    
 
   52        0,   0,  57,  63,  69,  79,  85, 177, 183, 189,     
 
   53        195, 201, 207, 213, 473, 479, 485, 491, 497, 503,   
 
   54        509, 515, 521, 527, 533, 539, 545, 551, 557, 563,   
 
   55        569, 575, 581, 587, 593, 599, 605, 611, 617, 623,   
 
   56        629, 635, 641, 647, 653, 659, 665, 671, 677, 683,   
 
   57        689, 695, 701, 707, 756, 762, 768, 0,    0,  0,     
 
   58        0,   0,   0,   0,   0 , 0  ,  0 ,  0 ,   0,  0,     
 
   59        0,   0,   0,   0,   0 , 0  ,  0 ,  0 ,   0,  0      
 
   62        0,   0,   0,   0,   0,   0,   0,   0,   0,   0,     
 
   63        0,   0,   0,   0,   0,   0,   0,   0,   0,   0,     
 
   64        0,   474, 482, 490, 498, 506, 514, 522, 530, 538,   
 
   65        546, 554, 562, 570, 578, 586, 594, 602, 610, 618,   
 
   66        626, 634, 642, 650, 658, 666, 674, 682, 690, 698,   
 
   67        706, 714, 722, 730, 738, 746, 754, 762, 770, 778,   
 
   68        786, 794, 802, 810, 818, 826, 834, 842, 850,  0 ,   
 
   69        0,   0,   0,   0,   0 ,  0  ,  0 ,  0 ,   0,  0     
 
   90typedef std::function<void(
sFeData_t*)> FeDataCbFunc;
 
   95typedef std::function<void(
sFeStatus_t)> FeStatusCbFunc;
 
  100typedef std::function<void(
sFeParams_t)> FeParamsCbFunc;
 
  105typedef std::function<void(
sFeParams_t)> SystemTime;
 
  128    CFeCtrl(int32_t iId, int32_t iDemodId, int32_t iCh, int32_t iPlpId,int32_t iRegionId);
 
  236    int32_t 
ChangeProperties(int32_t iDemodId, int32_t iChNum, int32_t iPlpId,int32_t iRegionId);
 
  244    void SetCallback(
void* ctx, 
void* pInfo_func, 
void* pRecv_func, 
void *pNotify_func);
 
  253                    FeStatusCbFunc status, 
 
  254                    FeParamsCbFunc notify);
 
  271        m_Bitrate += iBitrate;
 
 
  327    int32_t m_AvgBitrate;       
 
  328    std::thread* mThread;       
 
  340    void FrontendThreadHandler(
void);
 
  347    int32_t GetFreqForChannel(int32_t iChNum,
eRegion_t iRegionId);
 
  355    int32_t GetChannelForFreq(int32_t iFreq, 
eRegion_t iRegionId);
 
 
#define MAX_CHANNELS
Definition atsc_mw_frontend_control.h:36
 
eRegion_t
Definition atsc_types.h:227
 
@ eRegionMax
Definition atsc_types.h:231
 
Definition atsc_mw_frontend_control.h:112
 
void SetCallback(void *ctx, void *pInfo_func, void *pRecv_func, void *pNotify_func)
SetCallback of CFeCtrl.
 
void * mCtx
Definition atsc_mw_frontend_control.h:318
 
int32_t GetDemod(void)
To get demod type.
 
int32_t GetFeLock(void)
To get FE lock status.
 
int32_t GetFrontendInfo(sFeStatus_t *pStatus)
GetFrontendInfo of CFeCtrl.
 
FeDataCbFunc mFrontendDataCb
Definition atsc_mw_frontend_control.h:138
 
int32_t GetPlpId(void)
To get Plp ID.
 
bool m_Running
Definition atsc_mw_frontend_control.h:319
 
int32_t TuneToChannel(int32_t iChNum, int32_t iDemodId, int32_t iPlp)
TuneToChannel of CFeCtrl.
 
int32_t GetFreq(void)
Get frequency.
Definition atsc_mw_frontend_control.h:280
 
void Join(void)
Join into CFeCtrl and start.
 
int32_t GetStatus(sFeStatus_t *pStatus)
GetStatus of CFeCtrl.
 
int32_t GetCh(void)
GetCh device for CFeCtrl.
 
FeParamsCbFunc mFrontendParamsCb
Definition atsc_mw_frontend_control.h:140
 
~CFeCtrl()
Destructor for CFeCtrl.
 
int32_t Start(void)
Start device for CFeCtrl.
 
int32_t GetId(void)
GetId device for CFeCtrl.
 
sFeProp_t GetProperties(void)
GetProperties of CFeCtrl.
 
int32_t Open(void)
Open device for CFeCtrl.
 
FeStatusCbFunc mFrontendStatusCb
Definition atsc_mw_frontend_control.h:139
 
timespec m_DataSkipTime
Definition atsc_mw_frontend_control.h:321
 
int32_t Stop(void)
Stop device for CFeCtrl.
 
int32_t ChangeProperties(int32_t iDemodId, int32_t iChNum, int32_t iPlpId, int32_t iRegionId)
TuneToChannel of CFeCtrl.
 
void PutBitrate(int32_t iBitrate)
put bitrate
Definition atsc_mw_frontend_control.h:270
 
void SetHandler(FeDataCbFunc data, FeStatusCbFunc status, FeParamsCbFunc notify)
SetHandler of CFeCtrl.
 
FLOAT_64 TimeDiff(timespec start)
Difference TimeDiff.
 
bool m_DataSkip
Definition atsc_mw_frontend_control.h:320
 
int32_t GetDemodType(void)
Get demod type.
Definition atsc_mw_frontend_control.h:290
 
Definition atsc_plf_frontend_hwcontrol.h:49
 
Definition atsc_mw_frontend_control.h:76
 
uint32_t iCh
Definition atsc_mw_frontend_control.h:80
 
int32_t iPlp
Definition atsc_mw_frontend_control.h:77
 
uint8_t * pData
Definition atsc_mw_frontend_control.h:81
 
int32_t iTunerId
Definition atsc_mw_frontend_control.h:79
 
uint32_t iLength
Definition atsc_mw_frontend_control.h:82
 
int32_t iDemod
Definition atsc_mw_frontend_control.h:78
 
void * pParent
Definition atsc_mw_frontend_control.h:83
 
Definition atsc_types.h:325
 
Definition atsc_types.h:338
 
eDemod_t iDemod
Definition atsc_types.h:351
 
int32_t iFreq
Definition atsc_types.h:345
 
Definition atsc_types.h:302