Gwenole Beauchesne
67fad5a27e
configure: fix previous commit for GLX deps.
2012-07-20 15:59:14 +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
562d98ec56
Drop obsolete GstVaapiTSB.
...
It has been replaced with a GstAdapter and gst_adapter_prev_pts().
2012-07-19 17:58:21 +02:00
Gwenole Beauchesne
4f95b62246
docs: add missing entries for the JPEG decoder.
2012-07-19 17:30:36 +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
ba3ae60613
plugins: declare _get_type() functions as const.
...
Declaring a function as const enables better optimization of calls to
the function.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:17 +02:00
Javier Jardón
5ff0837b32
plugins: use g_clear_object() wherever applicable.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:17 +02:00
Javier Jardón
dba174906a
libs: declare _get_type() functions as const.
...
Declaring a function as const enables better optimization of calls
to the function.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:17 +02:00
Javier Jardón
30024b3f8e
libs: use g_clear_object() wherever applicable.
...
This is a preferred thread-safe version. Also add an inline version of
g_clear_object() if compiling with glib < 2.28.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:17 +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
Gwenole Beauchesne
fbb9a5e1c0
jpeg: fix make dist.
2012-07-19 13:57:05 +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
Gwenole Beauchesne
50e40a4c87
plugins: add support for GstImplementsInterface.
2012-07-19 11:45:19 +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
ffb13f9660
tests: fix build without JPEG decoder support.
2012-07-19 10:56:24 +02:00
Gwenole Beauchesne
776d120b7f
tests: add test for JPEG decoding.
2012-07-17 18:02:16 +02:00
Gwenole Beauchesne
1139908487
jpeg: update to match latest parser API.
2012-07-17 18:02:16 +02:00
Gwenole Beauchesne
8f93bbc937
codecparsers: jpeg: tweak parser API.
...
... to allow for more consistent parsing API among various codec parsers.
In particular, drop use of GList.
2012-07-17 18:02:16 +02:00
Gwenole Beauchesne
c7587e87dd
jpeg: fix configure check for VA/JPEG decoding API.
2012-07-16 16:24:04 +02:00
Gwenole Beauchesne
06be1afea6
jpeg: fix build with VA-API < 0.32.0.
2012-06-26 15:18:53 +02:00
Gwenole Beauchesne
251d53fac6
NEWS: updates.
2012-06-26 15:05:54 +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
c5d56a019f
NEWS: updates.
2012-06-26 15:05:54 +02:00
Yan Yin
e0fac751f6
vaapiplugin: fix build when compiling without GLX.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-06-26 11:07:44 +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
a9bd8400db
Fix build with recent GStreamer stack.
2012-06-26 10:57:34 +02:00
Gwenole Beauchesne
4e1a354340
jpeg: update to current VA/JPEG decoding API.
2012-06-26 10:57:34 +02:00
Gwenole Beauchesne
326a229636
codecparsers: jpeg: track valid quantization and Huffman tables.
...
Add valid flag to GstJpegQuantTable and GstJpegHuffmanTable so that
to determine whether a table actually changed since the last user
synchronization point. That way, this makes it possible for some
hardware accelerated decoding solution to upload only those tables
that changed.
2012-06-21 16:06:47 +02:00
Wind Yuan
e61f4c4445
codecparsers: jpeg: use U_READ_UINT*() wherever possible.
...
Use GstByteReader *_unchecked() variants as much as possible.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-06-21 15:30:54 +02:00
Wind Yuan
90e6532fd3
jpeg: add new GstJpegHuffmanTables structure.
...
Add new GstJpegHuffmanTables helper structure to hold all possible
AC/DC Huffman tables available to all components.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-06-21 15:30:54 +02:00
Wind Yuan
4c5cc7eff9
jpeg: make gst_jpeg_parse() support multiple scans.
...
gst_jpeg_parse() now gathers all scans available in the supplied
buffer. A scan comprises of the scan header and any entropy-coded
segments or restart marker following it. The size and offset to
the associated data (ECS + RST segments) are append to a new
GstJpegScanOffsetSize structure.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-06-21 15:30:53 +02:00
Wind Yuan
53cbdcc1e6
jpeg: update to match latest parser API.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-05-15 18:25:03 +02:00
Gwenole Beauchesne
0cf06cdbcb
jpeg: simplify and optimize parser API.
2012-05-15 16:08:44 +02:00
Wind Yuan
0fe727ba77
mpeg: fix picture used to determine backward_reference_vop_coding_type.
...
Complete fix brought by bf9f77b1af
but Gwenole did not apply all the bits.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-05-11 11:20:45 +02:00
Wind Yuan
c40c05dc45
mpeg4: map Simple_Scalable profile to Advanced_Simple profile.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-05-10 11:52:06 +02:00
Wind Yuan
96437a7a16
mpeg4: handle skipped frames (vop_hdr->coded = 0).
...
Gracefully skip non VOP coded frames.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-05-10 11:52:06 +02:00