GNOME Bugzilla – Bug 688677
videoflip: Add gray 8/16 support
Last modified: 2012-11-20 12:49:15 UTC
Created attachment 229406 [details] [review] tested patch for 0.10 Trivial patch to add GRAY8 and GRAY16_(LE|BE) support to videoflip.
Created attachment 229407 [details] [review] untested patch for 1.0
Review of attachment 229406 [details] [review]: ::: gst/videofilter/gstvideoflip.c @@ +101,3 @@ GST_VIDEO_CAPS_YUV ("NV12") ";" GST_VIDEO_CAPS_YUV ("NV21") ";" + GST_VIDEO_CAPS_YUV ("YVYU") ";" GST_VIDEO_CAPS_GRAY8 ";" + GST_VIDEO_CAPS_GRAY16 ("1234") ";" GST_VIDEO_CAPS_GRAY16 ("4321") Use G_LITTLE_ENDIAN and G_BIG_ENDIAN here
1.0 version pushed: commit fe9fb8d8a74d671894e80e39f8b9b99d2738a816 Author: Joshua M. Doe <oss@nvl.army.mil> Date: Mon Nov 19 03:31:37 2012 -0500 videoflip: Add gray 8/16 support
> + GST_VIDEO_CAPS_GRAY16 ("1234") ";" GST_VIDEO_CAPS_GRAY16 ("4321") > > Use G_LITTLE_ENDIAN and G_BIG_ENDIAN here "LITTLE_ENDIAN" and "BIG_ENDIAN" rather, I think.
Created attachment 229469 [details] [review] updated patch for 0.10 using LITTLE_ENDIAN and BIG_ENDIAN string
commit 9c917b84916e57f1b4312a36de5bae013dca58e9 Author: Joshua M. Doe <oss@nvl.army.mil> Date: Mon Nov 19 03:22:13 2012 -0500 videoflip: Add gray 8/16 support