SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
Table 6-139 lists the parameters used to define the configuration of the resizing (downsampling) vertical/horizontal filters.
| Parameter | Bit Precision | Description |
|---|---|---|
| FIRINC_V VPAC_MSC_CORE_FIRINC_j[30-16] VS | U15Q12 (Unsigned 15b number with 12-bit fraction) | Vertical Resizing Ratio value (vertical filter increment)
Valid Range: 4096 (1x scaling) < FIRINC_V < 16384 (1/4x scaling) +1 in the above equation is optional. +1 forces non-repeating coefficients in integer ratio scaling cases. |
| FIRINC_H VPAC_MSC_CORE_FIRINC_j[14-0] HS | U15Q12 (Unsigned 15b number with 12-bit fraction) | Horizontal Resizing Ratio value (Horizontal filter increment)
) Valid Range: 4096 (1x scaling) < FIRINC_V < 16384 (1/4x scaling) |
| ACC_INIT_V VPAC_MSC_CORE_ACC_INIT_j[27-16] VS | U12Q12 (Unsigned 12b number with 12b fraction) | Initial Vertical Resizer Phase
Valid Range: 0 < ACC_INIT_V < 4095 |
| ACC_INIT_H VPAC_MSC_CORE_ACC_INIT_j[11-0] HS | U12Q12 (Unsigned 12b number with 12b fraction) | Initial Horizontal Resizer Phase
Valid Range: 0 < ACC_INIT_V < 4095 |
Additionally, Table 6-140 lists the mode parameters defined the filter operation and coefficient selection.
| Parameter | Bit Width | Description |
|---|---|---|
| SIGNED_DATA VPAC_MSC_CORE_CFG_j[22] SIGNED_DATA | 1-bit | Integer type of input and output frame data:
0 : Unsigned 12-bit (default) 1 : Signed 12-bit |
| UV_MODE VPAC_MSC_CORE_CFG_j[17] UV_MODE | 1-bit | Source data interleave format:
0 - non-interleaved (Y data) 1 - interleaved (UV data) |
| SP_VS_COEF_SEL VPAC_MSC_CORE_CFG_j[15-12] SP_VS_COEF_SEL | 4-bits | Single Phase – Vertical Filter Coef Selection
N : 5-tap/32-phase Filter Coef Set #0 (Entry N) where N=0-9 10 : Gaussian Filter #0 11 : Gaussian Filter #1 12-15 : Invalid When FilterMode=0 and N <10, then the multi-phase coef set #0 is dedicated for one or more single phase filters. |
| SP_HS_COEF_SEL VPAC_MSC_CORE_CFG_j[10-7] SP_HS_COEF_SEL | 4-bits | Single Phase – Horizontal Filter Coef Selection
N : 5-tap/32-phase Filter Coef Set #0 (Entry N+10) where N=0-9 10 : Gaussian Filter #0 11 : Gaussian Filter #1 12-15 : Invalid When FilterMode=0 and N <10, then the multi-phase coef set #0 is dedicated for one or more single phase filters. |
| VS_COEF_SEL VPAC_MSC_CORE_CFG_j[5-4] VS_COEF_SEL | 2-bits | Multi-phase Vertical Coef Selection
00 : 5-tap/32-phase Filter coef set #0 01 : 5-tap/32-phase Filter coef set #1 10 : 5-tap/32-phase Filter coef set #2 11 : 5-tap/32-phase Filter coef set #3 |
| HS_COEF_SEL VPAC_MSC_CORE_CFG_j[3-2] HS_COEF_SEL | 2-bits | Multi-phase Horizontal Coef Selection
00 : 5-tap/32-phase Filter coef set #0 01 : 5-tap/32-phase Filter coef set #1 10 : 5-tap/32-phase Filter coef set #2 11 : 5-tap/32-phase Filter coef set #3 |
| PHASE_MODE VPAC_MSC_CORE_CFG_j[1] PHASE_MODE | 1-bit | Filter Phase mode selection
0 - 64 phases 1 - 32 phases |
| FILTER_MODE VPAC_MSC_CORE_CFG_j[0] FILTER_MODE | 1-bit | Filter Mode
0 – Single Phase Filter (for example, Gaussian Filter for Pyramid) 1 – Multi-phase Scaling Filter |
| FILT_SAT_MODE VPAC_MSC_CORE_CFG_j[16] SAT_MODE | 1-bit | Filter Output Saturation Mode
0 - [0..4095] clipping 1 - [-2048.. 2047] clip followed by +2048 This parameter is used only when signed_data =0 (unsigned data type). |
| COEF_SHIFT VPAC_MSC_CORE_CFG_j[21-18] COEF_SHIFT | 4-bits | Coef Shift Size:
configures the precision of the 10-bit signed filter coefficients (valid Shift range: 5~9) : 5: Shift by 5 (5-bit fraction) 6: Shift by 6 (6-bit fraction) 7: Shift by 7 (7-bit fraction) 8: Shift by 8 (8-bit fraction) 9: Shift by 9 (9-bit fraction) Integer size = 9 - #_of_fraction_bits |