qv4l2: fix YUY2 shader
authorBård Eirik Winther <bwinther@cisco.com>
Thu, 8 Aug 2013 11:31:20 +0000 (11:31 +0000)
committerHans Verkuil <hans.verkuil@cisco.com>
Thu, 8 Aug 2013 12:46:35 +0000 (14:46 +0200)
commitf9f5828e23eb6faa005ea3aa9e06ad12372d2237
treee653e0780c647b684d17d6066d73fd48ba1adfd5
parentc19054b6e47d10b28af53f7c026f900067317c07
qv4l2: fix YUY2 shader

Fixed the YUY2 shaders to support scaling.
The new solution has cleaner shader code and texture upload
uses a better format for OpenGL.

Signed-off-by: Bård Eirik Winther <bwinther@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/capture-win-gl.cpp