/* 
 | 
 *  Copyright (c) 2021 Rockchip Corporation 
 | 
 * 
 | 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 | 
 * you may not use this file except in compliance with the License. 
 | 
 * You may obtain a copy of the License at 
 | 
 * 
 | 
 *      http://www.apache.org/licenses/LICENSE-2.0 
 | 
 * 
 | 
 * Unless required by applicable law or agreed to in writing, software 
 | 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 | 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 | 
 * See the License for the specific language governing permissions and 
 | 
 * limitations under the License. 
 | 
 * 
 | 
 */ 
 | 
  
 | 
#ifndef __AWB_UAPI_HEAD_H__ 
 | 
#define __AWB_UAPI_HEAD_H__ 
 | 
  
 | 
  
 | 
#include "rk_aiq_user_api_common.h" 
 | 
  
 | 
#ifdef __cplusplus 
 | 
extern "C" { 
 | 
#endif 
 | 
  
 | 
typedef struct __uapi_wb_mode_t { 
 | 
  // M4_ENUM_DESC("mode", "opMode_t", "OP_AUTO"); 
 | 
  opMode_t mode; 
 | 
} uapi_wb_mode_t; 
 | 
  
 | 
typedef struct __uapi_wb_gain_t { 
 | 
  // M4_NUMBER_DESC("rgain", "f32", M4_RANGE(0,8), "0", M4_DIGIT(6)) 
 | 
    float rgain; 
 | 
  // M4_NUMBER_DESC("grgain", "f32", M4_RANGE(0,8), "0", M4_DIGIT(6)) 
 | 
    float grgain; 
 | 
  // M4_NUMBER_DESC("gbgain", "f32", M4_RANGE(0,8), "0", M4_DIGIT(6)) 
 | 
    float gbgain; 
 | 
  // M4_NUMBER_DESC("bgain", "f32", M4_RANGE(0,8), "0", M4_DIGIT(6)) 
 | 
    float bgain; 
 | 
} uapi_wb_gain_t; 
 | 
  
 | 
#ifdef __cplusplus 
 | 
} 
 | 
#endif 
 | 
  
 | 
#endif  /*__AWB_UAPI_HEAD_H__*/ 
 |