On Wed, Dec 11, 2002 at 02:02:51PM -0000, Georgios Kapetanakis wrote: > Hi, > > Thanks for the replys guys (useful sites, Franz). What I'm trying to do is > figure out how YUYV (YCbCr 4:2:2) is encoded in the picture as an array of > unsigned chars. My aim is to "crop" the image just after it is captured (as > VIDEO_PALETTE_YUYV). I have already computed the coordinates necessary: > > from pixel (x,y)=(72,56) crop a rectangle of (width,height)=(660,382).
For copying you can simply divide x and width by two and and treat the image as if it was using 32 bit pixels. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- video4linux-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/video4linux-list
