Hi Amaresh, I think your pixel format is in wrong order Try to change pix_fmt param to RSZ_PIX_FMT_YUYV
Regards, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amaresh Ram Sent: Tuesday, October 23, 2007 3:03 PM To: [email protected] Subject: Video Resizer Importance: High Hi Experts, I am using the hardware video resizer of the DM6446 to resize 352x288 pixel UYVY video to 720x480 pixel UYVY video. I have configured the resizer driver according to the resize parameters returned by the tool calccoef. Video resizing is done perfectly but video-chroma is lost during the resize. can someone explain me the reason and help me to resolve the issue. Configuration parameter for the resizer is as follows (generated by calccoef): /* horizontal filter type = BICUBIC */ /* hrsz = 123 */ /* vertical filter type = BICUBIC */ /* vrsz = 151 */ static rsz_params_t resizer_params = { 352, /* in_hsize */ 288, /* in_vsize */ 704, /* in_pitch */ RSZ_INTYPE_YCBCR422_16BIT, /* inptyp */ 0, /* vert_starting_pixel */ 0, /* horz_starting_pixel */ 1, /* cbilin */ RSZ_PIX_FMT_UYVY, /* pix_fmt */ 720, /* out_hsize */ 480, /* out_vsize */ 1440, /* out_pitch */ 0, /* hstph */ 0, /* vstph */ /*horizontal resizing filter coefficients: */ { 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, }, /*vertical resizing filter coefficients: */ { 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, }, { RSZ_YENH_DISABLE, } }; regards/Amaresh ______________________________________________________________________ _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
