//-------------------------------------------------------------------------
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
// All rights reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
//------------------------------------------------------------------------

//------------------------------------------------------------------------
// @file  iqsettings_v5.h
// @brief BPS(Bayer Processing Segment) & IPE (Image Processing Engine) data types
//------------------------------------------------------------------------

//------------------------------------------------------------------------
// @Edit History
// when              who           what,where,why
// -----             ---           -------------
//
//------------------------------------------------------------------------
#ifndef _IQSETTINGS_V5_H_
#define _IQSETTINGS_V5_H_

#include "ipdefs.h"
#include "fwdefs.h"


typedef struct _FCG_MODULE_CFG
{
    uint32_t  EN;                   /*  0:0  */
    uint32_t  INTERPOL_TYPE;        /*  8:8  */
    uint32_t  PIXEL_SCREEN_EN;      /*  9:9  */
    uint32_t  QUAD_SYNC_EN;         /* 10:10 */
} FCG_MODULE_CFG;

typedef struct _FcgParameters
{
    FCG_MODULE_CFG moduleCfg;
} FcgParameters;

/* Grid Stats */
typedef struct _STATS_GS_MODULE_CFG
{
    uint32_t  EN; /* 0:0 */
    uint32_t  INV_WB_EN; /*8:8*/
} STATS_GS_MODULE_CFG;

typedef struct _GridStatPassParameters
{
    STATS_GS_MODULE_CFG moduleCfg;
    uint32_t            gs_rgn_width;
    uint32_t            gs_rgn_height;
    uint32_t            gs_rgn_v_num;
    uint32_t            gs_rgn_h_num;
    uint32_t            gs_rgn_h_offset;
    uint32_t            gs_rgn_v_offset;
} GridStatPassParameters;

typedef struct _GridStatParameters
{
    GridStatPassParameters  parameters[PASS_NAME_MAX]; //applicable for DC4 and Full
} GridStatParameters;
#endif // _IQSETTINGS_V5_H_
