blob: f733d42613e8ad069f35f0a5e727286d51a0d001
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 "../tvutils/CThread.h" |
17 | #include "../vpp/CVpp.h" |
18 | #include "../tvconfig/tvconfig.h" |
19 | |
20 | class CAutoPQparam: public CThread { |
21 | private: |
22 | tv_source_input_type_t mAutoPQSource; |
23 | bool mAutoPQ_OnOff_Flag; |
24 | int preFmtType, curFmtType, autofreq_checkcount, autofreq_checkflag; |
25 | int adjustPQparameters(); |
26 | bool threadLoop(); |
27 | |
28 | public: |
29 | |
30 | CAutoPQparam(); |
31 | ~CAutoPQparam(); |
32 | void startAutoPQ( tv_source_input_type_t source_type ); |
33 | void stopAutoPQ(); |
34 | bool isAutoPQing(); |
35 | }; |
36 | #endif |
37 |