67 #define MSC_MAX_OUTPUT (10U) 70 #define MSC_MAX_TAP (5U) 73 #define MSC_MAX_SP_COEFF_SET (2U) 76 #define MSC_MAX_MP_COEFF_SET (4U) 93 #define MSC_COEFF_SHIFT_5 (5U) 95 #define MSC_COEFF_SHIFT_6 (6U) 97 #define MSC_COEFF_SHIFT_7 (7U) 99 #define MSC_COEFF_SHIFT_8 (8U) 101 #define MSC_COEFF_SHIFT_9 (9U) 117 #define MSC_MULTI_32PHASE_COEFF_SET_0 (0U) 119 #define MSC_MULTI_32PHASE_COEFF_SET_1 (1U) 121 #define MSC_MULTI_32PHASE_COEFF_SET_2 (2U) 123 #define MSC_MULTI_32PHASE_COEFF_SET_3 (3U) 125 #define MSC_MULTI_64PHASE_COEFF_SET_0 (0U) 127 #define MSC_MULTI_64PHASE_COEFF_SET_2 (2U) 142 #define MSC_TAP_SEL_3TAPS (0U) 144 #define MSC_TAP_SEL_4TAPS (1U) 146 #define MSC_TAP_SEL_5TAPS (2U) 160 #define MSC_SINGLE_PHASE_SP_COEFF_0 (0U) 162 #define MSC_SINGLE_PHASE_SP_COEFF_1 (1U) 164 #define MSC_SINGLE_PHASE_MP_COEFF0_0 (2U) 166 #define MSC_SINGLE_PHASE_MP_COEFF0_1 (3U) 168 #define MSC_SINGLE_PHASE_MP_COEFF0_2 (4U) 170 #define MSC_SINGLE_PHASE_MP_COEFF0_3 (5U) 172 #define MSC_SINGLE_PHASE_MP_COEFF0_4 (6U) 174 #define MSC_SINGLE_PHASE_MP_COEFF0_5 (7U) 176 #define MSC_SINGLE_PHASE_MP_COEFF0_6 (8U) 178 #define MSC_SINGLE_PHASE_MP_COEFF0_7 (9U) 180 #define MSC_SINGLE_PHASE_MP_COEFF0_8 (10U) 182 #define MSC_SINGLE_PHASE_MP_COEFF0_9 (11U) 184 #define MSC_SINGLE_PHASE_MP_COEFF0_10 (12U) 186 #define MSC_SINGLE_PHASE_MP_COEFF0_11 (13U) 188 #define MSC_SINGLE_PHASE_MP_COEFF0_12 (14U) 190 #define MSC_SINGLE_PHASE_MP_COEFF0_13 (15U) 192 #define MSC_SINGLE_PHASE_MP_COEFF0_14 (16U) 194 #define MSC_SINGLE_PHASE_MP_COEFF0_15 (17U) 206 #define MSC_PHASE_MODE_64PHASE (0U) 208 #define MSC_PHASE_MODE_32PHASE (1U) 218 #define MSC_FILTER_MODE_SINGLE_PHASE (0U) 220 #define MSC_FILTER_MODE_MULTI_PHASE (1U) 236 #define VHWA_MSC_VBUSM_RD_ERR (0x4U) 238 #define VHWA_MSC_SL2_WR_ERR (0x8U) 406 if (
NULL != coeffCfg)
408 Fvid2Utils_memset(coeffCfg, 0,
sizeof(
Msc_Coeff));
uint32_t vsMpCoeffSel
Definition: msc_cfg.h:306
uint32_t cropStartX
Definition: csl_fvid2_dataTypes.h:1326
File containning defination for common configuration/API used across all VHWA modules.
#define FALSE
Definition: csl_types.h:55
Msc_ScConfig scCfg[MSC_MAX_OUTPUT]
Definition: msc_cfg.h:334
#define MSC_MAX_SP_COEFF_SET
Maximum number of single phase coefficients set.
Definition: msc_cfg.h:73
Structure for error event parameters Used to register callback for the given set of events.
Definition: msc_cfg.h:343
Msc_ErrEventCbFxn cbFxn
Definition: msc_cfg.h:350
#define MSC_MAX_MP_COEFF_SET
Maximum number of Multi phase coefficients set.
Definition: msc_cfg.h:76
uint32_t cropStartY
Definition: csl_fvid2_dataTypes.h:1328
#define MSC_SINGLE_PHASE_SP_COEFF_0
Use Dedicated Single phase coef-0.
Definition: msc_cfg.h:160
uint32_t isEnableFiltSatMode
Definition: msc_cfg.h:317
static void Msc_coeffInit(Msc_Coeff *coeffCfg)
This function should be used to initialize variable of type Msc_Coeff.
Definition: msc_cfg.h:404
Structure containing crop configuration - used in Scaler and VCOMP.
Definition: csl_fvid2_dataTypes.h:1324
#define MSC_MULTI_64PHASE_COEFF_SET_0
Coefficient Set 0 for 64phase coefficients.
Definition: msc_cfg.h:125
uint32_t cropHeight
Definition: csl_fvid2_dataTypes.h:1332
uint32_t tapSel
Definition: msc_cfg.h:332
uint32_t phaseMode
Definition: msc_cfg.h:292
#define MSC_FILTER_MODE_SINGLE_PHASE
Definition: msc_cfg.h:218
uint32_t cropWidth
Definition: csl_fvid2_dataTypes.h:1330
#define MSC_COEFF_SHIFT_8
Coefficient shift by 8bits, 8bit fraction.
Definition: msc_cfg.h:99
void * appData
Definition: msc_cfg.h:352
uint32_t vertAccInit
Definition: msc_cfg.h:286
uint32_t horzAccInit
Definition: msc_cfg.h:284
uint32_t hsSpCoeffSel
Definition: msc_cfg.h:294
#define NULL
Define NULL if not defined.
Definition: csl_types.h:107
uint32_t outHeight
Definition: msc_cfg.h:282
#define MSC_PHASE_MODE_64PHASE
Definition: msc_cfg.h:206
Individual Scalar configuration.
Definition: msc_cfg.h:265
static void Msc_ConfigInit(Msc_Config *mscCfg)
Definition: msc_cfg.h:412
uint32_t filtMode
Definition: msc_cfg.h:289
static void Msc_configInit(Msc_Config *mscCfg)
This function should be used to initialize variable of type Msc_Config.
uint32_t vsSpCoeffSel
Definition: msc_cfg.h:298
uint32_t enable
Definition: msc_cfg.h:267
uint32_t isSignedData
Definition: msc_cfg.h:314
uint32_t hsMpCoeffSel
Definition: msc_cfg.h:302
void(* Msc_ErrEventCbFxn)(Fvid2_Handle handle, uint32_t errEvents, void *appData)
Prototype for the Error Event for MSC. The callback for the MSC error events can be registered using ...
Definition: msc_cfg.h:258
uint32_t isInterleaveFormat
Definition: msc_cfg.h:321
#define MSC_MAX_OUTPUT
Maximum number of scalar output supported in MSC.
Definition: msc_cfg.h:67
Structure used for setting scalar coefficients.
Definition: msc_cfg.h:360
Fvid2_CropConfig inRoi
Definition: msc_cfg.h:270
uint32_t outWidth
Definition: msc_cfg.h:280
Structure for complete MSC Configuration.
Definition: msc_cfg.h:330
uint32_t coeffShift
Definition: msc_cfg.h:311
#define MSC_TAP_SEL_5TAPS
Selects the 5 tap filter.
Definition: msc_cfg.h:146
uint32_t errEvents
Definition: msc_cfg.h:345