summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/video/video.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2003-12-21 22:43:09 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2003-12-21 22:43:09 +0000
commit26da56b423a834192f5edf413c3cb1be257f845a (patch)
tree4182e5351f49767eaf5447091a8050d27bd69474 /gst-libs/gst/video/video.h
parent0d9a29465920184a2f1ae1d21be9d8598dd33b93 (diff)
downloadgst-plugins-bad-26da56b423a834192f5edf413c3cb1be257f845a.tar.gz
gst-plugins-bad-26da56b423a834192f5edf413c3cb1be257f845a.tar.bz2
gst-plugins-bad-26da56b423a834192f5edf413c3cb1be257f845a.zip
Port lame, libfame and xvid to new CAPS
Original commit message from CVS: Port lame, libfame and xvid to new CAPS Fix varargs in jpegdec and pngenc Make GstStaticPadTemplates static in gsmdec Add integer versions of the RGB masks in video.h Fix inverted logic in gstvideotestsrc
Diffstat (limited to 'gst-libs/gst/video/video.h')
-rw-r--r--gst-libs/gst/video/video.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h
index d10f6d42..7f5a1fdf 100644
--- a/gst-libs/gst/video/video.h
+++ b/gst-libs/gst/video/video.h
@@ -47,6 +47,30 @@
#define G_MASK_15 "0x03e0"
#define B_MASK_15 "0x001f"
+#define R_MASK_32_INT 0xff000000
+#define G_MASK_32_INT 0x00ff0000
+#define B_MASK_32_INT 0x0000ff00
+
+#define R_MASK_32_REVERSE_INT 0x000000ff
+#define G_MASK_32_REVERSE_INT 0x0000ff00
+#define B_MASK_32_REVERSE_INT 0x00ff0000
+
+#define R_MASK_24_INT 0xff0000
+#define G_MASK_24_INT 0x00ff00
+#define B_MASK_24_INT 0x0000ff
+
+#define R_MASK_24_REVERSE_INT 0x0000ff
+#define G_MASK_24_REVERSE_INT 0x00ff00
+#define B_MASK_24_REVERSE_INT 0xff0000
+
+#define R_MASK_16_INT 0xf800
+#define G_MASK_16_INT 0x07e0
+#define B_MASK_16_INT 0x001f
+
+#define R_MASK_15_INT 0x7c00
+#define G_MASK_15_INT 0x03e0
+#define B_MASK_15_INT 0x001f
+
#define SIZE_RANGE "(int) [ 16, 4096 ]"
#define FPS_RANGE "(double) [ 0, max ]"