SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The filter coefficients are left-aligned 14-bit binary values in signed Q4.10 format. The decimal point is between bits 9 and 10 using the convention of the least significant bit being at position zero. The most significant bit, 13, is the sign bit.
In the register map, the most significant nibble of the coefficient is the sign and the integer portion of the value. The next 10 bits represent the fractional portion of the coefficient value.
Chroma upsampling requires two sets of coefficients. Each coefficient set is comprised of four 14-bit Q4.10 values. One set is used for the top field of an interlaced picture, and the other set is used for the bottom field of an interlaced picture. For a progressive picture, both sets must be identical.
The coefficients and settings should be used for the follwoing video source types:
4:2:2 input (progressive or interlaced input)
VPDMA line mode = 1
VPE_REG0[17:16] CFG_MODE = 0x1 (mode B)
CHR_US coefficients are not used in this mode, so values are "don't care"
4:2:0 input (interlaced input):
VPDMA line mode = 0
VPE_REG0[17:16] CFG_MODE = 0x0 (mode A)
VPE_REG0[31:18] ANCHOR_FID0_C0 = 0x51
VPE_REG0[15:2] ANCHOR_FID0_C1 = 0x3d5
VPE_REG1[31:18] ANCHOR_FID0_C2 = 0x3fe3
VPE_REG1[15:2] ANCHOR_FID0_C3 = 0x3ff7
VPE_REG2[31:18] INTERP_FID0_C0 = 0x3fb5
VPE_REG2[15:2] INTERP_FID0_C1 = 0x2e9
VPE_REG3[31:18] INTERP_FID0_C2 = 0x18f
VPE_REG3[15:2] INTERP_FID0_C3 = 0x3fd3
VPE_REG4[31:18] ANCHOR_FID1_C0 = 0x16b
VPE_REG4[15:2] ANCHOR_FID1_C1 = 0x247
VPE_REG5[31:18] ANCHOR_FID1_C2 = 0xb1
VPE_REG5[15:2] ANCHOR_FID1_C3 = 0x3f9d
VPE_REG6[31:18] INTERP_FID1_C0 = 0x3fcf
VPE_REG6[15:2] INTERP_FID1_C1 = 0x3db
VPE_REG7[31:18] INTERP_FID1_C2 = 0x5d
VPE_REG7[15:2] INTERP_FID1_C3 = 0x3ff9
4:2:0 input (progressive input):
VPDMA line mode = 0
VPE_REG0[17:16] CFG_MODE = 0x0 (mode A)
VPE_REG0[31:18] ANCHOR_FID0_C0 = 0x00C8
VPE_REG0[15:2] ANCHOR_FID0_C1 = 0x0348
VPE_REG1[31:18] ANCHOR_FID0_C2 = 0x0018
VPE_REG1[15:2] ANCHOR_FID0_C3 = 0x3fd8
VPE_REG2[31:18] INTERP_FID0_C0 = 0x3fb8
VPE_REG2[15:2] INTERP_FID0_C1 = 0x0378
VPE_REG3[31:18] INTERP_FID0_C2 = 0x00e8
VPE_REG3[15:2] INTERP_FID0_C3 = 0x3fe8
VPE_REG4 to VPE_REG7 are not used so their values are "don't care".