Thursday, May 15, 2008

Updated UVC Flip Hack

I've created an updated patch to fix a couple issues of the original patch. In the original the image was not only flipped vertically, but horizontally too. However, since my understanding of the video format was not the greatest, the luminance bits were not flipped. Every four bytes corresponds to two pixels, with each pixel having its own luminance, but the chrominance is shared between the two. Well, since I didn't switch the luminance bits, it looked blocky at low resolutions.

This new patch is somewhat more complex, but, is also more accurate. It creates a vertical flip by understanding the height and width of the image, and not just dealing with the length of the array.

Again, this is for Asus Laptops using the Chicony based webcam:
http://www.uhacc.org/~dfu/uvc-hack-v02.tar.gz
http://www.uhacc.org/~dfu/uvc-hack-v02.patch

1 Comments:

Blogger ganxxxilloFreestyle said...

hi. thanks for the hack. do you know if this would work for ubuntu 8.04 on an asus F3Sseries laptop?

January 9, 2009 at 3:22 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home