![]() |
PDK Documentation
|
Defines the structures / control operations that could be used to configure / control MSC module.
Go to the source code of this file.
Data Structures | |
| struct | Msc_ScConfig |
| Individual Scalar configuration. More... | |
| struct | Msc_Config |
| Structure for complete MSC Configuration. More... | |
| struct | Msc_ErrEventParams |
| Structure for error event parameters Used to register callback for the given set of events. More... | |
| struct | Msc_Coeff |
| Structure used for setting scalar coefficients. More... | |
Macros | |
| #define | MSC_MAX_OUTPUT (10U) |
| Maximum number of scalar output supported in MSC. More... | |
| #define | MSC_MAX_TAP (5U) |
| Maximum number of filter tap supported in the scalar. More... | |
| #define | MSC_MAX_SP_COEFF_SET (2U) |
| Maximum number of single phase coefficients set. More... | |
| #define | MSC_MAX_MP_COEFF_SET (4U) |
| Maximum number of Multi phase coefficients set. More... | |
MSC Instance Id's | |
| #define | VPAC_MSC_INST_ID_0 (0U) |
| MSC Instance/Thread ID 0. More... | |
| #define | VPAC_MSC_INST_ID_1 (1U) |
| MSC Instance/Thread ID 1. More... | |
| #define | VHWA_M2M_MSC_MAX_INST (2U) |
| Maximum supported instance for MSC. More... | |
MSC Coefficient shifts | |
Macros for selecting coefficient shift amount The scalar uses 10bit signed filter coefficient. The precision of these coefficients can be changed by selecting number of bits for integer and fraction portion in the coefficients. This enum is used for configuring the precision of the 10-bit signed filter coefficients by selecting the amount of coefficient shift. | |
| #define | MSC_COEFF_SHIFT_5 (5U) |
| Coefficient shift by 5bits, 5bit fraction. More... | |
| #define | MSC_COEFF_SHIFT_6 (6U) |
| Coefficient shift by 6bits, 6bit fraction. More... | |
| #define | MSC_COEFF_SHIFT_7 (7U) |
| Coefficient shift by 7bits, 7bit fraction. More... | |
| #define | MSC_COEFF_SHIFT_8 (8U) |
| Coefficient shift by 8bits, 8bit fraction. More... | |
| #define | MSC_COEFF_SHIFT_9 (9U) |
| Coefficient shift by 9bits, 9bit fraction. More... | |
MSC Multiphase Coefficient select | |
| #define | MSC_MULTI_32PHASE_COEFF_SET_0 (0U) |
| Coefficient Set 0 for 32phase coefficients. More... | |
| #define | MSC_MULTI_32PHASE_COEFF_SET_1 (1U) |
| Coefficient Set 1 for 32phase coefficients. More... | |
| #define | MSC_MULTI_32PHASE_COEFF_SET_2 (2U) |
| Coefficient Set 2 for 32phase coefficients. More... | |
| #define | MSC_MULTI_32PHASE_COEFF_SET_3 (3U) |
| Coefficient Set 3 for 32phase coefficients. More... | |
| #define | MSC_MULTI_64PHASE_COEFF_SET_0 (0U) |
| Coefficient Set 0 for 64phase coefficients. More... | |
| #define | MSC_MULTI_64PHASE_COEFF_SET_2 (2U) |
| Coefficient Set 2 for 64phase coefficients. More... | |
MSC Tap select | |
| #define | MSC_TAP_SEL_3TAPS (0U) |
| Selects the three tap filter. More... | |
| #define | MSC_TAP_SEL_4TAPS (1U) |
| Selects the 4 tap filter. More... | |
| #define | MSC_TAP_SEL_5TAPS (2U) |
| Selects the 5 tap filter. More... | |
MSC Single Phase Coefficient select | |
| #define | MSC_SINGLE_PHASE_SP_COEFF_0 (0U) |
| Use Dedicated Single phase coef-0. More... | |
| #define | MSC_SINGLE_PHASE_SP_COEFF_1 (1U) |
| Use Dedicated Single phase coef-1. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_0 (2U) |
| Use 0th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_1 (3U) |
| Use 1th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_2 (4U) |
| Use 2th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_3 (5U) |
| Use 3th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_4 (6U) |
| Use 4th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_5 (7U) |
| Use 5th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_6 (8U) |
| Use 6th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_7 (9U) |
| Use 7th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_8 (10U) |
| Use 8th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_9 (11U) |
| Use 9th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_10 (12U) |
| Use 10th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_11 (13U) |
| Use 11th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_12 (14U) |
| Use 12th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_13 (15U) |
| Use 13th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_14 (16U) |
| Use 14th entry of multiphase coefficient. More... | |
| #define | MSC_SINGLE_PHASE_MP_COEFF0_15 (17U) |
| Use 15th entry of multiphase coefficient. More... | |
MSC Phase mode select | |
| #define | MSC_PHASE_MODE_64PHASE (0U) |
| #define | MSC_PHASE_MODE_32PHASE (1U) |
MSC Filter mode select | |
| #define | MSC_FILTER_MODE_SINGLE_PHASE (0U) |
| #define | MSC_FILTER_MODE_MULTI_PHASE (1U) |
MSC Error Events | |
| #define | VHWA_MSC_VBUSM_RD_ERR (0x4U) |
| Back mapped pixel co-ordinate goes out of the pre-computed input pixel bounding box. More... | |
| #define | VHWA_MSC_SL2_WR_ERR (0x8U) |
Typedefs | |
| typedef 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 Msc_ErrEventParams. One of the parameter in this is call back. Driver calls this callback when error occurs. More... | |
Functions | |
| static void | Msc_configInit (Msc_Config *mscCfg) |
| This function should be used to initialize variable of type Msc_Config. More... | |
| static void | Msc_coeffInit (Msc_Coeff *coeffCfg) |
| This function should be used to initialize variable of type Msc_Coeff. More... | |
| static void | Msc_ConfigInit (Msc_Config *mscCfg) |