![Texas Instruments DM38x DaVinci Скачать руководство пользователя страница 201](http://html1.mh-extra.com/html/texas-instruments/dm38x-davinci/dm38x-davinci_user-manual_1097067201.webp)
Internal Modules
201
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
Table 1-70. Horizontal Polyphase Filter Related Parameter Configuration
Parameter
Bits
Controls
Description
lin_acc_inc
11.24
Polyphase Scaler
if upscaling then lin_acc inc = round(2^24*(srcWi)/(tarWi))
elseif downscaling lin_acc inc = round(2^24*(srcWi/n)/(tarWi))
where
n=1 when (cfg_dcm_2x == 0 && cfg_dcm_4x == 0)
n=2 when (cfg_dcm_2x == 1 && cfg_dcm_4x == 0)
n=4 when (cfg_dcm_2x == 0 && cfg_dcm_4x == 1)
nlin_left (Ltar)
11
if linear==1 nlin_right = tarW-1
else nlin_right = Ltar + tarWi – 1
nlin_right (Rtar)
11
if linear==1 nlin_left = 0
nlin_acc_inc
11.24
if tarW/srcW>=1 then
d = 0
if Ltar!=0 K = round[2^24*Lsrc/(Ltar*Ltar) ] where Lsrc= (srcW-srcWi)/2
else K = 0
else
d = (tarW-1)/2
if Ltar!=0 K = round[ 2^24 * Lsrc / (Ltar*(Ltar-2d))]
where Lsrc= (srcW-srcWi)/(2n) and n=1,2 or 4
else K = 0
nlin_acc_inc = 2*K (negative for downscaling)
nlin_acc_int
11.24
nlin_acc_init = K*(1-2*d)
luma polyphase
filter coefficients
s1.11
32 phases × 7 taps × 13 bits array
chroma
polyphase
coefficients
s1.11
32 phases × 7 taps × 13 bits array
Note:
Source width and height variables for the polyphase filter are internally set with trimmer and
decimation filter adjusted values.