SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
This subsequence configures the video scaler unit. Table 11-106 is applicable for RGB pixel format. Table 11-106 and Table 11-107 are applicable for YUV pixel format.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure horizontal scaling | ||
Set the horizontal resizing ratio. | DISPC_VIDp_FIR[12:0] FIRHINC | 0x– |
Set the horizontal FIR coefficients. | DISPC_VIDp_FIR_COEF_H_i[31:24][23:16][15:8] [7:0] FIRHC3, FIRHC2, FIRHC1, FIRHC0 | 0x– |
DISPC_VIDp_FIR_COEF_HV_i[7:0] FIRHC4 | 0x– | |
Set the horizontal accumulators value. | DISPC_VIDp_ACCU_j[10:0] HORIZONTALACCU | 0x– |
Configure vertical scaling | ||
Select number of vertical taps. | DISPC_VIDp_ATTRIBUTES[21] VERTICALTAPS | 0x– |
Set the vertical resizing ratio. | DISPC_VIDp_FIR[28:16] FIRVINC | 0x– |
Set the vertical FIR coefficients for RGB pixel format or Y component. | DISPC_VIDp_FIR_COEF_HV_i[31:24][23:16][15:8] FIRVC2, FIRVC1, FIRVC0 | 0x– |
Only for 5-taps vertical: DISPC_VIDp_FIR_COEF_V_i[15:8][7:0] FIRVC22, FIRVC00 | 0x– | |
Set the vertical accumulators value for RGB pixel format or Y component. | DISPC_VIDp_ACCU_j[26:16] VERTICALACCU | 0x– |
Enable horizontal and vertical scaler unit. | DISPC_VIDp_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_VIDp_FIR2[12:0] FIRHINC | 0x– |
Set the horizontal FIR coefficients for Cb and Cr components. | DISPC_VIDp_FIR_COEF_H2_i[31:24][23:16][15:8] [7:0] FIRHC3, FIRHC2, FIRHC1, FIRHC0 | 0x– |
DISPC_VIDp_FIR_COEF_HV2_i[7:0] FIRHC4 | 0x– | |
Set the horizontal accumulators value for Cb and Cr components. | DISPC_VIDp_ACCU2_j[10:0] HORIZONTALACCU | 0x– |
Configure vertical scaling | ||
Set the vertical resizing ratio for Cb and Cr components. | DISPC_VIDp_FIR2[28:16] FIRVINC | 0x– |
Set the vertical FIR coefficients for Cb and Cr components. | DISPC_VIDp_FIR_COEF_HV2_i[31:24][23:16][15:8] FIRVC2, FIRVC1, FIRVC0 | 0x– |
Only for 5-taps vertical: DISPC_VIDp_FIR_COEF_V2_i[15:8][7:0] FIRVC22, FIRVC00 | 0x– | |
Set the vertical accumulators value for Cb and Cr components. | DISPC_VIDp_ACCU2_j[26:16] VERTICALACCU | 0x– |
Figure 11-102 shows the programming flow of the DISPC scaler unit.