hello
I have the davinci TMS320DM6437
my video input is NTSC
when I am trying to use the resizer to upscale from 240x240 to 420x420 every thing works fine (i used the linux coefficient calculator)
but when i am trying to upscale from 240x360 to 420x720 or 120x120 to 240x240
it shows me this:
120x120 to 420x420
I am reciving 420x720 video
and sending to the resizer 120x120 of the picture
and then overwriting the 240x240 outbuff to the output
code:
#define INHEIGHT (120u)
#define INWIDTH (120u)
#define OUTHEIGHT (240u)
#define OUTWIDTH (240u)
#define gRDRV_reszFilter4TapX2v1 0, 256, 0, 0, -11, 245, 23,-1, -17, \
220, 58, -5, -18, 184, 100, -10, -15, 143, 143, -15, -10, 100, 184, -18, -5, \
58, 220, -17, -1, 23, 245, -11
static PSP_RSZparams params =
{
INWIDTH, /* Input image width */
INHEIGHT, /* Input image height */
INWIDTH*(2u), /* Input image pitch */
PSP_RSZ_INTYPE_YCBCR422_16BIT, /* Input image type */
0, /* Vertical starting pixel */
0, /* Horizonatl starting pixel */
0, /* Chroma position */
PSP_RSZ_PIX_FMT_YUYV, /* Image format */
OUTWIDTH, /* Intermediate image width */
OUTHEIGHT, /* Intermediate image height */
OUTWIDTH*(2u), /* Intermediate image pitch */
0, /* Horizontal starting phase */
0, /* Vertical starting phase */
gRDRV_reszFilter4TapX2v1, /* Horizontal filter coefficients */
gRDRV_reszFilter4TapX2v1, /* Vertical filter coefficients */
PSP_RSZ_YENH_DISABLE /* Luma enhancement options */
};
thank you!