Commit graph

294 commits

Author SHA1 Message Date
Gwenole Beauchesne
8602c0459d configure: improve GStreamer API version checks. 2013-03-20 17:44:27 +01:00
Gwenole Beauchesne
4dd6035dac configure: rename GST_MAJORMINOR to GST_API_VERSION. 2013-03-20 11:44:10 +01:00
Gwenole Beauchesne
127f544fbb configure: improve check for H.264 codecparser. 2013-03-20 11:28:06 +01:00
Gwenole Beauchesne
1568922c1c Bump version for development. 2013-01-30 09:38:07 +01:00
Gwenole Beauchesne
52fd545c6e 0.5.1. 2013-01-30 09:37:38 +01:00
Gwenole Beauchesne
655f400e1c display: dump gstreamer-vaapi version for debugging purposes. 2013-01-18 14:49:15 +01:00
Gwenole Beauchesne
e13bca4609 Bump version for development. 2013-01-15 09:21:36 +01:00
Gwenole Beauchesne
154fa7baf6 0.5.0. 2013-01-15 09:21:08 +01:00
Gwenole Beauchesne
86af31e426 Bump version for pre-release. 2013-01-11 16:04:30 +01:00
Holger Kaelberer
082a56599b overlay: fix build without advanced GstVideoOverlayFormatFlags.
Check for global-alpha support in GstVideoOverlayComposition API.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-01-11 15:47:46 +01:00
Gwenole Beauchesne
20a3709de3 configure: fix checks for packages installed in non-standard roots. 2013-01-11 14:16:16 +01:00
Gwenole Beauchesne
9e643a6147 Add videoutils submodule for GstVideoDecoder APIs. 2012-12-21 16:01:16 +01:00
Gwenole Beauchesne
4344a1053d configure: check for GstVideoDecoder API.
GstVideoDecoder API is part of an unreleased GStreamer 0.10 stack. In particular,
this is only available in git 0.10 branch or GStreamer >= 1.0 stack. Interested
parties may either use upstream git 0.10 branch or backport the necessary support
for GstVideoDecoder API, thus including helper tools like GstVideoCodecFrame et al.
2012-12-18 16:36:01 +01:00
Gwenole Beauchesne
f5294b813a Bump library major version.
Increase library major so that to cope with API/ABI incompatible changes
since 0.4.x series and avoid user issues.
2012-12-18 15:31:52 +01:00
Zhao Halley
8e8dc03677 configure: install plugin elements in GST_PLUGIN_PATH, if set.
If GST_PLUGIN_PATH environment variable exists and points to a valid
directory, then use it as the system installation path for gst-vaapi
plugin elements.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-12-17 14:33:52 +01:00
Gwenole Beauchesne
4c01e25a15 configure: downgrade glib required version to 2.28. 2012-12-17 14:33:52 +01:00
Sreerenj Balachandran
9367c8ea58 mpeg2: fix PAR calculation from commit bd11bae.
Invoke gst_mpeg_video_finalise_mpeg2_sequence_header() to get the
correct PAR values. While doing so, require a newer version of the
bitstream parser library.

Note: it may be necessary to also parse the Sequence_Display_Extension()
header.

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-11-15 16:23:27 +01:00
Rob Bradford
b794f6cb92 wayland: port to 1.0 version of the protocol.
This patch updates to relect the 1.0 version of the protocol. The main
changes are the switch to wl_registry for global object notifications
and the way that the event queue and file descriptor is processed.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-11-15 14:31:33 +01:00
Gwenole Beauchesne
1dea0ef974 configure: generate bzip2 tarballs in ustar format by default. 2012-10-17 15:42:17 +02:00
Gwenole Beauchesne
40cb71f36e configure: bump glib required version to 2.31.2.
Use new Thread API. In particular, g_mutex_init() and g_cond_init()
rather than g_mutex_new() and g_cond_new() respectively.
2012-10-17 15:40:00 +02:00
Gwenole Beauchesne
022e99e127 codecparsers: h264: use submodule sources.
Use newer sources from the codecparsers/ submodule for
- GstH264SliceHdr.n_emulation_prevention_bytes: EPBs;
- GstH264VUIParams.{par_n,par_d}: pixel-aspect-ratio.
2012-10-11 14:19:39 +02:00
Gwenole Beauchesne
cee782a177 codecparsers: jpeg: use submodule sources. 2012-10-11 14:19:38 +02:00
Gwenole Beauchesne
c3b343f324 Add codecparsers submodule. 2012-10-11 14:19:15 +02:00
Gwenole Beauchesne
07ee807f88 Bump version for development. 2012-10-01 09:21:03 +02:00
Gwenole Beauchesne
add4f3a298 Fix and document build dependencies better. 2012-09-28 17:54:50 +02:00
Gwenole Beauchesne
43ba2f1940 debian: fix Wayland build dependencies. 2012-09-28 17:54:50 +02:00
Gwenole Beauchesne
10ee14cc9c configure: update VA-API version requirements.
VA/DRM and VA/Wayland API are now promoted to VA-API 0.33.0 (libva 1.1.0).
2012-09-26 16:33:16 +02:00
Gwenole Beauchesne
5c89b66dae configure: fix check for libva-glx and libva-drm. 2012-09-14 17:30:19 +02:00
Gwenole Beauchesne
eb73aa3061 configure: fix check for VA/DRM API. 2012-09-07 11:44:44 +02:00
Gwenole Beauchesne
30a8c566b7 display: fix physical display size when display is rotated. 2012-09-06 13:39:50 +02:00
Javier Jardón
749fab61b9 configure: use new libtool syntax.
This now requires libtool >= 2.2 to regenerate the configure script.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-08-27 10:13:39 +02:00
Gwenole Beauchesne
657f0a4a6f Add initial support for VA/DRM. 2012-08-01 16:40:17 +02:00
Gwenole Beauchesne
7070961202 Fix build without X11 (again).
Don't try to build libgstvaapi-x11.so.* if X11 was disabled. Also shuffle
files list wrt. x11, glx and wayland backends.
2012-07-31 17:58:43 +02:00
Gwenole Beauchesne
7c1b9b48e4 jpeg: update to the latest VA-API changes (0.32.1+). 2012-07-31 11:51:57 +02:00
Gwenole Beauchesne
95b7d5a6e6 wayland: add packaging files. 2012-07-25 15:31:42 +02:00
Sreerenj Balachandran
621bb12be6 Add initial support for VA/Wayland.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-25 15:31:42 +02:00
Gwenole Beauchesne
96040a0fa2 configure: simplify video outputs summary. 2012-07-24 15:57:57 +02:00
Gwenole Beauchesne
8f132b7936 configure: drop check for --enable-vaapisink-glx.
vaapisink is now built with support for multiple display types, whenever
they are enabled. The new "display" attribute is used to select a particular
renderer.
2012-07-24 15:57:57 +02:00
Gwenole Beauchesne
7a0382130f configure: drop check for --enable-vaapi-glx.
This flag is obsolete. It was meant to explicitly enable/disable VA/GLX API
support, or fallback to TFP+FBO if this API is not found. Now, we check for
the VA/GLX API by default if --enable-glx is set. If this API is not found,
we now default to use TFP+FBO.

Note: TFP+FBO, i.e. using vaPutSurface() is now also a deprecated usage and
will be removed in the future. If GLX rendering is requested, then the VA/GLX
API shall be used as it covers most usages. e.g. AMD driver can't render to
an X pixmap yet.
2012-07-24 15:57:57 +02:00
Gwenole Beauchesne
98f860f433 configure: improve checks for X11. 2012-07-23 13:51:35 +02:00
Gwenole Beauchesne
b6c97e31ee configure: improve checks for GLX. 2012-07-20 14:44:27 +02:00
Gwenole Beauchesne
9491a35731 Drop support for obsolete VA-API versions < 0.30.4. 2012-07-20 14:11:42 +02:00
Gwenole Beauchesne
bcae632c32 vaapisink: drop checks for new APIs used by default.
GStreamer -base plugins >= 0.10.31 are now required, so the checks for
new APIs like GstXOverlay::set_window_handle() and ::set_render_rectangle()
are no longer necessary.
2012-07-20 14:11:42 +02:00
Gwenole Beauchesne
edefbb1096 configure: cosmetics and some minor changes.
- Better grouping of feature checks
- Sort list of config files to generate
2012-07-20 14:11:42 +02:00
Gwenole Beauchesne
d8b0c8ec38 Use standard G_GNUC_INTERNAL keyword instead of attribute_hidden. 2012-07-19 18:01:12 +02:00
Gwenole Beauchesne
9d440fafb3 Drop all references to USE_CODEC_PARSERS. 2012-07-19 17:30:36 +02:00
Gwenole Beauchesne
7f47ac3bea Drop FFmpeg-based decoders.
GStreamer codecparsers-based decoders are the only supported decoders now.
Though, FFmpeg decoders are still available in gstreamer-vaapi 0.3.x series.
2012-07-19 17:30:36 +02:00
Javier Jardón
7689569016 configure: bump glib required version to 2.28.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:50 +02:00
Javier Jardón
c415868f26 libs: use generic g_cclosure_marshal_VOID__VOID().
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:16 +02:00
Gwenole Beauchesne
27c8269b43 glibcompat: drop explicit check for g_list_free_full(). 2012-07-19 14:29:33 +02:00
Gwenole Beauchesne
1150f50ed0 Bump version for development. 2012-07-19 13:58:31 +02:00
Javier Jardón
cdd33a433e configure: fix build without gtk-doc support.
Also do not generate tamplate files as all the documentation is inline.
Drop un-needed code in autogen.sh as well.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 13:53:26 +02:00
Javier Jardón
7eef852bdb configure: put m4 macros and autogenerated files into m4/ directory.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 13:07:20 +02:00
Javier Jardón
27246f04ab configure: drop deprecated autoconf macros.
Bump autoconf required version to 2.58, needed for AS_HELP_STRING macro.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 13:00:58 +02:00
Javier Jardón
44794661e5 configure: don't use AC_SUBST for some variables.
PKG_CHECK_MODULES already does this for us.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 13:00:58 +02:00
Javier Jardón
2594aadb0e plugins: use G_DEFINE_TYPE_* instead of deprecated GST_BOILERPLATE_*.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 11:25:15 +02:00
Javier Jardón
187c503870 plugins: do not use deprecated GStreamer -base symbols.
Bump GStreamer plugins -base required version to 0.10.31, needed for
gst_x_overlay_got_window_handle().

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 11:25:15 +02:00
Javier Jardón
90d82ab7e1 plugins: do not use deprecated core GStreamer symbols.
Bump GStreamer required version to 0.10.14, needed for
gst_element_class_set_details_simple().

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 10:56:56 +02:00
Gwenole Beauchesne
c7587e87dd jpeg: fix configure check for VA/JPEG decoding API. 2012-07-16 16:24:04 +02:00
Gwenole Beauchesne
23c4f9616d Bump version for development. 2012-06-26 15:05:54 +02:00
Gwenole Beauchesne
a13941ca18 0.3.7. 2012-06-26 15:05:54 +02:00
Gwenole Beauchesne
86b02639ee configure: disable FFmpeg-based decoders.
FFmpeg decoders are still available through the --enable-ffmpeg option
but are no longer maintained.
2012-06-26 11:03:25 +02:00
Gwenole Beauchesne
4e1a354340 jpeg: update to current VA/JPEG decoding API. 2012-06-26 10:57:34 +02:00
Wind Yuan
75e8a7d6f8 Add initial JPEG decoder.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-04-11 19:38:12 +02:00
Wind Yuan
c350a0809d codecparsers: add JPEG parser.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-04-11 19:38:12 +02:00
Gwenole Beauchesne
c28eef0cb2 Bump version for development. 2012-04-02 13:07:34 +02:00
Gwenole Beauchesne
b819c890e7 0.3.6. 2012-04-02 13:06:15 +02:00
Gwenole Beauchesne
63e29adbf5 h264: fix slice_data_bit_offset calculation.
Unlike what VA-API documentation defines, the slice_data_bit_offset
represents the offset to the first macroblock in the slice data, minus
any emulation prevention bytes in the slice_header().

This fix copes with binary-only VA drivers that won't be fixed any
time soon. Besides, this aligns with the current FFmpeg behaviour
that was based on those proprietary drivers implementing the API
incorrectly.
2012-03-02 13:41:16 +01:00
Gwenole Beauchesne
fc596d1ea9 Bump version for development. 2012-02-02 09:23:15 +01:00
Gwenole Beauchesne
2d47a06090 0.3.4. 2012-02-01 23:35:10 +01:00
Gwenole Beauchesne
b54bf3175c Add glib compatibility glue for older versions. 2012-01-30 19:53:13 +01:00
Gwenole Beauchesne
35d33b13f6 Bump version for development. 2012-01-16 14:09:57 +01:00
Gwenole Beauchesne
fbb5215c6a 0.3.3. 2012-01-16 11:40:51 +01:00
Gwenole Beauchesne
8f0eda8964 Allow conditional build of GStreamer/FFmpeg bitstream parsers. 2012-01-16 11:40:50 +01:00
Gwenole Beauchesne
93ba0f858a Bump version for development. 2012-01-06 11:23:21 +01:00
Gwenole Beauchesne
fed57fb14e 0.3.2. 2012-01-06 11:20:48 +01:00
Gwenole Beauchesne
9b33d00315 Bump version for development. 2012-01-03 13:54:03 +01:00
Gwenole Beauchesne
e13efd71b7 0.3.1. 2012-01-03 13:42:29 +01:00
Gwenole Beauchesne
cbfd2aebcc configure: check for GstVideoOverlayComposition. 2011-12-13 13:40:55 +01:00
Gwenole Beauchesne
2c5f034c66 Bump version for development. 2011-12-12 13:22:07 +01:00
Gwenole Beauchesne
ed6e968e39 0.3.0. 2011-12-09 11:46:45 +01:00
Gwenole Beauchesne
89fcb023c8 configure: check for GstBaseSink 'query' vfunc. 2011-12-09 11:20:04 +01:00
Nicolas Dufresne
99c5d18f41 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>
2011-12-08 14:58:58 +01:00
Gwenole Beauchesne
f35a7f8fb0 Add new GStreamer version check utilities. 2011-12-07 19:05:50 +01:00
Gwenole Beauchesne
6e7ac7c28e configure: allow for pre-releases. 2011-12-07 17:31:09 +01:00
Nicolas Dufresne
48b3d02143 Group all plugins into the same bundle
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2011-12-07 14:33:59 +01:00
Gwenole Beauchesne
0b54e451c2 Bump version for development. 2011-12-07 14:19:25 +01:00
Gwenole Beauchesne
cadc5cdd76 debian: build against upstream libva packages. 2011-12-07 14:19:02 +01:00
Gwenole Beauchesne
fcaad720fb Update with my current e-mail address. 2011-10-19 14:49:34 +02:00
Gwenole Beauchesne
7711aa1325 Bump version for development. 2011-07-22 15:42:16 +02:00
Gwenole Beauchesne
f0b9cbd899 Use pretty build output with automake >= 1.11. 2011-07-21 13:16:45 +02:00
Gwenole Beauchesne
d97bbd0f44 0.2.6. 2011-06-14 15:59:08 +02:00
gb
fcb65d60f5 Drop dependency on libavformat. 2010-09-20 12:55:47 +02:00
gb
e384639747 Bump version for development. 2010-09-20 12:55:47 +02:00
gb
48ef9eef61 Bump version for development. 2010-09-20 12:55:47 +02:00
gb
689888d43d Build-Requires: gstreamer0.10 >= 0.10.10 for gst_caps_merge(). 2010-09-20 12:55:46 +02:00
gb
681c07f541 Bump version for development. 2010-09-20 12:55:46 +02:00
gb
c7847dccaf Bump version for development. 2010-09-20 12:55:46 +02:00
gb
601db12ccb Add GstXOverlay interface to vaapisink (e.g. for Totem). 2010-09-20 12:55:45 +02:00
gb
2a4f429007 Bump version for development. 2010-09-20 12:55:44 +02:00
gb
e1e1c253e1 Don't build plugins with SONAME. Make them plain *.so. 2010-09-20 12:55:44 +02:00
gb
4c7c0307c4 0.2.0. 2010-09-20 12:55:41 +02:00
gb
875352c12d Fix comment. 2010-09-20 12:55:41 +02:00
gb
3f3055af1f Add FFmpeg/VAAPI decoder for the new `vaapidecode' element. 2010-09-20 12:55:41 +02:00
gb
86afcbb024 Fix check for VA-API enabled FFmpeg. 2010-09-20 12:55:32 +02:00
gb
a203d19a35 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
2010-04-23 16:05:58 +00:00
gb
bc9060f425 Simplify summary. 2010-03-30 16:41:21 +00:00
gb
39ac673b58 Bump version for development. 2010-03-30 13:33:12 +00:00
gb
fa12d47020 Rename -dev package to libgstvaapi-dev. 2010-03-30 13:29:34 +00:00
gb
28f73fb582 Enable build without VA/GLX extensions. i.e. fallback to TFP + FBO. 2010-03-30 13:01:34 +00:00
gb
fb4fffd5cb Rename to gst/ as sys/ was too vague. 2010-03-30 07:46:47 +00:00
gb
201a7c9ce1 Use a projection suitable for rotation around the Y axis. 2010-03-29 15:51:54 +00:00
gb
3c48a3004c Don't build vaapisink/gl by default. However, if this is enabled, use the GL renderer by default. 2010-03-29 15:03:30 +00:00
gb
28e2b37cfb Add libgstvaapi-glx-0 package. 2010-03-29 14:50:52 +00:00
gb
ec3a04d74d Fix compile flags. 2010-03-26 08:00:32 +00:00
gb
89a99d828c Add initial VA/GLX support. 2010-03-25 17:28:49 +00:00
gb
0eab340803 Move __attribute__((visibility("hidden"))) check down. 2010-03-25 10:04:39 +00:00
gb
1661b0a2a7 Factor out use gstreamer-vaapi (PACKAGE name). 2010-03-24 16:37:35 +00:00
gb
5b9e2cd7d8 Improve versioning summary. 2010-03-24 16:35:36 +00:00
gb
1727295d2c Drop tedious LIBVA_EXTRA_{CFLAGS,LIBS} definitions in Makefile.am. Override CFLAGS & LIBS instead. 2010-03-24 16:21:20 +00:00
gb
725bc7a607 Add compatibility with the original VA-API 0.29. 2010-03-24 16:17:49 +00:00
gb
b2986daed4 Generate upstream packages through make deb.upstream. 2010-03-23 18:45:09 +00:00
gb
33d5cf8be2 Bump version for development. 2010-03-23 17:40:03 +00:00
gb
e403f26bc5 Add "destroy" signal. 2010-03-23 17:12:40 +00:00
gb
49689f8f1e Add plugins documentation template. 2010-03-23 14:19:21 +00:00
gb
b271ebd760 Drop introspection annotations since they require gtk-doc >= 1.12. 2010-03-23 13:32:36 +00:00
gb
2023da5a8d Add -doc package. 2010-03-23 07:31:04 +00:00
gb
cc1c61e917 Build-Requires: gstreamer-plugins-base >= 0.10.16. 2010-03-22 08:03:12 +00:00
gb
5c0ee54d03 Document public API for libgstvaapi-*.so.*. 2010-03-19 17:04:51 +00:00
gb
9b9f6de368 Move gstreamer-vaapi package versioning to the top. 2010-03-16 14:12:40 +00:00
gb
0449e62499 Bump version for development. 2010-03-16 14:11:46 +00:00
gb
d8e58ec07e Cosmetics (shorten lines). 2010-03-16 14:07:53 +00:00
gb
4a041f42c1 Add debian packaging. 2010-03-16 13:53:09 +00:00
gb
a681898ce0 Add AM_PROG_CC_C_O, thus fixing this warning:
tests/Makefile.am:16: compiling `test-display.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
2010-03-16 09:59:03 +00:00
gb
f15f5f6e98 Add pkgconfig files. 2010-03-16 09:57:25 +00:00
gb
ad54bcf903 Split X11 support to libgstvaapi-x11-*.so.* 2010-03-16 09:39:07 +00:00
gb
148d104c1a Move tests to top-level tests/ directory. 2010-03-16 08:49:16 +00:00
gb
95a4bca0ee Add boilerplate for vaapiconvert and vaapisink elements. 2010-03-05 17:11:52 +00:00
gb
d80785fda6 Add vaapiconvert element hierarchy. 2010-03-05 15:29:04 +00:00
gb
693277e278 Add initial VA display abstraction. 2010-01-25 16:15:01 +00:00
gb
30a2776442 Add tests infrastructure. 2010-01-25 15:04:10 +00:00
gb
ec24a29c54 Clean up VA-API checks. 2010-01-25 14:59:37 +00:00
gb
59f5b70f3e Check for __attribute__((visibility("hidden"))). 2010-01-25 13:49:55 +00:00
gb
c89e9afc5d Initial import of the gstreamer-vaapi hierarchy. 2010-01-12 15:51:39 +00:00