platform/upstream/gstreamer-vaapi.git
14 years agoAdd initial (multithreaded) decoder based on FFmpeg.
gb [Fri, 23 Apr 2010 16:05:58 +0000 (16:05 +0000)]
Add initial (multithreaded) decoder based on FFmpeg.

There are tons of bugs left:
- Decoder API not nice enough with error conditions
- FFmpeg parser is sometimes broken
- Packets queue can be lost

14 years agoAdd surface proxy that holds a reference to the parent surface
gb [Fri, 23 Apr 2010 16:00:50 +0000 (16:00 +0000)]
Add surface proxy that holds a reference to the parent surface
and that returns the surface to that context on destruction.

14 years agoAdd VA context abstraction.
gb [Fri, 23 Apr 2010 15:59:31 +0000 (15:59 +0000)]
Add VA context abstraction.

14 years agoFix VA profiles definitions for gst_vaapi_profile_get_codec() to work.
gb [Fri, 23 Apr 2010 10:58:19 +0000 (10:58 +0000)]
Fix VA profiles definitions for gst_vaapi_profile_get_codec() to work.

14 years agoAdd a means to cap the number of objects allocated in the pool.
gb [Wed, 21 Apr 2010 15:03:31 +0000 (15:03 +0000)]
Add a means to cap the number of objects allocated in the pool.

14 years agoAdd VA entrypoint abstraction.
gb [Wed, 21 Apr 2010 15:02:23 +0000 (15:02 +0000)]
Add VA entrypoint abstraction.

14 years agoAdd VA profile abstraction.
gb [Tue, 20 Apr 2010 13:36:04 +0000 (13:36 +0000)]
Add VA profile abstraction.

14 years agoFix OpenGL rendering on G45 systems.
gb [Tue, 20 Apr 2010 07:51:23 +0000 (07:51 +0000)]
Fix OpenGL rendering on G45 systems.

14 years agoFix gl_create_context() to find a GLXFBConfig compatible with the parent GL context.
gb [Fri, 16 Apr 2010 13:47:30 +0000 (13:47 +0000)]
Fix gl_create_context() to find a GLXFBConfig compatible with the parent GL context.

14 years agoFix TFP logic and simplify the FBO model. i.e. it's not necessary
gb [Fri, 2 Apr 2010 11:27:23 +0000 (11:27 +0000)]
Fix TFP logic and simplify the FBO model. i.e. it's not necessary
to create another texture (and storage) for the TFP, simply a new texture name.

14 years agoFix get-out conditions.
gb [Thu, 1 Apr 2010 16:11:54 +0000 (16:11 +0000)]
Fix get-out conditions.

14 years agoThe shared GL context in GstVaapiTexture is only useful for cases
gb [Thu, 1 Apr 2010 15:38:59 +0000 (15:38 +0000)]
The shared GL context in GstVaapiTexture is only useful for cases
where TFP+FBO are used, thus avoiding the need fully preserve the states
and call into glGet*() functions that need synchronization.

14 years agoShorter structs.
gb [Thu, 1 Apr 2010 13:55:19 +0000 (13:55 +0000)]
Shorter structs.

14 years agoMake more helpers internal, thus reducing .text size further. Add gst_vaapi_display_x...
gb [Thu, 1 Apr 2010 13:41:24 +0000 (13:41 +0000)]
Make more helpers internal, thus reducing .text size further. Add gst_vaapi_display_x11_get_screen() helper along the way.

14 years agoMove GST_VAAPI_DISPLAY_VADISPLAY() and GST_VAAPI_DISPLAY_{LOCK,UNLOCK}() to gstvaapid...
gb [Thu, 1 Apr 2010 09:47:59 +0000 (09:47 +0000)]
Move GST_VAAPI_DISPLAY_VADISPLAY() and GST_VAAPI_DISPLAY_{LOCK,UNLOCK}() to gstvaapidisplay_priv.h.

14 years agoImprove handling of GL contexts.
gb [Wed, 31 Mar 2010 15:25:19 +0000 (15:25 +0000)]
Improve handling of GL contexts.

14 years agoSimplify summary.
gb [Tue, 30 Mar 2010 16:41:21 +0000 (16:41 +0000)]
Simplify summary.

14 years agoBump version for development.
gb [Tue, 30 Mar 2010 13:33:12 +0000 (13:33 +0000)]
Bump version for development.

14 years agoRename -dev package to libgstvaapi-dev. 0.1.2
gb [Tue, 30 Mar 2010 13:29:34 +0000 (13:29 +0000)]
Rename -dev package to libgstvaapi-dev.

14 years agoUpdates.
gb [Tue, 30 Mar 2010 13:17:12 +0000 (13:17 +0000)]
Updates.

14 years agoFix build with VA-API < 0.30.
gb [Tue, 30 Mar 2010 13:05:31 +0000 (13:05 +0000)]
Fix build with VA-API < 0.30.

14 years agoEnable build without VA/GLX extensions. i.e. fallback to TFP + FBO.
gb [Tue, 30 Mar 2010 13:01:34 +0000 (13:01 +0000)]
Enable build without VA/GLX extensions. i.e. fallback to TFP + FBO.

14 years agoAdd TFP and FBO helpers.
gb [Tue, 30 Mar 2010 12:59:15 +0000 (12:59 +0000)]
Add TFP and FBO helpers.

14 years agoCosmetics. Make vaapi_check_status() use GST_DEBUG() for error messages.
gb [Tue, 30 Mar 2010 12:55:27 +0000 (12:55 +0000)]
Cosmetics. Make vaapi_check_status() use GST_DEBUG() for error messages.

14 years agoUse a shorter function name.
gb [Tue, 30 Mar 2010 08:13:34 +0000 (08:13 +0000)]
Use a shorter function name.

14 years agoAdd gst_vaapi_surface_query_status() wrapper.
gb [Tue, 30 Mar 2010 08:11:50 +0000 (08:11 +0000)]
Add gst_vaapi_surface_query_status() wrapper.

14 years agoFix leftover during migration.
gb [Tue, 30 Mar 2010 07:50:11 +0000 (07:50 +0000)]
Fix leftover during migration.

14 years agoRename to gst/ as sys/ was too vague.
gb [Tue, 30 Mar 2010 07:46:47 +0000 (07:46 +0000)]
Rename to gst/ as sys/ was too vague.

14 years agoTry to not reference VA-API types directly.
gb [Tue, 30 Mar 2010 07:39:16 +0000 (07:39 +0000)]
Try to not reference VA-API types directly.

14 years agoFix reflection code to preserve aspect ratio.
gb [Mon, 29 Mar 2010 16:24:37 +0000 (16:24 +0000)]
Fix reflection code to preserve aspect ratio.

14 years agoFix fullscreen mode.
gb [Mon, 29 Mar 2010 16:17:38 +0000 (16:17 +0000)]
Fix fullscreen mode.

14 years agoAdd OpenGL reflection effect ("use-reflection").
gb [Mon, 29 Mar 2010 15:59:44 +0000 (15:59 +0000)]
Add OpenGL reflection effect ("use-reflection").

14 years agoUse a projection suitable for rotation around the Y axis.
gb [Mon, 29 Mar 2010 15:51:54 +0000 (15:51 +0000)]
Use a projection suitable for rotation around the Y axis.

14 years agoDon't build vaapisink/gl by default. However, if this is enabled, use the GL renderer...
gb [Mon, 29 Mar 2010 15:03:30 +0000 (15:03 +0000)]
Don't build vaapisink/gl by default. However, if this is enabled, use the GL renderer by default.

14 years agoAdd libgstvaapi-glx-0 package.
gb [Mon, 29 Mar 2010 14:50:52 +0000 (14:50 +0000)]
Add libgstvaapi-glx-0 package.

14 years agoReally fix make distclean.
gb [Mon, 29 Mar 2010 14:47:49 +0000 (14:47 +0000)]
Really fix make distclean.

14 years agoFix make dist.
gb [Mon, 29 Mar 2010 14:43:22 +0000 (14:43 +0000)]
Fix make dist.

14 years agoFix make distclean.
gb [Mon, 29 Mar 2010 14:42:57 +0000 (14:42 +0000)]
Fix make distclean.

14 years agoFix make dist.
gb [Mon, 29 Mar 2010 14:40:26 +0000 (14:40 +0000)]
Fix make dist.

14 years agoFix doc build.
gb [Mon, 29 Mar 2010 14:31:17 +0000 (14:31 +0000)]
Fix doc build.

14 years agoFix build without GLX.
gb [Mon, 29 Mar 2010 14:21:51 +0000 (14:21 +0000)]
Fix build without GLX.

14 years ago0.1.2.
gb [Mon, 29 Mar 2010 14:13:55 +0000 (14:13 +0000)]
0.1.2.

14 years agoAdd VA/GLX support to vaapisink.
gb [Mon, 29 Mar 2010 14:13:26 +0000 (14:13 +0000)]
Add VA/GLX support to vaapisink.

14 years agoAdd glXSwapBuffers() workaround for NVIDIA.
gb [Mon, 29 Mar 2010 13:40:27 +0000 (13:40 +0000)]
Add glXSwapBuffers() workaround for NVIDIA.

14 years agoImprove VA/GLX textures test.
gb [Mon, 29 Mar 2010 13:27:16 +0000 (13:27 +0000)]
Improve VA/GLX textures test.

14 years agoFix texture rendering.
gb [Mon, 29 Mar 2010 12:51:38 +0000 (12:51 +0000)]
Fix texture rendering.

14 years agoFix documentation.
gb [Mon, 29 Mar 2010 11:25:20 +0000 (11:25 +0000)]
Fix documentation.

14 years agoAdd gst_vaapi_window_glx_put_texture() helper.
gb [Mon, 29 Mar 2010 10:40:26 +0000 (10:40 +0000)]
Add gst_vaapi_window_glx_put_texture() helper.

14 years agoFix typos.
gb [Mon, 29 Mar 2010 09:09:30 +0000 (09:09 +0000)]
Fix typos.

14 years agoMove code around.
gb [Fri, 26 Mar 2010 17:00:45 +0000 (17:00 +0000)]
Move code around.

14 years agoAdd initial VA/GLX texture abstraction though the API is not good enough yet.
gb [Fri, 26 Mar 2010 16:52:07 +0000 (16:52 +0000)]
Add initial VA/GLX texture abstraction though the API is not good enough yet.

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.