Hi,everyone
When I use resizer,it's parameters is as below:
static PSP_RSZparams rszParams =
{
FRAME_WIDTH, /* Input image width */
FRAME_HEIGHT, /* Input image height */
FRAME_WIDTH*(2u), /* Input image pitch */
PSP_RSZ_INTYPE_YCBCR422_16BIT, /* Input image type */
0, /* Vertical starting pixel */
0, /* Horizontal starting pixel */
0, /* Chroma position */
PSP_RSZ_PIX_FMT_YUYV, /* Image format */
VALID_WIDTH, /* Intermediate image width */
VALID_HEIGHT, /* Intermediate image height */
VALID_WIDTH*(2u), /* Intermediate image pitch */
0, /* Horizontal starting phase */
0, /* Vertical starting phase */
gRDRV_reszFilter4TapHighQuality, /* Horizontal filter coefficients */
gRDRV_reszFilter4TapHighQuality, /* Vertical filter coefficients */
PSP_RSZ_YENH_DISABLE /* Luma enhancement options */
};
Input image format is UYVY,but the resize output image format is YUYV. When I send the YUYV data to the display,it can display Normally.
However,when we just preview the video,don‘t do any procession between input and output. That is to say, the output image format is UYVY.Of course,it can display Normally.
I wonder why the firs case can display Normally?
Regards、
JQ Zhao