Internal Modules
65
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
1.2.1.2.4 Coefficient Configuration
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 following video source types:
4:2:2 input (progressive or interlaced input)
VPDMA line mode = 1
CHR_US_reg0.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
CHR_US_reg0.cfg_mode = 0x0 (mode A)
CHR_US_reg0.anchor_fid0_c0 = 0x51
CHR_US_reg0.anchor_fid0_c1 = 0x3d5
CHR_US_reg1.anchor_fid0_c2 = 0x3fe3
CHR_US_reg1.anchor_fid0_c3 = 0x3ff7
CHR_US_reg2.interp_fid0_c0 = 0x3fb5
CHR_US_reg2.interp_fid0_c1 = 0x2e9
CHR_US_reg3.interp_fid0_c2 = 0x18f
CHR_US_reg3.interp_fid0_c3 = 0x3fd3
CHR_US_reg4.anchor_fid1_c0 = 0x16b
CHR_US_reg4.anchor_fid1_c1 = 0x247
CHR_US_reg5.anchor_fid1_c2 = 0xb1
CHR_US_reg5.anchor_fid1_c3 = 0x3f9d
CHR_US_reg6.interp_fid1_c0 = 0x3fcf
CHR_US_reg6.interp_fid1_c1 = 0x3db
CHR_US_reg7.interp_fid1_c2 = 0x5d
CHR_US_reg7.interp_fid1_c3 = 0x3ff9
4:2:0 input (progressive input):
VPDMA line mode = 0
CHR_US_reg0.cfg_mode = 0x0 (mode A)
CHR_US_reg0.anchor_fid0_c0 = 0x00C8
CHR_US_reg0.anchor_fid0_c1 = 0x0348
CHR_US_reg1.anchor_fid0_c2 = 0x0018
CHR_US_reg1.anchor_fid0_c3 = 0x3fd8
CHR_US_reg2.interp_fid0_c0 = 0x3fb8
CHR_US_reg2.interp_fid0_c1 = 0x0378
CHR_US_reg3.interp_fid0_c2 = 0x00e8
CHR_US_reg3.interp_fid0_c3 = 0x3fe8
CHR_US_reg4 to CHR_US_reg7 are not used so their values are "don't care".