summaryrefslogtreecommitdiff
path: root/gst/video.defs
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-06-27 10:35:55 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-06-27 10:35:55 +0200
commit110de36d65b22e991154c6adf982081f9178c189 (patch)
tree78f8583dd9180b0505556d6709edd0fef0518874 /gst/video.defs
parente485bad78b11552672a40c8c3880a72280edd9fc (diff)
Add gst-plugins-base 0.10.29/0.10.30 API additions
Diffstat (limited to 'gst/video.defs')
-rw-r--r--gst/video.defs32
1 files changed, 32 insertions, 0 deletions
diff --git a/gst/video.defs b/gst/video.defs
index 671ecb4..5177979 100644
--- a/gst/video.defs
+++ b/gst/video.defs
@@ -45,6 +45,16 @@
'("v216" "GST_VIDEO_FORMAT_v216")
'("nv12" "GST_VIDEO_FORMAT_NV12")
'("nv21" "GST_VIDEO_FORMAT_NV21")
+ '("gray8" "GST_VIDEO_FORMAT_GRAY8")
+ '("gray16-be" "GST_VIDEO_FORMAT_GRAY16_BE")
+ '("gray16-le" "GST_VIDEO_FORMAT_GRAY16_LE")
+ '("v308" "GST_VIDEO_FORMAT_v308")
+ '("y800" "GST_VIDEO_FORMAT_Y800")
+ '("y16" "GST_VIDEO_FORMAT_Y16")
+ '("rgb16" "GST_VIDEO_FORMAT_RGB16")
+ '("bgr16" "GST_VIDEO_FORMAT_BGR16")
+ '("rgb15" "GST_VIDEO_FORMAT_RGB15")
+ '("bgr15" "GST_VIDEO_FORMAT_BGR15")
)
)
@@ -145,6 +155,22 @@
)
)
+(define-function parse_caps_color_matrix
+ (c-name "gst_video_parse_caps_color_matrix")
+ (return-type "const-char*")
+ (parameters
+ '("GstCaps*" "caps")
+ )
+)
+
+(define-function parse_caps_chroma_site
+ (c-name "gst_video_parse_caps_chroma_site")
+ (return-type "const-char*")
+ (parameters
+ '("GstCaps*" "caps")
+ )
+)
+
(define-method new_caps
(of-object "GstVideoFormat")
(c-name "gst_video_format_new_caps")
@@ -202,6 +228,12 @@
(return-type "gboolean")
)
+(define-method is_gray
+ (of-object "GstVideoFormat")
+ (c-name "gst_video_format_is_gray")
+ (return-type "gboolean")
+)
+
(define-method has_alpha
(of-object "GstVideoFormat")
(c-name "gst_video_format_has_alpha")