<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>Il giorno 26/giu/07, alle ore 09:15, Ben Lau ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">May I know what is your capture device in hand? I saw the code</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">supports YUV422, but unfortunately none of my USB capture devices</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">support this pixel format. I have a Logitech Quickcam Pro 4000 (PWC) ,</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Logitech Quickcam for Notebook Pro (UVC) , Pinnacle Dazzle DVC</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">90(em28xx) and Kworld DVD maker(em28xx). They use YUV420P or YUYV as</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">input format.</font></p></blockquote><div><br class="webkit-block-placeholder"></div>That was our first targeted colour pixelformat, but we had to fallback to UYVY, because Bitmap supports directly this YUV422 variant and we would replicate, at first, the template coming from firewire camera.</div><div><br class="webkit-block-placeholder"></div><div>Don't they support grayscale or rgb either?</div><div><br><blockquote type="cite"> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">I have tried to fix the problem, but the Bitmap class do not support</span></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">the conversion from YUV420P to YUYV. I think it could be done by</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">follow the template of YUV422toBGR32Line() and YUV411toBGR32Line() to</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">write a YUV420toBGR32Line() , then fill up the Bitmap::YCbCrtoBGR().</font></p></blockquote><div><br class="webkit-block-placeholder"></div>that's simple and surely has to be done</div><div><br><blockquote type="cite"> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">( Attached my work to recognize YUV420 for avg layout file , and</span></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">prompt error message when the assigned image format is not support)</font></p> </blockquote><br></div><div>we wish to to all the work very soon,</div><div>for now, thanks for your contribution!</div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>OXullo Intersecans</div><div><br class="khtml-block-placeholder"></div><div>0 2 L &gt; Outside Standing Level</div><div><a href="http://www.02L.net">http://www.02L.net</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br></body></html>