diff options
author | David Schleef <ds@schleef.org> | 2010-06-03 18:14:57 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-06-03 23:57:46 -0700 |
commit | 2db6d968d82297414a401773e4e8ccf58391137a (patch) | |
tree | bb84f010fcf7030e58c3fd56200466ef93b3998c /gst/bayer/gstrgb2bayer.h | |
parent | 5c1eb82b8a43ff912b47410a6cfbec2c8d1e1078 (diff) | |
download | gstreamer-plugins-bad-2db6d968d82297414a401773e4e8ccf58391137a.tar.gz |
rgb2bayer: handle multiple bayer formats
Diffstat (limited to 'gst/bayer/gstrgb2bayer.h')
-rw-r--r-- | gst/bayer/gstrgb2bayer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/bayer/gstrgb2bayer.h b/gst/bayer/gstrgb2bayer.h index c09b3518d..7b7f073ee 100644 --- a/gst/bayer/gstrgb2bayer.h +++ b/gst/bayer/gstrgb2bayer.h @@ -34,11 +34,19 @@ G_BEGIN_DECLS typedef struct _GstRGB2Bayer GstRGB2Bayer; typedef struct _GstRGB2BayerClass GstRGB2BayerClass; +enum { + GST_RGB_2_BAYER_FORMAT_BGGR = 0, + GST_RGB_2_BAYER_FORMAT_GBRG, + GST_RGB_2_BAYER_FORMAT_GRBG, + GST_RGB_2_BAYER_FORMAT_RGGB +}; + struct _GstRGB2Bayer { GstBaseTransform base_rgb2bayer; int width, height; + int format; }; struct _GstRGB2BayerClass |