////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019-2023 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file  camxcslisptfedefs.h
/// @brief ISP TFE Hardware Interface Definition
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef CAMXCSLISPTFEDEFS_H
#define CAMXCSLISPTFEDEFS_H

CAMX_NAMESPACE_BEGIN

static const UINT32 TFEOutputFull           = 1;
static const UINT32 TFEOutputRawDump        = 2;
static const UINT32 TFEOutputPDAF           = 3;
static const UINT32 TFEOutputRDI0           = 4;
static const UINT32 TFEOutputRDI1           = 5;
static const UINT32 TFEOutputRDI2           = 6;
static const UINT32 TFEOutputStatsHDRBE     = 7;
static const UINT32 TFEOutputStatsHDRBHIST  = 8;
static const UINT32 TFEOutputStatsTLBG      = 9;
static const UINT32 TFEOutputStatsBF        = 10;
static const UINT32 TFEOutputStatsAWBBG     = 11;
static const UINT32 TFEOutputStatsRS        = 12;
static const UINT32 TFEOutputDS4            = 13;
static const UINT32 TFEOutputDS16           = 14;
static const UINT32 TFEOutputAI             = 15;
static const UINT32 TFEOutputStatsDualPD    = 16;
static const UINT32 TFEOutputPDPreProcessed = 17;
static const UINT32 TFEOutputPDparsed       = 18;

// TFE input resource type
static const UINT32 TFEInputTestGen  = 1;
static const UINT32 TFEInputPHY0     = 2;
static const UINT32 TFEInputPHY1     = 3;
static const UINT32 TFEInputPHY2     = 4;
static const UINT32 TFEInputPHY3     = 5;
static const UINT32 TFEInputCPHYTPG0 = TFEInputTestGen + 8;
static const UINT32 TFEInputCPHYTPG1 = TFEInputTestGen + 9;
static const UINT32 TFEInputCPHYTPG2 = TFEInputTestGen + 10;

// TFE input resource Lane Type
static const UINT32 TFELaneTypeDPHY = 0;
static const UINT32 TFELaneTypeCPHY = 1;

// TFE Generic Blob types
static const UINT32 TFEGenericBlobTypeHFRConfig           = 0;
static const UINT32 TFEGenericBlobTypeResourceClockConfig = 1;
static const UINT32 TFEGenericBlobTypeResourceBWConfig    = 2;
static const UINT32 TFEGenericBlobTypeCSIDClockConfig     = 3;
static const UINT32 TFEGenericBlobTypeDynamicModeSwitch   = 15;
static const UINT32 TFEGenericBlobTypeOfflineBWLimit      = 16;
static const UINT32 TFEGenericBlobTypeAlignmentOffsetInfo = 17;
static const UINT32 TFEGenericBlobTypeTFEOutConfig        = 18;
static const UINT32 TFEGenericBlobTypeFrameDropConfig     = 19;

CAMX_NAMESPACE_END
#endif // CAMXCSLISPTFEDEFS_H
