summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libs: fix build errorHEADmasterVíctor Manuel Jáquez Leal2016-02-151-8/+5
| | | | | | | | | | | | gst_vaapi_buffer_proxy_{acquire_handle,release_handle,finalize,class} functions are used only when libva's API version is greater than 0.36.0 This patch guards those functions completely rather than just their content. The patch is a continuation of commit 38f8fea4 Original-patch-by: Vineeth TM <vineeth.tm@samsung.com> https://bugzilla.gnome.org/show_bug.cgi?id=762055
* tests: simple-encoder: fix build errorVineeth TM2016-02-151-1/+2
| | | | | | argument mismatch of gsize with 'long unsigned int' https://bugzilla.gnome.org/show_bug.cgi?id=762055
* vaapisink: Fix wrong caps advertisingSreerenj Balachandran2016-02-091-3/+17
| | | | | | The get_caps() should only report the supported formats. https://bugzilla.gnome.org/show_bug.cgi?id=761147
* Automatic update of common submoduleThiago Santos2016-02-051-0/+0
| | | | From e97c9bb to b64f03f
* rename encoders to vaapi{codec}encVíctor Manuel Jáquez Leal2016-02-038-35/+35
| | | | | | | | | Trying to comply with GStreamer's element names, this patch renames the encoders using the name format vaapi{codec}enc. In this way, the plugin documentation is linked correctly. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* Use new AG_GST_ARG_ENABLE_EXTRA_CHECKS #defineVíctor Manuel Jáquez Leal2016-02-031-0/+1
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: remove vp9 parser checkVíctor Manuel Jáquez Leal2016-02-031-28/+1
| | | | | | | Since the VP9 parser was added in gst-plugins-bad 1.7.1 we can remove safely the check of the parser, as we did for the others. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* Back to developmentVíctor Manuel Jáquez Leal2016-02-032-7/+7
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* Release 1.6.01.6.01.6Víctor Manuel Jáquez Leal2016-02-031-6/+6
|
* libs: fix compiler warningsVíctor Manuel Jáquez Leal2016-02-033-2/+5
| | | | | | | | | | After setting the release flags, the compiler warns about a couple initialized variables. Also marked a couple of set variables as unused, because they are only used for assertion. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* docs: update plugin documentationVíctor Manuel Jáquez Leal2016-02-0311-13/+279
| | | | | | Update all the documentation of elements of the vaapi plugin. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* resurrect gtk-doc machineryVíctor Manuel Jáquez Leal2016-02-0311-177/+111
| | | | | | | | | | Our auto-generated documentation has been a bit neglected. This patch replaces the 'normal' gtk-doc with the one used in GStreamer, which is adapted for plugins, elements and libraries. This patch also re-enables documentation generation. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* use gst-common submoduleVíctor Manuel Jáquez Leal2016-02-034-121/+299
| | | | | | | | | | This is 'the' big change in gstreamer-vaapi autoconf. Now it uses the official GStreamer common submodule. The documentation generation has been disable temporarily since it needs a major rework, which will be done in the following commit. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* add gst-common submoduleVíctor Manuel Jáquez Leal2016-02-032-0/+3
| | | | | | Pointing to branch 1.6 Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* add doap descriptorVíctor Manuel Jáquez Leal2016-02-031-0/+39
| | | | | | | | | | | DOAP (Description of a Project) is an RDF Schema and XML vocabulary to describe software projects, in particular free and open source software. The description is used in GStreamer as in many other open source projects. This patch adds the doap description of this project. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: humongous code style fixVíctor Manuel Jáquez Leal2016-02-0313-8898/+8733
| | | | | | | | | | | | | As part of the upstreaming process of gstreamer-vaapi into the GStreamer umbrella, we need to comply with the project's code style. This meant to change a lot of code. It was decided to use a single massive patch to update the code style. I would like to apologize with the original developers of this code because of the history breakage. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: small refactors to enhance the code styleVíctor Manuel Jáquez Leal2016-02-036-22/+25
| | | | | | | | | As gst-indent generated ugly code in these cases, this patch changes the used idiomatic into other one. No functional changes were introduced. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: small code style fixesVíctor Manuel Jáquez Leal2016-02-0322-107/+120
| | | | | | This a set of small code style fixes detected as-is by gst-indent. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: trivial comment style fixesVíctor Manuel Jáquez Leal2016-02-039-15/+15
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: avoid gst-indent mess upVíctor Manuel Jáquez Leal2016-02-032-25/+25
| | | | | | Guard pieces of code to avoid gst-ident to mess up the following code. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* plugins: fix code styleVíctor Manuel Jáquez Leal2016-02-035-17/+19
| | | | | | Minor code style changes by executing gst-indent in gst/vaapi directory. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* Fix some more compiler warningTim-Philipp Müller2016-02-022-2/+2
| | | | | | | | Two (false) compiler warnings about variables potentially being used uninitialized, and one about a variable being set but not used. https://bugzilla.gnome.org/show_bug.cgi?id=759192
* vaapi: fix 'ISO C90 forbids mixed declarations and code' compiler warningsTim-Philipp Müller2016-02-0210-32/+54
| | | | | | | Declare variables at the beginning of a code block, which is how it's done in GStreamer. https://bugzilla.gnome.org/show_bug.cgi?id=759192
* decoder: vp9: Fix crop rectangle settingSreerenj Balachandran2016-02-021-4/+7
| | | | | | Align with software vp9dec behaviour: Add crop rectangle only if display_width/display_height is less than the frame_hdr->width/frame_hdr->height
* vaapidecode: Fix renegotiation for resolution changeSreerenj Balachandran2016-02-021-0/+27
| | | | | | Always renegotiate the pool if the immediate frame which going to be pushed has a different un-cropped resolution than the already configured one.
* plugins: use the same pre-processor macroVíctor Manuel Jáquez Leal2016-02-021-1/+1
| | | | | | | | | | | In gstvaapipluginbase.c we are using the macro USE_GST_GL_HELPERS to guard the code related with GstGL. Nonetheless, in gstvaapipluginbase.h we are using HAVE_GST_GL_GL_H macro in order to include the GstGLContext's header. We should use only one to be homogeneous. This patch sets USE_GST_GL_HELPERS in the header file. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* decoder: update a deprecated functionVíctor Manuel Jáquez Leal2016-02-021-2/+1
| | | | | | | | | Somehow this didn't show up earlier, but gst_adapter_prev_timestamp() got deprecated since GStreamer 1.0. This patch replace it with gst_adapter_prev_pts() Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: honor configure's cacheVíctor Manuel Jáquez Leal2016-02-021-10/+21
| | | | | | | | | | The user might enable --config-cache when calling configure script. If so, our configuration variables will not be correctly calculated. This patch extracts the value of our variables either from the cache or from the operation result. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: use common version variablesVíctor Manuel Jáquez Leal2016-02-021-33/+34
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: hard-code an unneeded macroVíctor Manuel Jáquez Leal2016-02-021-5/+4
| | | | | | | | | That macro is required for EGL's dynamic module loading, but since gstreamer-vaapi doesn't creates dynamic modules, it is not required anymore. That code in gst-libs/gst/vaapi/gstvaapidisplay_egl.c should be removed. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: refactorization of dependency trackingVíctor Manuel Jáquez Leal2016-02-021-349/+412
| | | | | | | This patch tries to avoid branching in configure.ac using a more functional approach in macros usage. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: check for OpenGL either GLX or EGL are requestedVíctor Manuel Jáquez Leal2016-02-021-8/+4
| | | | | | Refactor some code in configure.ac to centralize $enable_opengl definition. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: indent and add square bracesVíctor Manuel Jáquez Leal2016-02-021-102/+99
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: upgrade autotools version dependencyVíctor Manuel Jáquez Leal2016-02-021-9/+6
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: enhance string comparisonsVíctor Manuel Jáquez Leal2016-02-021-14/+14
| | | | | | | Add a 'x' as a prefix in string comparisons to watch out for edge cases where the string is empty or undefined. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: remove unused variablesVíctor Manuel Jáquez Leal2016-02-021-49/+4
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: remove check for old version of gstreamerVíctor Manuel Jáquez Leal2016-02-021-93/+22
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: remove GStreamer's parsers checksVíctor Manuel Jáquez Leal2016-02-021-128/+3
| | | | | | | This patch removes almost all the parsers check since they are already in place, with the exception of the VP9 parser, since it was merged in Gstreamer 1.7. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: add gstreamer-pbutils dependencyVíctor Manuel Jáquez Leal2016-02-012-1/+7
| | | | | | | This dependency was added in gstvaapidecodebin with the call gst_missing_element_message_new(). Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: fix variable declarationVíctor Manuel Jáquez Leal2016-02-011-1/+1
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: fix when HEVC decoder is disabledVíctor Manuel Jáquez Leal2016-02-011-6/+5
| | | | | | | | | | | | | This a very pathological situation: when we have a HEVC encoder but not a HEVC decoder. The encoder needs functions that are only available when the decoder is enabled. This patch moves the utils functions into the generic sources, such as the rest of the utils. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: remove unused EGL specific sourcesVíctor Manuel Jáquez Leal2016-02-011-10/+0
| | | | | | These Makefile variables are not used at all. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* build: remove check for GStreamer 1.2Víctor Manuel Jáquez Leal2016-02-011-13/+2
| | | | | | Since we are working for current stable GStreamer 1.6 Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* Remove more video parser cruftsVíctor Manuel Jáquez Leal2016-02-011-47/+0
| | | | | | | This header is not used anymore since it declares parsers that are already in GStreamer 1.6 Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* docs: remove library documentation which is non-public nowTim-Philipp Müller2016-01-256-778/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759192
* Remove debian.upstream packagingTim-Philipp Müller2016-01-2510-160/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759192
* Remove old gst version guardsVíctor Manuel Jáquez Leal2016-01-2513-158/+1
| | | | | | | As gstreamer-vaapi now only supports from GStreamer 1.6, this patch removes all the old GStreamer version guards. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* Remove video parser cruftsVíctor Manuel Jáquez Leal2016-01-251-54/+0
| | | | | | | We forgot to remove gstvaapiparse.c when we removed all the videoparser machinery. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: remove versioningVíctor Manuel Jáquez Leal2016-01-205-52/+47
| | | | | | | Since we don't install libraries anymore, it makes no sense to keep versioning them according to the gstreamer's version. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
* libs: make libraries no installablesVíctor Manuel Jáquez Leal2016-01-1911-126/+30
| | | | Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>