xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/afd/rk_aiq_types_afd_algo.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2 * rk_aiq_types_afd_algo.h
3 
4 * for rockchip v2.0.0
5 *
6 *  Copyright (c) 2019 Rockchip Corporation
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 *      http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 */
21 /* for rockchip v2.0.0*/
22 
23 #ifndef __RK_AIQ_TYPES_AFD_ALGO_H__
24 #define __RK_AIQ_TYPES_AFD_ALGO_H__
25 
26 /**
27  * @file rk_aiq_types_afd_algo.h
28  *
29  * @brief
30  *
31  *****************************************************************************/
32 /**
33  * @page module_name_page Module Name
34  * Describe here what this module does.
35  *
36  * For a detailed list of functions and implementation detail refer to:
37  * - @ref module_name
38  *
39  * @defgroup AFD Auto flicker detection Module
40  * @{
41  *
42  */
43 
44 #include "rk_aiq_comm.h"
45 #include <math.h>
46 #include <string.h>
47 #include <stdlib.h>
48 
49 RKAIQ_BEGIN_DECLARE
50 
51 typedef struct rk_aiq_afd_cfg_s {
52     bool enable;
53     int  ratio;
54 } rk_aiq_afd_cfg_t;
55 
56 RKAIQ_END_DECLARE
57 
58 /* @} AFD */
59 #endif /*__RK_AIQ_TYPES_AFD_ALGO_H__*/
60