SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
This subsequence configures the scaler unit. Table 11-111 is applicable for RGB pixel format. Table 11-111 and Table 11-112 are applicable for YUV pixel format.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure horizontal scaling | ||
Set the horizontal resizing ratio. | DISPC_WB_FIR[12:0] FIRHINC | 0x– |
Set the horizontal FIR coefficients. | DISPC_WB_FIR_COEF_H_i[31:24][23:16][15:8][7:0] FIRHC3, FIRHC2, FIRHC1, FIRHC0 | 0x– |
DISPC_WB_FIR_COEF_HV_i[7:0] FIRHC4 | 0x– | |
Set the horizontal accumulators value. | DISPC_WB_ACCU_j[10:0] HORIZONTALACCU | 0x– |
Configure vertical scaling | ||
Select number of vertical taps. | DISPC_WB_ATTRIBUTES[21] VERTICALTAPS | 0x– |
Set the vertical resizing ratio. | DISPC_WB_FIR[28:16] FIRVINC | 0x– |
Set the vertical FIR coefficients for RGB pixel format or Y component. | DISPC_WB_FIR_COEF_HV_i[31:24][23:16][15:8] FIRVC2, FIRVC1, FIRVC0 | 0x– |
Only for 5-taps vertical: DISPC_WB_FIR_COEF_V_i[15:8][7:0] FIRVC22, FIRVC00 | 0x– | |
Set the vertical accumulators value for RGB pixel format or Y component. | DISPC_WB_ACCU_j[26:16] VERTICALACCU | 0x– |
Enable horizontal and vertical scaler unit. | DISPC_WB_ATTRIBUTES[6:5] RESIZEENABLE | 0x– |
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure horizontal scaling | ||
Set the horizontal resizing ratio for Cb and Cr components. | DISPC_WB_FIR2[12:0] FIRHINC | 0x– |
Set the horizontal FIR coefficients for Cb and Cr components. | DISPC_WB_FIR_COEF_H2_i[31:24][23:16][15:8][7:0] FIRHC3, FIRHC2, FIRHC1, FIRHC0 | 0x– |
DISPC_WB_FIR_COEF_HV2_i[7:0] FIRHC4 | 0x– | |
Set the horizontal accumulators value for Cb and Cr components. | DISPC_WB_ACCU2_j[10:0] HORIZONTALACCU | 0x– |
Configure vertical scaling | ||
Set the vertical resizing ratio for Cb and Cr components. | DISPC_WB_FIR2[28:16] FIRVINC | 0x– |
Set the vertical FIR coefficients for Cb and Cr components. | DISPC_WB_FIR_COEF_HV2_i[31:24][23:16][15:8] FIRVC2, FIRVC1, FIRVC0 | 0x– |
Only for 5-taps vertical: DISPC_WB_FIR_COEF_V2_i[15:8][7:0] FIRVC22, FIRVC00 | 0x– | |
Set the vertical accumulators value for Cb and Cr components. | DISPC_WB_ACCU2_j[26:16] VERTICALACCU | 0x– |