blob: 8ea696f90618a3bbb144df18fda3b14d0300caa4
1 | // |
2 | // |
3 | // amlogic 2015 |
4 | // |
5 | // @ Project : tv |
6 | // @ File Name : |
7 | // @ Date : 2015 -9 |
8 | // @ Author : hao.fu |
9 | // |
10 | // |
11 | |
12 | |
13 | #if !defined(_CAUTOPQPARAM_H) |
14 | #define _CAUTOPQPARAM_H |
15 | #include "CAv.h" |
16 | #include "../tvin/CTvin.h" |
17 | #include "../tvutils/CThread.h" |
18 | #include "../vpp/CVpp.h" |
19 | #include "../tvconfig/tvconfig.h" |
20 | |
21 | class CAutoPQparam: public CThread { |
22 | private: |
23 | tv_source_input_type_t mAutoPQSource; |
24 | bool mAutoPQ_OnOff_Flag; |
25 | int preFmtType, curFmtType, autofreq_checkcount, autofreq_checkflag; |
26 | int adjustPQparameters(); |
27 | bool threadLoop(); |
28 | |
29 | public: |
30 | |
31 | CVpp *myVpp; |
32 | CTvin *myTvin; |
33 | CAv *myAv; |
34 | |
35 | CAutoPQparam( CVpp *mVpp, CTvin *pTvin, CAv *mAV ); |
36 | ~CAutoPQparam(); |
37 | void startAutoPQ( tv_source_input_type_t source_type ); |
38 | void stopAutoPQ(); |
39 | bool isAutoPQing(); |
40 | }; |
41 | #endif |
42 |