Add gst-plugins-base 0.10.29/0.10.30 API additions

This commit is contained in:
Edward Hervey 2010-06-27 10:35:55 +02:00
parent e485bad78b
commit 110de36d65
8 changed files with 116 additions and 0 deletions

View file

@ -202,6 +202,20 @@ then
else
IGNORE_GST_PB_0_10_26=""
fi
if test $GST_PB_MINOR_VERSION -lt "29"
then
IGNORE_GST_PB_0_10_29="gst-pb-0.10.29.ignore"
else
IGNORE_GST_PB_0_10_29=""
fi
if test $GST_PB_MINOR_VERSION -lt "30"
then
IGNORE_GST_PB_0_10_30="gst-pb-0.10.30.ignore"
else
IGNORE_GST_PB_0_10_30=""
fi
else
IGNORE_GST_0_10_18=""
IGNORE_GST_0_10_20=""
@ -216,6 +230,8 @@ else
IGNORE_GST_PB_0_10_23=""
IGNORE_GST_PB_0_10_25=""
IGNORE_GST_PB_0_10_26=""
IGNORE_GST_PB_0_10_29=""
IGNORE_GST_PB_0_10_30=""
AC_DEFINE_UNQUOTED(HAVE_GST_AUDIO, 1, [We can use the gst-audio library])
AC_DEFINE_UNQUOTED(HAVE_GST_VIDEO, 1, [We can use the gst-video library])
AC_DEFINE_UNQUOTED(HAVE_GST_TAG, 1, [We can use the gst-tag library])
@ -233,6 +249,8 @@ AC_SUBST(IGNORE_GST_0_10_30)
AC_SUBST(IGNORE_GST_PB_0_10_23)
AC_SUBST(IGNORE_GST_PB_0_10_25)
AC_SUBST(IGNORE_GST_PB_0_10_26)
AC_SUBST(IGNORE_GST_PB_0_10_29)
AC_SUBST(IGNORE_GST_PB_0_10_30)
AM_CONDITIONAL(HAVE_GST_AUDIO, $HAVE_GST_AUDIO)
AM_CONDITIONAL(HAVE_GST_VIDEO, $HAVE_GST_VIDEO)
AM_CONDITIONAL(HAVE_GST_TAG, $HAVE_GST_TAG)

View file

@ -37,6 +37,8 @@ versioned_overrides = \
gst-pb-0.10.23.ignore \
gst-pb-0.10.25.ignore \
gst-pb-0.10.26.ignore \
gst-pb-0.10.29.ignore \
gst-pb-0.10.30.ignore \
gst-disable-loadsave.ignore
INCLUDES = $(PYTHON_INCLUDES)

View file

@ -0,0 +1,9 @@
%%
ignore
gst_x_overlay_set_render_rectangle
gst_tag_list_from_xmp_buffer
gst_tag_list_to_xmp_buffer
gst_video_format_is_gray
gst_video_parse_caps_chroma_site
gst_video_parse_caps_color_matrix
%%

View file

@ -0,0 +1,7 @@
%%
ignore
gst_tag_list_to_exif_buffer
gst_tag_list_to_exif_buffer_with_tiff_header
gst_tag_list_from_exif_buffer
gst_tag_list_from_exif_buffer_with_tiff_header
%%

View file

@ -12,5 +12,7 @@ include
@IGNORE_GST_PB_0_10_26@
@IGNORE_GST_LOADSAVE@
@IGNORE_GST_0_10_29@
@IGNORE_GST_PB_0_10_29@
@IGNORE_GST_0_10_30@
@IGNORE_GST_PB_0_10_30@
%%

View file

@ -179,6 +179,40 @@
)
)
(define-method to_exif_buffer
(of-object "GstTagList")
(c-name "gst_tag_list_to_exif_buffer")
(return-type "GstBuffer*")
(parameters
'("gint" "byte_order")
'("guint32" "base_offset")
)
)
(define-method to_exif_buffer_with_tiff_header
(of-object "GstTagList")
(c-name "gst_tag_list_to_exif_buffer_with_tiff_header")
(return-type "GstBuffer*")
)
(define-function tag_list_from_exif_buffer
(c-name "gst_tag_list_from_exif_buffer")
(return-type "GstTagList*")
(parameters
'("const-GstBuffer*" "buffer")
'("gint" "byte_order")
'("guint32" "base_offset")
)
)
(define-function tag_list_from_exif_buffer_with_tiff_header
(c-name "gst_tag_list_from_exif_buffer_with_tiff_header")
(return-type "GstTagList*")
(parameters
'("const-GstBuffer*" "buffer")
)
)
(define-function parse_extended_comment
(c-name "gst_tag_parse_extended_comment")
(return-type "gboolean")

View file

@ -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")

View file

@ -19,6 +19,18 @@
)
)
(define-method set_render_rectangle
(of-object "GstXOverlay")
(c-name "gst_x_overlay_set_render_rectangle")
(return-type "gboolean")
(parameters
'("gint" "x")
'("gint" "y")
'("gint" "width")
'("gint" "height")
)
)
(define-method expose
(of-object "GstXOverlay")
(c-name "gst_x_overlay_expose")