Hi, I used 0x80 for U and V. Now I could get the expected images.
Thanks, Saravanan S -----Original Message----- From: Jean-Philippe François [mailto:[email protected]] Sent: Thursday, July 09, 2009 1:19 PM To: saravanan s Cc: [email protected] Subject: Re: 8 bit Bayer to YUV420 conversion saravanan s a écrit : > Hi, > > > > We are using DM6467 target and have developed one application to receive > 8 bit Bayer data(640x512) from B&W CMOS. Our requirement is to compress > that video through H264 BP encoder. I am trying to convert it to yuv420p > format and giving to H264 encoder. > > Y = 640x512 Bayer data > > U = Nothing => ((640x512) / 4) Zeros > > V = Nothing => ((640x512) / 4) Zeros > > Use 0x80 for U and V > > As expected, I could play the compressed video through VLC player and > getting video with more green. Any workaround to display only B&W image? > > > > Thanks. > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
