platform/upstream/gstreamer.git
14 years agoAdd gst_vaapi_object_{,un}lock_display() helpers.
gb [Fri, 26 Mar 2010 15:22:00 +0000 (15:22 +0000)]
Add gst_vaapi_object_{,un}lock_display() helpers.

14 years agoFactor out image utilities.
gb [Fri, 26 Mar 2010 15:16:01 +0000 (15:16 +0000)]
Factor out image utilities.

14 years agoMT-Safe: lock display.
gb [Fri, 26 Mar 2010 11:54:43 +0000 (11:54 +0000)]
MT-Safe: lock display.

14 years agoMake sure window resize completed prior to resizing the GL viewport.
gb [Fri, 26 Mar 2010 11:50:31 +0000 (11:50 +0000)]
Make sure window resize completed prior to resizing the GL viewport.

14 years agogstvaapicompat.h is a private header, don't install it.
gb [Fri, 26 Mar 2010 11:39:20 +0000 (11:39 +0000)]
gstvaapicompat.h is a private header, don't install it.

14 years agoAdd gst_vaapi_display_{sync,flush}() helpers.
gb [Fri, 26 Mar 2010 11:35:20 +0000 (11:35 +0000)]
Add gst_vaapi_display_{sync,flush}() helpers.

14 years agoAdd "synchronous" mode.
gb [Fri, 26 Mar 2010 11:30:54 +0000 (11:30 +0000)]
Add "synchronous" mode.

14 years agoOnly add _display suffix to open & close members because they could be #define to...
gb [Fri, 26 Mar 2010 11:02:12 +0000 (11:02 +0000)]
Only add _display suffix to open & close members because they could be #define to some arbitrary value. lock/unlock are safe names.

14 years agoRestore GLX context only if there is one.
gb [Fri, 26 Mar 2010 10:09:23 +0000 (10:09 +0000)]
Restore GLX context only if there is one.

14 years agoAdd gst_vaapi_window_glx_make_current(). Handle X11 window size changes and reset...
gb [Fri, 26 Mar 2010 09:41:12 +0000 (09:41 +0000)]
Add gst_vaapi_window_glx_make_current(). Handle X11 window size changes and reset the GL viewport.

14 years agoCheck GstVaapiWindow::render() is available prior to calling it.
gb [Fri, 26 Mar 2010 08:35:24 +0000 (08:35 +0000)]
Check GstVaapiWindow::render() is available prior to calling it.

14 years agoAdd VA/GLX display tests.
gb [Fri, 26 Mar 2010 08:10:23 +0000 (08:10 +0000)]
Add VA/GLX display tests.

14 years agoFix compile flags.
gb [Fri, 26 Mar 2010 08:00:32 +0000 (08:00 +0000)]
Fix compile flags.

14 years agoAdd missing API documentation.
gb [Thu, 25 Mar 2010 17:39:06 +0000 (17:39 +0000)]
Add missing API documentation.

14 years agoAdd initial VA/GLX support.
gb [Thu, 25 Mar 2010 17:28:49 +0000 (17:28 +0000)]
Add initial VA/GLX support.

14 years agoAdd missing includes (for vaapi_check_status()).
gb [Thu, 25 Mar 2010 17:21:56 +0000 (17:21 +0000)]
Add missing includes (for vaapi_check_status()).

14 years agoOnly enable GST_DEBUG() if DEBUG is defined. Drop old D(bug()) stuff.
gb [Thu, 25 Mar 2010 17:21:13 +0000 (17:21 +0000)]
Only enable GST_DEBUG() if DEBUG is defined. Drop old D(bug()) stuff.

14 years agoAdd gst_vaapi_window_x11_is_foreign_xid() helper.
gb [Thu, 25 Mar 2010 17:18:36 +0000 (17:18 +0000)]
Add gst_vaapi_window_x11_is_foreign_xid() helper.

14 years agoAllow derived classes to specify custom Visual and Colormap.
gb [Thu, 25 Mar 2010 17:18:06 +0000 (17:18 +0000)]
Allow derived classes to specify custom Visual and Colormap.

14 years agoAllow window creation with a specific visual (e.g. for GLX support).
gb [Thu, 25 Mar 2010 13:54:06 +0000 (13:54 +0000)]
Allow window creation with a specific visual (e.g. for GLX support).

14 years agoFix return value on error (though it's the same in the end).
gb [Thu, 25 Mar 2010 13:21:19 +0000 (13:21 +0000)]
Fix return value on error (though it's the same in the end).

14 years agoSimplify initialization of VADisplay.
gb [Thu, 25 Mar 2010 12:39:54 +0000 (12:39 +0000)]
Simplify initialization of VADisplay.

14 years agoMove __attribute__((visibility("hidden"))) check down.
gb [Thu, 25 Mar 2010 10:04:39 +0000 (10:04 +0000)]
Move __attribute__((visibility("hidden"))) check down.

14 years agoRestore the gst_vaapi_{surface,image,subpicture}_get_id() interfaces.
gb [Thu, 25 Mar 2010 09:49:17 +0000 (09:49 +0000)]
Restore the gst_vaapi_{surface,image,subpicture}_get_id() interfaces.

14 years agoUse the parent display object, no need to maintain another one.
gb [Thu, 25 Mar 2010 09:39:17 +0000 (09:39 +0000)]
Use the parent display object, no need to maintain another one.

In the end, libgstvaapi-x11 reduced by 1 KB in .text vs. 0.1.1.

14 years agoAdd more internal helpers.
gb [Thu, 25 Mar 2010 09:37:40 +0000 (09:37 +0000)]
Add more internal helpers.

14 years agoRename to GST_VAAPI_OBJECT_DISPLAY().
gb [Wed, 24 Mar 2010 17:40:19 +0000 (17:40 +0000)]
Rename to GST_VAAPI_OBJECT_DISPLAY().

14 years agoAll GstVaapiID are initialized to GST_VAAPI_ID_NONE by default.
gb [Wed, 24 Mar 2010 17:38:23 +0000 (17:38 +0000)]
All GstVaapiID are initialized to GST_VAAPI_ID_NONE by default.
Besides, all GstVaapiObject derived class shall initialize "id" to a valid value.

14 years agoMake GstVaapiWindow* derive from GstVaapiObject.
gb [Wed, 24 Mar 2010 17:22:18 +0000 (17:22 +0000)]
Make GstVaapiWindow* derive from GstVaapiObject.

14 years agoFactor out use gstreamer-vaapi (PACKAGE name).
gb [Wed, 24 Mar 2010 16:37:35 +0000 (16:37 +0000)]
Factor out use gstreamer-vaapi (PACKAGE name).

14 years agoImprove versioning summary.
gb [Wed, 24 Mar 2010 16:35:36 +0000 (16:35 +0000)]
Improve versioning summary.

14 years agogstvaapicompat.h is now a private header (not installed).
gb [Wed, 24 Mar 2010 16:27:36 +0000 (16:27 +0000)]
gstvaapicompat.h is now a private header (not installed).

14 years agoInclude gstvaapicompat.h in source files only, not headers.
gb [Wed, 24 Mar 2010 16:25:56 +0000 (16:25 +0000)]
Include gstvaapicompat.h in source files only, not headers.

14 years agoDrop tedious LIBVA_EXTRA_{CFLAGS,LIBS} definitions in Makefile.am. Override CFLAGS...
gb [Wed, 24 Mar 2010 16:21:20 +0000 (16:21 +0000)]
Drop tedious LIBVA_EXTRA_{CFLAGS,LIBS} definitions in Makefile.am. Override CFLAGS & LIBS instead.

14 years agoAdd compatibility with the original VA-API 0.29.
gb [Wed, 24 Mar 2010 16:17:49 +0000 (16:17 +0000)]
Add compatibility with the original VA-API 0.29.

14 years agoAdd missing file (gstvaapivalue.h).
gb [Wed, 24 Mar 2010 15:18:33 +0000 (15:18 +0000)]
Add missing file (gstvaapivalue.h).

14 years agoFix g_warning() invocation.
gb [Wed, 24 Mar 2010 15:12:56 +0000 (15:12 +0000)]
Fix g_warning() invocation.

14 years agoDeassociate subpictures while destroying the surface.
gb [Wed, 24 Mar 2010 15:11:26 +0000 (15:11 +0000)]
Deassociate subpictures while destroying the surface.

14 years agoFix destruction order of subpictures. They should be destroyed first.
gb [Wed, 24 Mar 2010 14:57:33 +0000 (14:57 +0000)]
Fix destruction order of subpictures. They should be destroyed first.

14 years agoAdd support for AYUV format.
gb [Wed, 24 Mar 2010 14:46:33 +0000 (14:46 +0000)]
Add support for AYUV format.

14 years agoSimplify upload process and fallback to subpictures.
gb [Wed, 24 Mar 2010 14:36:39 +0000 (14:36 +0000)]
Simplify upload process and fallback to subpictures.

14 years agoFix documentation.
gb [Wed, 24 Mar 2010 13:44:01 +0000 (13:44 +0000)]
Fix documentation.

14 years agoMove GValue specific stuff to a dedicated file.
gb [Wed, 24 Mar 2010 13:37:38 +0000 (13:37 +0000)]
Move GValue specific stuff to a dedicated file.

14 years agoCosmetics (lowercase for consistency).
gb [Wed, 24 Mar 2010 13:22:25 +0000 (13:22 +0000)]
Cosmetics (lowercase for consistency).

14 years agoCosmetics (vertical alignment).
gb [Wed, 24 Mar 2010 13:21:54 +0000 (13:21 +0000)]
Cosmetics (vertical alignment).

14 years agoFix return value on error.
gb [Wed, 24 Mar 2010 13:20:34 +0000 (13:20 +0000)]
Fix return value on error.

14 years agoMove "id" down to the GstVaapiObject base.
gb [Wed, 24 Mar 2010 13:19:58 +0000 (13:19 +0000)]
Move "id" down to the GstVaapiObject base.

14 years agoCosmetics (drop extraneous empty line).
gb [Wed, 24 Mar 2010 12:59:22 +0000 (12:59 +0000)]
Cosmetics (drop extraneous empty line).

14 years agoAdd GParamSpecs for GstVaapiID.
gb [Wed, 24 Mar 2010 12:57:54 +0000 (12:57 +0000)]
Add GParamSpecs for GstVaapiID.

14 years agoDrop gst_vaapi_id_get_type().
gb [Wed, 24 Mar 2010 12:54:52 +0000 (12:54 +0000)]
Drop gst_vaapi_id_get_type().

14 years agoAdd GST_VAAPI_ID_FORMAT() and GST_VAAPI_ID_ARGS() helpers.
gb [Wed, 24 Mar 2010 12:38:40 +0000 (12:38 +0000)]
Add GST_VAAPI_ID_FORMAT() and GST_VAAPI_ID_ARGS() helpers.

14 years agoAdd GstVaapiID abstraction.
gb [Wed, 24 Mar 2010 09:52:43 +0000 (09:52 +0000)]
Add GstVaapiID abstraction.

14 years agoSort types.
gb [Wed, 24 Mar 2010 09:22:00 +0000 (09:22 +0000)]
Sort types.

14 years agoDrop useless include (<va/va_backend.h>).
gb [Wed, 24 Mar 2010 08:35:27 +0000 (08:35 +0000)]
Drop useless include (<va/va_backend.h>).

14 years agoOptimize GST_VAAPI_OBJECT_GET_DISPLAY to avoid a run-time check.
gb [Wed, 24 Mar 2010 08:34:11 +0000 (08:34 +0000)]
Optimize GST_VAAPI_OBJECT_GET_DISPLAY to avoid a run-time check.

14 years agoMove private definitions and accessors to gstvaapiobject_priv.h.
gb [Wed, 24 Mar 2010 08:32:12 +0000 (08:32 +0000)]
Move private definitions and accessors to gstvaapiobject_priv.h.

14 years agoFix short descriptions.
gb [Wed, 24 Mar 2010 08:16:32 +0000 (08:16 +0000)]
Fix short descriptions.

14 years agoGenerate upstream packages through make deb.upstream.
gb [Tue, 23 Mar 2010 18:45:09 +0000 (18:45 +0000)]
Generate upstream packages through make deb.upstream.

14 years agoBump version for development.
gb [Tue, 23 Mar 2010 17:40:03 +0000 (17:40 +0000)]
Bump version for development.

14 years agoUse a black background for new windows.
gb [Tue, 23 Mar 2010 17:29:47 +0000 (17:29 +0000)]
Use a black background for new windows.

14 years ago0.1.1.
gb [Tue, 23 Mar 2010 17:18:35 +0000 (17:18 +0000)]
0.1.1.

14 years agoAdd "destroy" signal.
gb [Tue, 23 Mar 2010 17:12:40 +0000 (17:12 +0000)]
Add "destroy" signal.

14 years agoImprove gst-plugins-vaapi Library reference template.
gb [Tue, 23 Mar 2010 16:25:20 +0000 (16:25 +0000)]
Improve gst-plugins-vaapi Library reference template.

14 years agoMake GstVaapi{Surface,Image,Subpicture} derive from a GstVaapiObject.
gb [Tue, 23 Mar 2010 16:21:28 +0000 (16:21 +0000)]
Make GstVaapi{Surface,Image,Subpicture} derive from a GstVaapiObject.

14 years agoFix return value.
gb [Tue, 23 Mar 2010 16:11:21 +0000 (16:11 +0000)]
Fix return value.

14 years agoMake sure VA display is valid when created with an explicit "display" name.
gb [Tue, 23 Mar 2010 15:34:51 +0000 (15:34 +0000)]
Make sure VA display is valid when created with an explicit "display" name.

14 years agoUse plain "display" property for the X11 display name.
gb [Tue, 23 Mar 2010 15:28:50 +0000 (15:28 +0000)]
Use plain "display" property for the X11 display name.

14 years agoDocument vaapiconvert & vaapisink plugins.
gb [Tue, 23 Mar 2010 15:22:47 +0000 (15:22 +0000)]
Document vaapiconvert & vaapisink plugins.

14 years agoAdd plugins documentation template.
gb [Tue, 23 Mar 2010 14:19:21 +0000 (14:19 +0000)]
Add plugins documentation template.

14 years agoDon't export gst_vaapisink_get_display().
gb [Tue, 23 Mar 2010 14:06:42 +0000 (14:06 +0000)]
Don't export gst_vaapisink_get_display().

14 years agoDrop introspection annotations since they require gtk-doc >= 1.12.
gb [Tue, 23 Mar 2010 13:32:36 +0000 (13:32 +0000)]
Drop introspection annotations since they require gtk-doc >= 1.12.

14 years agoAdd note about the fact that the surface holds an extra reference to the subpicture.
gb [Tue, 23 Mar 2010 10:51:35 +0000 (10:51 +0000)]
Add note about the fact that the surface holds an extra reference to the subpicture.

14 years agoImprove debugging messages.
gb [Tue, 23 Mar 2010 10:49:33 +0000 (10:49 +0000)]
Improve debugging messages.

14 years agoUnref subpicture earlier as the surface is supposed to hold a reference to it.
gb [Tue, 23 Mar 2010 10:48:58 +0000 (10:48 +0000)]
Unref subpicture earlier as the surface is supposed to hold a reference to it.

14 years agoAdd gst_vaapi_surface_{,de}associate_subpicture() API.
gb [Tue, 23 Mar 2010 10:36:20 +0000 (10:36 +0000)]
Add gst_vaapi_surface_{,de}associate_subpicture() API.

14 years agoWait for MapNotify or UnmapNotify events on foreign windows too.
gb [Tue, 23 Mar 2010 08:13:37 +0000 (08:13 +0000)]
Wait for MapNotify or UnmapNotify events on foreign windows too.

14 years agoCheck whether the foreign XID is mapped at binding time.
gb [Tue, 23 Mar 2010 07:42:05 +0000 (07:42 +0000)]
Check whether the foreign XID is mapped at binding time.

14 years agoAdd missing includes.
gb [Tue, 23 Mar 2010 07:34:15 +0000 (07:34 +0000)]
Add missing includes.

14 years agoAdd -doc package.
gb [Tue, 23 Mar 2010 07:31:04 +0000 (07:31 +0000)]
Add -doc package.

14 years agoFix warnings (drop extraneous var).
gb [Tue, 23 Mar 2010 06:41:29 +0000 (06:41 +0000)]
Fix warnings (drop extraneous var).

14 years agoAdd GST_VAAPI_WINDOW_XWINDOW() helper macro.
gb [Tue, 23 Mar 2010 06:40:27 +0000 (06:40 +0000)]
Add GST_VAAPI_WINDOW_XWINDOW() helper macro.

14 years agoShorten condition.
gb [Mon, 22 Mar 2010 16:59:29 +0000 (16:59 +0000)]
Shorten condition.

14 years agoTry to improve switch to fullscreen mode.
gb [Mon, 22 Mar 2010 16:57:20 +0000 (16:57 +0000)]
Try to improve switch to fullscreen mode.

14 years agoImprove display locking and rework X event wait functions.
gb [Mon, 22 Mar 2010 16:01:34 +0000 (16:01 +0000)]
Improve display locking and rework X event wait functions.

14 years agoMove _GstVaapiWindowPrivate declaration to gstvaapiwindow_priv.h.
gb [Mon, 22 Mar 2010 13:06:41 +0000 (13:06 +0000)]
Move _GstVaapiWindowPrivate declaration to gstvaapiwindow_priv.h.

14 years agoAdd private API to set window size & fullscreen modes
gb [Mon, 22 Mar 2010 13:05:05 +0000 (13:05 +0000)]
Add private API to set window size & fullscreen modes
without triggering any notification or virtual functions.
This is useful for derived class to fix up sizes whenever appropriate.

14 years agoAdd gst_vaapi_window_get_fullscreen() helper and "fullscreen" property.
gb [Mon, 22 Mar 2010 12:47:13 +0000 (12:47 +0000)]
Add gst_vaapi_window_get_fullscreen() helper and "fullscreen" property.

14 years agoAdd gst_vaapi_window_get_display() to base.
gb [Mon, 22 Mar 2010 12:39:02 +0000 (12:39 +0000)]
Add gst_vaapi_window_get_display() to base.

14 years agoAdd GstVaapiPoint & GstVaapiRectangle data structures.
gb [Mon, 22 Mar 2010 12:16:47 +0000 (12:16 +0000)]
Add GstVaapiPoint & GstVaapiRectangle data structures.

14 years ago0.1.1.
gb [Mon, 22 Mar 2010 12:05:11 +0000 (12:05 +0000)]
0.1.1.

14 years agoAllow `vaapisink` to render videos in fullscreen mode.
gb [Mon, 22 Mar 2010 12:03:26 +0000 (12:03 +0000)]
Allow `vaapisink` to render videos in fullscreen mode.

14 years agoAdd gst_vaapi_window_set_fullscreen() API.
gb [Mon, 22 Mar 2010 10:51:49 +0000 (10:51 +0000)]
Add gst_vaapi_window_set_fullscreen() API.

14 years agoSize window so that to respect the video and pixel aspect ratio.
gb [Mon, 22 Mar 2010 10:03:24 +0000 (10:03 +0000)]
Size window so that to respect the video and pixel aspect ratio.

14 years agoAdd gst_vaapi_display_get_pixel_aspect_ratio().
gb [Mon, 22 Mar 2010 09:32:01 +0000 (09:32 +0000)]
Add gst_vaapi_display_get_pixel_aspect_ratio().

14 years agoUpdates.
gb [Mon, 22 Mar 2010 08:45:03 +0000 (08:45 +0000)]
Updates.

14 years agoAdd display size accessors.
gb [Mon, 22 Mar 2010 08:44:38 +0000 (08:44 +0000)]
Add display size accessors.

14 years agoBuild-Requires: gstreamer-plugins-base >= 0.10.16.
gb [Mon, 22 Mar 2010 08:03:12 +0000 (08:03 +0000)]
Build-Requires: gstreamer-plugins-base >= 0.10.16.

14 years agoFix documentation of *Class'es.
gb [Sun, 21 Mar 2010 08:45:09 +0000 (08:45 +0000)]
Fix documentation of *Class'es.

14 years agoMove GstVaapiSurfaceRenderFlags conversion to get_PutSurface_flags_from_GstVaapiSurfa...
gb [Sun, 21 Mar 2010 08:38:17 +0000 (08:38 +0000)]
Move GstVaapiSurfaceRenderFlags conversion to get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags().

14 years agoMove GstVaapiSurfaceRenderFlags to gstvaapisurface.h since this will
gb [Sun, 21 Mar 2010 08:22:46 +0000 (08:22 +0000)]
Move GstVaapiSurfaceRenderFlags to gstvaapisurface.h since this will
also be useful for e.g. a gstvaapitexture.h.