hi all,
i used Resizer to reduce the size of video and de-interlace,
input video size is 720*576,i the size can reduce to 720*480 and 352*288.
But the color turn to gray, just when the size is redeced to 352*288.
Where's error?
my filiter coeffs is:
720*576-->720*480 :
params.hfilt_coeffs[] =
{
256,0,0,0, 256,0,0,0, 256,0,0,0, 256,0,0,0,
256,0,0,0, 256,0,0,0, 256,0,0,0, 256,0,0,0,
};
params.vfilt_coeffs[] =
{
14,228,14,0, 3,221,32,0, -1,198,59,0, -2,166,93,-1,
-2,130,130,-2, -1,93,166,-2, 0,59,198,-1, 0,32,221,3,
};
i = 16;
params.vfilt_coeffs[i] = -32;
params.vfilt_coeffs[i+1] = 160;
params.vfilt_coeffs[i+2] = 160;
params.vfilt_coeffs[i+3] = -32;
720*576-->352*288:
params.hfilt_coeffs[] =
{
-1, 19, 110, 110, 19, -1, 0, 0, 0, 7, 87, 125, 38, -1, 0, 0, 0,
0, 61, 134, 61, 0, 0, 0, 0, -1, 38, 125, 87, 7, 0, 0,
};
params.vfilt_coeffs[] =
{
39,178,39,0, 25,175,56,0, 14,164,78,0, 8,146,101,1,
4,124,124,4, 1,101,146,8, 0,78,164,14, 0,56,175,25,
};
i = 16;
params.vfilt_coeffs[i] = -32;
params.vfilt_coeffs[i+1] = 160;
params.vfilt_coeffs[i+2] = 160;
params.vfilt_coeffs[i+3] = -32;
Have anybody tell me correct Paramers?
shanjianghua
2007-12-07
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source