image: add support for raw YUY2/UYVY image copies.
authorWind Yuan <feng.yuan@intel.com>
Wed, 24 Apr 2013 02:39:03 +0000 (10:39 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 11 Jul 2013 17:09:53 +0000 (19:09 +0200)
commit89321cd3c42b6bec568dc59189d096b3624669bf
treec77d596dbaebd65e0b11f0f9b3b933788bafe2fb
parented1bec1e43c16b6fbae8ad495e0a3d0bec4aa687
image: add support for raw YUY2/UYVY image copies.

Implement raw image copies for YUY2 format. Add support for UYVY format
too, with the same copy function as for YUY2. Even though components
ordering differs, copying line strides is essentially the same.

https://bugzilla.gnome.org/show_bug.cgi?id=703939
https://bugzilla.gnome.org/show_bug.cgi?id=703940

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapiimage.c