profile/ivi/gstreamer-vaapi.git
12 years agovaapisink: ensure VA display in GstBaseSink::start() hook.
Gwenole Beauchesne [Wed, 11 Jan 2012 13:11:30 +0000 (14:11 +0100)]
vaapisink: ensure VA display in GstBaseSink::start() hook.

This ensures a VA display is ready by the time upstream elements request
for it.

12 years agovaapisink: don't leak GL texture.
Nicolas Dufresne [Fri, 26 Aug 2011 19:44:46 +0000 (15:44 -0400)]
vaapisink: don't leak GL texture.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovaapisink: fix calculation of render region.
Gwenole Beauchesne [Mon, 9 Jan 2012 15:51:35 +0000 (16:51 +0100)]
vaapisink: fix calculation of render region.

12 years agovaapisink: automatically fit video to window.
Gwenole Beauchesne [Mon, 9 Jan 2012 10:23:39 +0000 (11:23 +0100)]
vaapisink: automatically fit video to window.

12 years agovaapisink: implement GstXOverlay::set_render_rectangle().
Gwenole Beauchesne [Mon, 9 Jan 2012 09:37:30 +0000 (10:37 +0100)]
vaapisink: implement GstXOverlay::set_render_rectangle().

12 years agowindow: always check geometry when the window is mapped.
Gwenole Beauchesne [Mon, 9 Jan 2012 10:04:21 +0000 (11:04 +0100)]
window: always check geometry when the window is mapped.

12 years agoAdd missing profiles from VA-API 0.32.0.
Zhao Halley [Fri, 6 Jan 2012 16:51:59 +0000 (17:51 +0100)]
Add missing profiles from VA-API 0.32.0.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years ago.gitignore: add test-subpicture.
Gwenole Beauchesne [Fri, 6 Jan 2012 15:48:15 +0000 (16:48 +0100)]
.gitignore: add test-subpicture.

12 years agoBump version for development.
Gwenole Beauchesne [Fri, 6 Jan 2012 10:23:21 +0000 (11:23 +0100)]
Bump version for development.

12 years ago0.3.2.
Gwenole Beauchesne [Fri, 6 Jan 2012 10:20:48 +0000 (11:20 +0100)]
0.3.2.

12 years agotests: fix make dist (ship with test-subpicture-data.h).
Gwenole Beauchesne [Fri, 6 Jan 2012 10:18:55 +0000 (11:18 +0100)]
tests: fix make dist (ship with test-subpicture-data.h).

12 years agoNEWS: updates.
Gwenole Beauchesne [Thu, 5 Jan 2012 16:35:12 +0000 (17:35 +0100)]
NEWS: updates.

12 years agodecoder: fix possible leak of VA surfaces.
Gwenole Beauchesne [Thu, 5 Jan 2012 16:09:35 +0000 (17:09 +0100)]
decoder: fix possible leak of VA surfaces.

Under some circumstances, we could have leaked a surface, thus not
releasing it to the pool of available surfaces in the VA context.
The strategy is now to use a proxy earlier and automatically ref/unref
whenever necessary. In particular, during the lifetime needed for FFmpeg.

12 years agosurfaceproxy: add helper to retrieve the VA surface ID.
Gwenole Beauchesne [Thu, 5 Jan 2012 15:59:57 +0000 (16:59 +0100)]
surfaceproxy: add helper to retrieve the VA surface ID.

12 years agosurfaceproxy: simplify destruction.
Gwenole Beauchesne [Thu, 5 Jan 2012 15:44:44 +0000 (16:44 +0100)]
surfaceproxy: simplify destruction.

Also make sure to always make sure to release the surface back to the
pool of surfaces in the associated VA context, if any.

12 years agovaapidecode: fix deinitialization order.
Gwenole Beauchesne [Thu, 5 Jan 2012 15:26:49 +0000 (16:26 +0100)]
vaapidecode: fix deinitialization order.

12 years agocontext: avoid self reference loops with surfaces.
Gwenole Beauchesne [Thu, 5 Jan 2012 13:50:26 +0000 (14:50 +0100)]
context: avoid self reference loops with surfaces.

12 years agodebian: update control.in description for new plugins.
Gwenole Beauchesne [Thu, 5 Jan 2012 10:23:01 +0000 (11:23 +0100)]
debian: update control.in description for new plugins.

12 years agovaapiupload: use new gst_vaapi_append_surface_caps() helper.
Gwenole Beauchesne [Thu, 5 Jan 2012 10:01:56 +0000 (11:01 +0100)]
vaapiupload: use new gst_vaapi_append_surface_caps() helper.

This also fixes extra structures, beyond the one at index 0, to hold
the right additional values.

12 years agovaapiupload: fix sink (YUV) caps to not report type and opengl fields.
Gwenole Beauchesne [Thu, 5 Jan 2012 09:55:34 +0000 (10:55 +0100)]
vaapiupload: fix sink (YUV) caps to not report type and opengl fields.

12 years agovaapidownload: add new plugin to download pixels from VA surfaces.
Gwenole Beauchesne [Thu, 5 Jan 2012 09:50:59 +0000 (10:50 +0100)]
vaapidownload: add new plugin to download pixels from VA surfaces.

12 years agovaapipluingutils: add helper to append surface caps to YUV caps.
Gwenole Beauchesne [Thu, 5 Jan 2012 10:00:39 +0000 (11:00 +0100)]
vaapipluingutils: add helper to append surface caps to YUV caps.

12 years agoimage: add helpers to extract pixels to user buffers.
Gwenole Beauchesne [Thu, 5 Jan 2012 09:29:48 +0000 (10:29 +0100)]
image: add helpers to extract pixels to user buffers.

12 years agoimage: simplify initialization of raw images from video buffers.
Gwenole Beauchesne [Wed, 4 Jan 2012 10:34:34 +0000 (11:34 +0100)]
image: simplify initialization of raw images from video buffers.

12 years agoimage: fix update from NV12 buffers.
Gwenole Beauchesne [Wed, 4 Jan 2012 10:29:11 +0000 (11:29 +0100)]
image: fix update from NV12 buffers.

12 years agovaapiupload: fix memory leak in _init() function.
Gwenole Beauchesne [Tue, 3 Jan 2012 17:16:35 +0000 (18:16 +0100)]
vaapiupload: fix memory leak in _init() function.

12 years agoRename vaapiconvert element to vaapiupload.
Gwenole Beauchesne [Tue, 3 Jan 2012 13:34:09 +0000 (14:34 +0100)]
Rename vaapiconvert element to vaapiupload.

12 years agoBump version for development.
Gwenole Beauchesne [Tue, 3 Jan 2012 12:54:03 +0000 (13:54 +0100)]
Bump version for development.

12 years ago0.3.1.
Gwenole Beauchesne [Tue, 3 Jan 2012 12:42:12 +0000 (13:42 +0100)]
0.3.1.

12 years agoNEWS: updates.
Gwenole Beauchesne [Wed, 14 Dec 2011 14:22:24 +0000 (15:22 +0100)]
NEWS: updates.

12 years agosurface: apply composition to the parent context, if requested.
Gwenole Beauchesne [Wed, 14 Dec 2011 13:40:37 +0000 (14:40 +0100)]
surface: apply composition to the parent context, if requested.

12 years agocontext: make it possible to apply composition globally.
Gwenole Beauchesne [Wed, 14 Dec 2011 13:35:13 +0000 (14:35 +0100)]
context: make it possible to apply composition globally.

12 years agosurface: fix associate subpicture to not report deassociation errors.
Gwenole Beauchesne [Wed, 14 Dec 2011 13:13:58 +0000 (14:13 +0100)]
surface: fix associate subpicture to not report deassociation errors.

12 years agosurface: fix typo in debug message.
Gwenole Beauchesne [Wed, 14 Dec 2011 12:46:26 +0000 (13:46 +0100)]
surface: fix typo in debug message.

12 years agosubpicture: add helper to create subpicture from GstVideoOverlayRectangle.
Gwenole Beauchesne [Wed, 14 Dec 2011 12:16:21 +0000 (13:16 +0100)]
subpicture: add helper to create subpicture from GstVideoOverlayRectangle.

12 years agosurface: record parent context.
Gwenole Beauchesne [Tue, 13 Dec 2011 15:53:15 +0000 (16:53 +0100)]
surface: record parent context.

12 years agoFix warnings.
Gwenole Beauchesne [Tue, 13 Dec 2011 14:59:02 +0000 (15:59 +0100)]
Fix warnings.

12 years agoRename gst_vaapi_surface_update_composition() to
Gwenole Beauchesne [Tue, 13 Dec 2011 14:51:58 +0000 (15:51 +0100)]
Rename gst_vaapi_surface_update_composition() to
gst_vaapi_surface_set_subpictures_from_composition().

12 years agoconfigure: check for GstVideoOverlayComposition.
Gwenole Beauchesne [Tue, 13 Dec 2011 12:40:55 +0000 (13:40 +0100)]
configure: check for GstVideoOverlayComposition.

12 years agoNEWS: updates.
Gwenole Beauchesne [Mon, 12 Dec 2011 17:42:44 +0000 (18:42 +0100)]
NEWS: updates.

12 years agoconverter: add support for GstVideoOverlayComposition planes.
Nicolas Dufresne [Fri, 25 Nov 2011 20:00:25 +0000 (15:00 -0500)]
converter: add support for GstVideoOverlayComposition planes.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovaapisink: handle GstVideoOverlayComposition planes.
Thibault Saunier [Wed, 23 Nov 2011 19:45:46 +0000 (16:45 -0300)]
vaapisink: handle GstVideoOverlayComposition planes.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agosurface: use unscaled overlay rectangle for blending.
Gwenole Beauchesne [Mon, 12 Dec 2011 17:27:14 +0000 (18:27 +0100)]
surface: use unscaled overlay rectangle for blending.

12 years agosurface: fix VA image leak when an error occurred.
Gwenole Beauchesne [Mon, 12 Dec 2011 17:37:13 +0000 (18:37 +0100)]
surface: fix VA image leak when an error occurred.

12 years agosurface: add helper to handle GstVideoOverlayComposition.
Nicolas Dufresne [Fri, 25 Nov 2011 19:59:56 +0000 (14:59 -0500)]
surface: add helper to handle GstVideoOverlayComposition.

This helper resets the subpictures to reflect the current composition
layers provided with the buffers.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoimage: add gst_vaapi_image_format_from_video() helper.
Gwenole Beauchesne [Mon, 12 Dec 2011 17:13:19 +0000 (18:13 +0100)]
image: add gst_vaapi_image_format_from_video() helper.

12 years agoimage: allow updates from GstVaapiImageRaw.
Gwenole Beauchesne [Mon, 12 Dec 2011 15:34:07 +0000 (16:34 +0100)]
image: allow updates from GstVaapiImageRaw.

12 years agoimage: allow partial updates.
Gwenole Beauchesne [Mon, 12 Dec 2011 13:34:03 +0000 (14:34 +0100)]
image: allow partial updates.

12 years agosubpicture: fix doc for gst_vaapi_subpicture_set_image().
Gwenole Beauchesne [Mon, 12 Dec 2011 14:31:52 +0000 (15:31 +0100)]
subpicture: fix doc for gst_vaapi_subpicture_set_image().

12 years agodisplay: fix has_image_format() to check against subpicture formats.
Gwenole Beauchesne [Mon, 12 Dec 2011 12:39:20 +0000 (13:39 +0100)]
display: fix has_image_format() to check against subpicture formats.

12 years agotests: fix subpicture test.
Gwenole Beauchesne [Mon, 17 Oct 2011 16:43:15 +0000 (18:43 +0200)]
tests: fix subpicture test.

12 years agotests: add test for subpictures.
Thibault Saunier [Fri, 14 Oct 2011 16:00:12 +0000 (13:00 -0300)]
tests: add test for subpictures.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoAdd missing video context queries.
Nicolas Dufresne [Fri, 25 Nov 2011 17:28:04 +0000 (12:28 -0500)]
Add missing video context queries.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoBump version for development.
Gwenole Beauchesne [Mon, 12 Dec 2011 12:22:07 +0000 (13:22 +0100)]
Bump version for development.

12 years agoDrop unused copy of GstBaseVideoDecoder.
Gwenole Beauchesne [Mon, 12 Dec 2011 09:04:32 +0000 (10:04 +0100)]
Drop unused copy of GstBaseVideoDecoder.

12 years ago0.3.0.
Gwenole Beauchesne [Fri, 9 Dec 2011 10:46:45 +0000 (11:46 +0100)]
0.3.0.

12 years agoREADME: update dependencies.
Gwenole Beauchesne [Fri, 9 Dec 2011 10:38:43 +0000 (11:38 +0100)]
README: update dependencies.

12 years agoNEWS: updates.
Gwenole Beauchesne [Fri, 9 Dec 2011 10:38:34 +0000 (11:38 +0100)]
NEWS: updates.

12 years agoconfigure: check for GstBaseSink 'query' vfunc.
Gwenole Beauchesne [Fri, 9 Dec 2011 10:20:04 +0000 (11:20 +0100)]
configure: check for GstBaseSink 'query' vfunc.

12 years agovaapiplugin: include local build dir to CFLAGS for generated files.
Gwenole Beauchesne [Fri, 9 Dec 2011 09:45:20 +0000 (10:45 +0100)]
vaapiplugin: include local build dir to CFLAGS for generated files.

12 years agoautogen: don't configure if NO_CONFIGURE variable is set.
Gwenole Beauchesne [Fri, 9 Dec 2011 09:44:52 +0000 (10:44 +0100)]
autogen: don't configure if NO_CONFIGURE variable is set.

12 years agovaapidecode: return sink caps template if decoder is in NULL state.
Sreerenj Balachandran [Thu, 8 Dec 2011 10:54:59 +0000 (11:54 +0100)]
vaapidecode: return sink caps template if decoder is in NULL state.

Otherwise, the decoder would always create its own X display instead
of probing it from the downstream element, which is not reliable.
e.g. DISPLAY is not :0 or when running on Wayland.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovaapiplugin: properly set surface type to "vaapi" in caps.
Gwenole Beauchesne [Thu, 8 Dec 2011 14:44:09 +0000 (15:44 +0100)]
vaapiplugin: properly set surface type to "vaapi" in caps.

12 years agodecoder: drop unused headers.
Gwenole Beauchesne [Thu, 8 Dec 2011 14:16:14 +0000 (15:16 +0100)]
decoder: drop unused headers.

12 years agovaapiplugin: properly set opengl support in caps.
Nicolas Dufresne [Fri, 4 Nov 2011 23:47:25 +0000 (19:47 -0400)]
vaapiplugin: properly set opengl support in caps.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovaapiplugin: allocate GLX buffers when supported.
Nicolas Dufresne [Sat, 5 Nov 2011 00:07:52 +0000 (20:07 -0400)]
vaapiplugin: allocate GLX buffers when supported.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovideobuffer: add GLX buffer support.
Nicolas Dufresne [Fri, 4 Nov 2011 23:47:09 +0000 (19:47 -0400)]
videobuffer: add GLX buffer support.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoPort to GstSurfaceBuffer interface.
Nicolas Dufresne [Thu, 6 Oct 2011 20:06:15 +0000 (16:06 -0400)]
Port to GstSurfaceBuffer interface.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoDon't use downstream buffer allocation.
Nicolas Dufresne [Thu, 6 Oct 2011 20:04:37 +0000 (16:04 -0400)]
Don't use downstream buffer allocation.

With the new video/x-surface abstraction, we can't rely on having a VA
specific sink downstream. Also, there was no particular reason to do that.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoChange caps to use new video/x-surface generic type.
Nicolas Dufresne [Fri, 4 Nov 2011 21:16:23 +0000 (17:16 -0400)]
Change caps to use new video/x-surface generic type.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoPort to GstVideoContext interface.
Nicolas Dufresne [Fri, 4 Nov 2011 20:50:15 +0000 (16:50 -0400)]
Port to GstVideoContext interface.

This new interface allows for upstream and downstream display sharing
that works in both static and dynamic pipelines.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agovaapisink: use GST_ERROR to print error messages.
Gwenole Beauchesne [Thu, 8 Dec 2011 13:57:36 +0000 (14:57 +0100)]
vaapisink: use GST_ERROR to print error messages.

12 years agovaapiplugin: link against VA/GLX when enabled.
Gwenole Beauchesne [Thu, 8 Dec 2011 12:30:51 +0000 (13:30 +0100)]
vaapiplugin: link against VA/GLX when enabled.

12 years agoAdd Intel copyright information.
Gwenole Beauchesne [Wed, 7 Dec 2011 18:09:55 +0000 (19:09 +0100)]
Add Intel copyright information.

12 years agovaapisink: allow compatibility with gst-plugins-base < 0.10.31.
Gwenole Beauchesne [Wed, 7 Dec 2011 18:04:09 +0000 (19:04 +0100)]
vaapisink: allow compatibility with gst-plugins-base < 0.10.31.

12 years agoAdd new GStreamer version check utilities.
Gwenole Beauchesne [Wed, 7 Dec 2011 17:40:35 +0000 (18:40 +0100)]
Add new GStreamer version check utilities.

12 years agovaapisink: replace the deprecated xoverlay API with the new one.
Sreerenj Balachandran [Thu, 28 Jul 2011 08:14:49 +0000 (11:14 +0300)]
vaapisink: replace the deprecated xoverlay API with the new one.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoconfigure: allow for pre-releases.
Gwenole Beauchesne [Wed, 7 Dec 2011 16:31:09 +0000 (17:31 +0100)]
configure: allow for pre-releases.

12 years agodisplay: destroy display on creation failure.
Nicolas Dufresne [Thu, 13 Oct 2011 21:08:13 +0000 (17:08 -0400)]
display: destroy display on creation failure.

This allows element to detect that the display creation has actually
failed.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agodisplay: don't crash when config is empty.
Nicolas Dufresne [Thu, 13 Oct 2011 21:07:35 +0000 (17:07 -0400)]
display: don't crash when config is empty.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agodoc: mention Collabora copyrights.
Gwenole Beauchesne [Wed, 7 Dec 2011 13:42:14 +0000 (14:42 +0100)]
doc: mention Collabora copyrights.

12 years ago.gitignore: refine for generated docs.
Gwenole Beauchesne [Wed, 7 Dec 2011 13:40:20 +0000 (14:40 +0100)]
.gitignore: refine for generated docs.

12 years agoGroup all plugins into the same bundle
Nicolas Dufresne [Wed, 14 Sep 2011 19:12:41 +0000 (15:12 -0400)]
Group all plugins into the same bundle

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoBump version for development.
Gwenole Beauchesne [Thu, 21 Jul 2011 12:31:30 +0000 (14:31 +0200)]
Bump version for development.

12 years agodebian: build against upstream libva packages.
Gwenole Beauchesne [Wed, 7 Dec 2011 13:17:32 +0000 (14:17 +0100)]
debian: build against upstream libva packages.

12 years agoFix build on Ubuntu 11.10 (Oneric).
Gwenole Beauchesne [Wed, 7 Dec 2011 12:52:17 +0000 (13:52 +0100)]
Fix build on Ubuntu 11.10 (Oneric).

12 years ago0.2.7.
Gwenole Beauchesne [Wed, 7 Dec 2011 12:14:28 +0000 (13:14 +0100)]
0.2.7.

12 years agoAdding ignore file
Nicolas Dufresne [Mon, 12 Sep 2011 20:20:16 +0000 (16:20 -0400)]
Adding ignore file

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agoUpdate license in plugin definition
Nicolas Dufresne [Mon, 24 Oct 2011 20:18:16 +0000 (16:18 -0400)]
Update license in plugin definition

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agodecoder: fix use of invalid data at the end-of-stream.
Gwenole Beauchesne [Wed, 12 Oct 2011 12:00:50 +0000 (14:00 +0200)]
decoder: fix use of invalid data at the end-of-stream.

12 years agovaapiconvert: fix some warnings.
Gwenole Beauchesne [Wed, 19 Oct 2011 12:47:31 +0000 (14:47 +0200)]
vaapiconvert: fix some warnings.

12 years agoUpdate with my current e-mail address.
Gwenole Beauchesne [Wed, 19 Oct 2011 12:43:56 +0000 (14:43 +0200)]
Update with my current e-mail address.

12 years agoSplitted-Desktop systems relicensed plugins and tests to LGPL v2.1+.
Gwenole Beauchesne [Wed, 19 Oct 2011 12:39:21 +0000 (14:39 +0200)]
Splitted-Desktop systems relicensed plugins and tests to LGPL v2.1+.

12 years agoswitch tests licence to LGPL v2.1+
warly [Tue, 18 Oct 2011 07:18:20 +0000 (09:18 +0200)]
switch tests licence to LGPL v2.1+

12 years agomove plugins to LGPL v2.1+
warly [Tue, 18 Oct 2011 07:06:52 +0000 (09:06 +0200)]
move plugins to LGPL v2.1+

12 years agovaapidecode: fix sink caps to not expose size information.
Gwenole Beauchesne [Wed, 14 Sep 2011 11:07:18 +0000 (13:07 +0200)]
vaapidecode: fix sink caps to not expose size information.

This fixes this particular issue:
GStreamer-WARNING **: pad vaapidecode0:sink returned caps which are not
a real subset of its template caps

12 years agovaapidecode: fix decoding of MPEG-2 PS files.
Gwenole Beauchesne [Wed, 14 Sep 2011 09:34:05 +0000 (11:34 +0200)]
vaapidecode: fix decoding of MPEG-2 PS files.

12 years agoCosmetics (sort source files).
Gwenole Beauchesne [Mon, 12 Sep 2011 11:00:04 +0000 (13:00 +0200)]
Cosmetics (sort source files).

12 years agovaapiconvert: fix direct-rendering caps detection.
Gwenole Beauchesne [Thu, 8 Sep 2011 12:50:24 +0000 (14:50 +0200)]
vaapiconvert: fix direct-rendering caps detection.

12 years agoFix gst_vaapi_image_new_with_image().
Gwenole Beauchesne [Thu, 8 Sep 2011 12:40:08 +0000 (14:40 +0200)]
Fix gst_vaapi_image_new_with_image().