Hi, I am also having trouble with the resizer. I am trying to run the demo 
applications provided by Texas Instruments with app note SPRAAI7 "Understanding 
the DaVinci Resizer", but the output on my display is heavily distorted 
(distorted is probably not the best word but its hard to describe the output). 
I was wondering if I might have missed something obvious in the setup? I used a 
fresh install of DVEVM/DVSDK v1.20 rebuilt the kernel to include the resizer 
module (built in), copied the demo files to the /opt/dvevm directory, 
loadmodules and then run from the target. I am booting via TFTP and using an 
NFS file system but I'm not sure if that is relevant.

With regards to your problem, are you using the PAL or NTSC kit? I have been 
informed by TI that the demos for the resizer were only built for NTSC, so if 
you used the demos as your starting point that could be the problem.

Thanks,
Euan C

-----Original Message-----
From: Amaresh Ram [mailto:[EMAIL PROTECTED]
Sent: 23 October 2007 09:06
To: David Lo
Cc: [email protected]
Subject: RE: Video Resizer


Hi David,

picture is in UYVY format only (and rendered perfectly without using
resizer).  I tried with RSZ_PIX_FMT_YUYV too but the result is same.


regards/Amaresh



                                                                           
             "David Lo"                                                    
             <[EMAIL PROTECTED]                                             
             hinet.net>                                                 To 
                                       "'Amaresh Ram'"                     
             10/23/2007 01:22          <[EMAIL PROTECTED]>,      
             PM                        <[EMAIL PROTECTED] 
                                       vincidsp.com>                       
                                                                        cc 
                                                                           
                                                                   Subject 
                                       RE: Video Resizer                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to