summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version for development.0.3-branch0.3Gwenole Beauchesne2012-09-211-2/+2
|
* 0.3.8.0.3.8Gwenole Beauchesne2012-09-202-3/+3
|
* debian: fix packaging on recent Ubuntu platforms.Gwenole Beauchesne2012-09-201-1/+1
| | | | Use explicit GStreamer plugins path.
* vaapipostproc: fix deinterlace-{mode,method} types definition.Gwenole Beauchesne2012-09-201-20/+20
|
* docs: fix build for make dist.Gwenole Beauchesne2012-09-202-2/+6
|
* vaapisink: drop obsolete GstVaapiVideoSink interface.Gwenole Beauchesne2012-09-2011-216/+1
| | | | | This interface was no longer used since GstVideoContext was added to the main GStreamer APIs.
* codecparsers: jpeg: add missing includes.Gwenole Beauchesne2012-09-121-0/+1
|
* mpeg4: fix debug info for unsupported profile.Gwenole Beauchesne2012-09-071-1/+1
|
* libs: fix build in strict ISO C mode.Gwenole Beauchesne2012-09-0727-30/+28
|
* plugins: fix build in strict ISO C mode.Gwenole Beauchesne2012-09-076-6/+6
|
* pkgconfig: fix dependencies and slightly improve description.Gwenole Beauchesne2012-09-073-10/+10
| | | | | Drop @LIBVA_EXTRA_{CFLAGS,LIBS}@ substitutions and slightly improve descriptions with clearer renderer names.
* NEWS: updates.Gwenole Beauchesne2012-09-071-0/+3
|
* vaapidecode: acquire lock only if the mutex exists.Philip Lorenz2012-09-071-0/+3
| | | | | | | | When playback stops the GstVaapiDecode object is reset into a clean state. However, surfaces may still be referenced by library users and unreferencing them after the reset triggers an access to an unset mutex. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* Do not forward declare enums.Philip Lorenz2012-09-078-43/+26
| | | | | | | Forward declaring enums is not allowed by the C standard and aborts compilation if the header file is included in a C++ project. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* decoder: drop extraneous return for void function.Gwenole Beauchesne2012-09-071-1/+1
|
* image: don't use (void *) pointer arithmetic.Gwenole Beauchesne2012-09-071-1/+1
|
* vaapisink: automatically detect overlay rendering mode.Gwenole Beauchesne2012-09-072-1/+14
| | | | | Retain the VA surface until another surface is to be displayed only if VA display rendering mode is determined to be "overlay" mode.
* vaapisink: ensure display from a single function.Gwenole Beauchesne2012-09-071-3/+11
|
* vaapisink: retain VA surface until another one is displayed.Gwenole Beauchesne2012-09-072-1/+12
| | | | | | | | | Keep VA surface proxy associated with the surface that is currently being displayed. This makes sure that surface is not released back to the pool of surfaces free to use for decoding. This is necessary with VA driver implementations that support rendering to an overlay pipe. Otherwise, there could be cases where we are decoding into a surface that is being displayed, hence some flickering.
* display: fix validation process of properties during discovery.Gwenole Beauchesne2012-09-071-0/+18
| | | | | | | | Some VA drivers (e.g. EMGD) can have completely random values for initial display attributes. So, try to improve the discovery process to check the initial display attribute values actually fall within valid bounds. If not, try to reset those to some sensible values like the default value reported through vaQueryDisplayAttributes().
* display: add support for rendering modes.Gwenole Beauchesne2012-09-075-2/+246
| | | | | | | | | | | | | A rendering mode can be "overlay" or "texture"'ed blit. The former mode implies that a VA surface used for rendering can't be re-used right away for decoding, so the sink shall make provisions to retain the associated surface proxy until the next surface is to be displayed. The latter mode implies that the VA surface is implicitly copied to an intermediate backing store, or back buffer of a frame buffer, so the associated surface proxy can be disposed right away.
* display: add initial support for display attributes.Gwenole Beauchesne2012-09-073-2/+90
| | | | | | | The VA display attributes are mapped to properties so that to maintain the GStreamer terminology. Properties are to be identified by name, but internal functions are available to lookup the property by the actual VA display attribute type.
* mpeg2: include start code into VA slice data buffer.Gwenole Beauchesne2012-09-071-9/+9
| | | | | | | Integrate the start code prefix in the slice data buffer that is submitted to the hardware. VA-API specifies that slice_data_offset is the offset to the first byte of slice data. And, for MPEG-2, slice() data begins with the slice_start_code. Some VA driver implementations (EMGD) expect this.
* jpeg: fix end-of-image (EOI) handler.Sreerenj Balachandran2012-09-071-1/+7
| | | | | | | | decode_current_picture() was converted to return a gboolean instead of a GstVaapiDecoderStatus, so we were not getting out of the decode loop as expected, or could cause an error instead. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* tests: add test for JPEG decoding.Gwenole Beauchesne2012-08-034-1/+2119
|
* Add initial JPEG decoder.Gwenole Beauchesne2012-08-0313-0/+1012
| | | | | | | | | | | | | | | Cherry picked from commits: 75e8a7d: add initial JPEG decoder 449606e: fix build without JPEG decoder 4e1a354: update to current VA/JPEG decoding API 06be1af: fix build with VA-API < 0.32.0 c7587e8: fix configure check for VA/JPEG decoding API 1139908: update to match latest parser API 4f95b62: add missing doc entries for the JPEG decoder 7c1b9b4: update to the latest VA-API changes (0.32.1+) Signed-off-by: Wind Yuan <feng.yuan@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* codecparsers: add JPEG parser.Gwenole Beauchesne2012-08-036-1/+1097
| | | | | | | | | | | | | | | | | | Cherry picked from commits: c350a08: add JPEG parser 0cf06cd: simplify and optimize parser API 53cbdcc: update to match latest parser API 4c5cc7e: make gst_jpeg_parse() support multiple scans 90e6532: add new GstJpegHuffmanTables structure e61f4c4: use U_READ_UINT*() wherever possible 326a229: track valid quantization and Huffman tables 8f93bbc: tweak parser API f883238: compute default Huffman tables 0b3d75f: fix default quantization tables fbb9a5e: fix make dist Signed-off-by: Wind Yuan <feng.yuan@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* display: query for supported display attributes.Yan Yin2012-08-031-0/+17
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* utils: add string_of_VADisplayAttributeType() helper.Yan Yin2012-08-032-0/+41
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* display: fix destruction of mutex.Gwenole Beauchesne2012-07-252-1/+3
|
* utils: fix gl_create_context() with parent context set.Gwenole Beauchesne2012-07-252-7/+15
| | | | | | | | If GLX window was created from a foreign Display, then that same Display shall be used for subsequent glXMakeCurrent(). This means that gl_create_context() will now use the same Display that the parent, if available. This fixes cluttersink with the Intel GenX VA driver.
* Use standard G_GNUC_INTERNAL keyword instead of attribute_hidden.Gwenole Beauchesne2012-07-199-150/+142
|
* Drop obsolete GstVaapiTSB.Gwenole Beauchesne2012-07-193-297/+0
| | | | It has been replaced with a GstAdapter and gst_adapter_prev_pts().
* plugins: declare _get_type() functions as const.Javier Jardón2012-07-195-5/+5
| | | | | | | Declaring a function as const enables better optimization of calls to the function. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libs: use g_clear_object() wherever applicable.Javier Jardón2012-07-1910-50/+32
| | | | | | | 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>
* libs: declare _get_type() functions as const.Javier Jardón2012-07-1931-35/+35
| | | | | | | Declaring a function as const enables better optimization of calls to the function. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* libs: use generic g_cclosure_marshal_VOID__VOID().Javier Jardón2012-07-196-43/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* glibcompat: drop explicit check for g_list_free_full().Gwenole Beauchesne2012-07-192-4/+1
|
* configure: fix merge of 5dfe45b from master.Gwenole Beauchesne2012-07-191-0/+1
|
* configure: fix build without gtk-doc support.Javier Jardón2012-07-193-11/+5
| | | | | | | 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>
* configure: put m4 macros and autogenerated files into m4/ directory.Javier Jardón2012-07-193-2/+11
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* configure: drop deprecated autoconf macros.Javier Jardón2012-07-191-24/+29
| | | | | | Bump autoconf required version to 2.58, needed for AS_HELP_STRING macro. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* configure: don't use AC_SUBST for some variables.Javier Jardón2012-07-191-14/+0
| | | | | | PKG_CHECK_MODULES already does this for us. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* plugins: add support for GstImplementsInterface.Gwenole Beauchesne2012-07-194-24/+88
|
* plugins: do not use deprecated GStreamer -base symbols.Javier Jardón2012-07-192-2/+2
| | | | | | | 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>
* plugins: use G_DEFINE_TYPE_* instead of deprecated GST_BOILERPLATE_*.Javier Jardón2012-07-196-169/+155
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* plugins: do not use deprecated core GStreamer symbols.Javier Jardón2012-07-196-6/+36
| | | | | | | 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>
* NEWS: updates.Gwenole Beauchesne2012-06-261-1/+4
|
* vaapiplugin: fix build when compiling without GLX.Yan Yin2012-06-261-1/+1
| | | | Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
* configure: disable FFmpeg-based decoders.Gwenole Beauchesne2012-06-261-2/+2
| | | | | FFmpeg decoders are still available through the --enable-ffmpeg option but are no longer maintained.