dbd32b0131818c5c19730782a07d55f1af8c6414
[platform/upstream/gstreamer.git] / subprojects / gstreamer-vaapi / ChangeLog
1 2022-09-21 19:19:45 +0530  Nirbheek Chauhan <nirbheek@centricular.com>
2
3         * meson.build:
4           meson: Use implicit builtin dirs in pkgconfig generation
5           Starting with Meson 0.62, meson automatically populates the variables
6           list in the pkgconfig file if you reference builtin directories in the
7           pkgconfig file (whether via a custom pkgconfig variable or elsewhere).
8           We need this, because ${prefix}/libexec is a hard-coded value which is
9           incorrect on, for example, Debian.
10           Bump requirement to 0.62, and remove version compares that retained
11           support for older Meson versions.
12           Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1245
13           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3061>
14
15 2022-09-01 15:11:31 -0400  Thibault Saunier <tsaunier@igalia.com>
16
17         * meson.build:
18           meson: Call pkgconfig.generate in the loop where we declare plugins dependencies
19           Removing some copy pasted code
20           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
21
22 2022-09-01 11:51:48 -0400  Thibault Saunier <tsaunier@igalia.com>
23
24         * docs/meson.build:
25           meson: Namespace the plugins_doc_dep/libraries variables
26           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
27
28 2022-08-31 18:44:14 -0400  Thibault Saunier <tsaunier@igalia.com>
29
30         * meson.build:
31           meson: Rename plugins list and make them "dependency" objects
32           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
33
34 2022-05-31 15:18:03 +0200  Stéphane Cerveau <scerveau@collabora.com>
35
36         * docs/meson.build:
37         * meson.build:
38           docs: disable in static build
39           Following gst-plugins-base, disable docs if static_build
40           in:
41           - gstreamer
42           - gst-plugins-good
43           - gst-plugins-ugly
44           - gst-libav
45           - gstreamer-vaapi
46           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2529>
47
48 2022-08-11 21:22:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
49
50         * gst-libs/gst/vaapi/gstvaapidisplay.c:
51         * gst/vaapi/gstvaapi.c:
52         * gst/vaapi/gstvaapidecode.c:
53           vaapi: plugin: Handle when no encoders/decoders available.
54           Nouveau driver currently only exposes postproc entry. But
55           vaapidecodebin is registered independent if there are decoders or not,
56           exposing a segmentation fault.
57           This patch removes the encoder/decoder/codec arrays if no entries are
58           found, and if no decoders are found vaapidecodebin is not
59           registered. Also for vaapipostproc if no postproc entry is found.
60           Also, if general decoder, used by vaapidecodebin, doesn't have a sink
61           pad string, don't register the glib type.
62           Fixes: #1349
63           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2865>
64
65 2022-07-27 08:45:45 -0400  U. Artie Eoff <ullysses.a.eoff@intel.com>
66
67         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
68           vaapi: h265dec: avoid possible NULL deref
69           Check "pi" before attempting to dereference it.
70           Captured by static analysis.
71           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2801>
72
73 2022-07-26 12:12:50 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
74
75         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
76           vaapi: h264dec: Remove dead code
77           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2795>
78
79 2022-07-26 12:22:10 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
80
81         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
82           vaapi: h265dec: Refresh our sps/pps copy
83           The decoder uses a copy of the SPS/PPS. Since
84           https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2575
85           the SPS/PPS is updated when the slice header is parsed. As a side
86           effect, the H265 decoder was using an partially filled copy.
87           Fixes: 5ae05bb42a ("codecparsers: Defering computation of pps and sps fields")
88           Fixes: #1343
89           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2795>
90
91 2022-06-09 20:00:35 +0800  He Junyan <junyan.he@intel.com>
92
93         * gst-libs/gst/vaapi/gstvaapifilter.c:
94           vaapi: Do not disable the whole vpp when some va operations not available.
95           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2578>
96
97 2022-05-26 12:08:44 -0400  U. Artie Eoff <ullysses.a.eoff@intel.com>
98
99         * tests/check/elements/vaapioverlay.c:
100           tests: vaapi: remove unused header
101           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2503>
102
103 2022-05-26 12:06:43 -0400  U. Artie Eoff <ullysses.a.eoff@intel.com>
104
105         * tests/check/elements/vaapioverlay.c:
106           tests: vaapi: fix memleak in vaapioverlay test
107           Need to unmap the frame to ensure vaapioverlay can destruct/dispose.
108           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2503>
109
110 2022-04-12 15:23:08 +0300  Sebastian Dröge <sebastian@centricular.com>
111
112         * gst-libs/gst/vaapi/gstvaapivalue.c:
113           Fix `transfer` gobject-introspection annotation typos
114           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2160>
115
116 2022-03-30 11:06:02 -0400  Xavier Claessens <xavier.claessens@collabora.com>
117
118         * meson.build:
119           Use gmodule-no-export-2.0
120           We don't need `-Wl,--export-dynamic`, that's used only for executables
121           that needs to export an API to be used by plugins they load.
122           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2031>
123
124 2022-03-25 15:00:20 -0400  Xavier Claessens <xavier.claessens@collabora.com>
125
126         * gst-libs/gst/vaapi/gstvaapifilter.c:
127         * meson.build:
128           Remove glib and gobject dependencies everywhere
129           They are part of gst_dep already and we have to make sure to always have
130           gst_dep. The order in dependencies matters, because it is also the order
131           in which Meson will set -I args. We want gstreamer's config.h to take
132           precedence over glib's private config.h when it's a subproject.
133           While at it, remove useless fallback args for gmodule/gio dependencies,
134           only gstreamer core needs it.
135           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2031>
136
137 2021-09-11 12:17:56 -0300  Thibault Saunier <tsaunier@igalia.com>
138
139         * docs/gst_plugins_cache.json:
140         * meson_options.txt:
141           tools: Add support for building gstreamer tools against gst-full
142           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1581>
143
144 2022-03-18 16:59:32 +0000  Thibault Saunier <tsaunier@igalia.com>
145
146         * tests/check/elements/vaapipostproc.c:
147           navigation: Add support for key Modifiers in all relevant events
148           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2010>
149
150 2022-02-14 16:08:23 +0100  Vivienne Watermeier <vwatermeier@igalia.com>
151
152         * gst/vaapi/gstvaapipostproc.c:
153         * gst/vaapi/gstvaapisink.c:
154         * tests/check/elements/vaapipostproc.c:
155           all: Use new navigation interface and API
156           Use and implement the new navigation interface in all relevant sink elements,
157           and use API functions everywhere instead of directy accessing the event structure.
158           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1633>
159
160 2022-03-16 13:17:21 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
161
162         * gst-libs/gst/vaapi/gstvaapidecoder_av1.c:
163           codecs: av1: Fix state when we show existing keyframe
164           Showing existing keyframe have special meaning in AV1. All the references
165           frame will be refreshed with the original keyframe information. The refresh
166           process (7.20) is implemented by saving data from the frame_header into the
167           state. To fix this special case, load all the relevant information into the
168           frame_header.
169           As there is nothing happening in between this and the loading of the key-frame
170           into the state, this patch also remove the separate API function, using it
171           internally instead.
172           Fixes #1090
173           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1971>
174
175 2022-03-18 13:42:27 +0530  Nirbheek Chauhan <nirbheek@centricular.com>
176
177         * meson.build:
178           meson: Bump all meson requirements to 0.60
179           Lots of new warnings ever since
180           https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1934
181           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1977>
182
183 2022-03-08 14:54:34 +0800  GuYanjie <yanjie.gu@intel.com>
184
185         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
186           vaapih265dec: fixed st_rps_bits setting in h265 decoding.
187           According to va_dec_hevc.h, pic_param->st_rps_bits should be set
188           for accelorater to skip parsing the *short_term_ref_pic_set
189           (num_short_term_ref_pic_sets) structure.
190           Also modified fill_picture to get parser info as a parameter,
191           in order to get slide_hdr->short_term_ref_pic_set_size.
192           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1886>
193
194 2021-11-19 18:47:24 -0800  Haihao Xiang <haihao.xiang@intel.com>
195
196         * gst-libs/gst/vaapi/gstvaapiblend.c:
197         * gst/vaapi/gstvaapioverlay.c:
198         * gst/vaapi/gstvaapioverlay.h:
199           vaapioverlay: inline sinkpad scaling support
200           Often, users will need to scale inputs (e.g.
201           with vaapipostproc) before they are submitted
202           to the vaapioverlay.  However, this results in
203           multiple VPP passes/operations in the pipeline
204           which creates unnecessary process overhead.
205           This change allows for inputs to be submitted
206           at original scale to vaapioverlay with per-sinkpad
207           scale dimensions specified so they can be scaled
208           and blended/composited in a single VPP pass/operation
209           to avoid the unnecessary process overhead.
210           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1380>
211
212 2021-11-19 14:46:34 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
213
214         * gst-libs/gst/vaapi/gstvaapiblend.c:
215           vaapioverlay: use vpp blend state iif using alpha
216           Don't set VAAPI vpp blend flags if alpha == 1.0,
217           i.e. fully opaque.  This can avoid extra processing
218           overhead on some drivers that apply blending
219           unconditionally when flags are present, even if the
220           end result is the same without blend flags (i.e. all
221           opaque alpha channels).
222           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1380>
223
224 2022-02-09 06:01:34 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
225
226         * meson.build:
227         * meson_options.txt:
228           vaapi: Use meson's features for option selection.
229           Modernize option selection, so if a required dependency is missing,
230           produce a meaningful error message.
231           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1676>
232
233 2021-09-30 17:42:19 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
234
235         * meson.build:
236           build: Add libva dependency fallback.
237           Then libva can be subproject and used by either gstreamer-vaapi,
238           va and msdk in gst-plugins-bad.
239           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1397>
240
241 2022-02-04 11:15:47 +0000  Tim-Philipp Müller <tim@centricular.com>
242
243         * meson.build:
244           Back to development
245           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1635>
246
247 === release 1.20.0 ===
248
249 2022-02-03 19:53:25 +0000  Tim-Philipp Müller <tim@centricular.com>
250
251         * ChangeLog:
252         * NEWS:
253         * RELEASE:
254         * gstreamer-vaapi.doap:
255         * meson.build:
256           Release 1.20.0
257
258 2022-02-03 19:53:18 +0000  Tim-Philipp Müller <tim@centricular.com>
259
260         * ChangeLog:
261           Update ChangeLogs for 1.20.0
262
263 2022-01-30 09:38:48 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
264
265         * gst/vaapi/gstvaapipluginutil.c:
266         * meson.build:
267           vaapi: Disable Wayland if no libdrm
268           Platform wise, is not possible, as far as I known, to have Wayland
269           without kernel's DRM. Though, it's possible to configure
270           gstreamer-vaapi without DRM but Wayland support, with the enhanced
271           handling of dmabuf in vaapisink for Wayland, vaapisink will always
272           fail. Given both issues, configuration with no DRM but Wayland, makes
273           things more complex, and a simpler approach is to refuse that
274           configuration.
275           This patch disables Wayland support if there isn't DRM support. Also,
276           it disables the display test for Wayland, relying only on DRM and
277           X11.
278           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1606>
279
280 2022-01-30 07:10:09 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
281
282         * gst-libs/gst/vaapi/video-format.c:
283           vaapi: libs: video-format: Check if formats map is not NULL.
284           Formats map is instantiated at the end of the display
285           instantiation. The problem is the Wayland display which looks for a
286           format in a callback, before the map is populated.
287           If user compiles gstreamer-vaapi with DRM support, the map is
288           populated with a DRM display at GStreamer plugin registration. But if
289           not, or a VA driver is not available, the plugin will try with a
290           Wayland driver, which cause the NULL de-reference.
291           Nevertheless, in the case of no DRM support, and if the Wayland
292           display doesn't get a reply from the format conversion is not a
293           problem.
294           So the solution is the trivial one, check if the format map is already
295           populated before de-reference it.
296           Fixes: #977
297           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1606>
298
299 === release 1.19.90 ===
300
301 2022-01-28 14:28:35 +0000  Tim-Philipp Müller <tim@centricular.com>
302
303         * ChangeLog:
304         * NEWS:
305         * RELEASE:
306         * gstreamer-vaapi.doap:
307         * meson.build:
308           Release 1.19.90
309
310 2022-01-28 14:28:28 +0000  Tim-Philipp Müller <tim@centricular.com>
311
312         * ChangeLog:
313           Update ChangeLogs for 1.19.90
314
315 2022-01-05 02:07:59 +0530  Nirbheek Chauhan <nirbheek@centricular.com>
316
317         * docs/meson.build:
318         * meson.build:
319           meson: Add explicit check: kwarg to all run_command() calls
320           This is required since Meson 0.61.0, and causes a warning to be
321           emitted otherwise:
322           https://github.com/mesonbuild/meson/commit/2c079d855ed87488bdcc6c5c06f59abdb9b85b6c
323           https://github.com/mesonbuild/meson/issues/9300
324           This exposed a bunch of places where we had broken run_command()
325           calls, unnecessary run_command() calls, and places where check: true
326           should be used.
327           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507>
328
329 2022-01-04 16:19:44 +0800  He Junyan <junyan.he@intel.com>
330
331         * gst-libs/gst/vaapi/gstvaapiprofile.c:
332           vaapi: av1dec: Use named profiles to replace the numeric ones.
333           Use named AV1 profiles (i.e., main, high) to replace the old "0"
334           and "1" profiles.
335           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1491>
336
337 2021-12-01 15:36:44 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
338
339         * gst/vaapi/gstvaapidecodebin.c:
340           vaapidecodebin: Misc enhancements.
341           - Use GST_WARNING rather than g_critical
342           - Replace gst_ghost_pad_new_from_template() with
343           gst_ghost_pad_new() to avoid using the template.
344           - Declare extern variable
345           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1405>
346
347 2021-12-01 12:26:11 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
348
349         * gst/vaapi/gstvaapidecode.c:
350           vaapidecode: Autogenerate caps template.
351           vaapidecode is used in vaapidecodebin and it exposes all the
352           theoretically supported caps, but that slows down autoplug. With this
353           autplug is negotiated faster, giving more option to decodebin to select
354           other decoder.
355           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1405>
356
357 2021-11-16 17:18:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
358
359         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
360         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
361           vaapi: libs: Use unsized arrays as parameters.
362           Instead of defining a sized array for function signature, use it
363           unsized (a pointer alias, basically). In this way clang warning is
364           silenced:
365           warning: ‘fill_profiles’ accessing 64 bytes in a region of size 12 [-Wstringop-overflow=]
366           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1357>
367
368 2021-11-16 17:21:52 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
369
370         * meson.build:
371           vaapi: meson: Fail if static build.
372           And initialize the plugin array.
373           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1357>
374
375 2021-11-15 16:38:34 +0800  Ung, Teng En <teng.en.ung@intel.com>
376
377         * gst/vaapi/gstvaapipostproc.c:
378           vaapipostproc: fix mising metadata when using system
379           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1325>
380
381 2021-11-03 18:44:03 +0000  Tim-Philipp Müller <tim@centricular.com>
382
383         * meson.build:
384           Back to development
385
386 === release 1.19.3 ===
387
388 2021-11-03 15:43:36 +0000  Tim-Philipp Müller <tim@centricular.com>
389
390         * ChangeLog:
391         * NEWS:
392         * RELEASE:
393         * gstreamer-vaapi.doap:
394         * meson.build:
395           Release 1.19.3
396
397 2021-11-03 15:43:32 +0000  Tim-Philipp Müller <tim@centricular.com>
398
399         * ChangeLog:
400           Update ChangeLogs for 1.19.3
401
402 2021-10-18 15:47:00 +0100  Tim-Philipp Müller <tim@centricular.com>
403
404         * tests/check/meson.build:
405           meson: update for meson.build_root() and .build_source() deprecation
406           -> use meson.project_build_root() or .global_build_root() instead.
407           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
408
409 2021-10-18 00:40:14 +0100  Tim-Philipp Müller <tim@centricular.com>
410
411         * docs/meson.build:
412         * gst-libs/gst/vaapi/meson.build:
413         * meson.build:
414         * tests/check/meson.build:
415           meson: update for dep.get_pkgconfig_variable() deprecation
416           ... in favour of dep.get_variable('foo', ..) which in some
417           cases allows for further cleanups in future since we can
418           extract variables from pkg-config dependencies as well as
419           internal dependencies using this mechanism.
420           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
421
422 2021-10-14 18:38:26 +0100  Tim-Philipp Müller <tim@centricular.com>
423
424         * meson.build:
425           meson: bump meson requirement to >= 0.59
426           For monorepo build and ugly/bad, for advanced feature
427           option API like get_option('xyz').required(..) which
428           we use in combination with the 'gpl' option.
429           For rest of modules for consistency (people will likely
430           use newer features based on the top-level requirement).
431           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1084>
432
433 2021-10-15 00:33:39 +0800  He Junyan <junyan.he@intel.com>
434
435         * docs/index.md:
436           Docs: Fix a typo for Intel's vaapi driver name.
437           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1151>
438
439 2021-09-28 10:11:15 +1000  Brad Hards <bradh@frogmouth.net>
440
441         * RELEASE:
442           doc: update IRC links to OFTC
443           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/945>
444
445 2021-09-26 01:07:02 +0100  Tim-Philipp Müller <tim@centricular.com>
446
447         * meson.build:
448           Back to development
449           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/925>
450
451 === release 1.19.2 ===
452
453 2021-09-23 01:35:54 +0100  Tim-Philipp Müller <tim@centricular.com>
454
455         * ChangeLog:
456         * NEWS:
457         * RELEASE:
458         * gstreamer-vaapi.doap:
459         * meson.build:
460           Release 1.19.2
461
462 2021-08-26 15:06:53 +0800  Zhang Yuankun <yuankunx.zhang@intel.com>
463
464         * gst/vaapi/gstvaapidecode.c:
465           vaapi: decoder: modify the condition to judge whether dma buffer is supported
466           It seems "GST_VAAPI_PLUGIN_BASE_SRC_PAD_CAN_DMABUF (decode)" will
467           return false even if this platform support the mem_type dma buffer.
468           And media-driver will return GST_VAAPI_BUFFER_MEMORY_TYPE_DMA_BUF2
469           on Gen12(such as TGL).
470           Without this patch, The command such as:
471           gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw, format=I420 ! \
472           x264enc ! h264parse ! vaapih264dec ! video/x-raw\(memory:DMABuf\) ! fakesink
473           will return not-negotiated.
474           Signed-off-by: Zhang Yuankun <yuankunx.zhang@intel.com>
475           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/437>
476
477 2021-05-14 12:04:04 +0800  He Junyan <junyan.he@intel.com>
478
479         * gst-libs/gst/vaapi/gstvaapidisplay.c:
480         * gst/vaapi/gstvaapivideocontext.c:
481           Display: Add a property to export the VA display handle.
482           Just like what we do in VA plugins. The display can be seen as a
483           generic gst object and we can add a property to get the internal
484           VA handle.
485           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/435>
486
487 2021-05-14 11:49:01 +0800  He Junyan <junyan.he@intel.com>
488
489         * gst/vaapi/gstvaapivideomemory.c:
490         * gst/vaapi/gstvaapivideomemory.h:
491           plugins: video memory: Add a GST_MAP_VAAPI flag to peek the surface.
492           Just like what we do in VA plugins, the GST_MAP_VAAPI can directly
493           peek the surface of the VA buffers. The old flag 0 just peek the
494           surface proxy, which may not be convenient for the users who do not
495           want to include our headers.
496           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/435>
497
498 2021-07-09 11:01:14 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
499
500         * gst/vaapi/gstvaapi.c:
501         * gst/vaapi/gstvaapidecode.c:
502           Revert "vaapi: Demote vaapidecodebin to rank NONE."
503           This reverts commit 7a25c5d4ec95aefeca6515ac023b23c5dd330194.
504           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/436>
505
506 2021-06-23 16:23:00 +0800  He Junyan <junyan.he@intel.com>
507
508         * gst/vaapi/gstvaapiencode.c:
509           plugins: encode: fix a deadlock because of _drain()
510           We call gst_vaapiencode_drain() in gst_vaapiencode_change_state(),
511           whose context does not hold the stream lock of the encoder. The
512           current gst_vaapiencode_drain inside unlock/lock pair adds a extra
513           lock count to the stream lock of encoder and causes hang later.
514           We just remove the gst_vaapiencode_drain() and expand its logic
515           correctly according to the lock/unlock context.
516           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/433>
517
518 2021-06-29 15:09:13 +0800  He Junyan <junyan.he@intel.com>
519
520         * gst-libs/gst/vaapi/gstvaapidecoder_av1.c:
521           libs: decoder: av1: Clean the film_grain_info field.
522           We need to clean all film_grain_info fields when the film grain
523           feature is not enabled. It may have random data because the picture
524           parameter buffer is not cleaned.
525           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/434>
526
527 2021-06-03 22:12:04 +0800  He Junyan <junyan.he@intel.com>
528
529         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.c:
530         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h:
531           libs: encoder: mpeg2: Add highP level for 1080@50p/60p.
532           The MPEG2 spec has amendment 3 to introduce a new level highP, which
533           is used for 1080@50p/60p streams. We need to add this level to avoid
534           encoding failure because of the level check.
535           Fix: #306
536           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/432>
537
538 2021-05-11 16:59:07 +0800  He Junyan <junyan.he@intel.com>
539
540         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
541           Decoder: H264: Add the support for frame packing arrangement SEI message.
542           Frame packing arrangement SEI message is an alternative simple stereo 3D
543           manner for AVC. We need to recognize that SEI message and report the correct
544           3D caps.
545           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/420>
546
547 2021-05-22 18:54:49 +0100  Tim-Philipp Müller <tim@centricular.com>
548
549         * gst-libs/gst/vaapi/gstvaapifilter.c:
550         * meson.build:
551           Use g_memdup2() where available and add fallback for older GLib versions
552           Alloc size is based on existing allocations and struct sizes.
553           g_memdup() is deprecated since GLib 2.68 and we want to avoid
554           deprecation warnings with recent versions of GLib.
555           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/431>
556
557 2021-06-01 15:29:16 +0100  Tim-Philipp Müller <tim@centricular.com>
558
559         * meson.build:
560           Back to development
561
562 === release 1.19.1 ===
563
564 2021-06-01 00:16:31 +0100  Tim-Philipp Müller <tim@centricular.com>
565
566         * ChangeLog:
567         * NEWS:
568         * RELEASE:
569         * gstreamer-vaapi.doap:
570         * meson.build:
571           Release 1.19.1
572
573 2021-04-23 19:01:54 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
574
575         * gst/vaapi/gstvaapi.c:
576         * gst/vaapi/gstvaapidecode.c:
577           vaapi: Demote vaapidecodebin to rank NONE.
578           One of the main reasons of vaapidecodebin was because it mitigated the
579           possible surface exhaustion. But that problem is currently
580           solved. Nowadays, vaapidecodebin brings more problems than it
581           solves. Thus this patch demotes vaapidecodebin to NONE rank while
582           bumping PRIMARY + 1 the most common decoders.
583           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/426>
584
585 2021-05-20 10:28:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
586
587         * gst/vaapi/gstvaapi.c:
588         * gst/vaapi/gstvaapioverlay.c:
589           plugins: Demote rank of vaapipostproc and vaapioverlay.
590           Since almost all video filters have rank NONE, these both elements
591           should be NONE too.
592           This is useful for autovideoconvert and other bins, and users might
593           force to use these by setting the environment variable
594           GST_PLUGIN_FEATURE_RANK.
595           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/429>
596
597 2021-04-21 10:55:45 +0200  François Laignel <fengalin@free.fr>
598
599         * tests/check/elements/vaapioverlay.c:
600           Use gst_element_request_pad_simple...
601           Instead of the deprecated gst_element_get_request_pad.
602           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/425>
603
604 2021-04-23 11:02:05 +0800  Zhang yuankun <yuankunx.zhang@intel.com>
605
606         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
607           libs: encoder: VP9: fix > 4k encode fail issue
608           The VP9 spec defines the MAX_TILE_WIDTH_B64(64), which is the maximum
609           width of a tile in units of superblocks. So the max width of one tile
610           should not be larger than 64x64=4096. When the width exceeds 4k, we
611           need to split it into multiple tiles in columns. The current vp9 encoder
612           does not handle this correctly.
613           The command such as:
614           gst-launch-1.0 videotestsrc ! video/x-raw,width=7680,height=4320 ! \
615           vaapivp9enc ! fakesink
616           will crash.
617           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/424>
618
619 2021-04-02 15:43:45 +0800  Haihao Xiang <haihao.xiang@intel.com>
620
621         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
622           libs: display: drm: don't fallback to default device if explicitly specified device can't load/init
623           Otherwise user will be misled that the specified device is using
624           This fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/305
625           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/422>
626
627 2021-03-22 13:41:13 +0800  He Junyan <junyan.he@intel.com>
628
629         * gst-libs/gst/vaapi/gstvaapiencoder.c:
630         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
631         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
632           decoder: H265: Enable cu_qp_delta_enabled_flag when ROI
633           If ROI is enabled, the CUs within the ROI region may have different
634           QP from the other part of the picture. This needs us to enable the
635           cu_qp_delta_enabled_flag even in the CQP mode.
636           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/419>
637
638 2021-03-19 17:42:36 +1100  Matthew Waters <matthew@centricular.com>
639
640         * gst-libs/gst/vaapi/gstvaapicontext.c:
641         * gst-libs/gst/vaapi/gstvaapicontext.h:
642         * gst-libs/gst/vaapi/gstvaapiencoder.c:
643         * gst-libs/gst/vaapi/gstvaapifilter.c:
644         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
645         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
646         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
647         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
648         * gst-libs/gst/vaapi/gstvaapiutils_egl.h:
649         * gst-libs/gst/vaapi/gstvaapivalue.c:
650         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
651         * gst/vaapi/gstvaapipluginbase.c:
652         * gst/vaapi/gstvaapisink.c:
653         * gst/vaapi/gstvaapisink.h:
654         * gst/vaapi/gstvaapivideocontext.c:
655         * gst/vaapi/gstvaapivideomemory.c:
656         * tests/internal/simple-decoder.c:
657           gst: don't use volatile to mean atomic
658           volatile is not sufficient to provide atomic guarantees and real atomics
659           should be used instead.  GCC 11 has started warning about using volatile
660           with atomic operations.
661           https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719
662           Discovered in https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/868
663           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/418>
664
665 2021-02-24 17:41:02 +0100  Paul Goulpié <paul.goulpie@ubicast.eu>
666
667         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
668           gstvaapiencoder_h264: add ENCODER_EXPOSURE on aud propertie
669           forgot during the following mainline commit: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/commit/bc2f8fd19e924aa0e193708307326acd037691ce#
670           Signed-off-by: Paul Goulpié <paul.goulpie@ubicast.eu>
671
672 2021-02-04 15:05:55 +0800  He Junyan <junyan.he@intel.com>
673
674         * gst/vaapi/gstvaapipostproc.c:
675           plugins: postproc: Fix a problem of propose_allocation when passthrough.
676           We should query the downstream element to answer a precise allocation
677           query when the passthrough mode is enabled.
678           The current way still decides the allocation by the postproc itself. The
679           pipeline such as:
680           gst-launch-1.0 -v filesrc location=xxx.264 ! h264parse ! vaapih264dec ! \
681           vaapipostproc ! fakevideosink silent=false sync=true
682           will lose some info such as the GST_VIDEO_META_API_TYPE.
683           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/413>
684
685 2021-01-27 12:05:44 +0800  Haihao Xiang <haihao.xiang@intel.com>
686
687         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
688         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
689         * gst/vaapi/gstvaapivideocontext.c:
690           libs: display: drm: support gst.vaapi.app.Display context for drm backend
691           Attributes for drm backend:
692           - va-display : ponter of VADisplay
693           - drm-device-fd : the DRM device file descriptor
694           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/409>
695
696 2021-01-13 14:43:20 +0800  Haihao Xiang <haihao.xiang@intel.com>
697
698         * docs/index.md:
699         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
700           libs: display: drm: allow user specify a drm device via an env variable
701           Currently the default drm device is always used on a system with
702           multiple drm devices. This patch allows user to specify the required
703           drm device via GST_VAAPI_DRM_DEVICE env variable
704           Example:
705           GST_VAAPI_DRM_DEVICE=/dev/dri/renderD129 gst-launch-1.0 videotestsrc !
706           vaapih264enc ! fakesink
707           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/409>
708
709 2021-01-25 14:45:47 +0800  Haihao Xiang <haihao.xiang@intel.com>
710
711         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
712           libs: display: drm: fix set_device_path_from_fd
713           drmGetBusid() (GET_UNIQUE ioctl) won't return a valid bus id when
714           drmSetInterfaceVersion() (SET_VERSION ioctl) hasn't been called(see[1]),
715           so we can't get the right device path. Running test-display will get the
716           error below:
717           ** (test-display:18630): ERROR **: 10:26:00.434: could not create Gst/VA
718           display
719           Calling drmSetInterfaceVersion() before drmGetBusid() can't fix this
720           issue because a special permission is required for SET_VERSION ioctl.
721           This patch retrieves the device path from file descriptor via
722           g_file_read_link()
723           [1] https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/drm_ioctl.c#L48-L104
724           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/412>
725
726 2021-01-20 10:42:09 +0100  Rafał Dzięgiel <rafostar.github@gmail.com>
727
728         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
729           glx: Iterate over FBConfig and select 8 bit color size
730           Texture upload mechanism used by gstreamer-vaapi relies on 8 bpc.
731           In latest mesa versions the first fbconfig might not be 8 bit, so iterate
732           over it to find the correct config with supported values.
733           This also adds 8 bit alpha size to the framebuffer configuration which is
734           required to get it working properly.
735           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/410>
736
737 2021-01-11 09:57:03 +0800  Ung, Teng En <teng.en.ung@intel.com>
738
739         * gst-libs/gst/vaapi/gstvaapiutils.c:
740           vaapipostproc: fix code style.
741           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/407>
742
743 2020-12-21 05:42:00 +0000  Ung, Teng En <teng.en.ung@intel.com>
744
745         * gst-libs/gst/vaapi/gstvaapidisplay.c:
746         * gst-libs/gst/vaapi/gstvaapidisplay.h:
747         * gst-libs/gst/vaapi/gstvaapifilter.c:
748           vaapipostproc: Remove YUV to/from RGB color primary quirk since iHD driver has fixed in https://github.com/intel/media-driver/commit/a39fe9bc051a8c3efa8f35122a1585981ec7f816.
749           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/407>
750
751 2020-12-21 05:36:29 +0000  Ung, Teng En <teng.en.ung@intel.com>
752
753         * gst-libs/gst/vaapi/gstvaapiutils.c:
754           vaapipostproc: Added gstreamer BT2020 color standard support.
755           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/407>
756
757 2021-01-09 16:05:48 +0800  He Junyan <junyan.he@intel.com>
758
759         * gst-libs/gst/vaapi/gstvaapidecoder_av1.c:
760           decoder: AV1: Fix a static analysis problem of update_state().
761           No need to check the picture pointer after we have already dereferenced it.
762           Fix: #298
763           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/408>
764
765 2020-12-22 23:43:52 +0800  He Junyan <junyan.he@intel.com>
766
767         * gst-libs/gst/vaapi/gstvaapidecoder_av1.c:
768         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
769         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
770           libs: decoder: Add decode_with_surface_id for AV1 film_grain.
771           The AV1 film_graim feature needs two surfaces the same time for
772           decoding. One is for recon surface which will be used as reference
773           later, and the other one is for display. The GstVaapiPicture should
774           contain the surface for display, while the vaBeginPicture() need
775           the recon surface as the target.
776           We add a gst_vaapi_picture_decode_with_surface_id API to handle this
777           kind of requirement.
778           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/191>
779
780 2020-08-27 21:46:41 +0800  He Junyan <junyan.he@intel.com>
781
782         * gst-libs/gst/vaapi/gstvaapidecoder_av1.c:
783         * gst-libs/gst/vaapi/gstvaapidecoder_av1.h:
784         * gst-libs/gst/vaapi/gstvaapiprofile.c:
785         * gst-libs/gst/vaapi/gstvaapiprofile.h:
786         * gst-libs/gst/vaapi/gstvaapiutils.c:
787         * gst-libs/gst/vaapi/meson.build:
788         * gst/vaapi/gstvaapidecode.c:
789         * meson.build:
790           libs: decoder: AV1: Add the av1 decoder support.
791           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/191>
792
793 2020-08-27 21:39:35 +0800  He Junyan <junyan.he@intel.com>
794
795         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
796         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
797         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
798         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
799           libs: codecobject: Add number of elements when create codec object.
800           One slice data may need several slice parameter buffers at one time.
801           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/191>
802
803 2020-12-12 10:30:41 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
804
805         * gst/vaapi/gstvaapidecodebin.c:
806         * gst/vaapi/gstvaapipluginbase.c:
807         * gst/vaapi/gstvaapivideobufferpool.c:
808           vaapi: use gst_clear_object instead of g_clear_object
809           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/406>
810
811 2020-12-08 13:34:35 +0800  He Junyan <junyan.he@intel.com>
812
813         * gst/vaapi/gstvaapiencode.c:
814           plugins: encode: unlock the stream lock before _flush()
815           The current encoder will hang when EOS comes. When we call the
816           gst_vaapi_encoder_encode_and_queue(), we should release the stream
817           lock, just like what we do in gst_vaapiencode_handle_frame().
818           The deadlock happens when: The input thread holding the stream lock
819           is using gst_vaapi_encoder_create_coded_buffer() to acquire a coded
820           buffer, while the output thread which holding the coded buffer resource
821           is acquiring the stream lock in _push_frame() to push the data to
822           down stream element.
823           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/404>
824
825 2020-12-09 00:04:33 +0800  He Junyan <junyan.he@intel.com>
826
827         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
828           libs: encoder: H264: Fix one assert in get_pending_reordered().
829           gst_vaapi_encoder_h264_get_pending_reordered() does not consider the
830           case for HIERARCHICAL_B mode. The pipeline:
831           gst-launch-1.0  videotestsrc num-buffers=48 ! vaapih264enc prediction-type=2 \
832           keyframe-period=32 ! fakesink
833           get a assert:
834           ERROR:../gst-libs/gst/vaapi/gstvaapiencoder_h264.c:1996:reflist1_init_hierarchical_b:
835           assertion failed: (count != 0)
836           The last few B frames are not fetched in correct order when HIERARCHICAL_B
837           is enabled.
838           We also fix a latent bug for normal mode. The g_queue_pop_tail() of B frames
839           make the last several frames encoded in reverse order. The NAL of last few
840           frames come in reverse order in the bit stream, though it can still output
841           the correct image.
842           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/405>
843
844 2020-06-25 16:25:21 +0800  He Junyan <junyan.he@hotmail.com>
845
846         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
847         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
848           libs: encoder: H265: Add screen content coding extensions support.
849           In scc mode, the I frame can ref to itself and it needs the L0 reference
850           list enabled. So we should set the I frame to P_SLICE type. We do not need
851           to change the ref_pic_list0/1 passed to VA driver, just need to enable the
852           VAEncPictureParameterBufferHEVC->pps_curr_pic_ref_enabled_flag to notify
853           the driver consider the current frame as reference. For bits conformance,
854           the NumRpsCurrTempList0 should be incremented by one to include the current
855           picture as the reference frame. We manually do it when packing the slice header.
856           Command line like:
857           gst-launch-1.0  videotestsrc num-buffers=10 ! \
858           capsfilter caps=video/x-raw,format=NV12, framerate=30/1,width=640,height=360 ! \
859           vaapih265enc ! capsfilter caps=video/x-h265,profile="{ (string)screen-extended-main }" ! \
860           filesink location=out.265
861           Can be used to specify that the encoder should use SCC profiles.
862           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/379>
863
864 2020-07-11 23:37:29 +0800  He Junyan <junyan.he@intel.com>
865
866         * gst/vaapi/gstvaapiencode_vp9.c:
867           plugin: encode: vp9: Implement the set_config().
868           We store the allowed profiles list to encoder in set_config().
869           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/380>
870
871 2020-07-11 23:39:40 +0800  He Junyan <junyan.he@intel.com>
872
873         * gst/vaapi/gstvaapiencode_vp9.c:
874           plugin: encode: vp9: Add the profile into output caps.
875           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/380>
876
877 2020-07-11 23:27:21 +0800  He Junyan <junyan.he@intel.com>
878
879         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
880           libs: encoder: vp9: no need to ensure_hw_profile.
881           Once we decide the profile and can get the valid entrypoint for
882           that profile, hw must already support this profile/entrypoint pair.
883           No need to check it again in set_context_info().
884           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/380>
885
886 2020-07-11 23:22:55 +0800  He Junyan <junyan.he@intel.com>
887
888         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
889           libs: encoder: vp9: Improve the manner to decide the profile.
890           We should decide the VP9 encoder's profile based on the chroma and
891           depth of the input format, then make sure it is included in the
892           allowed list.
893           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/380>
894
895 2020-07-11 23:17:02 +0800  He Junyan <junyan.he@intel.com>
896
897         * gst-libs/gst/vaapi/gstvaapiutils_vpx.c:
898         * gst-libs/gst/vaapi/gstvaapiutils_vpx.h:
899           libs: util: vpx: add get_chroma_format_idc for VP9
900           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/380>
901
902 2020-07-11 23:09:59 +0800  He Junyan <junyan.he@intel.com>
903
904         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
905         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
906           libs: encoder: vp9: Add allowed_profiles.
907           We need the allowed_profiles to store the allowed profiles in down
908           stream's caps.
909           Command line like:
910           vaapivp9enc ! capsfilter caps=video/x-vp9,profile="{ (string)1, \
911           (string)3 }"
912           We need to store GST_VAAPI_PROFILE_VP9_1 and GST_VAAPI_PROFILE_VP9_3
913           in this list.
914           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/380>
915
916 2020-11-30 18:00:30 +0800  He Junyan <junyan.he@intel.com>
917
918         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
919           libs: decoder: H265: Fix a typo in scc reference setting.
920           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/402>
921
922 2020-07-17 18:00:30 +0800  He Junyan <junyan.he@intel.com>
923
924         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
925         * gst-libs/gst/vaapi/gstvaapiprofile.c:
926         * gst-libs/gst/vaapi/gstvaapiprofile.h:
927         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
928         * gst-libs/gst/vaapi/video-format.c:
929         * gst/vaapi/gstvaapidecode.c:
930           libs: decoder: H265: Add MAIN_422_12 profile supporting.
931           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/390>
932
933 2020-07-31 14:38:42 +0800  He Junyan <junyan.he@intel.com>
934
935         * gst-libs/gst/vaapi/gstvaapiimage.c:
936         * gst-libs/gst/vaapi/video-format.c:
937         * gst-libs/gst/vaapi/video-format.h:
938           video-format: Add Y212_LE format.
939           It can be used as HEVC YUV_4:2:2 12bits stream's decoder output, and
940           also can be used as the input format for encoding HEVC YUV_4:2:2 12bits
941           stream.
942           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/390>
943
944 2020-07-30 23:21:06 +0800  He Junyan <junyan.he@intel.com>
945
946         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
947         * gst-libs/gst/vaapi/gstvaapiprofile.c:
948         * gst-libs/gst/vaapi/gstvaapiprofile.h:
949         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
950         * gst-libs/gst/vaapi/video-format.c:
951         * gst/vaapi/gstvaapidecode.c:
952           libs: decoder: H265: Add MAIN_444_12 profile supporting.
953           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/390>
954
955 2020-07-30 23:13:10 +0800  He Junyan <junyan.he@intel.com>
956
957         * gst-libs/gst/vaapi/gstvaapiimage.c:
958         * gst-libs/gst/vaapi/video-format.c:
959         * gst-libs/gst/vaapi/video-format.h:
960           video-format: Add Y412_LE format.
961           It can be used as HEVC YUV_4:4:4 12bits stream's decoder output, and
962           also can be used as the input format for encoding HEVC YUV_4:4:4 12bits
963           stream.
964           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/390>
965
966 2020-09-17 16:47:43 +0800  He Junyan <junyan.he@intel.com>
967
968         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
969           libs: decoder: h265: fill missing predictor_palette_size field.
970           The predictor_palette_size of VAPictureParameterBufferHEVCScc is
971           forgotten and need to be filled when streams have palettes.
972           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/396>
973
974 2020-09-17 15:35:11 +0800  He Junyan <junyan.he@intel.com>
975
976         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
977           libs: utils: h265: Use get_profile_from_sps to get profile.
978           We now use gst_h265_get_profile_from_sps() to replace the old way
979           of gst_h265_profile_tier_level_get_profile() to get more precise
980           profile. The new function consider the unstandard cases and give
981           a more suitable profile decision.
982           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/395>
983
984 2020-10-19 13:46:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
985
986         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
987           libs: decoder: vp9: 0xff segment pred probs if no temporal update
988           According to the spec (6.2.11 Segmentation params syntax)
989           segmentation_pred_prob[i] ast to be 0xff if not temporal_update.
990           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/400>
991
992 2020-10-19 13:42:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
993
994         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
995           libs: decoder: vp9: avoid reference rewriting
996           The removed code set all the reference frames to the current frame it is a key
997           one, but later, all the reference frames were rewritten with the decoded picture
998           buffers or VA_INVALID_SURFACE if they were not available.
999           Basically, all this time the first reference frame assignment has been ignored,
1000           and it's not described by the spec, and this patch removes that code.
1001           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/400>
1002
1003 2020-09-20 09:56:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1004
1005         * gst/vaapi/gstvaapidecode.c:
1006           decoder: don't reply src caps query with allowed if pad is fixed
1007           If the pad is already fixed the caps query have to be reply with the
1008           current fixed caps. Otherwise the query has to be replied with the
1009           autogeneratd src caps.
1010           This path fix this by falling back to the normal caps query processing
1011           if the pad is already fixed. Otherwise it will fetch the allowed src
1012           pad caps.
1013           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/397>
1014
1015 2020-09-15 00:11:30 +0800  He Junyan <junyan.he@intel.com>
1016
1017         * gst/vaapi/gstvaapidecode.c:
1018           plugins: decode: fix a DMA caps typo in ensure_allowed_srcpad_caps.
1019           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/392>
1020
1021 2020-09-01 09:31:33 +0200  Marc Leeman <m.leeman@televic.com>
1022
1023         * gst/vaapi/gstvaapisink.c:
1024           vaapisink: when updating the caps, reset rotation
1025           When an element upstream changes settings (e.g. crop), new caps are sent
1026           to vaapisink. When vaapisink was rotating the image, it needs to
1027           re-evaluate if the sink needs to rotate the image.
1028           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/389>
1029
1030 2020-09-08 17:31:02 +0100  Tim-Philipp Müller <tim@centricular.com>
1031
1032         * .gitlab-ci.yml:
1033           ci: include template from gst-ci master branch again
1034
1035 2020-09-08 16:59:07 +0100  Tim-Philipp Müller <tim@centricular.com>
1036
1037         * meson.build:
1038           Back to development
1039
1040 === release 1.18.0 ===
1041
1042 2020-09-08 00:09:51 +0100  Tim-Philipp Müller <tim@centricular.com>
1043
1044         * .gitlab-ci.yml:
1045         * ChangeLog:
1046         * NEWS:
1047         * RELEASE:
1048         * gstreamer-vaapi.doap:
1049         * meson.build:
1050           Release 1.18.0
1051
1052 2020-09-07 12:15:43 +0300  Sebastian Dröge <sebastian@centricular.com>
1053
1054         * gst-libs/gst/vaapi/gstvaapifilter.c:
1055           Update for gst_video_transfer_function_*() function renaming
1056           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/391>
1057
1058 2020-08-22 12:53:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1059
1060         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
1061         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
1062           Revert "libs: decoder: h264, h265: in context at least 16 reference surfaces"
1063           This reverts commit b387081a4d77d3da202da72686ab40fb9c83ee1e as discussed in
1064           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/commit/b387081a4d77d3da202da72686ab40fb9c83ee1e
1065
1066 === release 1.17.90 ===
1067
1068 2020-08-20 16:16:25 +0100  Tim-Philipp Müller <tim@centricular.com>
1069
1070         * ChangeLog:
1071         * NEWS:
1072         * RELEASE:
1073         * gstreamer-vaapi.doap:
1074         * meson.build:
1075           Release 1.17.90
1076
1077 2020-08-17 11:43:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1078
1079         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
1080           libs: surface: egl: guard memory type
1081           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/384>
1082
1083 2020-08-17 19:26:43 +0800  He Junyan <junyan.he@intel.com>
1084
1085         * gst/vaapi/gstvaapidecode.c:
1086           plugin: decode: Fix two mem leaks because of caps.
1087           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/385>
1088
1089 2020-08-16 01:57:15 +0800  He Junyan <junyan.he@intel.com>
1090
1091         * gst/vaapi/gstvaapivideomemory.c:
1092           plugin: allocator: No need to ref allocator when create mem.
1093           We do not need to ref the allocator when creating GstVaapiVideoMemory
1094           kind memory, and then release it in _free(). The framework already
1095           does it for us.
1096           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/383>
1097
1098 2020-08-14 10:42:51 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1099
1100         * gst/vaapi/gstvaapiencode_h264.c:
1101           vaapiencode: h264: ignore level without breaking negotiation
1102           Since commit 9f627ef2 if the user sets level in the encoder src caps
1103           the caps negotiation is rejected.
1104           But since the same commit the same encoder set the autoconfigured
1105           level in caps. Some change in the base class might fixed the operation
1106           order so now the caps are set and later negotiated.
1107           This patch removes the level check.
1108           Fixes: #273
1109           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/382>
1110
1111 2019-07-09 19:17:48 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1112
1113         * gst-libs/gst/vaapi/egl_vtable.h:
1114         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
1115         * gst-libs/gst/vaapi/gstvaapisurface_egl.h:
1116         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
1117           libs: egl: surface: export EGLImage as DMABuf if GEM not supported
1118           This code path is used when frames are rendered as textures through
1119           GstVideoGLTextureUploadMeta with EGL, mainly under Wayland.
1120           Originally the EGLImage was exported as GEM, which was handled by
1121           Intel drivers, but Gallium ones cannot create VA surfaces from
1122           GEM buffers, only DMABuf.
1123           This patch checks the memory types supported by VA driver to choose
1124           the render the EGLImages from GEM or DMABuf, because GEM is still
1125           better where supported.
1126           DMABuf is well handled either by intel-vaapi-driver and gallium.
1127           Fixes: #137
1128           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/122>
1129
1130 2020-05-26 16:18:32 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1131
1132         * gst-libs/gst/vaapi/gstvaapifilter.c:
1133         * gst-libs/gst/vaapi/gstvaapifilter.h:
1134           libs: filter: gst_vaapi_filter_get_memory_types()
1135           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/122>
1136
1137 2020-08-12 18:48:59 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1138
1139         * gst/vaapi/gstvaapipluginbase.c:
1140         * gst/vaapi/gstvaapipluginbase.h:
1141           plugins: remove gst_vaapi_plugin_base_get_allowed_srcpad_raw_caps()
1142           Since nobody uses it, just remove it.
1143           Thus extract_allowed_surface_formats() is refactored to attend only
1144           gst_vaapi_plugin_base_get_allowed_sinkpad_raw_caps().
1145           Now a surface is created when the image chorma is different from the
1146           previous one. And if the driver has the quirk, it outputs all the
1147           supported image formats without trying them.
1148           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/381>
1149
1150 2020-08-12 17:50:50 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1151
1152         * gst/vaapi/gstvaapidecode.c:
1153           vaapidecode: expose raw src caps with same chroma
1154           The try-and-error approach for getting the possible image formats from
1155           a surface has brought several problems in different drivers, from
1156           crashes to drop in performance.
1157           Instead of that we change the algorithm to determine the possible
1158           image formats based in the surface chroma: only those available image
1159           formats with same chroma are exposed as possible raw caps.
1160           Do this is important to avoid performance degrading in raw sinks
1161           which doesn't handle NV12 but it does YV12 or I420.
1162           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/381>
1163
1164 2020-07-10 17:05:38 +0800  He Junyan <junyan.he@intel.com>
1165
1166         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
1167           libs: util: h265: use common parser API to get vaapi profiles.
1168           We can reuse H265 parser's API to recognize the correct profile and
1169           then just need to convert them to VAAPI profiles.
1170           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/356>
1171
1172 2020-08-07 16:41:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1173
1174         * gst-libs/gst/vaapi/meson.build:
1175         * gst/vaapi/meson.build:
1176         * meson.build:
1177           build: update for gl pkg-config file split
1178           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/378>
1179
1180 2020-08-06 12:51:27 +0800  Xu Guangxin <guangxin.xu@intel.com>
1181
1182         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
1183           h264dec: mark remaining frames as unreference before exec_picture_refs_modification
1184           8.2.4.2 required this. Some clips will crash if we do not fill the reference list like this.
1185           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/376>
1186
1187 2020-07-31 18:22:46 +0800  He Junyan <junyan.he@intel.com>
1188
1189         * gst-libs/gst/vaapi/gstvaapiencoder.c:
1190         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1191         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
1192           libs: encoder: H265: Enable Main 12 profile support.
1193           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/375>
1194
1195 2020-07-31 19:17:39 +0800  He Junyan <junyan.he@intel.com>
1196
1197         * gst-libs/gst/vaapi/video-format.c:
1198           video format: Fix P012_LE's chrome type typo.
1199           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/375>
1200
1201 2020-08-04 21:15:01 +0300  Jordan Petridis <jordan@centricular.com>
1202
1203         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
1204           gstvaapiminiobject.c:   fix clang 10 warnings
1205           the typesystem checks in g_atomic_pointer_compare_and_exchange
1206           seem to trigger some false positives with clang 10
1207           similar to gstreamer!584
1208           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/377>
1209
1210 2020-07-31 11:07:23 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1211
1212         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1213           libs: window: wayland: destroy all wayland buffers during finalize
1214           Some buffers and the associated FrameState state may still be pending at
1215           that point. If the wayland connection is shared, then messages for the
1216           buffer may still arrive. However, the associated event queue is already
1217           deleted. So the result is a crash.
1218           With a private connection the associated memory is leaked instead.
1219           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1220
1221 2020-06-18 20:25:18 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1222
1223         * tests/examples/test-vaapicontext.c:
1224           test: vaapicontext: fix draw callback with multiple videos
1225           The callback is called for both windows. So make sure that
1226           gst_video_overlay_set_render_rectangle() is called for the correct one.
1227           Otherwise, the left video will be randomly moved behind the right video.
1228           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1229
1230 2020-06-19 09:23:52 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1231
1232         * tests/examples/meson.build:
1233         * tests/examples/test-vaapicontext.c:
1234           test: vaapicontext: support wayland display
1235           On Wayland, The whole gtk window is one Wayland surface. So
1236           gtk_widget_get_window() must be called on the top-level widget.
1237           For any other widget the following gdk_window_ensure_native() may create a
1238           new top-level Wayland surface that is never visible.
1239           As a result, the coordinates passed to
1240           gst_video_overlay_set_render_rectangle() must be relativ to the top-level
1241           window. Otherwise the video is placed incorrectly.
1242           Original-Patch-By: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1243           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1244
1245 2017-12-01 20:18:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1246
1247         * tests/examples/test-vaapicontext.c:
1248           test: vaapicontext: use playbin to test files
1249           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1250
1251 2017-11-29 11:11:39 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1252
1253         * tests/examples/test-vaapicontext.c:
1254           test: vaapicontext: add PLAY and NULL buttons
1255           They only appear when only one sink is instanciated and their purpose
1256           is to test the NULL-PLAY use case in context sharing.
1257           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1258
1259 2020-06-19 21:26:52 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1260
1261         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1262           libs: wayland: update the opaque region in set_render_rect
1263           gst_vaapi_window_wayland_set_render_rect() may be called from an arbitrary
1264           thread. That thread may be responsible for making the window visible.
1265           At that point another thread will block in gst_vaapi_window_wayland_sync()
1266           because the frame callback will not be called until the window is visible.
1267           If that happens, then acquiring the display lock in
1268           gst_vaapi_window_wayland_set_render_rect() would result in a deadlock.
1269           Cache the size of the opaque rectangle separately and create the opaque
1270           region right before applying it to the surface.
1271           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1272
1273 2020-06-19 09:21:16 +0200  Hyunjun Ko <zzoon@igalia.com>
1274
1275         * gst-libs/gst/vaapi/gstvaapiwindow.c:
1276         * gst-libs/gst/vaapi/gstvaapiwindow.h:
1277         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
1278         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1279         * gst/vaapi/gstvaapisink.c:
1280           libs: window: implements gst_vaapi_window_set_render_rectangle
1281           Implements new vmethod gst_vaapi_window_set_render_rectangle,
1282           which is doing set the information of the rendered rectangle set by
1283           user.
1284           This is necessary on wayland at least to get exact information of
1285           external surface.
1286           And vaapisink calls this when gst_video_overlay_set_render_rectangle is
1287           called.
1288           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1289
1290 2017-11-08 13:23:39 +0900  Hyunjun Ko <zzoon@igalia.com>
1291
1292         * gst/vaapi/gstvaapisink.c:
1293           vaapisink: implements gst_vaapisink_wayland_create_window_from_handle()
1294           Implements gst_vaapisink_wayland_create_window_from_handle() to support
1295           using external wl_surface.
1296           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1297
1298 2020-06-19 09:11:20 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1299
1300         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
1301         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
1302         * gst-libs/gst/vaapi/gstvaapiwindow.c:
1303         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1304         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
1305           libs: wayland: implement video overlay API
1306           The Wayland sub-surfaces API is used to embed the video into an application
1307           window.
1308           See Appendix A. Wayland Protocol Specification as the following.
1309           """
1310           The aim of sub-surfaces is to offload some of the compositing work
1311           within a window from clients to the compositor. A prime example is
1312           a video player with decorations and video in separate wl_surface
1313           objects.
1314           This should allow the compositor to pass YUV video buffer processing to
1315           dedicated overlay hardware when possible.
1316           """
1317           Added new method gst_vaapi_window_wayland_new_with_surface()
1318           Original-Patch-By: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1319           Zhao Halley <halley.zhao@intel.com>
1320           changzhix.wei@intel.com
1321           Hyunjun Ko <zzoon@igalia.com>
1322           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1323
1324 2020-06-19 21:54:52 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1325
1326         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1327           doc: libs: wayland: add 'transfer full' to the returnvalye of gst_vaapi_window_wayland_new
1328           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1329
1330 2020-06-11 08:25:57 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1331
1332         * gst-libs/gst/vaapi/gstvaapidisplay.c:
1333           libs: display: always call close_display()
1334           All close_display() have their own checks for use_foreign_display and only
1335           destroy locally created objects in that case.
1336           Without this objects other than the actuall foreign display itself are
1337           leaked.
1338           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/342>
1339
1340 2020-07-30 23:37:10 +0800  He Junyan <junyan.he@intel.com>
1341
1342         * gst-libs/gst/vaapi/video-format.h:
1343           video-format: Add the missing P012_LE into GST_VAAPI_FORMATS_ALL.
1344           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/373>
1345
1346 2020-05-25 17:02:26 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1347
1348         * gst/vaapi/gstvaapidecode.c:
1349         * gst/vaapi/gstvaapipluginutil.c:
1350         * gst/vaapi/gstvaapipluginutil.h:
1351           plugins: add gst_vaapi_caps_set_width_and_height_range()
1352           This utility function is called internally by
1353           gst_vaapi_build_caps_from_formats() and can be used outside.
1354           This function sets frame size and framerates ranges.
1355           Also gst_vaapi_build_caps_from_formats() is simplified.
1356           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/374>
1357
1358 2020-07-31 15:27:38 +0800  He Junyan <junyan.he@intel.com>
1359
1360         * gst-libs/gst/vaapi/gstvaapidecoder.c:
1361           libs: decoder: fix a crash issue when get_surface_formats.
1362           Some context does not report any valid format that we can support.
1363           For example, the HEVC 444 12 bits decoder context, all the formats
1364           it reports is not supported now, which make the formats list a NULL
1365           array. We should check that pointer before we use it.
1366           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/372>
1367
1368 2020-07-03 19:28:28 +0800  He Junyan <junyan.he@intel.com>
1369
1370         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1371           libs: encoder: h265: choose the profile based on allowed list.
1372           We can decide the profile in ensure_profile(), based on allowed list
1373           passed by the encode. We also need to check whether the entrypoint is
1374           available. Once it is decided, no need to check the hw entrypoint
1375           them again.
1376           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/349>
1377
1378 2020-07-29 22:05:41 +0800  He Junyan <junyan.he@intel.com>
1379
1380         * gst/vaapi/gstvaapiencode_h265.c:
1381           plugins: encode: h265: set all allowed profiles to encoder.
1382           We should collect all allowed profiles and pass them to the inside
1383           encoder, rather than just calculate the max profile idc.
1384           The allowed profiles should also be supported by the HW.
1385           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/349>
1386
1387 2020-07-29 22:32:55 +0800  He Junyan <junyan.he@intel.com>
1388
1389         * gst-libs/gst/vaapi/gstvaapidisplay.c:
1390         * gst-libs/gst/vaapi/gstvaapidisplay.h:
1391           libs: display: Add a helper function to get profiles by codec.
1392           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/349>
1393
1394 2020-07-03 01:28:28 +0800  He Junyan <junyan.he@intel.com>
1395
1396         * gst/vaapi/gstvaapiencode_h265.c:
1397           plugins: encode: h265: collect all allowed profiles to encoder.
1398           We should collect all allowed profiles and pass them to the inside
1399           encoder, rather than just calculate the max profile idc.
1400           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/349>
1401
1402 2020-07-03 00:53:31 +0800  He Junyan <junyan.he@intel.com>
1403
1404         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1405         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
1406         * gst/vaapi/gstvaapiencode_h265.c:
1407           libs: encoder: h265: modify set_max_profile to set_allowed_profiles.
1408           In h265, bigger profile idc may not be compatible with the small profile
1409           idc. And more important, there are multi profiles with the same profile
1410           idc. Such as main-422-10, main-444 and main-444-10, they all have profile
1411           idc 4.
1412           So recording the max profile idc is not enough, the encoder needs to know
1413           all allowed profiles when deciding the real profile.
1414           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/349>
1415
1416 2020-07-02 23:33:31 +0800  He Junyan <junyan.he@intel.com>
1417
1418         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1419           libs: encoder: h265: No need to check hw_max_profile.
1420           In h265, higher profile idc number does not mean better compression
1421           performance and may be not compatible with the lower profile idc.
1422           So, it is not suitable to find the heighest idc for hw to ensure the
1423           compatibility.
1424           On the other side, when the entrypoint of the selected profile is valid,
1425           it means the hw really support this profile, no need to check it again.
1426           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/349>
1427
1428 2020-04-08 19:41:09 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1429
1430         * gst/vaapi/gstvaapipostproc.c:
1431           vaapipostproc: early return if fixate srcpad caps fails
1432           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/371>
1433
1434 2020-07-29 13:39:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1435
1436         * gst/vaapi/gstvaapipluginutil.c:
1437           vaapipluginutil: simplify gst_vaapi_find_preferred_caps_feature()
1438           Generalize the way how the preferred color format is chosen. Also
1439           use new GStreamre API as syntatic sugar.
1440           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/370>
1441
1442 2020-07-29 14:22:18 +0800  He Junyan <junyan.he@intel.com>
1443
1444         * gst-libs/gst/vaapi/gstvaapidecoder.c:
1445         * gst-libs/gst/vaapi/gstvaapiprofile.c:
1446         * gst-libs/gst/vaapi/gstvaapiprofile.h:
1447         * gst/vaapi/gstvaapidecode.c:
1448         * gst/vaapi/gstvaapiencode.c:
1449           libs: profile: Use get_codec_from_caps to get codec type.
1450           There is no need to get a profile from the caps and then convert
1451           that profile into codec type. We can get the codec type by caps's
1452           name easily.
1453           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/358>
1454
1455 2020-07-12 19:42:40 +0800  He Junyan <junyan.he@intel.com>
1456
1457         * gst-libs/gst/vaapi/gstvaapiprofile.c:
1458           libs: profile: h265: Fix return value of from_codec_data_h265.
1459           profile_from_codec_data_h265() returns wrong GstVaapiProfile for h265.
1460           The codec data of caps contain the profile IDC, but the mapping between
1461           profile IDC and GstVaapiProfile is wrong.
1462           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/358>
1463
1464 2020-07-07 00:46:23 +0800  He Junyan <junyan.he@intel.com>
1465
1466         * gst/vaapi/gstvaapiencode_vp9.c:
1467           plugins: encode: vp9: Implement vp9's allowed_profiles() func.
1468           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/188>
1469
1470 2020-07-08 16:30:17 +0800  He Junyan <junyan.he@intel.com>
1471
1472         * gst/vaapi/gstvaapiencode_h264.c:
1473         * gst/vaapi/gstvaapiencode_h265.c:
1474         * gst/vaapi/gstvaapipluginutil.c:
1475         * gst/vaapi/gstvaapipluginutil.h:
1476           plugin: util: rename h26x_encoder_get_profiles_from_caps().
1477           Change its name to encoder_get_profiles_from_caps(). Other codecs such
1478           as VP9 also needs to use this function.
1479           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/188>
1480
1481 2020-07-06 23:35:12 +0800  He Junyan <junyan.he@intel.com>
1482
1483         * gst-libs/gst/vaapi/gstvaapiutils_vpx.c:
1484         * gst-libs/gst/vaapi/gstvaapiutils_vpx.h:
1485         * gst-libs/gst/vaapi/meson.build:
1486           libs: utils: vpx: Add utils vpx to handle VP8/9 misc things.
1487           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/188>
1488
1489 2020-07-29 10:17:31 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1490
1491         * gst-libs/gst/vaapi/gstvaapicontext.c:
1492         * gst-libs/gst/vaapi/gstvaapidisplay.c:
1493         * gst-libs/gst/vaapi/gstvaapidisplay.h:
1494           libs: display, context: handle broken jpeg decoder for i965 driver
1495           JPEG decoding in i965 driver is pretty much broken, and the driver is
1496           deprecated which mean authors only accept trivial fixes.
1497           Surfaces for JPEG decoder context in i965 only handle IMC3[1] color
1498           format which is not a common format in GStreamer. It can export it to
1499           I420 at mapping raw bytes, but DMABuf exporting is problematic.
1500           This patch artificially adds NV12 to the context format list when it's
1501           JPEG decoder for i965 and force the usage of old VA-API for surface
1502           creation without specifying color format. Also it artificially
1503           disables the DMABuf announcement.
1504           1. https://docs.microsoft.com/en-us/windows/win32/medfound/recommended-8-bit-yuv-formats-for-video-rendering#420-formats-16-bits-per-pixel
1505           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/369>
1506
1507 2020-07-29 12:02:50 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1508
1509         * gst-libs/gst/vaapi/gstvaapicontext.c:
1510           libs: context: change function to internal code style
1511           Instead of a getter the function `get_preferred_format()` to
1512           `ensure_preferred_format()` which aligns to the code style.
1513           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/369>
1514
1515 2020-07-28 20:00:09 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1516
1517         * gst/vaapi/gstvaapidecode.c:
1518           vaapidecode: always merge profile caps in sink caps
1519           This commit fixes a regression of e962069d, where if the profile's
1520           caps doesn't have a caps profile, it's ignored.
1521           This patch add a conditional jump if the caps doesn't have a profile
1522           field to merge it.
1523           Fixes: #271
1524           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/368>
1525
1526 2020-07-28 12:22:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1527
1528         * meson.build:
1529           build: request libdrm >= 2.4.98 and fallback
1530           Fixes: #270
1531           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/367>
1532
1533 2020-05-18 17:32:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1534
1535         * gst/vaapi/gstvaapidecode.c:
1536           vaapidecode: dma caps only use reported color format
1537           This fix pipelines without vaapipostproc after vaapi decoder, such as
1538           gst-launch-1.0 filesrc location=~/file.mp4 ! parsebin ! vaapih264dec ! glimagesink
1539           On EGL platforms, so DMABuf is used.
1540           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/366>
1541
1542 2020-02-07 17:10:45 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1543
1544         * gst/vaapi/gstvaapidecode.c:
1545           vaapidecode: use allowed srcpad caps for caps query
1546           Instead of using just the template caps use the current allowed
1547           srcpad caps, which is created considering the current decoder
1548           context.
1549           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/366>
1550
1551 2020-01-22 17:41:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1552
1553         * gst-libs/gst/vaapi/gstvaapidecoder.c:
1554         * gst-libs/gst/vaapi/gstvaapidecoder.h:
1555         * gst/vaapi/gstvaapidecode.c:
1556           vaapidecode: build allowed srcpad caps from va context
1557           Instead of generating allowed srcpad caps with generic information,
1558           now it takes the size an formats limits from the decoder's context.
1559           This is possible since srcpad caps are generated after the internal
1560           decoder is created.
1561           The patch replaces gst_vaapi_decoder_get_surface_formats() with
1562           gst_vaapi_decoder_get_suface_attributes().
1563           From these attributes, formats are only used for VASurface memory
1564           caps feature. For system memory caps feature, the old
1565           gst_vaapi_plugin_get_allowed_srcpad_caps() is still used, since
1566           i965 jpeg decoder cannot deliver mappable format for gstreamer.
1567           And for the other caps features (dmabuf and texture upload) the
1568           same static list are used.
1569           This patch also adds DMABuf caps feature only if the context
1570           supports that memory type. Nonetheless, we keep the pre-defined
1571           formats since they are the subset of common derive formats formats
1572           supported either by amd/gallium and both intel drivers, since,
1573           when exporting the fd through vaAcquireBufferHandle()/
1574           vaReleaseBufferHandle(), the formats of the derivable image cannot
1575           be retriebable from the driver. Later we'll use the attribute
1576           formats for the DMABuf feature too, when the code be ported to
1577           vaExportSurfaceHandle().
1578           Finally, the allowed srcpad caps are removed if the internal decoder
1579           is destroyed, since context attribues will change.
1580           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/366>
1581
1582 2020-02-07 16:50:52 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1583
1584         * gst/vaapi/gstvaapidecode.c:
1585           vaapidecode: reorder src caps template
1586           Since negotiation depends on caps order, first is VA, then DMABuf,
1587           later GLUploadTexture (deprecated) and finally raw.
1588           Also, for decoders, the possible available color formats for DMABuf
1589           is extended to all the possible VA color formats.
1590           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/366>
1591
1592 2020-07-22 10:01:41 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1593
1594         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1595           libs: window: wayland: use dmabuf protocol if available
1596           Currently vaGetSurfaceBufferWl() is used to create wayland buffers.
1597           Unfortunately this is not implemented by the 'media-driver' and Mesa VA-API
1598           drivers. And the implementation provided by 'intel-vaapi-driver' is not
1599           compatible with a Wayland server that uses the iris Mesa driver.
1600           So create the Wayland buffers manually with the zwp_linux_dmabuf_v1 wayland
1601           protocol. Formats and modifiers supported by the Wayland server are taken
1602           into account. If necessary, VPP is enabled to convert the buffer into a
1603           supported format.
1604           Fall back to vaGetSurfaceBufferWl() if creating buffers via dambuf protocol
1605           fails.
1606           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/346>
1607
1608 2020-07-21 10:03:19 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1609
1610         * gst-libs/gst/vaapi/gstvaapiwindow.c:
1611         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
1612           libs: window: allow choosing the format for the vpp pool
1613           Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
1614           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/346>
1615
1616 2020-06-28 17:42:29 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1617
1618         * gst-libs/gst/vaapi/video-format.c:
1619         * gst-libs/gst/vaapi/video-format.h:
1620           video-format: add DRM formats to the mapping table
1621           This will be needed for the DMABuf protocol support to map DRM formats to
1622           vaapi and gstreamer formats.
1623           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/346>
1624
1625 2020-07-22 09:36:18 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1626
1627         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
1628         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
1629         * gst-libs/gst/vaapi/meson.build:
1630           libs: display: wayland: add basic dmabuf protocol support
1631           This is just the basic infrastructure. Hook up the interface and collect
1632           all supported formats.
1633           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/346>
1634
1635 2020-07-06 09:59:40 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
1636
1637         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
1638           libs: window: wayland: wait for configure before committing the first buffer
1639           Committing the first buffer for a surface must not be done before
1640           ack_configure() has been sent for the xdg_surface.
1641           With weston, the commit will fail with "error 3: xdg_surface has never been
1642           configured".
1643           Wait in gst_vaapi_window_wayland_show() until configure is done to avoid
1644           this.
1645           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/346>
1646
1647 2020-07-01 14:50:51 +0800  He Junyan <junyan.he@hotmail.com>
1648
1649         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1650           libs: encoder: h265: set no P frame automatically.
1651           The double reference lists may be required by drivers and there should
1652           be no P frames in the of stream. The old way of converting P frames to
1653           B frames is by setting `low-delay-b` property, which is unconvenient
1654           and has bad user experience, since most of the users do not know when
1655           to set this property, and if it is not set correctly, the encoding
1656           pipeline fails or even hangs on some platforms. VA driver now provides
1657           a attribute to query whether both reference lists must be un-NULL for
1658           a profile/entrypoint pair.
1659           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/284>
1660
1661 2020-04-15 16:26:55 +0800  He Junyan <junyan.he@hotmail.com>
1662
1663         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1664           libs: encoder: h265: Deprecate the low-delay-b property.
1665           In HEVC, P and B definitions are different from AVC: P frames have
1666           just one reference list and so 1 MV, while B frames have two reference
1667           lists and so 2 MVs. No matter B or P, ist reference lists can contain
1668           forward/backward reference. So P and B can both have bi-directions
1669           dependency, the difference is just their reference list
1670           number (i.e. MV number). This is different from the AVC.
1671           The *low delay b mode* refers to a special HEVC mode, in which the
1672           stream just contain I and B frames, without P frames, and all B frames
1673           only have forward direction dependencies (i.e. all inter frames have 2
1674           reference lists but no backward reference in both lists).  This is
1675           similar to AVC I/P mode, but changing the P to the forward dependent
1676           B.
1677           The `low-delay-b` property is now just used to simply convert all P
1678           frames to B frames when driver does not support P frames (so both
1679           reference lists have the same references frames). This is a little
1680           different from the meaning of low delay b mode (the two ref lists may
1681           have the different reference frames). And the driver now can report
1682           whether it supports P frames correctly, so there is no need to use
1683           this property and deprecate it.
1684           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/284>
1685
1686 2020-07-24 12:54:31 +0200  Marc Leeman <m.leeman@televic.com>
1687
1688         * gst/vaapi/gstvaapipostproc.c:
1689           postproc: reconfigure after changing cropping values
1690           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/365>
1691
1692 2020-07-09 13:49:29 +0800  He Junyan <junyan.he@intel.com>
1693
1694         * gst/vaapi/gstvaapiencode.h:
1695         * gst/vaapi/gstvaapiencode_h264.c:
1696         * gst/vaapi/gstvaapiencode_h265.c:
1697         * gst/vaapi/gstvaapiencode_jpeg.c:
1698         * gst/vaapi/gstvaapiencode_mpeg2.c:
1699         * gst/vaapi/gstvaapiencode_vp8.c:
1700         * gst/vaapi/gstvaapiencode_vp9.c:
1701           plugin: encode: Add static caps for template documentation.
1702           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1703
1704 2020-07-08 19:03:14 +0800  He Junyan <junyan.he@intel.com>
1705
1706         * gst/vaapi/gstvaapiencode_vp9.c:
1707           plugin: encode: vp9: Use the dynamically built src template caps.
1708           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1709
1710 2020-07-08 19:02:45 +0800  He Junyan <junyan.he@intel.com>
1711
1712         * gst/vaapi/gstvaapiencode_vp8.c:
1713           plugin: encode: vp8: Use the dynamically built src template caps.
1714           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1715
1716 2020-07-08 19:02:23 +0800  He Junyan <junyan.he@intel.com>
1717
1718         * gst/vaapi/gstvaapiencode_jpeg.c:
1719           plugin: encode: jpeg: Use the dynamically built src template caps.
1720           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1721
1722 2020-07-08 19:00:39 +0800  He Junyan <junyan.he@intel.com>
1723
1724         * gst/vaapi/gstvaapiencode_mpeg2.c:
1725           plugin: encode: mpeg2: Use the dynamically built src template caps.
1726           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1727
1728 2020-07-08 18:59:18 +0800  He Junyan <junyan.he@intel.com>
1729
1730         * gst/vaapi/gstvaapiencode_h265.c:
1731           plugin: encode: h265: Use the dynamically built src template caps.
1732           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1733
1734 2020-07-08 18:57:26 +0800  He Junyan <junyan.he@intel.com>
1735
1736         * gst/vaapi/gstvaapiencode_h264.c:
1737           plugin: encode: h264: Use the dynamically built src template caps.
1738           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1739
1740 2020-07-08 18:46:58 +0800  He Junyan <junyan.he@intel.com>
1741
1742         * gst/vaapi/gstvaapiencode.h:
1743         * gst/vaapi/gstvaapiencode_h264.c:
1744         * gst/vaapi/gstvaapiencode_h265.c:
1745         * gst/vaapi/gstvaapiencode_jpeg.c:
1746         * gst/vaapi/gstvaapiencode_mpeg2.c:
1747         * gst/vaapi/gstvaapiencode_vp8.c:
1748         * gst/vaapi/gstvaapiencode_vp9.c:
1749           plugin: encode: Store the coded caps in type's init data.
1750           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1751
1752 2020-07-08 18:30:00 +0800  He Junyan <junyan.he@intel.com>
1753
1754         * gst/vaapi/gstvaapipluginutil.c:
1755         * gst/vaapi/gstvaapipluginutil.h:
1756           plugin: util: add helper function build_template_coded_caps_by_codec()
1757           Like build_template_raw_caps_by_codec(), this function can detect and
1758           build the caps for specified codec based on the query of the profiles.
1759           The result is coded caps such as video/x-h265, video/x-h264. The result
1760           can be used as the template of encode's src or decode's sink.
1761           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1762
1763 2020-07-07 17:16:41 +0800  He Junyan <junyan.he@intel.com>
1764
1765         * gst/vaapi/gstvaapiencode.h:
1766         * gst/vaapi/gstvaapipluginutil.c:
1767         * gst/vaapi/gstvaapipluginutil.h:
1768           plugins: utils: rename build_template_caps_by_codec.
1769           Rename the function build_template_caps_by_codec() to the name of
1770           build_template_raw_caps_by_codec(). It can be used to collect all
1771           raw video formats for encode's sink and decode's src.
1772           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/354>
1773
1774 2020-07-21 20:14:57 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1775
1776         * gst/vaapi/gstvaapidecode.c:
1777         * gst/vaapi/gstvaapipluginutil.c:
1778         * gst/vaapi/gstvaapipluginutil.h:
1779           vaapidecode: merge common profiles before setting size range
1780           The synthetic profiles, such as H264 baseline, H265 intra, etc. are
1781           added at the end of processing all available VA profiles. This
1782           generated an non-optimal caps for negotiation, since the synthetic
1783           profiles don't have frame size ranges.
1784           This patch adds those possible synthetic profiles when the associated
1785           profile is processed, with its frame size ranges.
1786           Now allowed sink caps are simpler.
1787           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/363>
1788
1789 2020-07-21 22:05:08 +0800  He Junyan <junyan.he@intel.com>
1790
1791         * gst/vaapi/gstvaapipluginutil.c:
1792           plugin: util: Add the missing DMA buffer input in template caps.
1793           We pass the wrong parameter to gst_vaapi_build_caps_from_formats()
1794           and lose the DMA feature in caps.
1795           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/362>
1796
1797 2020-07-14 18:13:56 +0800  He Junyan <junyan.he@intel.com>
1798
1799         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
1800         * gst-libs/gst/vaapi/gstvaapiprofile.c:
1801         * gst-libs/gst/vaapi/gstvaapiprofile.h:
1802         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
1803         * gst-libs/gst/vaapi/video-format.c:
1804         * gst/vaapi/gstvaapidecode.c:
1805           libs: decoder: H265: Add MAIN_12 profile supporting.
1806           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/359>
1807
1808 2020-07-09 23:07:38 +0800  He Junyan <junyan.he@intel.com>
1809
1810         * gst-libs/gst/vaapi/gstvaapiimage.c:
1811         * gst-libs/gst/vaapi/video-format.c:
1812           video-format: Add P012_LE format.
1813           It can be used as HEVC YUV_4:2:0 12bits stream's decoder output, and
1814           also can be used as the input format for encoding HEVC YUV_4:2:0 12bits
1815           stream.
1816           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/359>
1817
1818 2020-07-17 00:45:53 +0800  He Junyan <junyan.he@intel.com>
1819
1820         * gst/vaapi/gstvaapidecode.c:
1821           plugin: decode: correct ensure_allowed_sinkpad_caps's caps.
1822           The decode allowed caps returned by ensure_allowed_sinkpad_caps()
1823           contains all profiles of the whole VAAPI, like:
1824           image/jpeg, width=(int)[ 0, 1638 4 ], height=(int)[ 0, 16384 ];
1825           video/mpeg, mpegversion=(int)2, profile=(string){ simple, main },
1826           width=(int)[ 0, 2048 ], height=(int)[ 0, 2048 ]; video/x-h264,
1827           profile=(string){ main, high, constrained-baseline }, width=(int)[ 0,
1828           4096 ], height=(int)[ 0, 4096 ]; video/x-h264, profile=(string){
1829           constrained-high, progressive-high, baseline }; video/x-h265,
1830           profile=(string){ main, main-intra }, width=(int)[ 0, 8192 ],
1831           height=(int)[ 0, 8192 ]; video/x-vp8, width=(int)[ 0, 4096 ],
1832           height=(int)[ 0, 4096 ]; video/x-wmv, wmvversion=(int)3,
1833           format=(string)WVC1, profile=(string)advanced, width=(int)[ 0, 3840 ],
1834           height=(int)[ 0, 3840 ]; video/x-wmv, wmvversion=(int)3,
1835           profile=(string){ simple, main }, width=(int)[ 0, 3840 ],
1836           height=(int)[ 0, 3840 ]
1837           Which is verbose and may have latent problems. It should only contains
1838           the profiles belong to its codec type. For example, h265 should only
1839           return:
1840           video/x-h265, profile=(string){ main, main-intra },
1841           width=(int)[ 0, 8192 ], height=(int)[ 0, 8192 ]
1842           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/361>
1843
1844 2020-07-13 11:06:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1845
1846         * gst/vaapi/gstvaapidecodebin.c:
1847           vaapidecodebin: don't force NV12 since P010_10LE is now possible
1848           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/360>
1849
1850 2020-07-12 20:34:31 +0800  He Junyan <junyan.he@intel.com>
1851
1852         * gst-libs/gst/vaapi/gstvaapiprofile.c:
1853           libs: profile: The VP9 profiles' name should be just "0,1,2,3"
1854           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/357>
1855
1856 2020-07-08 17:33:32 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1857
1858         * gst-libs/gst/vaapi/gstvaapidecoder.c:
1859         * gst-libs/gst/vaapi/gstvaapidecoder.h:
1860         * gst/vaapi/gstvaapidecode.c:
1861         * gst/vaapi/gstvaapidecode.h:
1862         * tests/internal/simple-decoder.c:
1863           vaapidecode: Remove NO_SURFACE error handling
1864           Since surfaces are not bounded to decoding context it makes no sense
1865           to keep the surface semaphore. This patch removes the handling of
1866           this error.
1867           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/353>
1868
1869 2020-07-08 17:48:57 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1870
1871         * gst/vaapi/gstvaapidecode.c:
1872         * gst/vaapi/gstvaapidecode.h:
1873           Revert "vaapidecode: drop non-keyframe in reverse playback"
1874           Since the number of surfaces are not bounded to decoder context,
1875           this hack is no longer needed.
1876           This reverts commit 19c0c8a97385ce119440c4aad2d689fc79297435.
1877           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/353>
1878
1879 2019-12-06 14:21:33 +0800  He Junyan <junyan.he@hotmail.com>
1880
1881         * gst-libs/gst/vaapi/gstvaapicontext.c:
1882           libs: decoder: context: remove surfaces binding from context.
1883           The vaCreateContext do not need to specify the surfaces for the
1884           context creation now. So we do not need to bind any surface to the
1885           context anymore. Surfaces should be the resource belong to display
1886           and just be used in encoder/decoder context.
1887           The previous manner has big limitation for decoder. The context's
1888           surface number is decided by dpb size. All the surfaces in dpb will
1889           be attached to a gstbuffer and be pushed to down stream, and the
1890           decoder need to wait down stream free the surface and go on if not
1891           enough surface available. For more and more use cases, this causes
1892           deadlock. For example,
1893           gst-launch-1.0 filesrc location=a.h264 ! h264parse ! vaapih264dec
1894           ! x264enc ! filesink location=./output.h264
1895           will cause deadlock and make the whole pipeline hang.
1896           the x264enc encoder need to cache more than dpb size surfaces.
1897           The best solution is seperating the surfaces number and the dpb size.
1898           dpb and dpb size shoule be virtual concepts maintained by the decoder.
1899           And let the surfaces_pool in context maintain the re-use of all surfaces.
1900           For encoder, the situation is better, all the surfaces are just used
1901           as reference frame and no need to be pushed to down stream. We can
1902           just reserve and set the capacity of the surfaces_pool to meet the
1903           request.
1904           Fix: #147
1905           Fix: #88
1906           Co-Author: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1907           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/353>
1908
1909 2020-07-08 17:50:51 +0100  Tim-Philipp Müller <tim@centricular.com>
1910
1911         * meson.build:
1912         * scripts/extract-release-date-from-doap-file.py:
1913           meson: set release date from .doap file for releases
1914           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/355>
1915
1916 2020-07-08 11:57:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1917
1918         * gst/vaapi/gstvaapipluginbase.c:
1919           plugins: use VA allocator by default on raw caps
1920           Instead of using dmabuf allocator in source pad, when raw video caps
1921           are negotiated, it uses VA allocator as before, since it is stable
1922           in more use cases, for example transcoding, and more backend drivers.
1923           Dmabuf allocator is only used when dmabuf caps feature is negotiated.
1924           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/352>
1925
1926 2020-06-06 18:47:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1927
1928         * gst/vaapi/gstvaapi.c:
1929           vaapisink: rank it as secondary
1930           iHD doesn't provide a full implemention for rendering surfaces and
1931           i965 has problems in wayland. And I suspect this path is followed
1932           by other driver implementations.
1933           This patch demotes the rank of vaapisink to secondary, so it will
1934           not be autoplugged avoiding bad experience of users.
1935           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/336>
1936
1937 2020-06-19 10:44:50 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
1938
1939         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
1940         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
1941           libs: decoder: h264, h265: in context at least 16 reference surfaces
1942           Registering only stream's DBP size number of surfaces for decoding VA
1943           surfaces brings issues for certain streams. This change register all
1944           possible number of reference surfaces in a stream, which is 16.
1945           Fixes: #94
1946
1947 2020-07-04 21:21:57 +0800  He Junyan <junyan.he@intel.com>
1948
1949         * gst/vaapi/gstvaapiencode_h265.c:
1950           plugins: encode: h265: Add profile,level,tier to output caps.
1951           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/350>
1952
1953 2020-07-04 21:08:20 +0800  He Junyan <junyan.he@intel.com>
1954
1955         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1956           libs: encoder: h265: init tier to GST_VAAPI_TIER_H265_UNKNOWN.
1957           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/350>
1958
1959 2020-07-04 21:05:49 +0800  He Junyan <junyan.he@intel.com>
1960
1961         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1962           libs: encoder: h265: fix a bug to get get_profile_tier_level.
1963           0 is a valid value for h265 tier.
1964           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/350>
1965
1966 2020-07-02 19:19:35 +0800  He Junyan <junyan.he@intel.com>
1967
1968         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
1969           libs: encoder: h265: no need to check the high compression tune.
1970           The h265 encoder just support tune mode:
1971           (0): none             - None
1972           (3): low-power        - Low power mode
1973           So, no need to check and set the high compression parameters.
1974           And by the way, the current ensure_tuning_high_compression manner
1975           of choosing the hightest profile idc as the best compression profile
1976           is not correct. Unlike h264, in h265 the higher profile idc number
1977           does not mean it has more compression tools, and so it has better
1978           compression performance. It may even be un-compatible with the lower
1979           profile idc. For example, the SCREEN_CONTENT_CODING profile with idc
1980           9 is not compatible with 3D_MAIN profile with idc 8.
1981           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/348>
1982
1983 2020-07-03 02:04:14 +0100  Tim-Philipp Müller <tim@centricular.com>
1984
1985         * meson.build:
1986           Back to development
1987
1988 === release 1.17.2 ===
1989
1990 2020-07-03 00:36:40 +0100  Tim-Philipp Müller <tim@centricular.com>
1991
1992         * ChangeLog:
1993         * NEWS:
1994         * RELEASE:
1995         * gstreamer-vaapi.doap:
1996         * meson.build:
1997           Release 1.17.2
1998
1999 2020-06-23 10:20:46 -0400  Thibault Saunier <tsaunier@igalia.com>
2000
2001         * docs/gst_plugins_cache.json:
2002         * gst/vaapi/gstvaapiencode.c:
2003           docs: Mark parent classes as plugin API
2004
2005 2020-06-23 00:07:57 +0200  Mathieu Duponchelle <mathieu@centricular.com>
2006
2007         * docs/meson.build:
2008           meson: mark plugins cache target as always stale
2009
2010 2020-06-19 23:34:11 -0400  Thibault Saunier <tsaunier@igalia.com>
2011
2012         * docs/gst_plugins_cache.json:
2013           doc: Stop documenting properties from parents
2014
2015 2020-06-20 00:28:35 +0100  Tim-Philipp Müller <tim@centricular.com>
2016
2017         * meson.build:
2018           Back to development
2019
2020 === release 1.17.1 ===
2021
2022 2020-06-19 19:27:11 +0100  Tim-Philipp Müller <tim@centricular.com>
2023
2024         * ChangeLog:
2025         * NEWS:
2026         * RELEASE:
2027         * gstreamer-vaapi.doap:
2028         * meson.build:
2029           Release 1.17.1
2030
2031 2020-06-19 15:21:56 +0100  Tim-Philipp Müller <tim@centricular.com>
2032
2033         * docs/gst_plugins_cache.json:
2034         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
2035         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
2036         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
2037         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
2038           Update plugin docs and add more plugins
2039           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/344>
2040
2041 2020-06-11 08:32:05 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
2042
2043         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
2044           libs: wayland: display: only handle the first output
2045           Right now, all outputs are handled. The means that the registry object for
2046           all but the last are leaked. As a result the sizes are not used correctly.
2047           With two outputs, at first the mode and physical size of the second output
2048           are used. If the first output changes the mode, then the physical size of
2049           the second output is used in combination with the resolution of the first
2050           output. The resulting pixel aspect ratio is incorrect.
2051           There seems to be no way to determine on which output the window is shown,
2052           so just use the first one to get consistent results.
2053           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/341>
2054
2055 2020-06-11 18:15:17 +0800  He Junyan <junyan.he@hotmail.com>
2056
2057         * gst/vaapi/gstvaapipluginbase.c:
2058           plugins: pluginbase: Do not destroy display when _close()
2059           When the element's state changes to NULL, it can still receive
2060           queries, such as the image formats. The display is needed in such
2061           queries but not well protected for MT safe.
2062           For example, ensure_allowed_raw_caps() may still use the display
2063           while it is disposed by gst_vaapi_plugin_base_close() because of
2064           the state change.
2065           We can keep the display until the element is destroyed. When the
2066           state changes to NULL, and then changes to PAUSED again, the display
2067           can be correctly set(if type changes), or leave untouched.
2068           Fix: #260
2069           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/343>
2070
2071 2020-06-09 21:19:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2072
2073         * gst-libs/gst/vaapi/gstvaapicontext.c:
2074           libs: context: use correct printing modifier
2075           GstVaapiID is an alias of gsize, thus its modifier is platform
2076           dependant.
2077           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/340>
2078
2079 2020-06-06 00:42:46 +0200  Mathieu Duponchelle <mathieu@centricular.com>
2080
2081         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2082         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
2083         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2084         * gst-libs/gst/vaapi/gstvaapifilter.c:
2085         * gst-libs/gst/vaapi/gstvaapivalue.c:
2086           plugins: uddate gst_type_mark_as_plugin_api() calls
2087
2088 2020-03-05 18:12:27 +0800  He Junyan <junyan.he@hotmail.com>
2089
2090         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2091           libs: encoder: h265: Enable tile in VA command.
2092           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2093
2094 2020-03-05 17:56:51 +0800  He Junyan <junyan.he@hotmail.com>
2095
2096         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2097           libs: encoder: h265: Add ensure_tile to calculate tiles.
2098           We need consider tiles and slices together, separate tiles uniformly
2099           and then assign slices uniformly to each tiles.
2100           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2101
2102 2020-04-30 14:19:29 +0800  He Junyan <junyan.he@hotmail.com>
2103
2104         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2105         * gst-libs/gst/vaapi/gstvaapidisplay.h:
2106           libs: display: add a quirk for iHD driver tile encoding.
2107           The iHD driver has a requirement that one slice can not span tiles
2108           when tile is enabled, which is not required by hevc spec.
2109           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2110
2111 2020-03-05 17:40:43 +0800  He Junyan <junyan.he@hotmail.com>
2112
2113         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2114           libs: encoder: h265: Add tile info to bitstream.
2115           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2116
2117 2020-03-05 17:29:41 +0800  He Junyan <junyan.he@hotmail.com>
2118
2119         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2120           libs: encoder: h265: promote level if tile is enabled.
2121           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2122
2123 2020-03-05 17:07:28 +0800  He Junyan <junyan.he@hotmail.com>
2124
2125         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2126         * gst-libs/gst/vaapi/gstvaapiutils_h265.h:
2127           libs: encoder: h265: Add num-tile-cols/rows properties.
2128           These properties are used for support of tile encoding. We just
2129           support uniform mode of tile encoding, that is, separating picture
2130           equally by (num-tile-cols X num-tile-rows).
2131           According to HEVC spec A1, the max number of tiles in column is 20
2132           and in rows is 22, so add two constant definitions.
2133           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2134
2135 2020-03-05 16:21:24 +0800  He Junyan <junyan.he@hotmail.com>
2136
2137         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2138           libs: encoder: h265: extract slice creation from add_slice_headers
2139           extract slice creation details from add_slice_headers, and let the
2140           add_slice_headers just focuses on calculating slice start address
2141           and CTU number.
2142           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2143
2144 2020-03-05 12:44:45 +0800  He Junyan <junyan.he@hotmail.com>
2145
2146         * gst-libs/gst/vaapi/gstvaapiencoder.c:
2147         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
2148           libs: encoder: Add a helper function to check the tile support.
2149           Encoding by tiles separation now is a very common feature for all
2150           relative new codecs, such as HEVC, AV1, and VP9. Just make this
2151           check as a common helper function of the encoder base class.
2152           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/294>
2153
2154 2020-05-13 18:02:07 +0800  He Junyan <junyan.he@hotmail.com>
2155
2156         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
2157         * gst-libs/gst/vaapi/gstvaapiprofile.c:
2158         * gst-libs/gst/vaapi/gstvaapiprofile.h:
2159         * gst-libs/gst/vaapi/gstvaapiutils.c:
2160         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
2161           libs: decoder: H265: Add SCC_MAIN_444_10 profile support.
2162           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/311>
2163
2164 2020-05-13 16:05:59 +0800  He Junyan <junyan.he@hotmail.com>
2165
2166         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
2167           libs: decoder: update reference list for SCC.
2168           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/311>
2169
2170 2020-05-13 15:46:29 +0800  He Junyan <junyan.he@hotmail.com>
2171
2172         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
2173           libs: decoder: H265: Fill picture and slice SCC parameters.
2174           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/311>
2175
2176 2020-05-13 15:00:53 +0800  He Junyan <junyan.he@hotmail.com>
2177
2178         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
2179           libs: util: H265: recognize the SCC profiles.
2180           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/311>
2181
2182 2020-05-13 14:53:46 +0800  He Junyan <junyan.he@hotmail.com>
2183
2184         * gst-libs/gst/vaapi/gstvaapiprofile.c:
2185         * gst-libs/gst/vaapi/gstvaapiprofile.h:
2186         * gst-libs/gst/vaapi/gstvaapiutils.c:
2187           libs: profile: Add screen extended main/main10/main444 define.
2188           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/311>
2189
2190 2020-04-03 14:53:40 +0800  He Junyan <junyan.he@hotmail.com>
2191
2192         * gst-libs/gst/vaapi/gstvaapiencoder.c:
2193         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2194         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
2195         * gst/vaapi/gstvaapiencode_h265.c:
2196           libs: encoder: h265: Add support for MAIN 4:2:2 10 profile.
2197           Using YUY2 as the input of the encoder can generate main 4:2:2 bit
2198           streams and using Y210 as the input of the encoder can generate main
2199           4:2:2 10 bit streams.
2200           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/334>
2201
2202 2020-05-29 16:40:20 +0800  He Junyan <junyan.he@hotmail.com>
2203
2204         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2205           libs: encoder: h265: Use correct index for SubWidthC and SubHeightC.
2206           We need to use the chroma_format_idc as the index for getting the
2207           SubWidthC and SubHeightC values as the spec 6.1(table 6-1) defines.
2208           The wrong SubWidthC or SubHeightC make us calculate a wrong right
2209           or bottom offset for crop size and generate garbage in output.
2210           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/334>
2211
2212 2020-05-29 15:37:24 +0800  He Junyan <junyan.he@hotmail.com>
2213
2214         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
2215           libs: encoder: h265: Fix chrome idc for 444 10 bits
2216           GST_VAAPI_CHROMA_TYPE_YUV444_10BPP should also set chroma_format_idc
2217           to 3 as GST_VAAPI_CHROMA_TYPE_YUV444 does.
2218           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/334>
2219
2220 2020-06-03 18:37:22 -0400  Thibault Saunier <tsaunier@igalia.com>
2221
2222         * docs/meson.build:
2223           doc: Require hotdoc >= 0.11.0
2224
2225 2020-06-03 18:49:53 -0400  Thibault Saunier <tsaunier@igalia.com>
2226
2227         * gst/vaapi/gstvaapipostproc.c:
2228           doc: Fix wrong link to GstVideoDirectionMethod
2229
2230 2020-06-03 17:38:10 -0400  Thibault Saunier <tsaunier@igalia.com>
2231
2232         * docs/gst_plugins_cache.json:
2233         * meson_options.txt:
2234           docs: Update plugin cache with the new format
2235           And fix the default URL which should not be inside quotes.
2236
2237 2020-06-03 17:37:48 -0400  Thibault Saunier <tsaunier@igalia.com>
2238
2239         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2240         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
2241         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2242         * gst-libs/gst/vaapi/gstvaapifilter.c:
2243         * gst-libs/gst/vaapi/gstvaapivalue.c:
2244         * gst/vaapi/gstvaapipostproc.c:
2245           Use gst_type_mark_as_plugin_api() for all non-element plugin types
2246
2247 2020-05-23 22:09:17 +0800  He Junyan <junyan.he@hotmail.com>
2248
2249         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
2250         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
2251         * gst-libs/gst/vaapi/gstvaapicontext.h:
2252         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
2253         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
2254         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
2255         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
2256         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
2257         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
2258         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
2259         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
2260         * gst-libs/gst/vaapi/gstvaapiimage.h:
2261         * gst-libs/gst/vaapi/gstvaapiobject.c:
2262         * gst-libs/gst/vaapi/gstvaapiobject.h:
2263         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
2264         * gst-libs/gst/vaapi/gstvaapiprofile.h:
2265         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
2266         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
2267         * gst-libs/gst/vaapi/gstvaapisurface.h:
2268         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
2269         * gst-libs/gst/vaapi/gstvaapivideopool.c:
2270         * gst-libs/gst/vaapi/meson.build:
2271           libs: delete all gstvaapiobject related files.
2272           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/331>
2273
2274 2020-05-23 20:48:54 +0800  He Junyan <junyan.he@hotmail.com>
2275
2276         * gst-libs/gst/vaapi/gstvaapisurface.c:
2277           libs: surface: return fail immediately if can not create subpicture
2278           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/331>
2279
2280 2020-05-23 14:00:58 +0800  He Junyan <junyan.he@hotmail.com>
2281
2282         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
2283         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
2284         * gst-libs/gst/vaapi/gstvaapisurface.c:
2285         * tests/internal/image.c:
2286           libs: subpicture: Make subpicture a standard GstMiniObject.
2287           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/331>
2288
2289 2020-05-26 02:19:15 +0800  He Junyan <junyan.he@hotmail.com>
2290
2291         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
2292           libs: decoder: h264: Add ref flags for splited field.
2293           When split one frame into fields, the second field should also
2294           copy the reference flags.
2295           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/333>
2296
2297 2020-05-25 15:46:58 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2298
2299         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
2300           libs: decoder: h264: disallow multiple slice group
2301           As far as we know there are no VAAPI drivers supporting FMO, which
2302           migth be used in baseline streams.
2303           This commit is a continuation of
2304           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/328
2305           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/332>
2306
2307 2020-05-20 10:50:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2308
2309         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
2310         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
2311         * gst/vaapi/gstvaapidecode.c:
2312         * gst/vaapi/gstvaapidecode_props.c:
2313         * gst/vaapi/gstvaapidecode_props.h:
2314           vaapidecoder: h264: remove baseline as constrained property
2315           From now on always the baseline is going to be treated as constrained without
2316           need of setting a property.
2317           Since the property was added along the development cycle (1.17 / commit
2318           866a9f06) and never released, we assume that it is safe to remove it.
2319           Fixes: #252
2320           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/328>
2321
2322 2020-05-21 11:37:36 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2323
2324         * README:
2325           README: update VP9 decoder and encoder
2326           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/330>
2327
2328 2020-05-21 13:42:47 +0800  Haihao Xiang <haihao.xiang@intel.com>
2329
2330         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
2331           vaapiencoder_h264: set direct_spatial_mv_pred_flag to true by default
2332           This flag is set to true by default in both MediaSDK and FFmpeg-vaapi,
2333           so let's align this plugin with other libraries / softwares.
2334           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/329>
2335
2336 2020-05-18 18:29:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2337
2338         * gst/vaapi/gstvaapivideobufferpool.c:
2339           vaapivideobufferpool: fix meta overwrite
2340           commit 7ac2a207 added a regression by erroneously assumed that
2341           GstVaapiVideoMeta is actually a GstMeta, which is not.
2342           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/327>
2343
2344 2020-05-17 09:55:42 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2345
2346         * gst/vaapi/gstvaapivideobufferpool.c:
2347         * gst/vaapi/gstvaapivideometa_texture.c:
2348         * gst/vaapi/gstvaapivideometa_texture.h:
2349           vaapivideopool: Set pooled flag to added metas.
2350           So this could hint filters how to use these metas.
2351           Had to change the return value for texutre upload meta in order
2352           to flag it.
2353           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/326>
2354
2355 2020-05-16 20:49:31 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2356
2357         * gst-libs/gst/vaapi/gstvaapicontext.c:
2358         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2359         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
2360         * gst-libs/gst/vaapi/gstvaapiparser_frame.c:
2361         * gst-libs/gst/vaapi/gstvaapisurface.c:
2362           libs: use array_unref() rather than array_free()
2363           It is more convinience and thread-safe.
2364           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/325>
2365
2366 2020-04-10 22:20:35 +0800  He Junyan <junyan.he@hotmail.com>
2367
2368         * gst/vaapi/gstvaapi.c:
2369           plugin: use register_type to replace get_type for encode init.
2370           xxx_register_type will detect the template sink caps and is needed
2371           to be called at init time.
2372           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2373
2374 2020-04-10 22:05:50 +0800  He Junyan <junyan.he@hotmail.com>
2375
2376         * gst/vaapi/gstvaapiencode_vp9.c:
2377         * gst/vaapi/gstvaapiencode_vp9.h:
2378           plugins: encode: Modify sink template of vp9 encode.
2379           Use gst_vaapi_detect_codec_caps to get more precise template caps.
2380           Also implement gst_vaapiencode_vp9_register_type, which should be
2381           called at plugin register time.
2382           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2383
2384 2020-04-10 22:05:18 +0800  He Junyan <junyan.he@hotmail.com>
2385
2386         * gst/vaapi/gstvaapiencode_vp8.c:
2387         * gst/vaapi/gstvaapiencode_vp8.h:
2388           plugins: encode: Modify sink template of vp8 encode.
2389           Use gst_vaapi_detect_codec_caps to get more precise template caps.
2390           Also implement gst_vaapiencode_vp8_register_type, which should be
2391           called at plugin register time.
2392           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2393
2394 2020-04-10 22:04:34 +0800  He Junyan <junyan.he@hotmail.com>
2395
2396         * gst/vaapi/gstvaapiencode_mpeg2.c:
2397         * gst/vaapi/gstvaapiencode_mpeg2.h:
2398           plugins: encode: Modify sink template of mpeg2 encode.
2399           Use gst_vaapi_detect_codec_caps to get more precise template caps.
2400           Also implement gst_vaapiencode_mpeg2_register_type, which should be
2401           called at plugin register time.
2402           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2403
2404 2020-04-10 22:03:49 +0800  He Junyan <junyan.he@hotmail.com>
2405
2406         * gst/vaapi/gstvaapiencode_h265.c:
2407         * gst/vaapi/gstvaapiencode_h265.h:
2408           plugins: encode: Modify sink template of h265 encode.
2409           Use gst_vaapi_detect_codec_caps to get more precise template caps.
2410           Also implement gst_vaapiencode_h265_register_type, which should be
2411           called at plugin register time.
2412           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2413
2414 2020-04-10 22:00:38 +0800  He Junyan <junyan.he@hotmail.com>
2415
2416         * gst/vaapi/gstvaapiencode_h264.c:
2417         * gst/vaapi/gstvaapiencode_h264.h:
2418           plugins: encode: Modify sink template of h264 encode.
2419           Use gst_vaapi_detect_codec_caps to get more precise template caps.
2420           Also implement gst_vaapiencode_h264_register_type, which should be
2421           called at plugin register time.
2422           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2423
2424 2020-04-10 22:11:34 +0800  He Junyan <junyan.he@hotmail.com>
2425
2426         * gst/vaapi/gstvaapiencode_jpeg.c:
2427         * gst/vaapi/gstvaapiencode_jpeg.h:
2428           plugins: encode: Modify sink template of jpeg encode.
2429           Use gst_vaapi_detect_codec_caps to get more precise template caps.
2430           Also implement gst_vaapiencode_jpeg_register_type, which should be
2431           called at plugin register time.
2432           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2433
2434 2020-04-23 00:02:02 +0800  He Junyan <junyan.he@hotmail.com>
2435
2436         * gst/vaapi/gstvaapiencode.h:
2437           plugin: encode: add a helper macro to register encode type.
2438           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2439
2440 2020-04-10 21:44:05 +0800  He Junyan <junyan.he@hotmail.com>
2441
2442         * gst/vaapi/gstvaapipluginutil.c:
2443         * gst/vaapi/gstvaapipluginutil.h:
2444           plugins: util: Add a helper function to detect supported caps.
2445           This helper function iterate all profiles and entrypoints belong
2446           to the specified codec, query the VAConfigAttribRTFormat and list
2447           all possible video formats.
2448           This function is used by each codec to get the template sink caps
2449           (for encode) or src caps(for decode) at register time, when just
2450           all possible formats are listed and no need to be very accurate.
2451           So there is no context created for the performance reason. Most
2452           codecs just use YUV kinds of formats as the input/output, so we do
2453           not include RGB kinds of formats. User can specified more formats
2454           in extra_fmts(For example, jpeg may need BGRA) if needed.
2455           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2456
2457 2020-04-10 21:27:32 +0800  He Junyan <junyan.he@hotmail.com>
2458
2459         * gst/vaapi/gstvaapiencode.c:
2460         * gst/vaapi/gstvaapipluginutil.c:
2461         * gst/vaapi/gstvaapipluginutil.h:
2462           plugin: encode: extract the allowed caps maker as a helper function.
2463           Extract all logic about making caps for encode's sink as a standalone
2464           helper function. It can be reused.
2465           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2466
2467 2020-04-10 21:21:43 +0800  He Junyan <junyan.he@hotmail.com>
2468
2469         * gst-libs/gst/vaapi/video-format.c:
2470         * gst-libs/gst/vaapi/video-format.h:
2471           libs: video-format: add a helper function of get_formats_by_chroma.
2472           The function iterates all supported video formats and returns the
2473           formats belong to the specified chroma type.
2474           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/315>
2475
2476 2020-05-16 21:03:32 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2477
2478         * gst-libs/gst/vaapi/gstvaapitexture.c:
2479         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
2480           libs: texture: remove unused headers include
2481           This is continuation of
2482           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/317
2483           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/324>
2484
2485 2020-05-16 19:58:25 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2486
2487         * gst-libs/gst/vaapi/gstvaapicodedbuffer.h:
2488         * gst-libs/gst/vaapi/gstvaapiimage.h:
2489         * gst-libs/gst/vaapi/gstvaapisurface.h:
2490           libs: removed duplicated function declarations
2491           Some headers had duplicated inlined function declaration. This was
2492           for gtkdoc, but now GStreamer uses hotdoc and the internal library
2493           documentation is not generated. So let's remove these extra lines.
2494           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/323>
2495
2496 2020-04-18 19:32:24 +0800  He Junyan <junyan.he@hotmail.com>
2497
2498         * gst-libs/gst/vaapi/gstvaapitexture.c:
2499         * gst-libs/gst/vaapi/gstvaapitexture.h:
2500         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
2501         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
2502         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
2503         * gst-libs/gst/vaapi/gstvaapitexturemap.c:
2504         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
2505         * gst/vaapi/gstvaapivideometa_texture.c:
2506         * tests/internal/test-textures.c:
2507           libs: texture: Make texture a standard GstMiniObject.
2508           We store GstVaapiTextureGLX and GstVaapiTextureEGL's private data in
2509           the qdata of miniobject and avoid extending the base texture class.
2510           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/317>
2511
2512 2020-04-26 12:33:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2513
2514         * README:
2515           Update README
2516           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/320>
2517
2518 2020-04-21 18:00:26 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2519
2520         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
2521           libs: display: drm: use g_strcmp0 to be null safe
2522           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/321>
2523
2524 2020-04-26 13:30:16 +0800  Haihao Xiang <haihao.xiang@intel.com>
2525
2526         * gst/vaapi/gstvaapipluginutil.c:
2527           vaapipluginutil: Use GST_VAAPI_DISPLAY_TYPE_DRM for Mesa3D GBM
2528           We may build this plugin with window system support but run it without
2529           window system. Without this patch, the following pipeline will trigger a
2530           segfault when running it without window system.
2531           gst-launch-1.0 filesrc location=input.264 ! h264parse ! vaapih264dec ! fakesink
2532           Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/319>
2533
2534 2020-04-21 11:16:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2535
2536         * meson.build:
2537           build: use join_paths() for driverdir
2538
2539 2020-04-21 09:04:51 +0000  Veerabadhran G <vegopala@amd.com>
2540
2541         * README:
2542           README: Update supported hardware
2543           Added the AMD hardware list to the "Hardware Requirements" section.
2544
2545 2020-04-04 13:58:00 +0200  He Junyan <junyan.he@hotmail.com>
2546
2547         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
2548         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
2549         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
2550           libs: bufferproxy: remove GstMemory reference
2551           Since bufferproxy and surface are not referenced circularly, there's
2552           no need to keep, in the buffer proxy, a reference to the GstMemory
2553           where it is held. This patch removes that handling.
2554
2555 2020-03-15 23:29:05 +0800  He Junyan <junyan.he@hotmail.com>
2556
2557         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
2558         * gst-libs/gst/vaapi/gstvaapisurface.c:
2559         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
2560         * gst-libs/gst/vaapi/gstvaapisurface_drm.h:
2561         * gst/vaapi/gstvaapivideomemory.c:
2562           libs,plugin: break surface-bufferproxy circular reference
2563           The bufferproxy may reference the surface and the surface may also
2564           reference the bufferproxy, producing a circular reference, which might
2565           lead to serious resource leak problems.
2566           Now make the relationship clearer, the bufferproxy's references is
2567           transfered to surface, while bufferproxy just keeps the surface's
2568           address without increasing its reference count.
2569           The surface can be created through a bufferproxy like in
2570           gst_vaapi_surface_new_with_dma_buf_handle(), and the surface might
2571           get its bufferproxy via gst_vaapi_surface_get_dma_buf_handle(). In
2572           both cases the surface holds a bufferproxy's reference.
2573
2574 2020-04-03 18:43:52 +0200  He Junyan <junyan.he@hotmail.com>
2575
2576         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
2577         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
2578         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
2579           libs: bufferproxy: rename parent memeber as surface
2580
2581 2020-03-15 22:07:31 +0800  He Junyan <junyan.he@hotmail.com>
2582
2583         * gst/vaapi/gstvaapivideobufferpool.c:
2584           plugin: bufferpool: use hashmap to cache dmabuf mem-surface
2585           The old way of refer memory by bufferproxy is not a good one, since it
2586           make the logic error prone.
2587           Now it is established a map between surface-bufferproxy and its GstMemory,
2588           caching the memory bound by a surface looked for the specified surface.
2589
2590 2020-03-15 21:50:24 +0800  He Junyan <junyan.he@hotmail.com>
2591
2592         * gst/vaapi/gstvaapivideobufferpool.c:
2593         * gst/vaapi/gstvaapivideobufferpool.h:
2594           plugin: bufferpool: Delete ACQUIRE_FLAG_NO_ALLOC flag.
2595           Delete the GST_VAAPI_VIDEO_BUFFER_POOL_ACQUIRE_FLAG_NO_ALLOC flag.
2596           In fact, no one is using that flag, and all vaapi buffers should
2597           have GstVaapiVideoMeta.
2598
2599 2020-02-13 09:43:38 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2600
2601         * gst/vaapi/gstvaapipostproc.c:
2602         * gst/vaapi/gstvaapipostproc.h:
2603           vaapipostproc: enable HDR10 tone mapping
2604
2605 2020-02-13 09:00:18 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2606
2607         * gst-libs/gst/vaapi/gstvaapifilter.c:
2608         * gst-libs/gst/vaapi/gstvaapifilter.h:
2609           libs: filter: HDR10 tone mapping support
2610           Add support for HDR10 tone mapping (since VA-API 1.4.0).
2611
2612 2020-04-02 15:14:15 +0800  He Junyan <junyan.he@hotmail.com>
2613
2614         * gst-libs/gst/vaapi/gstvaapiencoder.c:
2615         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2616         * gst-libs/gst/vaapi/gstvaapiprofile.c:
2617         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
2618         * gst/vaapi/gstvaapiencode_h265.c:
2619           libs: encoder: h265: Support MAIN 4:4:4 10 profile.
2620           Using Y410 as the input of the encoder can generate main_444_10 bit
2621           streams.
2622
2623 2020-04-02 15:19:41 +0800  He Junyan <junyan.he@hotmail.com>
2624
2625         * gst-libs/gst/vaapi/gstvaapiencoder.c:
2626           libs: encoder: fix an inexact trace info in chroma type check.
2627
2628 2020-03-31 12:22:31 +0800  Haihao Xiang <haihao.xiang@intel.com>
2629
2630         * gst-libs/gst/vaapi/gstvaapiencoder.c:
2631           libs: encoder: make sure format array is not NULL when returning TRUE
2632           This fixed segfault when running the pipeline below with iHD driver
2633           (commit efe5e9a) on ICL
2634           gst-launch-1.0 videotestsrc ! vaapivp9enc tune=low-power ! vaapivp9dec ! \
2635           fakesink
2636
2637 2020-03-18 13:28:00 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2638
2639         * gst-libs/gst/vaapi/gstvaapidecoder.h:
2640         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
2641         * gst-libs/gst/vaapi/gstvaapidecoder_h265.h:
2642         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
2643         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
2644         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
2645         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
2646         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.h:
2647         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.h:
2648         * gst-libs/gst/vaapi/gstvaapidisplay.h:
2649         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
2650         * gst-libs/gst/vaapi/gstvaapidisplay_egl.h:
2651         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
2652         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
2653         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
2654         * gst-libs/gst/vaapi/gstvaapiencoder.h:
2655         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
2656         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
2657         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
2658         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
2659         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
2660         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
2661         * gst-libs/gst/vaapi/gstvaapifilter.h:
2662         * gst-libs/gst/vaapi/gstvaapitexturemap.h:
2663         * gst-libs/gst/vaapi/gstvaapiwindow.h:
2664         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
2665         * gst-libs/gst/vaapi/gstvaapiwindow_egl.h:
2666         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
2667         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
2668         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
2669           libs: extend g_autoptr support
2670
2671 2020-03-26 22:40:40 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2672
2673         * gst/vaapi/gstvaapivideometa.c:
2674           vaapivideometa: remove compiler warning
2675
2676 2020-03-22 20:59:20 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2677
2678         * meson.build:
2679         * meson_options.txt:
2680           build: Add meson's option package-origin.
2681           This options is added to synchronize with other gstreamer packages
2682           build configuration.
2683           Though, to avoid breaking distro configuration it is set, as default,
2684           the issues gitlab's url, instead of the used string
2685           "Unkown package origin".
2686           Also, set_quoted is used for string based cdata.
2687
2688 2020-02-25 13:45:05 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2689
2690         * gst/vaapi/gstvaapipostproc.c:
2691           vaapipostproc: deprecate format, width and size parameters
2692           Since they should only be controlled by caps negotiation.
2693
2694 2020-03-18 16:41:01 +0800  He Junyan <junyan.he@hotmail.com>
2695
2696         * gst-libs/gst/vaapi/gstvaapiprofile.c:
2697         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
2698         * gst/vaapi/gstvaapidecode.c:
2699           libs,plugins: decoder: Add -intra profile support for hevc.
2700           In hevc, we can consider the -intra profile a subset of the none
2701           -intra profile. The -intra profiles just contain I frames and we
2702           definitely can use the none -intra profiles's context to decode
2703           them.
2704           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2705
2706 2020-03-04 12:35:42 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2707
2708         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2709           libs: encoder: h265: support ICQ/QVBR BRC
2710           Enable support for ICQ and QVBR bitrate control.
2711           The code is essentially the same for h264 ICQ/QVBR support
2712           which was added in commit 9e0c133a2403.
2713
2714 2020-03-19 11:19:18 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
2715
2716         * gst-libs/gst/vaapi/gstvaapiencoder.c:
2717           libs: encoder: set VA HRD param before RC param
2718           This is a workaround for intel-media-driver bug
2719           https://github.com/intel/media-driver/issues/865
2720           The driver will force the RC method to CBR for HEVCe
2721           when it parses the HRD param.  Thus, any RC method
2722           param submitted "prior" to the HRD param will be lost.
2723           Therefore, VBR, ICQ and QVBR for HEVCe can't be
2724           effectively enabled if the RC method param "precedes"
2725           the HRD param.
2726           To work around this issue, set the HRD param before
2727           the RC method param so the driver will parse the RC
2728           method param "after" the HRD param.
2729           Afaict, other codecs in the driver (and other drivers)
2730           do not appear to be dependent on the order of HRD and
2731           RC param submission.
2732
2733 2019-11-25 14:16:30 +0800  Haihao Xiang <haihao.xiang@intel.com>
2734
2735         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2736         * gst-libs/gst/vaapi/gstvaapidisplay.h:
2737         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
2738           vaapijpegenc: Add a quantization quirk for iHD driver
2739           iHD driver shifts the value by 50 when calculating quantization for JPEG
2740           encoding, so we should add 50 in this plugin for iHD driver too.
2741
2742 2020-03-13 21:49:15 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2743
2744         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
2745         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
2746         * gst-libs/gst/vaapi/gstvaapipixmap.c:
2747         * gst-libs/gst/vaapi/gstvaapipixmap.h:
2748         * gst-libs/gst/vaapi/gstvaapipixmap_priv.h:
2749         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
2750         * gst-libs/gst/vaapi/gstvaapipixmap_x11.h:
2751         * gst-libs/gst/vaapi/gstvaapiwindow.c:
2752         * gst-libs/gst/vaapi/gstvaapiwindow.h:
2753         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
2754         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
2755         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
2756         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
2757         * gst-libs/gst/vaapi/meson.build:
2758         * meson.build:
2759         * tests/internal/output.c:
2760         * tests/internal/output.h:
2761         * tests/internal/simple-decoder.c:
2762         * tests/internal/test-decode.c:
2763           libs: remove GstVaapiPixmap
2764           GstVaapiPixmap is an abstract base class which only implementation
2765           were GstVaapiPixmapX11. This class were used for a special type of
2766           rendering in the tests apps, utterly unrelated in GStreamer.
2767           Since gstreamer-vaapi is no longer a general-user wrapper for VA-API
2768           we should remove this unused API.
2769           This removal drops libxrender dependency.
2770
2771 2020-03-17 18:51:19 +0800  He Junyan <junyan.he@hotmail.com>
2772
2773         * gst-libs/gst/vaapi/gstvaapiutils.c:
2774           libs: utils: Add HEVC Main444 sting in string_of_VAProfile
2775           HEVCMain444_10 is already a supported profile and misses the strings.
2776
2777 2020-03-17 12:47:33 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2778
2779         * gst/vaapi/gstvaapi.c:
2780           plugin: don't error if cannot create display
2781           This might generated errors on automatic tools such as CI. Let's
2782           rather just raise a warning and let continue.
2783
2784 2020-03-09 01:52:57 +0800  He Junyan <junyan.he@hotmail.com>
2785
2786         * tests/check/meson.build:
2787           test: fix a ninja test failure for vaapioverlay.
2788           That test case only works with drm display, so the build such as
2789           meson -Dwith_x11=yes -Dwith_wayland=no -Dwith_drm=no -Dwith_egl=no
2790           -Dwith_glx=no
2791           gets a failure when run ninja test. Just enable this test when drm
2792           is enabled.
2793
2794 2020-02-07 23:56:13 +0800  He Junyan <junyan.he@hotmail.com>
2795
2796         * gst-libs/gst/vaapi/gstvaapivideopool.c:
2797           libs: videopool: fix a condition race for pool allocate.
2798
2799 2020-03-05 13:22:23 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2800
2801         * gst/vaapi/gstvaapivideobufferpool.c:
2802           vaapivideobufferpool: force video meta if sizes are different
2803           The strides and offsets could be the same, but the allocation
2804           size might be different (e.g. alignment).  Thus, ensure we also
2805           set the flag to copy from VA memory to system memory when alloc
2806           size differs.
2807           Fixes #243
2808
2809 2020-03-05 14:18:32 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2810
2811         * gst/vaapi/gstvaapidecode.c:
2812           vaapidecode: don't set base sink caps twice
2813           Base class's sink pad caps are already set when calling set_format().
2814           There's no need to call it again in gst_vaapidecode_negotiate().
2815
2816 2020-03-05 13:26:38 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2817
2818         * gst/vaapi/gstvaapidecode.c:
2819           vaapidecode: unlock stream if caps update fails
2820           If caps update fail a dead lock occurs since the stream mutex is not
2821           unlocked.
2822
2823 2020-03-03 15:24:32 +0800  Xu Guangxin <guangxin.xu@intel.com>
2824
2825         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
2826           libs: decoder: h265: parser state after update dependent slice
2827           If the dependent_slice_segment_flag is true, most slice info derived from last slice.
2828           So we need check the slice type after we call populate_dependent_slice_hdr
2829
2830 2020-02-16 12:21:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2831
2832         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2833         * gst-libs/gst/vaapi/gstvaapidisplay.h:
2834           libs: display: force RGBA image format for i965 driver
2835           Since commit 32bf6f1e GLTextureUpload is broken because i965
2836           doesn't report properly RGBA support. It could be possible to use RGBx
2837           but GLTextureUpload only regotiates RGBA.
2838           The simplest fix to this regression is adding synthetically the RGBA
2839           format in the internal format map.
2840
2841 2020-02-14 19:30:54 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2842
2843         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2844           libs: display: iterate all quirks table
2845           Instead of break at the fist foud quirk in the table, iterate all over
2846           so it would be feasible to add several quirks for one driver per
2847           element in array.
2848
2849 2020-02-25 12:05:28 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2850
2851         * gst-libs/gst/vaapi/gstvaapifilter.c:
2852           libs: filter: handle RGB to/from YUV color primary driver quirk
2853           The intel-media-driver (iHD) can't convert output color
2854           primaries when doing YUV to/from RGB CSC.  Thus, we must
2855           keep the output color primaries the same as the input
2856           color primaries for this case.
2857           fixes #238
2858
2859 2020-02-25 12:00:36 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2860
2861         * gst-libs/gst/vaapi/gstvaapidisplay.c:
2862         * gst-libs/gst/vaapi/gstvaapidisplay.h:
2863           libs: display: add YUV to/from RGB color primary quirk
2864           The intel-media-driver (iHD) can't convert output color
2865           primaries when doing YUV to/from RGB CSC.
2866
2867 2020-02-28 11:33:18 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2868
2869         * gst/vaapi/gstvaapivideomemory.c:
2870           Revert "vaapivideomemory: Store surface allocation flags."
2871           This reverts commit dd428cc4a12c2d5c694fcd3303811cf486002c9d because
2872           it rewrites the buffer size whilst surface allocation flags are
2873           stored when allocator_params_init() is called since fab890ce.
2874           Fix: #239
2875
2876 2020-01-27 18:19:57 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2877
2878         * gst/vaapi/gstvaapivideomemory.c:
2879           vaapivideomemory: Try surface with allocation flags.
2880           When a vaapi allocator is instantiated, it first try to generate a
2881           surface with the specified configuration.
2882           This patch adds, in this tried buffer, the requested allocation flags.
2883
2884 2020-01-27 18:10:18 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2885
2886         * gst/vaapi/gstvaapivideomemory.c:
2887           vaapivideomemory: Store surface allocation flags.
2888           Store surface allocation flags passed to the vaapi allocator in
2889           GObject's qdata, because it might be used by the vaapivideobufferpool
2890           when recreating the allocator given any resolution change.
2891
2892 2020-01-24 19:32:52 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2893
2894         * gst-libs/gst/vaapi/gstvaapisurface.c:
2895         * gst-libs/gst/vaapi/gstvaapisurface.h:
2896           libs: surface: Add hints to allocation flags.
2897           When creating surfaces it is possible to pass to VA hints of its usage,
2898           so the driver may do some optimizations.
2899           This commit adds the handling of encoding/decoding hints.
2900
2901 2020-01-24 22:08:50 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2902
2903         * gst-libs/gst/vaapi/gstvaapicontext.c:
2904         * gst-libs/gst/vaapi/gstvaapisurface.c:
2905         * gst-libs/gst/vaapi/gstvaapisurface.h:
2906         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
2907         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
2908         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
2909         * gst-libs/gst/vaapi/gstvaapiwindow.c:
2910         * tests/internal/test-filter.c:
2911         * tests/internal/test-surfaces.c:
2912           libs: surface: surfacepool: Add allocation flags in constructors.
2913
2914 2020-02-22 16:06:13 +0800  He Junyan <junyan.he@hotmail.com>
2915
2916         * meson.build:
2917           build: let the build fail if none if X11, wayland or drm.
2918           In fact, gst_vaapi_create_test_display only test x11, wayland and
2919           drm, no glx and egl entries. So if none of them is enabled, no
2920           vaapi element can be detected.
2921
2922 2020-02-21 00:58:47 +0800  He Junyan <junyan.he@hotmail.com>
2923
2924         * tests/internal/test-display.c:
2925           test: avoid unused warning for test-display
2926           meson -Dwith_x11=yes -Dwith_wayland=no -Dwith_drm=no -Dwith_egl=no
2927           -Dwith_glx=no buildir
2928           generate unused warnings.
2929
2930 2020-02-21 00:50:47 +0800  He Junyan <junyan.he@hotmail.com>
2931
2932         * meson.build:
2933           build: fix meson build error when without x11.
2934           meson -Dwith_x11=no build_dir
2935           can not success build the project because the glx is still enabled.
2936           We need to disable GLX when X11 is disabled.
2937
2938 2020-02-14 19:53:09 +0800  Haihao Xiang <haihao.xiang@intel.com>
2939
2940         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
2941           libs: h265enc: Set max_transform_hierarchy_depth_{inter, intra} to 2
2942           Intel HW has limitation on max_transform_hierarchy_depth_inter and
2943           max_transform_hierarchy_depth_intra (see [1]). We can provide a quirk for
2944           other HWs if other HWs may support other values
2945           [1] https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-kbl-vol10-hevc.pdf
2946
2947 2020-02-21 07:37:50 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2948
2949         * gst/vaapi/gstvaapipostproc.c:
2950         * gst/vaapi/gstvaapipostprocutil.c:
2951           vaapipostproc: do not compensate for crop/direction if no VPP
2952           If we do not have functional VPP, then cropping and video
2953           direction is non-functional and we should avoid calling
2954           any of the gst_vaapi_filter* APIs.
2955
2956 2020-02-21 06:54:47 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2957
2958         * gst/vaapi/gstvaapipostproc.c:
2959           vaapipostproc: only set VPP colorimetry when VPP is available
2960           If we don't have functional vpp then we should not call
2961           gst_vaapi_filter_set_colorimetry.
2962
2963 2020-02-16 01:25:37 +0800  He Junyan <junyan.he@hotmail.com>
2964
2965         * gst/vaapi/gstvaapivideobufferpool.c:
2966         * gst/vaapi/gstvaapivideomemory.c:
2967         * gst/vaapi/gstvaapivideomemory.h:
2968           videobufferpool: don't reset surface when created internally
2969           The bug fixing, in commit 89f202ea, just considers the case when
2970           surface's DMABuf is set through gst_buffer_pool_acquire_buffer(),
2971           which is typically a decoder's behavior. But vaapipostproc doesn't
2972           provide any surface when calling gst_buffer_pool_acquire_buffer(),
2973           thus a surface is created when GstMemory is allocated.
2974           If the surface proxy in buffer's meta is reset at
2975           buffer_pool_reset_buffer(), that surface will be destroyed and it
2976           won't be available anymore. But GstBuffers are cached in the buffer
2977           pool and they are reused again, hence only those images are rendered
2978           repeatedly.
2979           Fixes: #232
2980
2981 2020-02-16 17:19:04 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2982
2983         * gst-libs/gst/vaapi/gstvaapiblend.c:
2984         * gst-libs/gst/vaapi/gstvaapifilter.c:
2985         * gst/vaapi/gstvaapi.c:
2986           libs: blend: filter: handle finalize() if display isn't assigned
2987           I've just discovered iHD driver in Skylake doesn't have VideoProc
2988           entry point, hence, in this platform, when vaapioverlay is tried to be
2989           registered, critical warnings are raised because blend doesn't have a
2990           display assigned.
2991           As it is possible to have drivers without EntryPointVideoProc it is
2992           required to handle it gracefully. This patch does that: only tries to
2993           register vaapioverlay if the testing display has VPP and finalize()
2994           vmethods, in filter and blend, bail out if display is NULL.
2995
2996 2020-02-15 11:02:49 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
2997
2998         * gst-libs/gst/vaapi/gstvaapifilter.c:
2999         * gst-libs/gst/vaapi/gstvaapiutils.c:
3000           libs: filter: guard all color properties to VA-API 1.2.0
3001           Older VA-API (0.39.0) doesn't have VAProcColorProperties.
3002           Thus, guard all colorimetry -> VA-API support to version
3003           1.2.0.
3004           Fixes #234
3005
3006 2020-02-17 08:55:36 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3007
3008         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
3009           libs: decoder: h265: set parser info state at decoding codec data
3010           Commit 1168d6d5 showed up a regression: decode_sps() stores the unit's
3011           parser info in sps array. If that parser info comes from decoding
3012           codec data, that parser info will have an undefined state which might
3013           break ensure_sps().
3014           This patch sets the parser info state, at decoding codec data, with
3015           the internal parser state. This is similar with h264 decoder apprach.
3016           Original-patch-by: Xu Guangxin <guangxin.xu@intel.com>
3017
3018 2020-02-07 15:24:18 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3019
3020         * gst/vaapi/gstvaapipostproc.c:
3021           vaapipostproc: demote log message to trace level
3022
3023 2020-02-14 14:45:56 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3024
3025         * gst-libs/gst/vaapi/video-format.c:
3026           libs: video-format: set general vaapi log category
3027           Instead of logging in an unspecified category, set the default vaapi.
3028
3029 2020-02-15 11:44:48 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3030
3031         * gst-libs/gst/vaapi/gstvaapiutils.c:
3032           libs: utils: guard EncSliceLP for VA-API < 0.39.1
3033           Relates to #234
3034
3035 2020-02-14 16:17:04 +0800  Haihao Xiang <haihao.xiang@intel.com>
3036
3037         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3038           libs: h265enc: Set VA_PICTURE_HEVC_INVALID flag for invalid picture
3039
3040 2020-02-11 11:31:31 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3041
3042         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
3043         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3044         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3045           libs: remove crumbs of libva < 0.39
3046           All these guarded code seem like leftovers of commit 920b1ec7a. This
3047           patch completes that missing clean up.
3048
3049 2020-02-11 00:38:40 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3050
3051         * gst-libs/gst/vaapi/gstvaapifilter.c:
3052         * gst-libs/gst/vaapi/gstvaapiutils.c:
3053           libs: VA explicit color standard not supported until 1.2.0
3054           VAProcColorStandardExplicit and associated VAProcColorProperties
3055           (primaries, transfer and matrix) are not supported until
3056           VA-API 1.2.0.
3057           Use VAProcColorStandardNone instead of VAProcColorStandardExplicit
3058           if VA-API < 1.2.0.
3059           Fixes #231
3060
3061 2020-02-10 09:31:15 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3062
3063         * gst-libs/gst/vaapi/gstvaapiutils.c:
3064           libs: utils: WA: use explicit for sRGB colorimetry
3065           Addresses #228 on iHD side.  It seems iHD can't handle
3066           VAProcColorStandardSRGB in all situations for vpp.  But
3067           it has no problem when we specify the sRGB parameters
3068           via VAProcColorStandardExplicit parameters.
3069
3070 2020-02-07 11:25:31 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3071
3072         * gst-libs/gst/vaapi/gstvaapifilter.c:
3073           libs: filter: set vpp input/output color range
3074           We've always sent VA_SOURCE_RANGE_UNKNOWN to the driver.
3075           And, the [iHD] driver essentially computes the same color
3076           range as gstreamer when we send VA_SOURCE_RANGE_UNKNOWN for
3077           cases were gstreamer computes it automatically.  But,
3078           if the user wants to make it explicit, we should try
3079           to honor it.
3080
3081 2020-02-07 11:20:11 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3082
3083         * gst-libs/gst/vaapi/gstvaapiutils.c:
3084         * gst-libs/gst/vaapi/gstvaapiutils.h:
3085           libs: utils: map GstVideoColorRange to VAAPI VPP
3086
3087 2020-02-07 15:28:24 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3088
3089         * gst/vaapi/gstvaapidecode.c:
3090           vaapidecode: don't remove chroma-site nor colorimetry
3091           Since now they can be handled by vaapipostproc.
3092
3093 2020-02-04 14:17:43 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3094
3095         * gst/vaapi/gstvaapipostprocutil.c:
3096           vaapipostproc: use sink resolution to calculate src colorimetry
3097           The default output colorimetry is persuaded by the output
3098           resolution, which is too naive when doing VPP cropping
3099           and/or scaling.  For example, scaling 4K(sink)->1080P(src)
3100           resolution (i.e. both YUV) results in bt2020(sink)->bt709(src)
3101           colorimetry selection and some drivers don't support that
3102           mode in vpp.
3103           Thus, if output (i.e. downstream) does not specify a
3104           colorimetry then we use the input resolution instead of the
3105           output resolution to create the default colorimetry.  Also,
3106           note that we still use the output format since it may be a
3107           different color space than the input.  As in the example
3108           above, this will result in bt2020(sink)->bt2020(src)
3109           colorimetry selection and all drivers (afaik) should support
3110           that in vpp.
3111
3112 2020-02-04 09:57:42 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3113
3114         * gst/vaapi/gstvaapipostprocutil.c:
3115           vaapipostproc: set srcpad colorimetry unconditionally
3116           We always need a srcpad colorimetry for VAAPI VPP
3117           operations.
3118           Also, check the return value of _set_colorimetry.
3119
3120 2020-01-30 12:34:07 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3121
3122         * gst/vaapi/gstvaapipostprocutil.c:
3123           vaapipostproc: do not override explicit srcpad colorimetry
3124           If colorimetry has been set by a capsfilter (e.g.
3125           vaapipostproc ! video/x-raw,colorimetry=bt709) then
3126           don't try to override it.  Previously, the aforementioned
3127           capsfilter will fail to negotiate if default colorimetry
3128           is not the same as the capsfilter (e.g. 4K resolutions).
3129
3130 2020-01-30 09:37:18 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3131
3132         * gst/vaapi/gstvaapipostproc.c:
3133           vaapipostproc: set vpp filter colorimetry
3134           Set the input and output colorimetry for vpp filter.
3135
3136 2020-01-30 09:34:10 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3137
3138         * gst-libs/gst/vaapi/gstvaapifilter.c:
3139         * gst-libs/gst/vaapi/gstvaapifilter.h:
3140           libs: filter: support vpp input/output color standard
3141           Add API function to allow setting the input and output vpp
3142           color standard from GstVideoColorimetry.
3143
3144 2020-02-04 11:32:54 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3145
3146         * gst-libs/gst/vaapi/gstvaapiutils.c:
3147         * gst-libs/gst/vaapi/gstvaapiutils.h:
3148           libs: utils: map GstVideoColorimetry to VAAPI VPP
3149           Fallback to VAProcColorStandardExplicit if there is no
3150           1:1 mapping.
3151
3152 2020-02-04 10:27:23 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3153
3154         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3155         * gst-libs/gst/vaapi/gstvaapidisplay.h:
3156           libs: display: add vpp color standard quirk for i965 driver
3157           The i965 does not properly report supported vpp color
3158           standards.
3159
3160 2020-02-02 18:04:35 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3161
3162         * gst/vaapi/gstvaapivideobufferpool.c:
3163           vaapivideobufferpool: dmabuf implies allocator
3164           Some code can be optimized since only if the dmabuf allocator is set,
3165           the internal flag of dmabuf is TRUE, thus there's no need to evaluate
3166           the allocator address.
3167
3168 2020-01-29 11:55:39 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3169
3170         * gst/vaapi/gstvaapivideobufferpool.c:
3171           vaapivideobufferpool: reject configuration if allocator isn't vaapi
3172           If the requested allocator in set_config() is not a VAAPI valid one,
3173           reject the configuration, instead of lying and using a private one.
3174           This patch superseeds !254 and !24
3175
3176 2020-01-29 11:55:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3177
3178         * gst/vaapi/gstvaapivideobufferpool.c:
3179           vaapivideobufferpool: add explanation for allocator reconfig
3180
3181 2020-01-29 11:54:38 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3182
3183         * gst/vaapi/gstvaapivideobufferpool.c:
3184           vaapivideobufferpool: check for vaapi meta first
3185           If the configured meta doesn't request vaapi meta then it is not a
3186           vaapi buffer pool. Bail out as soon as possible.
3187
3188 2020-01-29 11:52:38 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3189
3190         * gst/vaapi/gstvaapivideobufferpool.c:
3191           vaapivideobufferpool: turn errors into warnings
3192           set_config() vmethod should fail gracefully, thus upstream could
3193           negotiate another pool if possible.
3194           Instead of sending error messages to the bus, let demote the level
3195           to warning.
3196
3197 2020-01-29 11:51:47 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3198
3199         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3200           libs: display: log out vendor string when available
3201           This is useful while asking for logs to know the used driver.
3202
3203 2020-01-27 11:49:26 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3204
3205         * gst-libs/gst/vaapi/gstvaapisurface.c:
3206           libs: surface: initialize VASurfaceAttribExternalBuffers
3207           Initialize VASurfaceAttribExternalBuffers using compiler's syntax
3208           rather than using memset().
3209
3210 2020-01-27 11:44:49 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3211
3212         * gst-libs/gst/vaapi/gstvaapisurface.c:
3213           libs: surface: merge two loops into one
3214           Merge two loops into one for setting offsets and strides in the
3215           external buffer descriptor.
3216
3217 2020-01-22 10:42:35 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3218
3219         * gst-libs/gst/vaapi/gstvaapisurface.c:
3220         * gst-libs/gst/vaapi/gstvaapisurface.h:
3221         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
3222         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
3223           libs: surface: surfacepool: rename variable for clearity
3224           In order to be readable, the meaningless 'flags' is renamed to
3225           surface_allocation_flags, which is clearer.
3226
3227 2020-01-27 18:40:46 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3228
3229         * gst/vaapi/gstvaapivideobufferpool.c:
3230           vaapivideobufferpool: Reuse internal allocator is possible.
3231           Instead of creating a new allocator when upstream requests a different
3232           allocator, this patch tries to reuse the internal allocator if it was
3233           already initializated.
3234           If the stream changes, then either one will be unref and a new
3235           allocator is created.
3236
3237 2020-01-27 18:05:14 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3238
3239         * gst/vaapi/gstvaapivideobufferpool.c:
3240           vaapivideobufferpool: Log messages in proper category.
3241           The log messages where logged in the GstBufferPool category because
3242           the instance was not properly casted. This fix that situation.
3243
3244 2020-01-16 11:49:21 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3245
3246         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3247         * gst-libs/gst/vaapi/gstvaapidisplay.h:
3248         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
3249         * gst/vaapi/gstvaapipluginbase.c:
3250           libs: display: driver quirks mechanism
3251           This mechanism comes from ffmpeg vaapi implementation, where they have
3252           their own quirks.
3253           A specific driver is identified by a substring present in the vendor
3254           string. If that substring is found, a set of bitwise flags are store.
3255           These flags can be accessed through the function
3256           gst_vaapi_display_has_driver_quirks().
3257           The purpose for this first quirks is to disable the put image try for
3258           AMD Gallium driver (see [1]).
3259           1. https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/merge_requests/72
3260
3261 2020-01-15 23:07:29 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3262
3263         * gst/vaapi/gstvaapipluginutil.c:
3264           plugins: renable Mesa Gallium driver
3265
3266 2020-01-24 11:55:22 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3267
3268         * gst/vaapi/gstvaapivideobufferpool.c:
3269           vaapivideobufferpool: validate returned meta
3270           Validate if the meta returned by gst_buffer_get_vaapi_video_meta() in
3271           the acquired buffer is not null.
3272           This situation should be very "pathological", but still it is better
3273           be safe since that meta might be used later to create a new dma
3274           buffer.
3275
3276 2020-01-22 18:50:36 +0100  Philipp Zabel <p.zabel@pengutronix.de>
3277
3278         * gst/vaapi/gstvaapivideobufferpool.c:
3279           vaapivideobufferpool: always update/release the underlying surface proxy
3280           gst_vaapi_video_buffer_pool_reset_buffer() is called when the sink
3281           releases the last reference on an exported DMA buffer. This should
3282           release the underlying surface proxy. To avoid releasing the wrong
3283           surface due to a stale surface proxy reference in the buffer's
3284           GstVaapiVideoMeta, always update the reference to the correct surface
3285           in gst_vaapi_video_buffer_pool_acquire_buffer().
3286
3287 2020-01-23 16:56:44 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3288
3289         * gst-libs/gst/vaapi/gstvaapicontext.c:
3290         * gst-libs/gst/vaapi/gstvaapicontext.h:
3291         * gst-libs/gst/vaapi/gstvaapisurface.c:
3292         * gst-libs/gst/vaapi/gstvaapisurface.h:
3293           libs: context: select vaCreateSurfaces version according attributes
3294           This commit tries to centralize the selection of vaCreateSurfaces
3295           version, instead of having fallbacks everywhere.
3296           These fallbacks are hacks, added because new drivers use the latest
3297           version of vaCreateSurfaces (with surface attributes) [1], meanwhile
3298           old drivers (or profiles as JPEG decoder in i965) might rather use the
3299           old version.
3300           In order to select which method, there's detected hack: each config
3301           context has a list of valid formats, in the case of JPEG decoder the
3302           list only contains "rare" 4:2:2 formats (ICM3, GRAY8) which aren't
3303           handled correctly by the current gstreamer-vaapi code [2].
3304           The hack consist in identify if the format list contains an arbitrary
3305           preferred format (which is suposedly well supported by
3306           gstreamer-vaapi, mostly NV12). If no prefered colour format is found,
3307           the the old version of vaCreateSurfaces is used, and the surfaces wil
3308           be mapped into a image with their own color format.
3309           1. https://bugzilla.gnome.org/show_bug.cgi?id=797143
3310           2. https://bugzilla.gnome.org/show_bug.cgi?id=797222
3311
3312 2020-01-21 19:35:02 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3313
3314         * gst-libs/gst/vaapi/gstvaapicontext.c:
3315           libs: context: add debug category for context
3316
3317 2020-01-22 20:20:30 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3318
3319         * gst-libs/gst/vaapi/gstvaapiblend.c:
3320           libs: blend: guard VA_BLEND_GLOBAL_ALPHA
3321
3322 2020-01-21 14:09:33 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3323
3324         * gst/vaapi/gstvaapiencode_h264.c:
3325           vaapiencode: promote info to warning
3326           Let's notify user about using constrained-baseline instead on
3327           requested basline profile.
3328
3329 2019-06-28 15:41:16 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
3330
3331         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
3332         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
3333         * gst/vaapi/gstvaapidecode.c:
3334         * gst/vaapi/gstvaapidecode_props.c:
3335         * gst/vaapi/gstvaapidecode_props.h:
3336           vaapih264dec: Add a property to assume constrained-baseline
3337           When baseline-as-constrained is set, the decoder will expose support
3338           for baseline decoding and assume that the baseline content is
3339           constrained-baseline. This can be handy to decode streams in hardware
3340           that would otherwise not be possible to decode. A lot of baseline
3341           content is in fact constrained.
3342
3343 2020-01-17 16:19:52 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3344
3345         * gst/vaapi/gstvaapiencode_h264.c:
3346         * gst/vaapi/gstvaapipluginutil.c:
3347           vaapih264enc: accept baseline as constrained baseline compatible
3348
3349 2020-01-17 14:24:37 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3350
3351         * gst/vaapi/gstvaapiencode_h264.c:
3352           vaapih264enc: update level in src caps
3353           And, if downstream requests a specific level, the caps are not
3354           negotiated, because there is no mechanism right now to specify a
3355           custom level in the internal encoder.
3356
3357 2020-01-17 17:12:53 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3358
3359         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
3360           libs: encoder: h264: document gst_vaapi_encoder_h264_supports_avc()
3361
3362 2020-01-17 13:38:29 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3363
3364         * gst/vaapi/gstvaapiencode_h264.c:
3365           vaapih264enc: force byte-stream if avc isn't supported
3366           Removing the validation in gst_vaapiencode_h264_get_caps() since that
3367           ought be handled in gst_vaapiencode_h264_set_config()
3368
3369 2020-01-08 17:37:22 +0100  Philipp Zabel <p.zabel@pengutronix.de>
3370
3371         * gst/vaapi/gstvaapiencode_h264.c:
3372           vaaph264enc: suppress avc if the driver does not support packed headers
3373           Do not negotiate AVC output if the driver does not support it.
3374
3375 2020-01-08 17:16:35 +0100  Philipp Zabel <p.zabel@pengutronix.de>
3376
3377         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
3378         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
3379           libs: encoder: h264: Add gst_vaapi_encoder_h264_supports_avc()
3380           AVC output requires packed header support in the driver.
3381
3382 2020-01-17 13:07:04 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3383
3384         * gst/vaapi/gstvaapiencode_h264.c:
3385           vaapih264enc: intersect the new proposed caps
3386           Instead of just leave to keep the proposed caps, with the best profile
3387           in the allowed caps, is its intersected again.
3388
3389 2020-01-17 12:58:58 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3390
3391         * gst/vaapi/gstvaapiencode_h264.c:
3392           vaapih264enc: propose new profile caps and fixate it
3393           When the available caps doesn't intersect with the allowed caps in the
3394           pipeline, a new caps is proposed rather than just expecting to
3395           iterate.
3396           Later, the intersected caps (profile_caps) is fixated in order to
3397           extract the configuration.
3398
3399 2020-01-17 13:18:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3400
3401         * gst/vaapi/gstvaapiencode_h264.c:
3402           vaapih264enc: common fail for gst_vaapiencode_h264_set_config()
3403           Add a common fail code path for gst_vaapiencode_h264_set_config().
3404
3405 2020-01-17 12:54:21 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3406
3407         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3408           libs: encoder: unref formats array if none
3409           The formats array is always created, in order to keep the logic and
3410           to avoid broken caps, if this formats array doesn't contain any
3411           elements, it has to be unref and the function should return NULL.
3412
3413 2020-01-17 14:22:48 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3414
3415         * gst/vaapi/gstvaapiencode_h264.c:
3416           vaapih264enc: fix log message
3417           Before the log wasn't processed because wrong instance pointer.
3418
3419 2019-06-22 00:44:25 +0800  He Junyan <junyan.he@hotmail.com>
3420
3421         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3422         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3423         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
3424         * gst/vaapi/gstvaapiencode_h265.c:
3425           plugin: encode: Add H265 main-444 profile.
3426           Expose the main-444 profile to h265enc caps, when the upstream
3427           chooses to use VUYA as input, we choose main 4:4:4 profile to encode
3428           the frames.
3429
3430 2020-01-15 19:36:00 +0800  He Junyan <junyan.he@hotmail.com>
3431
3432         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3433           libs: encoder: h265: Consider main-444 profile when encoding.
3434           Add support of main-444 profile for parameter setting and packed header
3435           generation.
3436
3437 2020-01-15 23:04:08 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3438
3439         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3440         * gst-libs/gst/vaapi/gstvaapiencoder.h:
3441         * gst-libs/gst/vaapi/gstvaapiprofilecaps.c:
3442         * gst-libs/gst/vaapi/gstvaapiprofilecaps.h:
3443         * gst/vaapi/gstvaapiencode.c:
3444           vaapiencode: DMABuf only if PRIME is available
3445           Add DMABuf capsfeature in encoders' allowed sinkcaps only if PRIME
3446           memory type is available in the VA surface attributes of codec
3447           context.
3448
3449 2020-01-16 09:14:30 +0800  Haihao Xiang <haihao.xiang@intel.com>
3450
3451         * hooks/pre-commit.hook:
3452           Add hooks/pre-commit.hook
3453           meson.build in gstreamer-vaapi requires hooks/pre-commit.hook
3454           Copied and pasted pre-commit.hook from other gstreamer modules to make
3455           sure gstreamer-vaapi follows the same code style
3456
3457 2019-12-26 16:45:51 +0800  He Junyan <junyan.he@hotmail.com>
3458
3459         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3460           libs: encoder: h265: Set encoder paramters base on entrypoint.
3461           When the tune is NONE, we now can choose entrypoint freely. So the
3462           GST_VAAPI_ENCODER_TUNE macro may not return the correct current
3463           entrypoint.
3464           We also delay CTU size calculation after entrypoint has been decided.
3465
3466 2019-12-28 19:18:12 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3467
3468         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c:
3469         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.h:
3470         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy_priv.h:
3471         * gst-libs/gst/vaapi/gstvaapicontext.c:
3472         * gst-libs/gst/vaapi/gstvaapicontext.h:
3473         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3474         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3475         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
3476         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.h:
3477         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
3478         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
3479         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
3480         * gst-libs/gst/vaapi/gstvaapifei_objects.c:
3481         * gst-libs/gst/vaapi/gstvaapifei_objects.h:
3482         * gst-libs/gst/vaapi/gstvaapifei_objects_priv.h:
3483         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
3484         * gst-libs/gst/vaapi/gstvaapifeienc_h264.h:
3485         * gst-libs/gst/vaapi/gstvaapifeipak_h264.c:
3486         * gst-libs/gst/vaapi/gstvaapifeipak_h264.h:
3487         * gst-libs/gst/vaapi/gstvaapifeiutils_h264.c:
3488         * gst-libs/gst/vaapi/gstvaapifeiutils_h264.h:
3489         * gst-libs/gst/vaapi/gstvaapiprofile.c:
3490         * gst-libs/gst/vaapi/gstvaapiprofile.h:
3491         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
3492         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
3493         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
3494         * gst-libs/gst/vaapi/meson.build:
3495         * gst/vaapi/gstvaapi.c:
3496         * gst/vaapi/gstvaapiencode.c:
3497         * gst/vaapi/gstvaapiencode.h:
3498         * gst/vaapi/gstvaapiencode_h264_fei.c:
3499         * gst/vaapi/gstvaapiencode_h264_fei.h:
3500         * gst/vaapi/gstvaapifeivideometa.c:
3501         * gst/vaapi/gstvaapifeivideometa.h:
3502         * gst/vaapi/meson.build:
3503         * meson.build:
3504         * tests/internal/meson.build:
3505         * tests/internal/test-fei-enc-in.c:
3506         * tests/internal/test-fei-enc-out.c:
3507           Remove all FEI related
3508           FEI encoders are not actively mantained neither tested, and it is
3509           using infrastructure that is changing and FEI is stopping this
3510           effort.
3511           Also it is required to rethink how FEI can be used in GStreamer.
3512
3513 2020-01-14 11:17:49 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3514
3515         * gst/vaapi/gstvaapioverlay.c:
3516           vaapioverlay: ensure sinkpad has current buffer
3517           Use the gst_video_aggregator_pad_has_current_buffer API
3518           to check if the current sinkpad has a queued buffer before
3519           attempting to obtain a input buffer from the base plugin.
3520           If the sinkpad does not have a current buffer, then it is
3521           either not producing them yet (e.g. current time < sinkpad
3522           start time) or it has reached EOS.
3523           Previously, we only handled EOS case.
3524           Example:
3525           gst-launch-1.0 videotestsrc num-buffers=100 \
3526           ! vaapipostproc ! vaapioverlay name=overlay \
3527           ! vaapisink videotestsrc timestamp-offset=1000000000 \
3528           num-buffers=100 ! video/x-raw,width=160,height=120 \
3529           ! overlay.
3530
3531 2020-01-14 18:57:31 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3532
3533         * gst/vaapi/gstvaapioverlay.c:
3534           vaapioverlay: unroll the recursive call
3535           Recursive functions are elegant but dangerous since they might
3536           overflow the stack. It is better to turn them into a list tranversal
3537           if possible, as this case.
3538
3539 2020-01-14 18:46:49 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3540
3541         * gst-libs/gst/vaapi/gstvaapiblend.c:
3542         * gst/vaapi/gstvaapioverlay.c:
3543           vaapioverlay: add minimal documentation
3544
3545 2020-01-14 18:25:11 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3546
3547         * gst-libs/gst/vaapi/gstvaapiblend.c:
3548         * gst-libs/gst/vaapi/gstvaapiblend.h:
3549         * gst/vaapi/gstvaapioverlay.c:
3550           libs: blend: simplify generator API
3551           Instead of using a parent structure that has to be derived by API
3552           consumers, this change propse a simplification by using the common
3553           pattern of GTK of passing a function pointer and user data which will
3554           be passed as its parameter. That user data contains the state and the
3555           function will be called to update that state.
3556
3557 2020-01-10 10:14:38 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3558
3559         * gst-libs/gst/vaapi/gstvaapiblend.c:
3560         * gst-libs/gst/vaapi/gstvaapiblend.h:
3561           libs: blend: remove begin/render/end API
3562           This API was risky and is superseded by the surface
3563           generator (process) API.
3564           Resolves #219
3565
3566 2020-01-10 10:12:36 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3567
3568         * gst/vaapi/gstvaapioverlay.c:
3569           vaapioverlay: use blend surface generator API
3570           See #219
3571
3572 2020-01-10 09:54:30 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3573
3574         * gst-libs/gst/vaapi/gstvaapiblend.c:
3575         * gst-libs/gst/vaapi/gstvaapiblend.h:
3576           libs: blend: add surface generator API
3577           This new API allows the user to call a single method (process)
3578           which handles the [display] lock/unlock logic internally for
3579           them.
3580           This API supersedes the risky begin, render, end API.
3581           It eliminates the need for the user to call a lock method
3582           (process_begin) before processing the input buffers
3583           (process_render) and calling an unlock method (process_end)
3584           afterwards.
3585           See #219
3586
3587 2019-12-23 14:29:08 +0800  He Junyan <junyan.he@hotmail.com>
3588
3589         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3590         * gst-libs/gst/vaapi/gstvaapiencoder.h:
3591         * gst/vaapi/gstvaapiencode.c:
3592         * gst/vaapi/gstvaapiencode.h:
3593         * gst/vaapi/gstvaapiencode_h264.c:
3594         * gst/vaapi/gstvaapiencode_h265.c:
3595           plugin: encode: List all possible profiles to detect input formats.
3596           The current get_profile just return one possible profile for the encode,
3597           which is not enough.  For example, if we want to support HEVC 4:4:4
3598           profile, the input of encode should be VYUA rather than NV12 in HEVC
3599           main profile. So the command line:
3600           gst-launch-1.0 videotestsrc num-buffers=200 ! capsfilter \
3601           caps=video/x-raw,format=VUYA,width=800,height=600 ! vaapih265enc \
3602           tune=low-power init-qp=30 ! fakesink
3603           can not work because vaapih265enc just report NV12 in sink caps, we need
3604           to specify the profile obviously like:
3605           gst-launch-1.0 videotestsrc num-buffers=200 ! capsfilter \
3606           caps=video/x-raw,format=VUYA,width=800,height=600 ! vaapih265enc \
3607           tune=low-power init-qp=30 ! capsfilter caps=video/x-h265, \
3608           profile=main-444 ! fakesink
3609           The encode should have the ability to choose the profile based on input
3610           format automatically. If the input video format is VUYA, the main-444
3611           profile should be auto choosed.
3612           We modify to let get_allowed_profiles of each encode sub class to return
3613           an array of all supported profiles based on downstream's allowed caps, or
3614           return NULL if no valid profiles specified by downstream.
3615           If no allowed profiles found, all profiles which belong to the current
3616           encoder's codec will be the candidates.
3617           The function gst_vaapi_encoder_get_surface_attributes collects the surface's
3618           attributes for that profile list we just get.
3619           So for this case, both NV12 and VUYA should be returned.
3620           TODO: some codec like VP9, need to implement the get_profile() function.
3621
3622 2020-01-08 15:07:36 +0800  He Junyan <junyan.he@hotmail.com>
3623
3624         * gst/vaapi/gstvaapipluginutil.c:
3625         * gst/vaapi/gstvaapipluginutil.h:
3626           plugin: util: add helper function to detect profiles in caps.
3627
3628 2020-01-08 15:04:18 +0800  He Junyan <junyan.he@hotmail.com>
3629
3630         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3631         * gst-libs/gst/vaapi/gstvaapiencoder.h:
3632           libs: encoder: add a helper function to get all supported profiles
3633
3634 2020-01-13 15:34:54 +0900  Seungha Yang <seungha.yang@navercorp.com>
3635
3636         * gst-libs/gst/vaapi/gstvaapidecoder.c:
3637           libs: decoder: Don't unref null object
3638           ** (gst-launch-1.0:9789): CRITICAL **: 15:29:09.330:
3639           gst_vaapi_context_unref: assertion 'context != NULL' failed
3640
3641 2020-01-10 09:26:44 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3642
3643         * gst/vaapi/gstvaapioverlay.c:
3644           plugins: overlay: use proper NULL check on double pointer
3645           Check the address of the variable is not NULL,
3646           not the address of the pointer.
3647
3648 2020-01-08 23:42:21 +0800  He Junyan <junyan.he@hotmail.com>
3649
3650         * gst-libs/gst/vaapi/gstvaapicodedbuffer_priv.h:
3651           libs: codedbuf: delete a useless field.
3652           The context field in GstVaapiCodedBuffer is not inited correctly
3653           and is never used, just delete it.
3654
3655 2019-12-29 17:57:52 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3656
3657         * gst/vaapi/gstvaapipluginutil.c:
3658           plugins: add iHD driver in whitelist
3659
3660 2020-01-02 21:02:40 +0800  He Junyan <junyan.he@hotmail.com>
3661
3662         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3663           libs: encoder: modify 265 SPS header's profile compatibility flag.
3664           Make the SPS profile compatibility flags more precisely conform to
3665           the HEVC Spec.
3666
3667 2020-01-06 19:39:06 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3668
3669         * tests/check/elements/vaapioverlay.c:
3670           test: vaapioverlay: bail test if not available
3671           vaapioverlay is only registered if the VA driver support the blend
3672           operation.
3673           This patch only executes the test if vaapioverlay is available,
3674           otherwise the test is bail out without raising an error.
3675
3676 2020-01-06 14:53:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3677
3678         * tests/check/elements/vaapioverlay.c:
3679           tests: vaapioverlay: force drm backend
3680
3681 2019-12-22 17:32:19 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3682
3683         * gst-libs/gst/vaapi/gstvaapiblend.c:
3684           libs: blend: update to new mini-object API
3685
3686 2019-11-19 13:48:22 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3687
3688         * tests/check/elements/vaapioverlay.c:
3689         * tests/check/meson.build:
3690           tests: check: add basic vaapioverlay test
3691           Add test_overlay_position test to verify sink_1 input
3692           is overlayed onto sink_0 input at the appropriate
3693           position.
3694
3695 2019-11-14 12:03:57 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3696
3697         * gst/vaapi/gstvaapi.c:
3698         * gst/vaapi/gstvaapioverlay.c:
3699         * gst/vaapi/gstvaapioverlay.h:
3700         * gst/vaapi/meson.build:
3701           plugins: add vaapioverlay plugin
3702           A plugin similar to the base compositor element but
3703           uses VA-API VPP blend functions to accelerate the
3704           overlay/compositing.
3705           Simple example:
3706           gst-launch-1.0 -vf videotestsrc ! vaapipostproc \
3707           ! tee name=testsrc ! queue \
3708           ! vaapioverlay sink_1::xpos=300 sink_1::alpha=0.75 \
3709           name=overlay ! vaapisink testsrc. ! queue ! overlay.
3710
3711 2019-11-14 12:02:19 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3712
3713         * gst-libs/gst/vaapi/gstvaapiblend.c:
3714         * gst-libs/gst/vaapi/gstvaapiblend.h:
3715         * gst-libs/gst/vaapi/meson.build:
3716           libs: add a vaapi blend class
3717           Support for the VA-API VPP blend functions.
3718
3719 2019-11-14 11:54:59 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3720
3721         * gst/vaapi/gstvaapipluginbase.c:
3722         * gst/vaapi/gstvaapipluginbase.h:
3723           plugins: base: add GstVideoAggregator subclass support
3724
3725 2020-01-05 19:32:16 +0800  He Junyan <junyan.he@hotmail.com>
3726
3727         * gst-libs/gst/vaapi/gstvaapiimage.c:
3728           libs: image: init all image fields correctly.
3729
3730 2020-01-06 17:41:53 +0100  Stéphane Cerveau <scerveau@collabora.com>
3731
3732         * gst/vaapi/gstvaapipostproc.c:
3733           doc: fix pipeline typo in vaapipostproc
3734
3735 2020-01-02 21:11:44 +0800  He Junyan <junyan.he@hotmail.com>
3736
3737         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3738           libs: encoder: modify 265 VPS header fields.
3739           vps_base_layer_internal_flag and vps_base_layer_available_flag
3740           have been clearly defined now.
3741
3742 2020-01-01 19:54:13 +0800  He Junyan <junyan.he@hotmail.com>
3743
3744         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
3745           libs: display: fix a resource leak in X11 pixmap format.
3746
3747 2020-01-02 18:00:21 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3748
3749         * gst-libs/gst/vaapi/gstvaapiprofilecaps.c:
3750         * gst-libs/gst/vaapi/gstvaapiprofilecaps.h:
3751           libs: utils: delete useless gst_vaapi_profile_caps_append_encoder.
3752
3753 2019-12-30 14:09:17 +0800  He Junyan <junyan.he@hotmail.com>
3754
3755         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3756         * gst-libs/gst/vaapi/gstvaapiencoder.h:
3757         * gst/vaapi/gstvaapiencode.c:
3758           libs: encoder: get surfaces resolution the same time with formats.
3759           We can get all the information about the video format at one shot
3760           when we create the test context for getting the supported formats.
3761           The current way to get the width and height ranges are inefficient,
3762           since it calls the function gst_vaapi_profile_caps_append_encoder()
3763           and it creates another temporal context to detect the resolution
3764           information.
3765           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3766
3767 2019-12-28 17:42:55 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3768
3769         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
3770           libs: encoder: vp9: fix code style
3771
3772 2019-12-16 23:19:46 +0800  He Junyan <junyan.he@hotmail.com>
3773
3774         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3775         * gst-libs/gst/vaapi/gstvaapiencoder.h:
3776         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
3777         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3778         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
3779           libs: encoder: set entrypoint based on tune automatically
3780           Some profile, such as H265_MAIN_444 on new Intel platform, may only
3781           support ENTRYPOINT_SLICE_ENCODE_LP entrypoint. This leads two
3782           problems:
3783           1. We need to specify the tune mode like `vaapih265enc tune=low-power`
3784           every time when we need to use this kind of profile. Or we can not
3785           create the encoder context successfully.
3786           2. More seriously, we set the entrypoint to a fixed value in
3787           init_context_info() and so the create_test_context_config() can not
3788           create the test context for these profile and can not get the
3789           supported video formats, either.
3790           We now change the entrypoint setting based on the tune option of the
3791           encoder. If no tune property provided, we just choose the first
3792           available entrypoint.
3793
3794 2019-12-16 23:19:46 +0800  He Junyan <junyan.he@hotmail.com>
3795
3796         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3797         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
3798         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3799         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
3800         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
3801         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
3802         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
3803           libs: encoder: set context info profile by encoder
3804           Instead of init_context_info() setting the passed profile, it is
3805           assumed that it has to be set by each encoder.
3806           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3807
3808 2019-12-27 18:49:02 +0100  He Junyan <junyan.he@hotmail.com>
3809
3810         * gst-libs/gst/vaapi/gstvaapicontext.c:
3811         * gst-libs/gst/vaapi/gstvaapiprofile.h:
3812           libs: context: add invalid entrypoint symbol
3813           The symbol GST_VAAPI_ENTRYPOINT_INVALID is just a representation of
3814           zero, which was already used as an invalid value tacitly. This patch
3815           only makes it explicit.
3816           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3817
3818 2019-12-29 01:13:29 +0800  He Junyan <junyan.he@hotmail.com>
3819
3820         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
3821           libs: pixmap: Fix a pixmap creation crash.
3822           We use GST_VAAPI_OBJECT_NATIVE_DISPLAY with wrong parameter for x11
3823           pixmap creation, which causes crash if we run the internal test case
3824           of:
3825           test-decode --pixmap
3826
3827 2019-12-22 14:35:18 +0800  He Junyan <junyan.he@hotmail.com>
3828
3829         * gst/vaapi/gstvaapiencode.c:
3830           plugin: encode: set allowed_sinkpad_caps to empty.
3831           We now set encode->allowed_sinkpad_caps to NULL if we fail to get
3832           surfaces formats. This causes two problem:
3833           1. gst_video_encoder_proxy_getcaps use NULL as its caps parameter,
3834           which changes its behavior. It will use encode's sinkpad template
3835           rather than empty caps to do the clip job. So even if we fail to set
3836           allowed_sinkpad_caps, gst_video_encoder_proxy_getcaps can still return
3837           valid caps.
3838           2. We should just set the allowed_sinkpad_caps once. The NULL point
3839           make the ensure_allowed_sinkpad_caps function works again and again.
3840
3841 2019-12-22 15:22:57 +0800  He Junyan <junyan.he@hotmail.com>
3842
3843         * gst-libs/gst/vaapi/gstvaapiencoder.c:
3844           libs: encoder: Add NULL pointer check for context when finalize.
3845           Context may be NULL if pipeline fail in early stage, and the
3846           ensure_context will not be called. Need to add a pointer protection
3847           for it.
3848
3849 2019-12-20 06:38:42 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
3850
3851         * gst/vaapi/gstvaapipluginbase.c:
3852           plugins: base: do not reset can_dmabuf
3853           Don't reset the can_dmabuf field.  This restores the
3854           close/reset logic that existed prior to commit
3855           ca2942176b5632e07eebac23336954f9aaf1cb26 in regards to
3856           dmabuf support.
3857           Plugins only call gst_vaapi_plugin_base_set_srcpad_can_dmabuf
3858           once during startup, but may need to reset the other private
3859           fields multiple times during negotiation.  Thus, can_dmabuf
3860           should be exempt from the resets.
3861           Fixes #208
3862
3863 2019-12-06 00:21:12 +0800  He Junyan <junyan.he@hotmail.com>
3864
3865         * gst/vaapi/gstvaapiencode.c:
3866           plugin: encode: Refine encode's sink caps.
3867           The old manner to get the encode's sink caps is not correct.
3868           Such as 264 encode, it gets:
3869           video/x-raw(memory:VASurface),
3870           format=(string){ ENCODED, NV12, I420, YV12, YUY2, UYVY, Y210,
3871           P010_10LE, AYUV, Y410, Y444 }, width=(int)[ 32, 4096 ],
3872           height=(int)[ 32, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ];
3873           video/x-raw(memory:DMABuf), format=(string){ I420, YV12, RGBA },
3874           width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ],
3875           framerate=(fraction)[ 0/1, 2147483647/1 ];
3876           video/x-raw, format=(string){ NV12 }, width=(int)[ 32, 4096 ],
3877           height=(int)[ 32, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
3878           where the formats for memory:VASurface and memory:DMABuf are superfluous.
3879           All the "I420, YV12, YUY2, UYVY, Y210, RGBA" can not be really used as
3880           input format for encoder.
3881           We should get:
3882           video/x-raw, format=(string){ NV12 }, width=(int)[ 32, 4096 ],
3883           height=(int)[ 32, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ];
3884           video/x-raw(memory:VASurface), format=(string){ NV12 },
3885           width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ],
3886           framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf),
3887           format=(string){ NV12 }, width=(int)[ 32, 4096 ],
3888           height=(int)[ 32, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
3889           as the correct result.
3890
3891 2019-12-20 08:37:11 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3892
3893         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3894         * gst-libs/gst/vaapi/gstvaapiprofile.h:
3895           libs: display: code clean up
3896
3897 2019-12-12 21:34:21 +0800  He Junyan <junyan.he@hotmail.com>
3898
3899         * gst-libs/gst/vaapi/gstvaapidisplay.c:
3900         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
3901         * gst-libs/gst/vaapi/gstvaapiprofile.h:
3902           libs: display: refine the profile/entrypoint map.
3903           The old way make the one config for each profile/entrypoint pair,
3904           which is not very convenient for description the relationship
3905           between them. One profile may contain more than one entrypoints
3906           to within it, so a set like data structure should be more suitable.
3907
3908 2019-12-19 14:19:10 +0100  He Junyan <junyan.he@hotmail.com>
3909
3910         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
3911         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
3912         * gst-libs/gst/vaapi/gstvaapicontext.c:
3913         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
3914         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
3915         * gst-libs/gst/vaapi/gstvaapifilter.c:
3916         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
3917         * gst-libs/gst/vaapi/gstvaapisurface.c:
3918         * gst-libs/gst/vaapi/gstvaapisurface.h:
3919         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
3920         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
3921         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
3922         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
3923         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
3924         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
3925         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
3926         * gst-libs/gst/vaapi/gstvaapivideopool.c:
3927         * gst-libs/gst/vaapi/gstvaapiwindow.c:
3928         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
3929         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
3930         * gst/vaapi/gstvaapipluginbase.c:
3931         * gst/vaapi/gstvaapivideomemory.c:
3932         * gst/vaapi/gstvaapivideometa.c:
3933         * gst/vaapi/gstvaapivideometa_texture.c:
3934         * tests/internal/image.c:
3935         * tests/internal/test-filter.c:
3936         * tests/internal/test-surfaces.c:
3937         * tests/internal/test-windows.c:
3938           libs: surface: port to GstMiniObject
3939           GstVaapiMiniObject and GstVaapiObject are deprecated.
3940           This is the first step to remove them by porting GstVaapiSurface as
3941           a GstMiniBuffer descendant.
3942           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3943
3944 2019-12-19 18:26:10 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3945
3946         * gst-libs/gst/vaapi/gstvaapisurface.c:
3947           libs: surface: rename create function names to init
3948           There are several internal functions with 'create' name, but they
3949           don't create any new structure, but rather it initializes that
3950           structure. Renaming those function to reflect better their purpose.
3951
3952 2019-12-19 14:17:34 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3953
3954         * gst-libs/gst/vaapi/gstvaapisurface.c:
3955           libs: surface: use macro accessors
3956
3957 2019-12-19 13:46:09 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3958
3959         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
3960           libs: surface: fix internal documentation
3961
3962 2019-12-18 18:00:49 +0100  He Junyan <junyan.he@hotmail.com>
3963
3964         * gst-libs/gst/vaapi/gstvaapicodedbuffer.c:
3965         * gst-libs/gst/vaapi/gstvaapicodedbuffer.h:
3966         * gst-libs/gst/vaapi/gstvaapicodedbuffer_priv.h:
3967         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c:
3968         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
3969         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
3970         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
3971         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
3972         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
3973         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
3974         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
3975         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
3976         * gst-libs/gst/vaapi/gstvaapifeipak_h264.c:
3977         * gst-libs/gst/vaapi/gstvaapivideopool.c:
3978           libs: codedbuffer: port to GstMiniObject
3979           GstVaapiMiniObject and GstVaapiObject are deprecated.
3980           This is the first step to remove them by porting GstVaapiCodedBuffer
3981           as a GstMiniBuffer descendant.
3982           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
3983
3984 2019-12-18 12:57:01 +0100  He Junyan <junyan.he@hotmail.com>
3985
3986         * gst-libs/gst/vaapi/gstvaapiimage.c:
3987         * gst-libs/gst/vaapi/gstvaapiimage.h:
3988         * gst-libs/gst/vaapi/gstvaapiimage_priv.h:
3989         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
3990         * gst-libs/gst/vaapi/gstvaapisurface.c:
3991         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
3992         * gst-libs/gst/vaapi/gstvaapivideopool.c:
3993         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
3994         * gst/vaapi/gstvaapipluginbase.c:
3995         * gst/vaapi/gstvaapivideomemory.c:
3996         * gst/vaapi/gstvaapivideometa.c:
3997         * tests/internal/image.c:
3998         * tests/internal/simple-encoder.c:
3999         * tests/internal/test-fei-enc-in.c:
4000         * tests/internal/test-filter.c:
4001         * tests/internal/test-windows.c:
4002           libs: image: port to GstMiniObject base class
4003           GstVaapiMiniObject and GstVaapiObject are deprecrated. This is the
4004           first step to remove them, by porting GstVaapiImage as a
4005           GstMiniObject.
4006           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4007
4008 2019-09-24 01:01:22 +0800  He Junyan <junyan.he@hotmail.com>
4009
4010         * gst-libs/gst/vaapi/gstvaapicodedbuffer.c:
4011         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.c:
4012         * gst-libs/gst/vaapi/gstvaapicontext.c:
4013         * gst-libs/gst/vaapi/gstvaapicontext.h:
4014         * gst-libs/gst/vaapi/gstvaapidecoder.c:
4015         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4016         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4017         * gst-libs/gst/vaapi/gstvaapiprofilecaps.c:
4018           libs: context: port to a plain C structure
4019           The GstVaapiMiniObject is obsolete and we need to replace it. This
4020           patch turns GstVaapiContext into a plain C structure with its own
4021           reference counting mechanism.
4022           Also this patch removes unused overlays attributes.
4023           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4024
4025 2019-12-18 00:40:58 +0800  He Junyan <junyan.he@hotmail.com>
4026
4027         * gst/vaapi/gstvaapiencode_h264.c:
4028         * gst/vaapi/gstvaapiencode_h264_fei.c:
4029         * gst/vaapi/gstvaapiencode_h265.c:
4030         * gst/vaapi/gstvaapiencode_jpeg.c:
4031         * gst/vaapi/gstvaapiencode_mpeg2.c:
4032         * gst/vaapi/gstvaapiencode_vp8.c:
4033         * gst/vaapi/gstvaapiencode_vp9.c:
4034           plugin: encode: change the dmabuf caps to all supported formats.
4035           The encode's dmabuf caps definition is obsolete, it can support
4036           more formats now. Re-define it to include all supported formats
4037           in video format map.
4038
4039 2019-12-17 17:09:37 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4040
4041         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4042           libs: encoder: h264fei: remove unnecessary check
4043           Issue detected by Coverity
4044           `info_to_pack.h264_slice_header` is always allocated by
4045           gst_vaapi_feipak_h264_encode(), thus checking it to free it afterwards
4046           in doesn't make much sense.  But it requires to be free on the error
4047           path.
4048           There may be a null pointer dereference, or else the comparison
4049           against null is unnecessary.
4050           In gst_vaapi_encoder_h264_fei_encode: All paths that lead to this null
4051           pointer comparison already dereference the pointer earlier
4052
4053 2019-12-17 17:05:22 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4054
4055         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4056           libs: encoder: h264fei: remove unnecessary assert
4057           Issue detected by Coverity
4058           An unsigned value can never be negative, so this test will always
4059           evaluate the same way.
4060           In add_slice_headers: An unsigned value can never be less than 0
4061
4062 2019-12-17 16:57:41 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4063
4064         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4065           libs: encoder: h264fei: remove unnecessary check
4066           Issue detected by Coverity
4067           There may be a null pointer dereference, or else the comparison
4068           against null is unnecessary.
4069           In gst_vaapi_encoder_h264_fei_encode: All paths that lead to this null
4070           pointer comparison already dereference the pointer earlier
4071
4072 2019-12-17 16:49:47 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4073
4074         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4075         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4076           libs: encoder: h264fei: don't free memory on stack
4077           Issue detected by Coverity
4078           `info_to_pak` variable in gst_vaapi_encoder_h264_fei_encode() is
4079           declared in the stack, but it is free in
4080           gst_vaapi_feienc_h264_encode() as if declared on the heap.
4081           This patch initializes the structure and removes the free.
4082           A non-heap pointer is placed on the free list, likely causing a crash
4083           later.
4084           In gst_vaapi_encoder_h264_fei_encode: Free of an address-of
4085           expression, which can never be heap allocated.
4086
4087 2019-12-17 13:22:12 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4088
4089         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4090           libs: encoder: h264fei: fix surface leak
4091           Issue detected by Coverity
4092           If the FEI mode is not handled the created resources should be
4093           released and return and error code.
4094           The system resource will not be reclaimed and reused, reducing the
4095           future availability of the resource.
4096           In gst_vaapi_encoder_h264_fei_encode: Leak of memory or pointers to
4097           system resources
4098
4099 2019-12-17 13:09:58 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4100
4101         * tests/check/elements/vaapipostproc.c:
4102           tests: check return calling of gst_navigation_event_parse.*
4103           This issue was detected by Coverity.
4104           If the function returns an error value, the error value may be mistaken
4105           for a normal value.
4106           In cb_mouse_event: Value returned from a function is not checked for
4107           errors before being used
4108
4109 2019-12-16 16:25:02 +0800  He Junyan <junyan.he@hotmail.com>
4110
4111         * gst/vaapi/gstvaapiencode_h264.c:
4112         * gst/vaapi/gstvaapiencode_h264_fei.c:
4113         * gst/vaapi/gstvaapiencode_h265.c:
4114         * gst/vaapi/gstvaapiencode_jpeg.c:
4115         * gst/vaapi/gstvaapiencode_mpeg2.c:
4116         * gst/vaapi/gstvaapiencode_vp8.c:
4117         * gst/vaapi/gstvaapiencode_vp9.c:
4118           plugin: encode: set sink's raw caps to GST_VAAPI_FORMATS_ALL.
4119           Then encode plugin just supports raw formats declared in vaapi video
4120           format map. This modification makes the template caps more precise.
4121
4122 2019-11-14 11:13:51 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
4123
4124         * gst/vaapi/gstvaapipluginbase.c:
4125           plugins: base: add GstPad param to internal helper functions
4126           The base plugin public API function implementations determine
4127           which pad should be passed to the internal helper functions.
4128           Currently, only the base plugin static sinkpad and static
4129           srcpad are supported/used.  However, this change enables future
4130           API functions to be added that can accept a pad (i.e. request pad)
4131           from an element subclass (e.g. a GstVideoAggregator subclass).
4132
4133 2019-11-12 12:21:52 -0800  U. Artie Eoff <ullysses.a.eoff@intel.com>
4134
4135         * gst/vaapi/gstvaapipluginbase.c:
4136         * gst/vaapi/gstvaapipluginbase.h:
4137           plugins: base: manage pad-specific data in a single struct
4138           Define a struct (GstVaapiPadPrivate) to encapsulate the
4139           pad-specific data (i.e. buffer pool, allocator, info,
4140           caps, etc.).
4141           Add an interface to retrieve the data struct for a given
4142           pad.
4143           Finally, update the base plugin to use the data struct
4144           throughout the implementation.
4145           This will enable us to easily extend the base plugin in the
4146           future to allow for N-to-1 pad subclasses (e.g. overlay/
4147           composite).
4148
4149 2019-10-29 15:13:44 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4150
4151         * gst/vaapi/gstvaapidecode.c:
4152         * gst/vaapi/gstvaapiencode.c:
4153         * gst/vaapi/gstvaapipluginbase.h:
4154         * gst/vaapi/gstvaapipostproc.c:
4155           plugins: use plugin base macros to access pad specific data
4156           Don't access base struct fields directly since the underlying
4157           definition can change.  Instead, use the accessor macros.
4158
4159 2019-12-03 00:52:45 +0800  He Junyan <junyan.he@hotmail.com>
4160
4161         * gst/vaapi/gstvaapidecode.c:
4162           libs: decoder: Modify decode src's template raw formats
4163           We do not need to maintain a standalone list of decoder's output
4164           template for raw formats and that is easy to make mistake(for
4165           example, the AYVU is wrong in that list, should be VUYA).
4166           Just use GST_VAAPI_FORMATS_ALL to replace the raw formats list for
4167           src template.
4168
4169 2019-12-11 14:11:13 +0800  He Junyan <junyan.he@hotmail.com>
4170
4171         * gst/vaapi/gstvaapipostproc.c:
4172           libs: postproc: Modify src/sink template raw formats
4173           We need to provide more precise template caps for postproc's src
4174           and sink pads. The GST_VIDEO_FORMATS_ALL make all video formats
4175           available which are really superfluous.
4176
4177 2019-12-10 18:40:42 -0300  Thibault Saunier <tsaunier@igalia.com>
4178
4179         * tests/check/elements/vaapipostproc.c:
4180           Do not mix declaration and code
4181
4182 2019-11-03 17:59:01 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4183
4184         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
4185           libs: decoder: h265: skip all pictures prior the first I-frame
4186           Don't try to decode until the first I-frame is received within the
4187           currently active sequence. i965 H265 decoder don't show any artifact
4188           but it crashes.
4189           Fixes: #98
4190
4191 2019-11-27 01:44:05 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4192
4193         * gst-libs/gst/vaapi/video-format.c:
4194           libs: video-format: remove dead code
4195
4196 2019-10-31 00:59:34 +0800  He Junyan <junyan.he@hotmail.com>
4197
4198         * gst-libs/gst/vaapi/video-format.c:
4199         * gst-libs/gst/vaapi/video-format.h:
4200         * gst/vaapi/gstvaapipluginutil.h:
4201           libs: video-format: add GST_VAAPI_FORMATS_ALL
4202           GST_VAAPI_FORMATS_ALL collects all declared formats in video-format
4203           as a caps template string, and make them available in caps with
4204           memory:VASurface feature.
4205           Fixes: #199
4206
4207 2019-11-06 22:37:12 +0800  He Junyan <junyan.he@hotmail.com>
4208
4209         * gst-libs/gst/vaapi/video-format.c:
4210         * tests/internal/test-windows.c:
4211           libs: video-format: change GST_VIDEO_FORMAT_AYUV to VUYA.
4212           We only support VUYA format in gst vaapi now, need to correct
4213           the mapping.
4214
4215 2019-10-09 15:13:09 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4216
4217         * tests/check/elements/vaapipostproc.c:
4218           tests: check: vaapipostproc test_orientation_mouse_events
4219           Test that vaapipostproc properly translates mouse events
4220           when using video-direction (orientation).
4221
4222 2019-10-09 10:11:54 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4223
4224         * tests/check/elements/vaapipostproc.c:
4225         * tests/check/meson.build:
4226           tests: check: vaapipostproc test_crop_mouse_events
4227           Test that vaapipostproc properly translates mouse events
4228           when cropping.
4229
4230 2019-10-08 12:20:26 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4231
4232         * meson.build:
4233         * meson_options.txt:
4234         * tests/check/elements/vaapipostproc.c:
4235         * tests/check/meson.build:
4236         * tests/meson.build:
4237           tests: check: initial unit test support
4238           Add minimal unit test toolchain files and a simple
4239           vaapipostproc unit test.
4240
4241 2019-10-08 12:19:06 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4242
4243         * meson.build:
4244         * tests/examples/meson.build:
4245         * tests/examples/test-roi.c:
4246         * tests/examples/test-vaapicontext.c:
4247         * tests/examples/test-vaapipostproc.c:
4248         * tests/examples/test-vaapisink.c:
4249         * tests/internal/codec.c:
4250         * tests/internal/codec.h:
4251         * tests/internal/decoder.c:
4252         * tests/internal/decoder.h:
4253         * tests/internal/image.c:
4254         * tests/internal/image.h:
4255         * tests/internal/meson.build:
4256         * tests/internal/output.c:
4257         * tests/internal/output.h:
4258         * tests/internal/simple-decoder.c:
4259         * tests/internal/simple-encoder.c:
4260         * tests/internal/test-decode.c:
4261         * tests/internal/test-decode.h:
4262         * tests/internal/test-display.c:
4263         * tests/internal/test-fei-enc-in.c:
4264         * tests/internal/test-fei-enc-out.c:
4265         * tests/internal/test-filter.c:
4266         * tests/internal/test-h264.c:
4267         * tests/internal/test-h264.h:
4268         * tests/internal/test-jpeg.c:
4269         * tests/internal/test-jpeg.h:
4270         * tests/internal/test-mpeg2.c:
4271         * tests/internal/test-mpeg2.h:
4272         * tests/internal/test-mpeg4.c:
4273         * tests/internal/test-mpeg4.h:
4274         * tests/internal/test-subpicture-data.c:
4275         * tests/internal/test-subpicture-data.h:
4276         * tests/internal/test-subpicture.c:
4277         * tests/internal/test-surfaces.c:
4278         * tests/internal/test-textures.c:
4279         * tests/internal/test-vc1.c:
4280         * tests/internal/test-vc1.h:
4281         * tests/internal/test-windows.c:
4282         * tests/internal/y4mreader.c:
4283         * tests/internal/y4mreader.h:
4284         * tests/meson.build:
4285           tests: move examples and tests to subfolders
4286           This makes way for adding unit (check) tests.
4287
4288 2019-10-14 01:01:27 +0100  Tim-Philipp Müller <tim@centricular.com>
4289
4290         * .gitmodules:
4291         * Makefile.am:
4292         * autogen.sh:
4293         * common:
4294         * configure.ac:
4295         * git.mk:
4296         * gst-libs/Makefile.am:
4297         * gst-libs/gst/Makefile.am:
4298         * gst-libs/gst/vaapi/Makefile.am:
4299         * gst/Makefile.am:
4300         * gst/vaapi/Makefile.am:
4301         * m4/Makefile.am:
4302         * tests/Makefile.am:
4303         * tests/elements/Makefile.am:
4304           Remove autotools build
4305
4306 2019-10-10 15:26:36 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4307
4308         * gst/vaapi/gstvaapipostproc.c:
4309           vaapipostproc: fix off-by-one coord translations
4310           When translating navigation x,y coordinates for
4311           video-direction, it is necessary to subtract 1
4312           when using the video dimensions to compute the
4313           new x,y coordinates.  That is, a 100x200 image
4314           should map coordinates in x=[0-99],y=[0-199].
4315           This issue was found with unit tests provided
4316           in !182.
4317
4318 2019-10-11 17:34:06 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4319
4320         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
4321           libs: window: x11: Avoid usage of deprecated API
4322
4323 2019-10-11 17:13:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4324
4325         * meson.build:
4326           build: halt meson configuration if no renderer API
4327           We should halt meson configuration if there is no render API
4328           installed (either DRM, Wayland or X11).
4329           That behavior was already in autotools but missed in meson. This patch
4330           brings it back.
4331           Fixes: #196
4332
4333 2019-10-09 12:12:18 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4334
4335         * gst-libs/gst/vaapi/gstvaapifilter.c:
4336           libs: filter: fix default orientation regression
4337           Fix regression introduced in f232f87f7082
4338
4339 2019-10-07 11:53:23 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4340
4341         * gst-libs/gst/vaapi/gstvaapifilter.c:
4342           libs: filter: use OP_DATA_DEFAULT_VALUE macro
4343
4344 2019-10-07 11:39:19 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4345
4346         * gst-libs/gst/vaapi/gstvaapifilter.c:
4347           libs: filter: use macro for returning op default value
4348           The code is essentially the same for getting all op default
4349           values.  Thus, use a macro to help minimize code duplication
4350           and [hopefully] encourage using the same mechanism for all
4351           default getters.
4352
4353 2019-10-07 09:56:37 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4354
4355         * gst-libs/gst/vaapi/gstvaapifilter.c:
4356           libs: filter: query param spec for default scale method
4357           Related: #159
4358
4359 2019-10-07 09:44:06 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4360
4361         * gst-libs/gst/vaapi/gstvaapifilter.c:
4362           libs: filter: query param spec for default skin-tone values
4363           Related: #159
4364
4365 2019-10-02 12:54:52 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4366
4367         * gst-libs/gst/vaapi/gstvaapifilter.c:
4368           libs: filter: query param spec for default video-direction
4369           Related: #159
4370
4371 2019-10-07 10:23:09 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4372
4373         * .gitignore:
4374           add .gitignore
4375
4376 2019-09-05 16:40:52 +0800  Yan Wang <yan.wang@linux.intel.com>
4377
4378         * gst-libs/gst/vaapi/gstvaapifilter.c:
4379         * gst-libs/gst/vaapi/gstvaapifilter.h:
4380         * gst/vaapi/gstvaapipostproc.c:
4381         * gst/vaapi/gstvaapipostproc.h:
4382           vaapipostproc: Use level value for skin-tone-enhancement filter.
4383           Currently the parameter of skin-tone-enhancement filter is forced
4384           to zero. In fact it could be set different value by the user.
4385           So create a new property named as "skin-tone-enhancement-level"
4386           for accepting the used defined parameter value.
4387           At the same time, skin-tone-enhancement is marked as deprecated.
4388           When skin-tone-enhancement-level is set, skin-tone-enhancement
4389           will be ignored.
4390
4391 2019-09-21 13:39:42 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4392
4393         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
4394         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
4395           libs: decoder: h264, h266: fix g_return_val_if_fail() missuse
4396           g_return_val_fail() documentations says:
4397           If expr evaluates to FALSE, the current function should be
4398           considered to have undefined behaviour (a programmer error).
4399           The only correct solution to such an error is to change the
4400           module that is calling the current function, so that it avoids
4401           this incorrect call.
4402           So it was missused in a couple parts of the H264 and H265 internal
4403           decoders. This patch changes that to plain conditionals.
4404           Also, it was included a couple code-style fixes.
4405
4406 2019-09-23 19:52:20 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4407
4408         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4409         * gst-libs/gst/vaapi/gstvaapiencoder.h:
4410         * tests/simple-encoder.c:
4411         * tests/test-fei-enc-in.c:
4412           libs: encoder: remove gst_vaapi_encoder_{ref,unref}()
4413           Since GstVaapiEncoder is a descendant of of GstObject, there is no
4414           need to keep a custom ref()/unref() methods. This patch deletes them.
4415
4416 2019-09-24 01:03:02 +0800  He Junyan <junyan.he@hotmail.com>
4417
4418         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4419           libs: encoder: correct encoder's ref/unref function.
4420           GstVaapiEncoder now is a standard gstobject and need to use
4421           gst_object_ref/unref functions.
4422
4423 2019-09-19 12:09:20 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4424
4425         * gst/vaapi/gstvaapiencode_h264_fei.c:
4426           gst: encode: h264_fei: remove useless comparison
4427           The expression "len >= 0" is always true since "len"
4428           is an unsigned type.  And it is clear that the writers
4429           intention was not to write "len > 0" since we handle
4430           len == 0 in the ensuing "if (len < 3)" conditional
4431           block.
4432
4433 2019-09-19 11:17:24 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4434
4435         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4436           libs: encoder: h264_fei: fix potential overflow before widen
4437           Found by static analysis. encoder->mb_width * encoder->mb_height
4438           is evaluated using 32-bit arithmetic before widen.  Thus, cast
4439           at least one of these to guint64 to avoid overflow.
4440
4441 2019-09-19 10:56:13 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4442
4443         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4444           libs: encoder: h264_fei: remove dead error condition
4445           Found by static analysis.  The feipak is always null
4446           when we reach the error target.
4447
4448 2019-09-19 10:49:11 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4449
4450         * gst-libs/gst/vaapi/gstvaapiutils.c:
4451           libs: utils: add missing break in switch
4452
4453 2019-09-11 11:56:35 +0800  He Junyan <junyan.he@hotmail.com>
4454
4455         * gst-libs/gst/vaapi/video-format.c:
4456           libs: video-format: Make all YUV format available
4457           The YUV formats have no ambiguity for drivers, so we can add them all.
4458           Some old driver(i965) does not implement full get/put image functions
4459           but can use derive image funtions for the YUV format. It does not
4460           report that kind of formats correctly in image query, but will derive
4461           that YUV format image from surface. The dynamic mapping of YUV format
4462           will block that manner.
4463           Adding more YUV format mapping has no side effect. So considering the
4464           legacy driver conformance, we add all YUV formats mapping statically
4465           and dynamic mapping RBG formats
4466           Fix: #189
4467           Fix: #190
4468
4469 2019-09-18 15:30:03 +1000  Matthew Waters <matthew@centricular.com>
4470
4471         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
4472         * gst-libs/gst/vaapi/gstvaapiutils_egl.h:
4473           egl: Fix racyness in display thread creation
4474           Multiple different scenarios could break the display thread creation and
4475           end up blocking waiting for thread o be created.  Fix them all by
4476           correctly waiting for a new boolean to become valid.
4477
4478 2019-09-18 15:29:03 +1000  Matthew Waters <matthew@centricular.com>
4479
4480         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
4481           egl: don't advertise a wrapped EGLContext as actually wrapped
4482           It's not actually wrapped as we create a new EGLContext from the passed
4483           in EGLContext.  As a result, the created EGLContext was never destroyed.
4484
4485 2019-09-16 23:28:31 +0800  He Junyan <junyan.he@hotmail.com>
4486
4487         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
4488           libs: h264decoder: do not return error for unhandled NAL unit.
4489           Some streams have error data introducing unknown NAL type. There are
4490           also kinds of NAL types we do not want to handle. The old manner will
4491           set a decoder error when encounter this, which cause a latent crash bug.
4492           The decoder may successfully decode the picture and insert it into DPB.
4493           But there are error NAL units after the AU which cause the post unit error
4494           and make that frame dropped. The later output of the picture still want
4495           to ref that frame and crash.
4496           No need to set decoder error when can not recognize or handle the NAL
4497           unit, just skip it and continue.
4498           Fix: #191
4499
4500 2019-09-11 14:32:22 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4501
4502         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4503         * gst-libs/gst/vaapi/gstvaapiencoder.h:
4504         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4505         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4506         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
4507         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
4508         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
4509         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
4510         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
4511         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4512         * gst/vaapi/gstvaapiencode.c:
4513           libs: encoders: use GST_PARAM_USER_SHIFT to define internal params
4514           This patch makes use of GST_PARAM_USER_SHIFT to define the internal
4515           param in encoders to decide which parameters to expose. Thus
4516           gstreamer-vaapi will not interfere with any change in GStreamer in the
4517           future.
4518           Also, the internal symbol was change to
4519           GST_VAAPI_PARAM_ENCODER_EXPOSURE to keep the namespacing.
4520
4521 2019-09-09 18:06:51 +0800  He Junyan <junyan.he@hotmail.com>
4522
4523         * gst-libs/gst/vaapi/gstvaapiimage.c:
4524         * gst-libs/gst/vaapi/video-format.c:
4525           libs: Add BGR10A2_LE support for color space conversion.
4526           Fix: #179
4527
4528 2019-08-23 14:41:06 +0800  He Junyan <junyan.he@hotmail.com>
4529
4530         * gst-libs/gst/vaapi/gstvaapisurface.c:
4531           libs: surface: add pointer check for surface_new_from_formats.
4532           The command line:
4533           gst-launch-1.0 filesrc location=some_name.mjpeg ! jpegparse !
4534           vaapijpegdec !  videoconvert ! video/x-raw,format=I420 ! vaapisink
4535           will crash on i965 driver because of no pointer check.
4536           We now generate the video format map between GST format and VA format
4537           dynamically based on the image format returned by vaQueryImageFormats.
4538           i965 driver does to report image format of 444P and Y800 forcc, while
4539           the jpeg decoder context VASurfaceAttribPixelFormat use them. We can
4540           not recognize these format and pass a NULL pointer to
4541           gst_vaapi_surface_new_from_formats.
4542           We need to add a pointer check here and let the fallback logic handle
4543           this case correctly.
4544           Other drivers work well.
4545
4546 2019-09-07 13:23:01 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4547
4548         * gst-libs/gst/vaapi/gstvaapiutils.c:
4549           libs: utils: guard the VAEntrypointFEI symbol
4550           VAEntrypointFEI appeared in libva 2.0.0 (API version 1.0.0)
4551
4552 2019-09-05 14:48:22 +0800  He Junyan <junyan.he@hotmail.com>
4553
4554         * gst-libs/gst/vaapi/gstvaapidisplay.c:
4555         * gst-libs/gst/vaapi/video-format.c:
4556         * gst-libs/gst/vaapi/video-format.h:
4557           libs: video-format: Refine the video format mapping.
4558           Improve the mapping between va format and gst format. The new map
4559           will be generated dynamically, based on the query result of image
4560           format in VA driver. Also consider the ambiguity of RGB color
4561           format in LSB mode.
4562
4563 2019-04-15 16:51:26 +0100  Philippe Normand <philn@igalia.com>
4564
4565         * gst/vaapi/gstvaapipluginutil.c:
4566           pluginutil: Remove Mesa from drivers white list
4567           The Mesa Gallium driver is poorly tested currently, leading to bad user
4568           experience for AMD users. The driver can be added back to the white list at
4569           runtime using the GST_VAAPI_ALL_DRIVERS environment variable.
4570
4571 2019-07-08 14:18:00 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4572
4573         * gst/vaapi/gstvaapipostproc.c:
4574         * gst/vaapi/gstvaapipostproc.h:
4575         * gst/vaapi/gstvaapipostprocutil.c:
4576           vaapipostproc: allow cropping via properties
4577           Add crop-left, crop-right, crop-top and crop-bottom
4578           properties to vaapipostproc.
4579
4580 2019-08-30 17:31:45 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4581
4582         * gst/vaapi/gstvaapipostproc.c:
4583           vaapipostproc: rotate outbuf and crop meta if forwarding
4584           When forwarding crop meta to downstream, the output
4585           buffer and crop meta need to be rotated, too.
4586           Test:
4587           for i in 90r 180 90l vert horiz ul-lr ur-ll
4588           do
4589           gst-launch-1.0 -vf videotestsrc num-buffers=500 \
4590           ! videocrop top=100 bottom=30 left=40 right=20 \
4591           ! vaapipostproc video-direction=$i \
4592           ! vaapisink & \
4593           gst-launch-1.0 -vf videotestsrc num-buffers=500 \
4594           ! videocrop top=100 bottom=30 left=40 right=20 \
4595           ! vaapipostproc video-direction=$i \
4596           ! identity drop-allocation=true \
4597           ! vaapisink
4598           done
4599
4600 2019-08-30 14:14:30 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4601
4602         * gst/vaapi/gstvaapipostproc.c:
4603           vaapipostproc: fix output buffer WxH for crop meta forwarding
4604           Adding crop meta x,y to w,h only compensates for left,top
4605           cropping.  But we also need to compensate for right,bottom
4606           cropping.
4607           The video meta contains the appropriate w,h (uncropped)
4608           values, so use it instead.
4609           Test:
4610           gst-launch-1.0 -vf videotestsrc num-buffers=500 \
4611           ! videocrop top=50 bottom=30 left=40 right=20 \
4612           ! vaapipostproc ! vaapisink & \
4613           gst-launch-1.0 -vf videotestsrc num-buffers=500 \
4614           ! videocrop top=50 bottom=30 left=40 right=20 \
4615           ! vaapipostproc ! identity drop-allocation=1 \
4616           ! vaapisink
4617
4618 2019-09-04 10:52:51 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4619
4620         * gst/vaapi/gstvaapipostproc.c:
4621           vaapipostproc: handle size and direction together in src events
4622           Mapping a pointer event needs to consider both size and
4623           video-direction operations together, not just one or the other.
4624           This fixes an issue where x,y were not being mapped correctly
4625           for 90r, 90l, ur-ll and ul-lr video-direction. In these directions,
4626           the WxH are swapped and GST_VAAPI_POSTPROC_FLAG_SIZE is set.  Thus,
4627           the first condition in the pointer event handling was entered and
4628           x,y scale factor were incorrectly computed due to srcpad WxH
4629           swap.
4630           This also fixes all cases where both video-direction and scaling
4631           are enabled at the same time.
4632           Test that all pointer events map appropriately:
4633           for i in `seq 0 7`
4634           do
4635           GST_DEBUG=vaapipostproc:5 gst-launch-1.0 -vf videotestsrc \
4636           ! vaapipostproc video-direction=${i} width=300 \
4637           ! vaapisink
4638           GST_DEBUG=vaapipostproc:5 gst-launch-1.0 -vf videotestsrc \
4639           ! vaapipostproc video-direction=${i} width=300 height=200 \
4640           ! vaapisink
4641           GST_DEBUG=vaapipostproc:5 gst-launch-1.0 -vf videotestsrc \
4642           ! vaapipostproc video-direction=${i} height=200 \
4643           ! vaapisink
4644           GST_DEBUG=vaapipostproc:5 gst-launch-1.0 -vf videotestsrc \
4645           ! vaapipostproc video-direction=${i} \
4646           ! vaapisink
4647           done
4648
4649 2019-08-20 14:22:57 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
4650
4651         * gst/vaapi/gstvaapipostproc.c:
4652         * gst/vaapi/gstvaapipostproc.h:
4653           vaapipostproc: advertise crop meta is handled
4654           Advertise to upstream that vaapipostproc can handle
4655           crop meta.
4656           When used in conjunction with videocrop plugin, the
4657           videocrop plugin will only do in-place transform on the
4658           crop meta when vaapipostproc advertises the ability to
4659           handle it.  This allows vaapipostproc to apply the crop
4660           meta on the output buffer using vaapi acceleration.
4661           Without this advertisement, the videocrop plugin will
4662           crop the output buffer directly via software methods,
4663           which is not what we desire.
4664           vaapipostproc will not apply the crop meta if downstream
4665           advertises crop meta handling; vaapipostproc will just
4666           forward the crop meta to downstream.  If crop meta is
4667           not advertised by downstream, then vaapipostproc will
4668           apply the crop meta.
4669           Examples:
4670           1. vaapipostproc will forward crop meta to vaapisink
4671           gst-launch-1.0 videotestsrc \
4672           ! videocrop left=10 \
4673           ! vaapipostproc \
4674           ! vaapisink
4675           2. vaapipostproc will do the cropping
4676           gst-launch-1.0 videotestsrc \
4677           ! videocrop left=10 \
4678           ! vaapipostproc \
4679           ! identity drop-allocation=1 \
4680           ! vaapisink
4681
4682 2019-08-29 18:44:36 +0800  He Junyan <junyan.he@hotmail.com>
4683
4684         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
4685           libs: encoder: clean two virtual func in encoder class
4686           set_property and get_default_properties functions are no longer
4687           needed for encoder class.
4688
4689 2019-08-29 18:43:30 +0800  He Junyan <junyan.he@hotmail.com>
4690
4691         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4692         * gst-libs/gst/vaapi/gstvaapifeienc_h264.h:
4693           libs: encoder: delete old set_property and property enum feienc264
4694
4695 2019-08-29 18:39:27 +0800  He Junyan <junyan.he@hotmail.com>
4696
4697         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4698         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.h:
4699           libs: encoder: delete old set_property and property enum in h264 fei
4700
4701 2019-08-29 18:37:58 +0800  He Junyan <junyan.he@hotmail.com>
4702
4703         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
4704         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
4705           libs: encoder: delete old set_property and property enum in vp9
4706
4707 2019-08-29 18:36:51 +0800  He Junyan <junyan.he@hotmail.com>
4708
4709         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
4710         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
4711           libs: encoder: delete old set_property and property enum in vp8
4712
4713 2019-08-29 18:35:59 +0800  He Junyan <junyan.he@hotmail.com>
4714
4715         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
4716         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
4717           libs: encoder: delete old set_property and property enum in mpeg2
4718
4719 2019-08-29 18:34:57 +0800  He Junyan <junyan.he@hotmail.com>
4720
4721         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
4722         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
4723           libs: encoder: delete old set_property and property enum in jpeg
4724
4725 2019-08-29 18:31:56 +0800  He Junyan <junyan.he@hotmail.com>
4726
4727         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
4728         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
4729           libs: encoder: delete old set_property and property enum in h265
4730
4731 2019-08-29 18:30:07 +0800  He Junyan <junyan.he@hotmail.com>
4732
4733         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4734         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
4735           libs: encoder: delete old set_property and property enum in h264
4736
4737 2019-08-29 18:17:42 +0800  He Junyan <junyan.he@hotmail.com>
4738
4739         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4740         * gst-libs/gst/vaapi/gstvaapiencoder.h:
4741         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
4742           libs: encoder: delete EncoderPropInfo related functions
4743
4744 2019-08-29 16:13:19 +0800  He Junyan <junyan.he@hotmail.com>
4745
4746         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4747         * gst-libs/gst/vaapi/gstvaapiencoder.h:
4748           libs: encoder: delete encoder_set_property
4749           We no longer need this obsolete set_property function now after
4750           switch to standard gobject's property manner.
4751           Also delete the old encoder's property enum in the header file.
4752
4753 2019-08-29 15:59:43 +0800  He Junyan <junyan.he@hotmail.com>
4754
4755         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4756         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
4757           libs: encoder: delete properties_get_default for base class
4758
4759 2019-08-29 15:52:04 +0800  He Junyan <junyan.he@hotmail.com>
4760
4761         * gst/vaapi/gstvaapiencode.c:
4762         * gst/vaapi/gstvaapiencode.h:
4763           plugin: encode: delete useless init_properties.
4764           Also delete the get_properties function in encode class. We now
4765           use g_object_class_list_properties to get all properties for
4766           internal encoder class.
4767
4768 2019-08-29 15:43:45 +0800  He Junyan <junyan.he@hotmail.com>
4769
4770         * gst/vaapi/gstvaapiencode.c:
4771         * gst/vaapi/gstvaapiencode.h:
4772           plugin: encode: delete set/get_property func in encode class
4773           Use standard gobject's property functions to replace the old way.
4774
4775 2019-08-29 15:31:16 +0800  He Junyan <junyan.he@hotmail.com>
4776
4777         * gst/vaapi/gstvaapiencode.c:
4778         * gst/vaapi/gstvaapiencode.h:
4779           plugin: encode: delete gst_vaapiencode_init_properties
4780           No need to init the properties got by get_default_properties func
4781           now. The properties are inited correctly in internal encoder class.
4782
4783 2019-08-29 15:19:10 +0800  He Junyan <junyan.he@hotmail.com>
4784
4785         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
4786           libs: encoder: delete 3 useless init macro
4787
4788 2019-08-29 15:16:26 +0800  He Junyan <junyan.he@hotmail.com>
4789
4790         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4791         * gst-libs/gst/vaapi/gstvaapifeienc_h264.h:
4792           libs: encoder: delete get_default_properties of feienc
4793
4794 2019-08-29 15:14:14 +0800  He Junyan <junyan.he@hotmail.com>
4795
4796         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4797         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.h:
4798           libs: encoder: delete get_default_properties of H264 Fei
4799
4800 2019-08-29 15:07:17 +0800  He Junyan <junyan.he@hotmail.com>
4801
4802         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
4803         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
4804           libs: encoder: delete get_default_properties of VP9
4805
4806 2019-08-29 15:06:25 +0800  He Junyan <junyan.he@hotmail.com>
4807
4808         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
4809         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
4810           libs: encoder: delete get_default_properties of VP8
4811
4812 2019-08-29 15:03:52 +0800  He Junyan <junyan.he@hotmail.com>
4813
4814         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
4815         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
4816           libs: encoder: delete get_default_properties of MPEG2
4817
4818 2019-08-29 15:03:19 +0800  He Junyan <junyan.he@hotmail.com>
4819
4820         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
4821         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
4822           libs: encoder: delete get_default_properties of JPEG
4823
4824 2019-08-30 19:15:38 +0800  He Junyan <junyan.he@hotmail.com>
4825
4826         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
4827         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
4828           libs: encoder: delete get_default_properties of H265
4829
4830 2019-08-29 14:59:12 +0800  He Junyan <junyan.he@hotmail.com>
4831
4832         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4833         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
4834           libs: encoder: delete get_default_properties of H264
4835
4836 2019-08-29 14:53:59 +0800  He Junyan <junyan.he@hotmail.com>
4837
4838         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4839           libs: encoder: delete the useless constructed func for encoder.
4840
4841 2019-08-26 23:16:33 +0800  He Junyan <junyan.he@hotmail.com>
4842
4843         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4844         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4845         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4846           libs: encoder: implement get_view_ids for h264 encoder.
4847
4848 2019-08-20 23:56:33 +0800  He Junyan <junyan.he@hotmail.com>
4849
4850         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4851         * gst/vaapi/gstvaapiencode.c:
4852         * gst/vaapi/gstvaapiencode_h264.c:
4853         * gst/vaapi/gstvaapiencode_h264_fei.c:
4854         * gst/vaapi/gstvaapiencode_h265.c:
4855         * gst/vaapi/gstvaapiencode_jpeg.c:
4856         * gst/vaapi/gstvaapiencode_mpeg2.c:
4857         * gst/vaapi/gstvaapiencode_vp8.c:
4858         * gst/vaapi/gstvaapiencode_vp9.c:
4859           gst: encode: enable new type of property mechanism.
4860
4861 2019-08-20 22:16:35 +0800  He Junyan <junyan.he@hotmail.com>
4862
4863         * gst/vaapi/gstvaapiencode.c:
4864         * gst/vaapi/gstvaapiencode.h:
4865           gst: encode: add property help functions for encoder properties.
4866           The encoder is a true gstobject now and all the properties are using
4867           gobject's properties mechanism. Add help functions to handle the properties
4868           between encode and encoder class.
4869           The basic idea is mapping the same property between encoder and encode. All
4870           the encoder's properties will have the same name, the same type in encode.
4871           The set/get property function just forward the property setting/getting to
4872           the encoder using the same property name and value. Because the encoder is
4873           created on needed, we need to cache the property setting in encode.
4874
4875 2019-08-30 18:39:32 +0800  He Junyan <junyan.he@hotmail.com>
4876
4877         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4878         * gst-libs/gst/vaapi/gstvaapiencoder.h:
4879         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4880         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4881         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
4882         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
4883         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
4884         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
4885         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
4886         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4887           libs: encoder: add flags to all encoder properties.
4888           G_PARAM_CONSTRUCT make all properties init correctly, we do not
4889           need to init the properties manually.
4890           G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE is a vaapi encoder specific
4891           flag, means need to expose the property to according encode class.
4892
4893 2019-08-20 17:00:39 +0800  He Junyan <junyan.he@hotmail.com>
4894
4895         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4896           libs: encoder: Add properties for h264 encoder fei.
4897           Install properties for h264 encoder fei class. Also set the new get/set
4898           property functions for gobject class. Still use the old properties
4899           way now and this new feature will be enabled later.
4900
4901 2019-08-20 15:58:30 +0800  He Junyan <junyan.he@hotmail.com>
4902
4903         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4904           libs: encoder: Add properties for h264 fei encoder.
4905           Install properties for h264 fei encoder class. Also set the new get/set
4906           property functions for gobject class. Still use the old properties
4907           way now and this new feature will be enabled later.
4908
4909 2019-08-20 15:29:27 +0800  He Junyan <junyan.he@hotmail.com>
4910
4911         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
4912           libs: encoder: Add properties for vp9 encoder.
4913           Install properties for vp9 encoder class. Also set the new get/set
4914           property functions for gobject class. Still use the old properties
4915           way now and this new feature will be enabled later.
4916
4917 2019-08-20 15:01:02 +0800  He Junyan <junyan.he@hotmail.com>
4918
4919         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
4920           libs: encoder: Add properties for vp8 encoder.
4921           Install properties for vp8 encoder class. Also set the new get/set
4922           property functions for gobject class. Still use the old properties
4923           way now and this new feature will be enabled later.
4924
4925 2019-08-20 14:31:58 +0800  He Junyan <junyan.he@hotmail.com>
4926
4927         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
4928           libs: encoder: Add properties for mpeg2 encoder.
4929           Install properties for mpeg2 encoder class. Also set the new get/set
4930           property functions for gobject class. Still use the old properties
4931           way now and this new feature will be enabled later.
4932
4933 2019-08-20 14:53:06 +0800  He Junyan <junyan.he@hotmail.com>
4934
4935         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
4936           libs: encoder: Add properties for jpeg encoder.
4937           Install properties for jpeg encoder class. Also set the new get/set
4938           property functions for gobject class. Still use the old properties
4939           way now and this new feature will be enabled later.
4940
4941 2019-08-20 14:12:36 +0800  He Junyan <junyan.he@hotmail.com>
4942
4943         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
4944           libs: encoder: Add properties for h265 encoder.
4945           Install properties for h265 encoder class. Also set the new get/set
4946           property functions for gobject class. Still use the old properties
4947           way now and this new feature will be enabled later.
4948
4949 2019-08-20 01:33:40 +0800  He Junyan <junyan.he@hotmail.com>
4950
4951         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4952           libs: encoder: Add properties for h264 encoder.
4953           Install properties for h264 encoder class. Also set the new get/set
4954           property functions for gobject class. Still use the old properties
4955           way now and this new feature will be enabled later.
4956
4957 2019-08-19 15:38:09 +0800  He Junyan <junyan.he@hotmail.com>
4958
4959         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4960           libs: encoder: add properties and prop help functions
4961           Add all common properties to encoder base class. rate-control and
4962           tune are moved to sub class.
4963
4964 2019-08-29 14:38:49 +0800  He Junyan <junyan.he@hotmail.com>
4965
4966         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4967         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
4968           libs: encoder: delete useless gst_vaapi_encoder_new func.
4969           GstVaapiEncoder is a abstract gobject and never be created directly.
4970
4971 2019-07-27 00:55:53 +0800  He Junyan <junyan.he@hotmail.com>
4972
4973         * gst-libs/gst/vaapi/gstvaapiencoder.c:
4974         * gst-libs/gst/vaapi/gstvaapiencoder.h:
4975         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
4976         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
4977         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
4978         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.h:
4979         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
4980         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
4981         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
4982         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
4983         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
4984         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
4985         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
4986         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
4987         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
4988         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
4989         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
4990         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
4991         * gst-libs/gst/vaapi/gstvaapifeienc_h264.h:
4992           lib: encoder: gstobjectfy all vaapi encoders.
4993           Replace all gstvaapiobject in vaapi encoders with standard gstobject.
4994           Let the gstobject common logic to handle all the init and finalize
4995           works. But the property install/set/get still use the old way, need
4996           to be improved later.
4997
4998 2019-08-29 12:11:36 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
4999
5000         * gst/vaapi/gstvaapipostproc.c:
5001           vaapipostproc: check for filter before appending caps
5002           While ensuring the allowed sink pad caps, the filter attributes set
5003           the frame size restriction, but it is not ensured, at that moment,
5004           that the filter is already instantiaded.
5005           In order to silence the glib logs, this patch add only calls
5006           gst_vaapi_filter_append_caps() if the filter is instantiated.
5007
5008 2019-08-28 12:49:03 -0400  Thibault Saunier <tsaunier@igalia.com>
5009
5010         * gst/vaapi/gstvaapidecodebin.c:
5011           Classify vaapidecodebin as a hardware decoder
5012
5013 2019-08-27 18:12:45 +0800  He Junyan <junyan.he@hotmail.com>
5014
5015         * gst/vaapi/gstvaapipostproc.c:
5016           libs: postproc: fix a memory leak point.
5017           filter_ops and filter_formats should already have valid value when
5018           the function gst_vaapipostproc_ensure_filter_caps re-enter
5019
5020 2019-08-27 01:30:36 +0800  He Junyan <junyan.he@hotmail.com>
5021
5022         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
5023           libs: util: Fix a memory leak in config_surface_attributes_get
5024
5025 2019-08-22 14:33:54 +0800  Wangfei <fei.w.wang@intel.com>
5026
5027         * gst/vaapi/gstvaapidecode.c:
5028           vaapidecode: support transform ROI meta
5029           This will benefit the use case like:
5030           src --->   encode    ---> decode ---> circle ROI ---> sink
5031           |                |
5032           --> analyse to -->
5033           get ROI
5034
5035 2019-08-23 19:10:15 +0200  Mathieu Duponchelle <mathieu@centricular.com>
5036
5037         * gst/vaapi/gstvaapidecodedoc.c:
5038           docstrings: port ulinks to markdown links
5039
5040 2019-08-20 17:05:14 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5041
5042         * gst-libs/gst/vaapi/Makefile.am:
5043         * gst-libs/gst/vaapi/gstvaapicontext.c:
5044         * gst-libs/gst/vaapi/gstvaapicontext_overlay.c:
5045         * gst-libs/gst/vaapi/gstvaapicontext_overlay.h:
5046         * gst-libs/gst/vaapi/meson.build:
5047           libs: remove context's overlay
5048           The context overlay was an optimization to apply a video composition
5049           to all the surfaces bound to a context.
5050           But since commit 18031dc6 this optimization was disabled, so it is
5051           better just get rid of it.
5052
5053 2019-08-20 16:50:46 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5054
5055         * gst-libs/gst/vaapi/gstvaapicontext.c:
5056         * gst-libs/gst/vaapi/gstvaapisurface.c:
5057         * gst-libs/gst/vaapi/gstvaapisurface.h:
5058         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
5059         * gst/vaapi/gstvaapipluginutil.c:
5060         * tests/test-subpicture.c:
5061           libs: remove surface's parent context
5062           In commit 18031dc6 surface's parent context is not assigned because of
5063           circular references. Since then (2013), there's has no issue with
5064           subpictures attached to a context, the current only users of this API.
5065           This patch cleans up all of related code with the unused surface's
5066           parent context.
5067
5068 2019-08-18 13:53:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5069
5070         * gst/vaapi/gstvaapidecode.c:
5071           vaapidecode: guard if no structure is available in caps
5072
5073 2019-08-18 13:53:19 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5074
5075         * gst-libs/gst/vaapi/gstvaapifilter.c:
5076         * gst-libs/gst/vaapi/gstvaapifilter.h:
5077         * gst/vaapi/gstvaapipostproc.c:
5078           vaapipostproc: append frame size restrictions in caps
5079
5080 2019-08-18 13:09:58 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5081
5082         * gst-libs/gst/vaapi/gstvaapiprofilecaps.c:
5083           libs: profilecaps: refactor common code
5084
5085 2019-08-16 19:35:58 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5086
5087         * gst/vaapi/gstvaapiencode.c:
5088           vaapiencode: set frame size restrictions in caps
5089           Fixes: #12
5090
5091 2019-08-16 19:28:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5092
5093         * gst-libs/gst/vaapi/gstvaapiencoder.c:
5094         * gst-libs/gst/vaapi/gstvaapiencoder.h:
5095         * gst/vaapi/gstvaapiencode.c:
5096           vaapiencode: enhance how the profile is defined
5097           This code doesn't define the profile used by the internal encoder, but
5098           it used to "predict" which is going to be used and to get the caps
5099           restrictions.
5100           Before the profile was predicted by checking the donwstream caps, but
5101           sometimes they are not defined, setting an unknown profile. In order
5102           to enhances this situation, the encoder asks to internal encoder if it
5103           has one. If so, it is used.
5104           To ask the internal encoder's profile a new accessor function was
5105           added: gst_vaapi_encoder_get_profile()
5106
5107 2019-08-16 19:26:36 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5108
5109         * gst-libs/gst/vaapi/gstvaapiprofilecaps.c:
5110         * gst-libs/gst/vaapi/gstvaapiprofilecaps.h:
5111           libs: profilecaps: defines gst_vaapi_profile_caps_append_encoder()
5112           Previously it was just a boilerplate. Now it is real implementation.
5113
5114 2019-08-16 19:17:48 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5115
5116         * gst-libs/gst/vaapi/gstvaapiutils.c:
5117           libs: utils: treat va_rt_format as bitwise flag
5118           The return value of vaGetConfigAttributes() of VAConfigAttribRTFormat
5119           is a bitwise flag with *all* the supported chroma types.
5120           Previously it was assumed that the return value was a single value,
5121           thus when returning the GST_VAAPI_CHROMA_TYPE_XXX the code was a
5122           simple case. But it is wrong.
5123           This patch changes the case block with a sequence of ifs testing the
5124           bitwise. For now we assume a "priority" list in the testing sequence.
5125
5126 2019-08-16 18:07:43 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5127
5128         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5129         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5130         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
5131         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
5132         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
5133         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
5134         * gst-libs/gst/vaapi/gstvaapiprofile.c:
5135         * gst-libs/gst/vaapi/gstvaapiprofile.h:
5136         * tests/test-display.c:
5137           libs: profile: add gst_vaapi_profile_get_va_name()
5138           gst_vaapi_profile_get_name() returns a proper name for
5139           GstCaps. Nonetheless, there are many profiles which don't have a name
5140           representation for that realm.
5141           gst_vaapi_profile_get_va_name() returns the name of the profile
5142           according to its VAProfile name.
5143           This new funtion is used in the encoder error message.
5144
5145 2019-08-05 19:47:30 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5146
5147         * gst-libs/gst/vaapi/Makefile.am:
5148         * gst-libs/gst/vaapi/gstvaapiprofilecaps.c:
5149         * gst-libs/gst/vaapi/gstvaapiprofilecaps.h:
5150         * gst-libs/gst/vaapi/meson.build:
5151         * gst/vaapi/gstvaapidecode.c:
5152           libs: profilecaps: move caps config into a new file
5153           Implement all the appending of frame size restrictions in caps, for
5154           encoders and decoders, in a new source file.
5155
5156 2019-08-05 19:45:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5157
5158         * gst-libs/gst/vaapi/gstvaapidecoder.c:
5159           libs: decoder: ref the caps as property
5160
5161 2019-08-02 16:56:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5162
5163         * gst-libs/gst/vaapi/gstvaapicontext.c:
5164         * gst-libs/gst/vaapi/gstvaapicontext.h:
5165           libs: context: add gst_vaapi_context_get_surface_attributes()
5166           This function copies the surface attributes from the context's object
5167           to the caller.
5168
5169 2019-08-02 12:46:55 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5170
5171         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
5172         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
5173         * gst-libs/gst/vaapi/gstvaapiutils.c:
5174         * gst-libs/gst/vaapi/gstvaapiutils.h:
5175           libs: move memory types conversions to gstvaapiutils
5176           And add more supported memory types by current VA.
5177
5178 2019-08-01 19:48:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5179
5180         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
5181         * gst-libs/gst/vaapi/gstvaapiutils_core.h:
5182           libs: utils: remove unused function gst_vaapi_get_surface_formats()
5183
5184 2019-08-01 19:46:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5185
5186         * gst-libs/gst/vaapi/gstvaapicontext.c:
5187         * gst-libs/gst/vaapi/gstvaapicontext.h:
5188         * gst-libs/gst/vaapi/gstvaapifilter.c:
5189           libs: context, filter: use new surface attributes API
5190
5191 2019-08-01 19:13:39 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5192
5193         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
5194         * gst-libs/gst/vaapi/gstvaapiutils_core.h:
5195           libs: utils: add gst_vaapi_config_surface_attributes_get()
5196           To extract the surface restrictions per config using a new structure:
5197           GstVaapiConfigSurfaceAttributes
5198
5199 2019-07-31 13:08:43 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5200
5201         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
5202           Split the surface attribute retrieval
5203
5204 2019-07-15 21:51:46 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5205
5206         * gst/vaapi/gstvaapipostproc.c:
5207           vaapipostproc: handle navigation downstream event
5208           When navigation events contains coordiantes those have to be mapped
5209           to the new size and/or orientation.
5210
5211 2019-07-15 21:23:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5212
5213         * tests/elements/test-vaapisink.c:
5214           test-vaapisink: also use vaapipostproc to change orientation
5215
5216 2019-07-15 21:27:20 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5217
5218         * gst-libs/gst/vaapi/gstvaapifilter.c:
5219         * gst-libs/gst/vaapi/gstvaapifilter.h:
5220         * gst/vaapi/gstvaapipostproc.c:
5221         * gst/vaapi/gstvaapipostproc.h:
5222         * gst/vaapi/gstvaapipostprocutil.c:
5223           vaapipostproc: handle image-orientation upstream event
5224           Now that vaapipostproc can possible handle video-direction, it
5225           should also handle the image-orientation event from upstream if
5226           video-direction property is set to auto.
5227
5228 2019-07-26 22:09:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5229
5230         * gst/vaapi/gstvaapipostproc.c:
5231           vaapipostproc: add missing locks when adding flags
5232
5233 2019-07-26 22:05:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5234
5235         * gst/vaapi/gstvaapipostproc.c:
5236           vaapipostproc: update filter before fixate caps
5237           It is requiered to know if postproc is capable to change the video
5238           direction before fixating the source caps.
5239           In order to do it, it'ss required to know if there's a functional VPP,
5240           but that's checked at create() vmethod, which occurs after caps
5241           fixating.
5242           This patch checks for a functional VPP at fixate caps and, if so,
5243           checks for the enabled filtes and later do the caps fixations.
5244
5245 2019-07-26 19:46:09 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5246
5247         * gst-libs/gst/vaapi/gstvaapifilter.c:
5248         * gst-libs/gst/vaapi/gstvaapivalue.c:
5249         * gst-libs/gst/vaapi/gstvaapivalue.h:
5250         * gst/vaapi/gstvaapipostproc.c:
5251           vaapipostproc: element warning if video direction is unsupported
5252           If the video direction is unsupported by the driver, an element
5253           warning is posted in the bus to notify the application.
5254           gst_vaapi_enum_type_get_nick() was added in the library thus it can
5255           be used elsewhere. It retrives the nick from an enum gtype.
5256
5257 2019-07-26 19:09:54 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5258
5259         * gst-libs/gst/vaapi/gstvaapifilter.c:
5260           libs: filter: check mirror and rotation caps only once
5261           This patch locks the display before querying the pipeline caps and
5262           stores the mirror and rotation capabilities, thus they are not queried
5263           every time the video direction is set.
5264
5265 2019-08-16 19:51:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5266
5267         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
5268           libs: encoder: vp9: set VP9_0 profile as default
5269           Commit 0afc8131 introduced a regression and only NV12 format were
5270           admitted, failing in any other valid color format.
5271           This patch sets the profile to GST_VAAPI_PROFILE_VP9_0 by default.
5272
5273 2019-08-16 13:25:06 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5274
5275         * gst-libs/gst/vaapi/gstvaapifilter.c:
5276           libs: filter: fail if first color balance value is invalid
5277
5278 2019-08-06 19:24:08 +0800  Yan Wang <yan.wang@linux.intel.com>
5279
5280         * gst-libs/gst/vaapi/gstvaapifilter.c:
5281         * gst-libs/gst/vaapi/gstvaapiutils.c:
5282         * gst-libs/gst/vaapi/gstvaapiutils.h:
5283           libs: filter: set all color balance values
5284           When set multiple settings of color balance like hue, saturation,
5285           brightness and contrast for vaapipostproc, they should be set as
5286           parameters of color balance filter, at the same color balance
5287           filter calling.
5288           Otherwise, multiple color balance filter calling will cause
5289           previous setting get reset by the last calling with default value.
5290           Fixes #182.
5291           Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
5292
5293 2019-08-16 11:02:08 +0800  Wangfei <fei.w.wang@intel.com>
5294
5295         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
5296           libs: h265dec: remove limitation of get iq matrix
5297           According hevc spec, scaling_list_data is not related
5298           to chroma_format_idc.
5299
5300 2019-05-30 23:52:51 +0800  He Junyan <junyan.he@hotmail.com>
5301
5302         * gst-libs/gst/vaapi/gstvaapivideopool.c:
5303           libs: videopool: fix undocumented behavior and counting
5304           gst_vaapi_video_pool_reserve_unlocked() hit an undocumented behavoir
5305           because it locks twice the same mutex.
5306           Also, n had different meanings in the current code: as an increase
5307           value and as a new total of allocated surfaces.
5308           This patche removes the undocumented behavoir (usually a deadlock) and
5309           fixes the meaning of n as the new total of allocated surfaces.
5310           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5311
5312 2019-07-17 11:56:45 +0800  He Junyan <junyan.he@hotmail.com>
5313
5314         * gst-libs/gst/vaapi/gstvaapiutils.c:
5315           libs: utils: Add missing entries for string_of_VAEntrypoint.
5316
5317 2019-07-18 22:01:01 +0800  He Junyan <junyan.he@hotmail.com>
5318
5319         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
5320           libs: encoder: Consider vp9 profiles based on input format.
5321           Only support GST_VAAPI_PROFILE_VP9_0 and GST_VAAPI_PROFILE_VP9_2 now.
5322           Fix: #184
5323
5324 2019-08-12 18:41:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5325
5326         * gst/vaapi/gstvaapivideomemory.c:
5327           vaapivideomemory: demote error message to info
5328           The main reason to demote the message's level is because it is not an
5329           error, it's a possible output of the trial and there's a code path
5330           that handles it.
5331           Secondly, it's very annoying when using gallium driver for radeon.
5332
5333 2019-07-18 13:32:46 +0800  Wangfei <fei.w.wang@intel.com>
5334
5335         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5336         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
5337         * gst-libs/gst/vaapi/gstvaapitypes.h:
5338         * gst-libs/gst/vaapi/gstvaapiutils.c:
5339         * gst-libs/gst/vaapi/gstvaapivalue.c:
5340           libs: encoder: h264: support ICQ/QVBR bitrate control mode
5341           ICQ is Intelligent Constant Quality. It will use the initial QP
5342           vaule of icq-quality-factor to adjust QP at MB level intelligently
5343           to improve subjective quality.
5344           QVBR is Quality defined VBR. It will use qvbr-quality-factor to
5345           adjust QP for each MB to get enough quality picture without waste
5346           of bits.
5347
5348 2019-08-05 10:51:24 +0800  Wangfei <fei.w.wang@intel.com>
5349
5350         * gst-libs/gst/vaapi/gstvaapitypes.h:
5351           libs: Let GST_VAAPI_RATECONTROL_MASK return unsigned int
5352           The value return from GST_VAAPI_RATECONTROL_MASK will be used by
5353           GST_VAAPI_POPCOUNT32 as its inpput. GST_VAAPI_POPCOUNT32 can only
5354           deal with unsigned int. Otherwise there may be an error of out of
5355           range of integer if we define few more rate-control mode.
5356
5357 2019-06-07 09:54:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5358
5359         * gst/vaapi/gstvaapidecodebin.c:
5360           vaapidecodebin: set queue's max size buffers to 1
5361           Otherwise the queue will swallow all the available decoder's surfaces
5362           reaching a dead-lock.
5363           This setting might impact the bin's peformance, but it's a trade-off.
5364
5365 2019-06-07 09:53:08 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5366
5367         * gst/vaapi/gstvaapidecodebin.c:
5368           vaapidecodebin: set properties default values
5369
5370 2019-05-31 13:12:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5371
5372         * gst/vaapi/gstvaapidecode.c:
5373           vaapidecode: don't error if can't push buffers downtream
5374           When the code path goes to push buffers downstream when no surface
5375           available in decoder context, and it fails the code bails out with a
5376           fatal error.
5377           That behavior is wrong, since it shouldn't be fatal. The use case is
5378           when the video stream is disabled.
5379           This patch just ignores the errors in this situation and demotes the
5380           level of a log message.
5381
5382 2019-05-18 13:24:35 +0800  Wangfei <fei.w.wang@intel.com>
5383
5384         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5385         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
5386         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
5387         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.h:
5388         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5389         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
5390           libs: encoder: h264,h265: add new property "max-qp"
5391           Add new property "max-qp" to allow set the maximum quantisation
5392           parameter values.
5393
5394 2019-05-23 10:18:52 -0400  Wangfei <fei.w.wang@intel.com>
5395
5396         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
5397           libs: encoder: vp9: add low power mode encode
5398           By now, this feature only support by media-driver on Ice Lake
5399           platform, more information you can reference:
5400           https://github.com/intel/media-driver
5401
5402 2019-07-15 15:33:07 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5403
5404         * gst/vaapi/gstvaapipostprocutil.c:
5405           vaapipostproc: update PAR when rotating
5406           When rotating, swap pixel-aspect-ratio during
5407           negotiation.
5408           Fixes #181
5409
5410 2019-07-01 15:26:18 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5411
5412         * gst-libs/gst/vaapi/gstvaapifilter.c:
5413         * gst-libs/gst/vaapi/gstvaapiutils.c:
5414         * gst-libs/gst/vaapi/gstvaapiutils.h:
5415         * gst/vaapi/gstvaapipostprocutil.c:
5416           vaapipostproc: add rotation support
5417           Adds vpp rotation support to vaapipostproc.  Uses
5418           property video-direction. Default is identity (no
5419           rotation).
5420           Closes #104
5421
5422 2019-05-22 10:47:30 -0400  Wangfei <fei.w.wang@intel.com>
5423
5424         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5425           libs: encoder: h265: pass diff_cu_qp_delta_depth flag to driver
5426           Intel media-driver requires enablement of diff_cu_qp_delta_depth when
5427           cu_qp_delta_enabled_flag enabled.
5428           Fixes: #177
5429
5430 2019-07-01 17:02:33 +0800  Wangfei <fei.w.wang@intel.com>
5431
5432         * gst-libs/gst/vaapi/gstvaapiutils.c:
5433           libs: encoder: Add MB ratecontrol mode to get its string
5434
5435 2019-07-01 16:52:00 +0800  Wangfei <fei.w.wang@intel.com>
5436
5437         * gst-libs/gst/vaapi/gstvaapiutils.c:
5438           libs: encoder: refine guard of bitrate control mode
5439           Remove useless guard of all bitrate control mode's guard except MB
5440           which is define in VA-API version 0.39.1.
5441
5442 2019-06-29 00:08:40 +1000  Jan Schmidt <jan@centricular.com>
5443
5444         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
5445           h264: Update for parse_vui_params parameter removal.
5446           Update calls to the h264 parser lib for removal of the
5447           parse_vui_params parameter.
5448
5449 2019-06-24 16:26:56 -0400  Wang Zhanjun <zhanjunx.wang@intel.com>
5450
5451         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
5452           libs: dec: vp9: do not use display size as decoded size
5453           If display size is smaller than current frame size, then the crop size
5454           will be set as display size, which either crashes the pipeline or the
5455           output MD5 does not match. Rather it should use the actual decoded size.
5456           This patch removes the cropping set. For rendering we can use aspect
5457           ratio to set display size.
5458           Fixes #175
5459           Signed-off-by: Wang Zhanjun <zhanjunx.wang@intel.com>
5460           Signed-off-by: Xu Guangxin <guangxin.xu@intel.com>
5461
5462 2019-06-28 16:32:51 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5463
5464         * README:
5465           Update README
5466
5467 2019-06-25 19:11:12 +0800  He Junyan <junyan.he@hotmail.com>
5468
5469         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
5470         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
5471         * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h:
5472           libs: dec: h265: Consider chroma_bit_depth to choose chrome type
5473           For some main-10 stream, sometime the luma is 8 bits while chrome is more
5474           than 8 bits, which cause using the wrong NV12 surface as the render target
5475           and decoding error.
5476           Fix #176
5477
5478 2019-06-25 10:31:20 +0800  Wangfei <fei.w.wang@intel.com>
5479
5480         * gst/vaapi/gstvaapidecode.c:
5481           vaapidecode: set initial decode format according surface chroma type
5482           For surfaces with different chroma type, it is prefer to initialize
5483           a format which chroma type should be same with surface chroma type
5484           instead of using fixed NV12.
5485
5486 2019-05-30 09:48:51 -0400  Wangfei <fei.w.wang@intel.com>
5487
5488         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
5489         * gst-libs/gst/vaapi/gstvaapiimage.c:
5490         * gst-libs/gst/vaapi/video-format.c:
5491         * gst/vaapi/gstvaapidecode.c:
5492         * gst/vaapi/gstvaapipluginutil.h:
5493           libs: decoder: jpeg: add support 400/411/422/444 chroma type
5494           When create vaapi surface, it is better to use the chroma type get
5495           from jpeg file instead of using fixed 420 format. And the correct
5496           chroma type can be determined by horizontal_factor/vertical_factor
5497           flags that get from jpegparse.
5498
5499 2019-06-22 00:05:24 +0800  He Junyan <junyan.he@hotmail.com>
5500
5501         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
5502           libs: dec: h265: Fix profile_idc mapping.
5503           The old mapping values return by gst_vaapi_utils_h265_get_profile_idc is
5504           wrong, though GST_H265_PROFILE_IDC_MAIN and GST_H265_PROFILE_IDC_MAIN_10
5505           happened to be the correct value.
5506           We only support Annex A profile_idc (1-4).
5507
5508 2019-06-10 20:46:30 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5509
5510         * gst/vaapi/gstvaapipluginbase.c:
5511           plugins: remove last negotiated video info if caps are same
5512           If the allocation caps and negotiated caps are the same,
5513           then ensure any previously negotiated video info is also
5514           removed.  This can occur when multi-resolution video
5515           decoding returns to it's original resolution.
5516           Fixes #170
5517
5518 2019-06-10 20:39:28 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5519
5520         * gst/vaapi/gstvaapivideomemory.c:
5521           vaapivideomemory: allow negotiated info to be removed
5522           Allow NULL negotiated_vinfo to be passed into
5523           gst_allocator_set_vaapi_negotiated_video_info to allow
5524           any previously set info to be removed.
5525
5526 2019-06-06 17:24:30 +0300  Freyr <freyrnjordrson@gmail.com>
5527
5528         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
5529         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
5530           libs: encoder: vp8,vp9: reset frame_counter when input frame's format changes
5531           When input frame's formate changes, vp{8,9} encoders don't reset their frame
5532           counter, hence the newly created frame could become a P-frame, leading to some
5533           major troubles (sigabrt in libdrm in case of vp9). This patch adds some frame
5534           prediction-related reset logic to the `flush' methods of GstVaapiEncoderVP8 and
5535           GstVaapiEncoderVP9 implementations.
5536
5537 2019-05-31 12:30:03 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5538
5539         * gst-libs/gst/vaapi/gstvaapiencoder.c:
5540           libs: encoder: increase bitrate prop max value
5541           There are many profile levels that can support
5542           more than 102400 kbps.  Thus, increase the max
5543           allowed bitrate property value from 102400 kbps
5544           to 2048000 kbps (same as msdk encoder plugins).
5545
5546 2019-06-04 13:27:50 +0800  He Junyan <junyan.he@hotmail.com>
5547
5548         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
5549           libs: mpeg2 encoder: No packed header for SPS and PPS
5550           Dislable passing down packed PPS and PPS to driver if driver does
5551           not want it.
5552           Fix: #168
5553
5554 2019-05-31 23:10:33 +0200  Niels De Graef <niels.degraef@barco.com>
5555
5556         * configure.ac:
5557         * meson.build:
5558         * tests/output.c:
5559           meson: Bump minimal GLib version to 2.44
5560           This means we can use some newer features and get rid of some
5561           boilerplate code using the G_DECLARE_* macros.
5562           As discussed on IRC, 2.44 is old enough by now to start depending on it.
5563
5564 2019-05-31 13:08:39 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5565
5566         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
5567           libs: dec: vp9: clear parser pointer after release
5568           Fix an use-after-release of the parser pointer in VP9 decoder.
5569
5570 2019-05-28 12:09:36 +0300  Freyr666 <sky_rider_93@mail.ru>
5571
5572         * gst/vaapi/gstvaapiencode.c:
5573           vaapiencode: Fixes deadlock in gst_vaapiencode_change_state function
5574           This fixes a deadlock in gst_vaapiencode_change_state, which was due to
5575           srcpad's chain function was locked waiting for available buffers. Since the
5576           coded buffers in codedbuf_queue become available after sinkpad consume the
5577           encoded frames, Paused -> Ready state change leads to deadlock. Coded buffers
5578           are never consumed and marked free, hence gst_vaapiencode_handle_frame waits for
5579           available buffers and holds the stream_lock of the srcpad.
5580
5581 2019-05-29 23:08:22 +0200  Mathieu Duponchelle <mathieu@centricular.com>
5582
5583         * gst-libs/gst/vaapi/gstvaapitypes.h:
5584         * gst/vaapi/gstvaapidecodebin.c:
5585         * gst/vaapi/gstvaapidecodedoc.c:
5586         * gst/vaapi/gstvaapiencode_h264.c:
5587         * gst/vaapi/gstvaapiencode_h264_fei.c:
5588         * gst/vaapi/gstvaapiencode_h265.c:
5589         * gst/vaapi/gstvaapiencode_jpeg.c:
5590         * gst/vaapi/gstvaapiencode_mpeg2.c:
5591         * gst/vaapi/gstvaapiencode_vp8.c:
5592         * gst/vaapi/gstvaapiencode_vp9.c:
5593         * gst/vaapi/gstvaapipostproc.c:
5594         * gst/vaapi/gstvaapisink.c:
5595           doc: remove xml from comments
5596
5597 2019-05-13 16:39:33 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5598
5599         * gst-libs/gst/vaapi/gstvaapifilter.c:
5600         * gst-libs/gst/vaapi/gstvaapifilter.h:
5601         * gst-libs/gst/vaapi/gstvaapiutils.c:
5602         * gst-libs/gst/vaapi/gstvaapiutils.h:
5603         * gst/vaapi/gstvaapipostproc.c:
5604         * gst/vaapi/gstvaapipostproc.h:
5605           vaapipostproc: add mirror support
5606           Adds vpp mirroring support to vaapipostproc.  Use
5607           property video-direction.  Valid values are identity,
5608           horiz or vert.  Default is identity (no mirror).
5609           Closes #89
5610           v2: Use GstVideoOrientationMethod enum
5611           v3: Don't warn for VA_MIRROR_NONE.
5612           Use GST_TYPE_VIDEO_ORIENTATION_METHOD type.
5613           v4: Query VAAPI caps when setting mirror value
5614           instead of during per-frame processing.
5615           v5: Return TRUE in warning cases when setting mirror value.
5616
5617 2019-05-29 01:35:17 +0200  Mathieu Duponchelle <mathieu@centricular.com>
5618
5619         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
5620         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
5621         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
5622         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
5623         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
5624         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
5625         * gst/vaapi/gstvaapidecodebin.c:
5626         * gst/vaapi/gstvaapisink.c:
5627           doc: fix some incorrect gtk-doc links
5628
5629 2019-05-16 09:22:42 -0400  Thibault Saunier <tsaunier@igalia.com>
5630
5631         * docs/gst_plugins_cache.json:
5632           docs: Update plugin cache
5633           Fixes https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/36
5634
5635 2019-05-16 16:46:43 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5636
5637         * gst-libs/gst/vaapi/gstvaapisurface.h:
5638           libs: surface: fix documentation format
5639
5640 2019-05-16 10:05:17 +0800  Wangfei <fei.w.wang@intel.com>
5641
5642         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5643           libs: enc: h265: reset num_ref_idx_l1_active_minus1 when low delay B.
5644           When enable low delay B, the reference list 1 will be same with
5645           reference list 0, so need reset the num_ref_idx_l1_active_minus1
5646           to num_ref_idx_l0_active_minus1.
5647           Fixes: #160
5648
5649 2019-05-13 19:05:43 -0400  Thibault Saunier <tsaunier@igalia.com>
5650
5651         * docs/meson.build:
5652           meson: Fix call to wrong function
5653
5654 2018-10-22 11:48:29 +0200  Thibault Saunier <tsaunier@igalia.com>
5655
5656         * Makefile.am:
5657         * configure.ac:
5658         * docs/Makefile.am:
5659         * docs/gst_plugins_cache.json:
5660         * docs/index.md:
5661         * docs/meson.build:
5662         * docs/plugins/Makefile.am:
5663         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
5664         * docs/plugins/gstreamer-vaapi-plugins-sections.txt:
5665         * docs/plugins/gstreamer-vaapi-plugins.types:
5666         * docs/plugins/inspect/plugin-vaapi.xml:
5667         * docs/plugins/running.xml:
5668         * docs/sitemap.txt:
5669         * docs/version.entities.in:
5670         * gst/vaapi/meson.build:
5671         * meson.build:
5672         * meson_options.txt:
5673           docs: Port to hotdoc
5674
5675 2019-05-10 18:29:10 +0800  He Junyan <junyan.he@hotmail.com>
5676
5677         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5678         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5679           libs: encoder: not call ensure_num_slices inside g_assert
5680           g_assert will take no effect when glib's G_DISABLE_ASSERT macro is
5681           defined. The function inside the g_assert will take no effect and
5682           we will fail to set the correct slice number.
5683
5684 2019-04-29 09:52:39 +0800  Wangfei <fei.w.wang@intel.com>
5685
5686         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
5687           libs: h265: dec: Add extension flags setting.
5688           Use VAPictureParameterBufferHEVCExtension&
5689           VASliceParameterBufferHEVCExtension to pass extension setting from
5690           some extension profile clips which may include these information.
5691           The hevc extension setting only supported after libva release 2.2.0
5692           (API 1.2.0).
5693
5694 2019-05-01 12:56:55 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5695
5696         * gst-libs/gst/vaapi/gstvaapiencoder.c:
5697         * gst-libs/gst/vaapi/gstvaapiencoder.h:
5698         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
5699           libs: encoder: add target-percentage property
5700           Allow users to set the target-percentage for
5701           variable rate controls.  The default value is
5702           70 (as hard-coded prior).
5703           v2: minimum allowed value changed from 0 to 1
5704           v3: target-percentage unchanged if CBR used
5705           Resolves #129
5706
5707 2019-05-09 00:09:21 +0800  He Junyan <junyan.he@hotmail.com>
5708
5709         * gst-libs/gst/vaapi/gstvaapiencoder.h:
5710           libs: encoder: Add a missing comment for DEFAULT_ROI_VALUE property.
5711
5712 2019-05-08 23:39:20 +0800  He Junyan <junyan.he@hotmail.com>
5713
5714         * gst-libs/gst/vaapi/gstvaapiencoder.c:
5715         * gst-libs/gst/vaapi/gstvaapiencoder.h:
5716         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5717         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
5718         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
5719           libs: encoder: Enable trellis quantization method.
5720           The advanced trellis algorithm is supported in VA driver. We add
5721           its support as a property named "trellis" of encoder.
5722           It only works for H264 now, should be more in future.
5723
5724 2019-05-07 11:03:51 +0800  Wangfei <fei.w.wang@intel.com>
5725
5726         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
5727           libs: decoder: vp9: support 422/444 8bit/10bit chroma type.
5728           According to the vp9 sepc, profile 1/3 support 422/440/444 chroma
5729           type, so we need to add subsampling_x&subsampling_y to fix it.
5730           Here is the relationship between chroma type and profile and
5731           subsampling_x&subsampling_y according to vp9 spec:
5732           ------------------------------------------
5733           Profile | Bit depth | Chroma subsampling |
5734           ------------------------------------------
5735           0      | 8         | 420                |
5736           ------------------------------------------
5737           1      | 8         | 422,440,444        |
5738           ------------------------------------------
5739           2      | 10, 12    | 420                |
5740           ------------------------------------------
5741           3      | 10, 12    | 422,440,444        |
5742           ------------------------------------------
5743           -----------------------------------------------
5744           Subsampling_x | Subsampling_y | Chroma format |
5745           -----------------------------------------------
5746           0            | 0             | 444           |
5747           -----------------------------------------------
5748           0            | 1             | 440           |
5749           -----------------------------------------------
5750           1            | 0             | 422           |
5751           -----------------------------------------------
5752           1            | 1             | 420           |
5753           -----------------------------------------------
5754
5755 2019-04-16 18:33:54 +0800  He Junyan <junyan.he@hotmail.com>
5756
5757         * gst-libs/gst/vaapi/gstvaapiimage.c:
5758         * gst-libs/gst/vaapi/video-format.c:
5759           libs: Add packed 24 RGB format support.
5760           Can not find a suitable chrome_type for this GST_VIDEO_FORMAT_RGB
5761           packed 24 format. Just use GST_VAAPI_CHROMA_TYPE_RGB32 as its chrome
5762           type. This kind of surface will just be created by new API with fourcc
5763           and no old style chrome based creation is available.
5764           fixes: #151
5765
5766 2019-03-15 14:29:41 +0800  Wangfei <fei.w.wang@intel.com>
5767
5768         * gst/vaapi/gstvaapiencode.c:
5769         * gst/vaapi/gstvaapiencode_h264.c:
5770         * gst/vaapi/gstvaapiencode_h264_fei.c:
5771         * gst/vaapi/gstvaapiencode_h265.c:
5772         * gst/vaapi/gstvaapiencode_jpeg.c:
5773         * gst/vaapi/gstvaapiencode_mpeg2.c:
5774         * gst/vaapi/gstvaapiencode_vp8.c:
5775         * gst/vaapi/gstvaapiencode_vp9.c:
5776           vaapiencode: handle DMABuf caps feature in sink pad
5777           Add DMABuff caps features in all encoders' sink pad.
5778
5779 2019-05-03 10:31:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5780
5781         * gst-libs/gst/vaapi/gstvaapiencoder.c:
5782           libs: encoder: continue if roi meta is NULL
5783           Coverity scan bug:
5784           If the function actually returns a null value, a null pointer
5785           dereference will occur.
5786           In gst_vaapi_encoder_ensure_param_roi_regions(): Return value of
5787           function which returns null is dereferenced without checking
5788
5789 2019-04-15 19:58:14 +0800  He Junyan <junyan.he@hotmail.com>
5790
5791         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
5792           lib: decoder: vp9: Set chroma_type by VP9 bit_depth
5793           The decoder's surface chroma type should depend on the bit depth
5794           of VP9's parser. For 10bits VP9 stream, we need to use P10LE kind
5795           10 bits surface as the decoder result.
5796           Fixes #155
5797
5798 2019-05-02 16:00:57 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5799
5800         * gst/vaapi/gstvaapipostprocutil.c:
5801           vaapipostproc: don't do any color conversion when GL_TEXTURE_UPLOAD
5802           https://bugzilla.gnome.org/show_bug.cgi?id=748184 has resurrected
5803           with commit 3e992d8a
5804           Since gst_vaapi_find_preferred_caps_feature() returns a color format
5805           from caps negotiation, different from the default one (NV12), the
5806           postproc enables the color transformation. But when GL_TEXTURE_UPLOAD
5807           feature is negotiated, no color transformation shall be done.
5808           Nonetheless, with commit 3e992d8a the requested format changes
5809           firstly, because there's no video sink yet, so ANY caps are
5810           negotiated; but later, when there's a video sink and a caps
5811           renegotiation, the GL_TEXTURE_UPLOAD is negotiated though the color
5812           format conversion still ongoing. It is required to reset that
5813           conversion.
5814           This patch force default color format when GL_TEXTURE_UPLOAD is
5815           selected as preferred, thus avoiding the color conversion.
5816           Fixes: #157
5817
5818 2019-04-19 15:49:37 -0700  Julien Isorce <jisorce@oblong.com>
5819
5820         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
5821           libs: surface: fix double free when dmabuf export fails
5822           Happens if vaAcquireBufferHandle fails.
5823
5824 2019-04-29 20:10:39 +0800  He Junyan <junyan.he@hotmail.com>
5825
5826         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5827           libs: h264encoder: fix a typo of GstVaapiEncoderH264PredictionType
5828
5829 2019-04-19 10:43:35 +0100  Tim-Philipp Müller <tim@centricular.com>
5830
5831         * RELEASE:
5832         * configure.ac:
5833         * docs/plugins/inspect/plugin-vaapi.xml:
5834         * meson.build:
5835           Back to development
5836
5837 === release 1.16.0 ===
5838
5839 2019-04-19 00:38:12 +0100  Tim-Philipp Müller <tim@centricular.com>
5840
5841         * ChangeLog:
5842         * NEWS:
5843         * RELEASE:
5844         * configure.ac:
5845         * gstreamer-vaapi.doap:
5846         * meson.build:
5847           Release 1.16.0
5848
5849 2019-04-19 00:38:12 +0100  Tim-Philipp Müller <tim@centricular.com>
5850
5851         * docs/plugins/inspect/plugin-vaapi.xml:
5852           Update docs
5853
5854 2019-04-15 19:34:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5855
5856         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5857         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
5858         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5859           libs: encoder: h264,h265: guard VA version for max_qp property
5860           This patch fixes a regression from commit 5b1fe9c6.
5861           max_qp, in rate control configuration, appeared in libva release
5862           2.1 (API 1.1), thus it is required to guard the VA API version.
5863           Fixes: #150
5864
5865 2019-04-08 18:29:35 +0800  He Junyan <junyan.he@hotmail.com>
5866
5867         * gst-libs/gst/vaapi/gstvaapiimage.c:
5868         * gst-libs/gst/vaapi/video-format.c:
5869           libs: Add RGB565 image format support.
5870
5871 2019-04-10 13:59:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5872
5873         * configure.ac:
5874           build: configure: delay USE_GTK conditional until check libva-x11
5875           libva-x11 is used for X11 applications, so it is required to build
5876           any GTK application.
5877           Later, when Wayland test is added, we should change this.
5878
5879 2019-04-10 13:25:10 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5880
5881         * configure.ac:
5882           build: configure: disable GLX if libva-x11 is not found
5883
5884 2019-04-15 13:55:26 +0200  He Junyan <junyan.he@hotmail.com>
5885
5886         * gst-libs/gst/vaapi/gstvaapiutils.c:
5887           libs: utils: avoid macro evaluation when stringify
5888           string_of_va_chroma_format() gets a wrong string format description.
5889           For example, the YUV420_10BPP get a string of 0x00000100 as output.
5890           It's because VA_RT_FORMAT_xxx values are macro definitions. And
5891           STRINGIFY(VA_RT_FORMAT_xxx) will expand to its real value
5892           0x00000XXX.
5893           To avoid the macro evaluation, it is changed to show only the color
5894           format without VA_RT_FORMAT_ prefix.
5895
5896 2019-04-15 13:54:15 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5897
5898         * gst-libs/gst/vaapi/gstvaapiutils.c:
5899           libs: utils: use glib's macros
5900           Don't reinvent the wheel.
5901
5902 2019-04-11 15:05:02 +0800  Wangfei <fei.w.wang@intel.com>
5903
5904         * gst/vaapi/gstvaapipluginutil.c:
5905           plugins: find the preferred format from right caps.
5906           When the downstream has any caps, then raw video feature will
5907           be used. At this situation, the preferred format should be chose
5908           from caps which contains "vide/x-raw" feature instead of from
5909           the fist allowed caps.
5910           Fixes #142
5911
5912 2019-04-10 11:43:33 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
5913
5914         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5915           libs: encoder: h265: fill tier in va seq param buf
5916           Now that tier is calculated in commit 58e74f9440fe (!68),
5917           ensure we fill in the general_tier_flag in the
5918           VAEncSequenceParameterBufferHEVC.
5919
5920 === release 1.15.90 ===
5921
5922 2019-04-11 00:40:03 +0100  Tim-Philipp Müller <tim@centricular.com>
5923
5924         * ChangeLog:
5925         * NEWS:
5926         * RELEASE:
5927         * configure.ac:
5928         * gstreamer-vaapi.doap:
5929         * meson.build:
5930           Release 1.15.90
5931
5932 2019-04-11 00:40:03 +0100  Tim-Philipp Müller <tim@centricular.com>
5933
5934         * docs/plugins/inspect/plugin-vaapi.xml:
5935           Update docs
5936
5937 2019-04-09 20:42:04 +0800  He Junyan <junyan.he@hotmail.com>
5938
5939         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5940           libs: encoder: h265: Recognize the correct level and tier.
5941           The current manner can not recognize the correct level and always
5942           set the tier to main. Need to add frame rate check to recognize
5943           levels such as 4.1, 6.2, etc. We also add a logic to check main
5944           and high tier based on bitrate.
5945           Fixes: #145
5946
5947 2019-04-03 14:12:23 +0800  He Junyan <junyan.he@hotmail.com>
5948
5949         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5950         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
5951         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5952           libs: encoder: h264,h265: Set max_qp if min_qp is non-zero.
5953           media-driver currently fails to set a correct value of max_qp when
5954           min_qp is different to zero, in CBR and VBR mode, generating full
5955           quality frames, thus unexpected huge output.
5956           This patch sets max_qp to an arbitrary value to avoid this output
5957           temporary.
5958           Fixes: #144
5959
5960 2019-04-09 12:42:56 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
5961
5962         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
5963         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
5964         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
5965           libs: encoder: h264,h265: initial and minimal QP can be zero
5966           Currently the minimal value for either min_qp and init_qp are 1,
5967           but VA documentation specifiy that zero is also valid and means
5968           to ignore the quantiser.
5969           The default value is not changed though to avoid behaivor changes
5970           to users.
5971
5972 2019-04-09 09:20:23 +0800  Haihao Xiang <haihao.xiang@intel.com>
5973
5974         * tests/elements/meson.build:
5975           meson: build test-vaapicontext when using X11
5976           x11_dep and libva_x11_dep are optional and meson ignores these
5977           dependencies even if they are added into the dependency list.
5978           This fixes the error below when libva-x11 is not avaiblabe:
5979           cc -Itests/elements/tests@elements@@test-vaapicontext@exe
5980           -Itests/elements -I../../gstreamer-vaapi/tests/elements -I.
5981           -I../../gstreamer-vaapi/ -Igst-libs -I../../gstreamer-vaapi/gst-libs
5982           -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
5983           -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/orc-0.4
5984           -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
5985           -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
5986           -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
5987           -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/pango-1.0
5988           -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo
5989           -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2
5990           -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0
5991           -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall
5992           -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -pthread
5993           -DHAVE_CONFIG_H  -MD -MQ
5994           'tests/elements/tests@elements@@test-vaapicontext@exe/test-vaapicontext.c.o'
5995           -MF
5996           'tests/elements/tests@elements@@test-vaapicontext@exe/test-vaapicontext.c.o.d'
5997           -o
5998           'tests/elements/tests@elements@@test-vaapicontext@exe/test-vaapicontext.c.o'
5999           -c ../../gstreamer-vaapi/tests/elements/test-vaapicontext.c
6000           ../../gstreamer-vaapi/tests/elements/test-vaapicontext.c:29:10: fatal
6001           error: va/va_x11.h: No such file or directory
6002           #include <va/va_x11.h>
6003
6004 2019-04-01 12:56:28 +0800  He Junyan <junyan.he@hotmail.com>
6005
6006         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
6007         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
6008         * gst-libs/gst/vaapi/gstvaapifeipak_h264.c:
6009           libs: encoder: h264_fei: Use gst_param_spec_array for view-ids
6010           GValueArray is deprecated. Use GstValueArray instead.
6011
6012 2019-03-30 18:29:31 +0100  Danilo Spinella <danyspin97@protonmail.com>
6013
6014         * gst/vaapi/gstvaapipluginutil.c:
6015           vaapipluginutil: Fix #endif for USE_X11
6016
6017 2019-03-29 18:29:51 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6018
6019         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
6020           libs: encoder: h264: simplify the view-ids setting
6021
6022 2019-03-26 14:54:47 +0800  He Junyan <junyan.he@hotmail.com>
6023
6024         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
6025           libs: encoder: h264: Use gst_param_spec_array for view-ids
6026           GValueArray is deprecated. Use GstValueArray instead.
6027           gst_param_spec_array can be deserialized from command line using:
6028           vaapih264enc view-ids="<(uint)40,(uint)100>" num-views=2
6029           While the g_param_spec_value_array() can not, and always get
6030           error: "gst_value_deserialize_g_value_array: unimplemented"
6031           Also fixed an out-of-range bug.
6032
6033 2019-03-29 13:33:41 +0800  He Junyan <junyan.he@hotmail.com>
6034
6035         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
6036           libs: Change the parameter setting order when encode picture.
6037           The order in gst_vaapi_enc_picture_encode when encoding one
6038           picture is not very correct. The misc parameters are set before
6039           the picture parameters. Some of the misc parameters such as
6040           ROI may change the current picture parameters. But the later
6041           setting of picture parameter will re-init all picture related
6042           parameters and clear the previous setting. The right order
6043           should be picture parameter first and then misc parameters.
6044           Signed-off-by: He Junyan <junyan.he@hotmail.com>
6045
6046 2019-03-26 14:20:34 +0800  Wangfei <fei.w.wang@intel.com>
6047
6048         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
6049           libs: decoder: jpeg: support dynamic resolution change decode.
6050           Add size_changed flag to watch out resolution. if change, reset
6051           jpeg decoder's context.
6052
6053 2019-03-23 15:34:03 +0800  Wangfei <fei.w.wang@intel.com>
6054
6055         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
6056           libs: encoder: h265: add low power mode encode.
6057           By now, this feature only support by media-driver on Ice Lake
6058           platform, more information you can reference:
6059           https://github.com/intel/media-driver
6060
6061 2019-03-15 18:40:21 +0800  He Junyan <junyan.he@hotmail.com>
6062
6063         * gst/vaapi/gstvaapiencode.c:
6064           vaapiencode: gobject's prop_id differ from vaapi encoder
6065           The vaapi internal encoder's property id are negative, thus they are
6066           different from GObject's property ids.
6067           gst_vaapi_encoder_set_property() should map to the internal encoder
6068           property id, assigned in gst_vaapiencode_default_set_property().
6069
6070 2019-03-21 16:56:34 +0000  Tim-Philipp Müller <tim@centricular.com>
6071
6072         * meson.build:
6073           meson: disable compiler warnings for unused vars and args if gst debug system is disabled
6074
6075 2019-03-21 13:31:57 +0000  Tim-Philipp Müller <tim@centricular.com>
6076
6077         * meson.build:
6078           meson: use new 'python' module instead of deprecated 'python3' one
6079
6080 2019-03-11 18:38:36 -0300  Thibault Saunier <tsaunier@igalia.com>
6081
6082         * common:
6083           Update common submodule back to 59cb678164719ff59dcf6c8b93df4617a1075d11
6084           It was wrongly changed in 3d9555a86d45565870c684fe00ec8bbb0fed7205
6085
6086 2019-03-04 09:16:17 +0000  Tim-Philipp Müller <tim@centricular.com>
6087
6088         * NEWS:
6089         * RELEASE:
6090         * configure.ac:
6091         * docs/plugins/inspect/plugin-vaapi.xml:
6092         * meson.build:
6093           Back to development
6094
6095 2019-03-01 12:33:26 +0800  He Junyan <junyan.he@hotmail.com>
6096
6097         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
6098           libs: Fix a typo in comments.
6099           Fix a typo in function description of
6100           gst_vaapi_surface_pool_new_with_chroma_type.
6101           Signed-off-by: He Junyan <junyan.he@hotmail.com>
6102
6103 2019-02-27 13:02:10 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6104
6105         * gst/vaapi/gstvaapipluginutil.c:
6106           plugin: if any caps in downstream, negotiate raw video
6107           When downstream has any caps, vaapi should not shovel vaapi featured
6108           buffers, but rather plain raw video, assuming always the worst case
6109           scenario (downstream cannot handle featured video memory but raw
6110           system memory buffers).
6111           This patch query the peer caps without any filter, to know if
6112           donwstream just ask for any caps, if so jump to the color space
6113           checking, otherwise do the caps intersection and continue with the
6114           feature selection algorithm.
6115           Fixes: #139
6116
6117 === release 1.15.2 ===
6118
6119 2019-02-26 12:01:53 +0000  Tim-Philipp Müller <tim@centricular.com>
6120
6121         * ChangeLog:
6122         * NEWS:
6123         * RELEASE:
6124         * configure.ac:
6125         * gstreamer-vaapi.doap:
6126         * meson.build:
6127           Release 1.15.2
6128
6129 2019-02-26 12:01:53 +0000  Tim-Philipp Müller <tim@centricular.com>
6130
6131         * docs/plugins/inspect/plugin-vaapi.xml:
6132           Update docs
6133
6134 2019-02-05 16:59:40 +0800  He Junyan <junyan.he@hotmail.com>
6135
6136         * gst/vaapi/gstvaapivideomemory.c:
6137           vaapivideomemory: Prefer same format for surface and image
6138           We prefer to use the same format between image and surface for gst
6139           vaapi allocator. The old way may choose different formats between
6140           image and surface. For example, the RGBA image may have a NV12 surface.
6141           So we need to do format conversion when we put/get image to surface.
6142           Some drivers such as iHD can not support such conversion and always
6143           cause a data flow error. There may also have some performance cost
6144           for format conversion when put/get images.
6145           So we prefer to use the same format for image and surface in the
6146           allocator. If the surface can not support that format, we then
6147           fallback to find a best one as the surface format.
6148           Co-authored-by: Víctor Jáquez <vjaquez@igalia.com>
6149
6150 2019-02-15 15:19:51 +0800  He Junyan <junyan.he@hotmail.com>
6151
6152         * gst-libs/gst/vaapi/video-format.c:
6153           libs: Delete the duplicated ARGB video format.
6154           Two ARGB formats with the same format information.
6155           Should be verbose and delete one.
6156           Signed-off-by: He Junyan <junyan.he@hotmail.com>
6157
6158 2019-02-13 10:39:59 -0500  Adam Jackson <ajax@redhat.com>
6159
6160         * common:
6161         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
6162           glx: Stop specifying GLX_DEPTH_SIZE
6163           This code is just confused. It's asking for at least as many bits of
6164           (z-axis) depth as the root window has bits of (color) depth. For rgb565
6165           or rgb888 this is harmless, but at 10 bits per channel this demands a
6166           30-bit or deeper Z buffer. While some hardware could in principle do a
6167           32-bit Z buffer, Mesa does not expose such fbconfigs (at least on Intel
6168           and AMD).
6169           We're not actually using the Z buffer, so just stop asking for one.
6170
6171 2019-01-14 11:30:48 +0100  Niels De Graef <niels.degraef@barco.com>
6172
6173         * configure.ac:
6174         * gst-libs/gst/vaapi/Makefile.am:
6175         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
6176         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
6177         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6178         * gst-libs/gst/vaapi/meson.build:
6179         * gst/vaapi/gstvaapisink.c:
6180         * meson.build:
6181           libs: wayland: add support for XDG-shell protocol
6182           [wl_shell] is officially [deprecated], so provide support for the
6183           XDG-shell protocol should be provided by all desktop-like compositors.
6184           (In case they don't, we can of course fall back to wl_shell).
6185           Note that the XML file is directly provided by the `wayland-protocols`
6186           dependency and generates the protocol marshalling code.
6187           [wl_shell]: https://people.freedesktop.org/~whot/wayland-doxygen/wayland/Client/group__iface__wl__shell.html
6188           [deprecated]: https://github.com/wayland-project/wayland/commit/698dde195837f3d0844b2725ba4ea8ce9ee7518c
6189
6190 2019-02-16 19:09:50 +0100  Niels De Graef <nielsdegraef@gmail.com>
6191
6192         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6193           libs: window: wayland: Prefix wl_shell_surface field with `wl_`
6194           It will help us to distinguish from other Wayland shell surface
6195           (such as XDG-shell) later on.
6196
6197 2019-01-14 09:58:19 +0100  Niels De Graef <nielsdegraef@gmail.com>
6198
6199         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
6200         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
6201         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6202           libs: wayland: Prefix wl_shell field with `wl_`
6203           It will help us to distinguish from other Wayland shells (such as
6204           XDG-shell) later on.
6205
6206 2019-02-08 09:21:28 +0300  Denis Nagorny <denis.nagorny@intel.com>
6207
6208         * gst-libs/gst/vaapi/gstvaapidisplay.c:
6209           libs: display: lock ensure_profile()
6210           Thread safety patch for ensure_profile() function
6211           Fixes #133
6212
6213 2019-02-08 16:35:39 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6214
6215         * meson.build:
6216           meson: bump the minimum wayland version requirement to 1.11.0
6217           This was missed on commit 77bb3424
6218
6219 2019-01-24 21:08:07 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6220
6221         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
6222         * gst/vaapi/gstvaapisink.c:
6223           vaapisink: x11: trap WM_DELETE_WINDOW message
6224           Register the WM_DELETE_WINDOW message from window manager and
6225           trap it to stop the pipeline cleanly.
6226           Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/130
6227
6228 2019-01-21 19:22:58 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6229
6230         * gst-libs/gst/vaapi/gstvaapiwindow.c:
6231           libs: window: remove native-id property
6232           native-id property is problematic since the variable that stores it is
6233           gsize, which is platform specific, and in some is bigger than unsigned
6234           long, and there are not way to handle gsize properties.
6235           Also, GST_VAAPI_ID_INVALID is defined in gsize terms, and we would
6236           like to keep using it for this scope.
6237           This patch removes the native-id property and set it manually in
6238           gst_vaapi_window_new_internal().
6239
6240 2019-01-18 10:33:37 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6241
6242         * gst-libs/gst/vaapi/gstvaapiwindow.c:
6243           libs: window: use G_GSIZE_MODIFIER for window id
6244           gsize type is not equal in all platforms, then the 'l' print modifier
6245           shall not be used always.
6246           This issue was found in Debian builds.
6247
6248 2019-01-17 10:27:13 +0800  Wangfei <fei.w.wang@intel.com>
6249
6250         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
6251         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
6252           encoder: h264/h265: set SPS cbr_flag with correct value.
6253           The flag only set as 1 when the rate-control mode is CBR.
6254
6255 === release 1.15.1 ===
6256
6257 2019-01-17 02:36:52 +0000  Tim-Philipp Müller <tim@centricular.com>
6258
6259         * ChangeLog:
6260         * NEWS:
6261         * RELEASE:
6262         * configure.ac:
6263         * gstreamer-vaapi.doap:
6264         * meson.build:
6265           Release 1.15.1
6266
6267 2019-01-17 02:36:52 +0000  Tim-Philipp Müller <tim@centricular.com>
6268
6269         * docs/plugins/inspect/plugin-vaapi.xml:
6270           Update docs
6271
6272 2019-01-14 19:35:34 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6273
6274         * gst-libs/gst/vaapi/gstvaapiencoder.c:
6275           libs: encoder: refactor to avoid code duplication
6276           gst_vaapi_encoder_put_frame() and gst_vaapi_encoder_flush() duplicates
6277           the same code segment where the coded buffer is created, the picture
6278           encoded on it and pushed to the async queue.
6279           The function gst_vaapi_encoder_encode_and_queue() refactor this.
6280
6281 2019-01-14 18:21:30 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6282
6283         * gst-libs/gst/vaapi/gstvaapiencoder.c:
6284         * gst-libs/gst/vaapi/gstvaapiencoder.h:
6285         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
6286         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
6287         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
6288           libs: encoder: h264/h265: flush pending ordered pictures
6289           In order to flush the pending pictures, a new internal encoder vmethod
6290           is used: get_pending_reordered()
6291           This method follows an iterator pattern which will return the next
6292           picture to encode and push.
6293           The base encoder will call this function in a loop when flush() is called.
6294           For now, only H.264 and H.265 encoders implement this flushing mechanism.
6295
6296 2018-12-06 10:18:53 +0800  Wangfei <fei.w.wang@intel.com>
6297
6298         * gst-libs/gst/vaapi/gstvaapiencoder.c:
6299         * gst-libs/gst/vaapi/gstvaapiencoder.h:
6300         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
6301         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
6302           libs: encoder: h264/h265: fix encode lose frame issue.
6303           Instead of dropping all remain frames in reorder_frame_list during
6304           flush, keep encoding.
6305           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/97
6306
6307 2019-01-15 14:33:11 +0800  Wangfei <fei.w.wang@intel.com>
6308
6309         * gst/vaapi/gstvaapipostproc.c:
6310           vaapipostproc: before set surface proxy, check if it already been created and exist.
6311           Fix the deinterlace black frame when playing with glimagesink:
6312           gst-launch-1.0 filesrc location=test.264 ! h264parse ! vaapih264dec \
6313           ! vaapipostproc deinterlace-mode=1 deinterlace-method=1 ! glimagesink
6314
6315 2019-01-11 13:48:29 +0800  Wangfei <fei.w.wang@intel.com>
6316
6317         * gst-libs/gst/vaapi/gstvaapiutils.c:
6318           vaapipostproc: clean up USE_VA_VPP macro since it already removed from configure file.
6319
6320 2018-12-26 14:36:23 +0800  Haihao Xiang <haihao.xiang@intel.com>
6321
6322         * gst-libs/gst/vaapi/meson.build:
6323         * gst/vaapi/meson.build:
6324         * meson.build:
6325         * tests/meson.build:
6326           meson: build h264 fei encoder if possible
6327
6328 2018-12-26 14:04:08 +0800  Haihao Xiang <haihao.xiang@intel.com>
6329
6330         * configure.ac:
6331           configure: bump the minimum wayland version requirement to 1.11.0
6332
6333 2018-12-24 12:58:53 +0800  Haihao Xiang <haihao.xiang@intel.com>
6334
6335         * configure.ac:
6336         * gst-libs/gst/vaapi/Makefile.am:
6337         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
6338         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
6339         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
6340         * gst-libs/gst/vaapi/gstvaapicompat.h:
6341         * gst-libs/gst/vaapi/gstvaapicontext.c:
6342         * gst-libs/gst/vaapi/gstvaapidisplay.c:
6343         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
6344         * gst-libs/gst/vaapi/gstvaapifilter.c:
6345         * gst-libs/gst/vaapi/gstvaapiprofile.c:
6346         * gst-libs/gst/vaapi/gstvaapisurface.c:
6347         * gst-libs/gst/vaapi/gstvaapiutils.c:
6348         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
6349         * gst-libs/gst/vaapi/meson.build:
6350         * gst/vaapi/Makefile.am:
6351         * gst/vaapi/gstvaapi.c:
6352         * gst/vaapi/gstvaapidecode.c:
6353         * gst/vaapi/gstvaapidecodebin.c:
6354         * gst/vaapi/gstvaapipluginbase.c:
6355         * gst/vaapi/meson.build:
6356         * meson.build:
6357         * tests/decoder.c:
6358         * tests/simple-decoder.c:
6359           vaapi: bump the minimum vaapi version requirement to 0.39.0
6360           And reduce unnecessary API version and structures check as well.
6361           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/108
6362
6363 2018-12-22 18:07:35 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6364
6365         * gst-libs/gst/vaapi/gstvaapiwindow.c:
6366         * gst-libs/gst/vaapi/gstvaapiwindow.h:
6367         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
6368         * tests/test-decode.c:
6369         * tests/test-filter.c:
6370         * tests/test-subpicture.c:
6371         * tests/test-textures.c:
6372         * tests/test-windows.c:
6373           libs: window: remove custom ref() and unref()
6374           Use gst_object_ref() and gst_object_unref() instead.
6375
6376 2018-12-22 13:25:09 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6377
6378         * gst-libs/gst/vaapi/gstvaapiwindow.c:
6379         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
6380         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
6381         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
6382         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6383         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
6384           libs: window: use its own debug category
6385
6386 2018-12-22 18:02:38 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6387
6388         * gst-libs/gst/vaapi/gstvaapiwindow.c:
6389         * gst-libs/gst/vaapi/gstvaapiwindow.h:
6390         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
6391         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
6392         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
6393         * gst-libs/gst/vaapi/gstvaapiwindow_egl.h:
6394         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
6395         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
6396         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
6397         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6398         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
6399         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
6400         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
6401         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
6402           libs: window: refactor as gobject
6403           This is another step in the gobjectification of the internal library
6404           of gstreamer-vaapi. Now it is the turn of GstVaapiWindow and its
6405           derivates.
6406           The idea is to minimize the changeset keeping the same design as
6407           much as possible.
6408           GstVaapiWindow is defined as an abstract class with two properties:
6409           the GstVaapiDisplay and the native ID. Thus, many of the
6410           GstVaapiObject macros were copied as GstVaapiWindow macros.
6411           The function gst_vaapi_window_new_internal() is kept as a decorator
6412           of for calling gst_vaapi_window_create() and the possibility of
6413           failure.
6414           The descendant classes, such as glx, still use the private
6415           structures, but through the gobject mechanism.
6416
6417 2018-12-03 22:05:29 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6418
6419         * gst-libs/gst/vaapi/gstvaapifilter.c:
6420           libs: filter: use its own debug category
6421
6422 2018-12-24 14:08:42 +0800  He Junyan <junyan.he@hotmail.com>
6423
6424         * gst/vaapi/gstvaapidecode.c:
6425         * gst/vaapi/gstvaapipluginbase.c:
6426         * gst/vaapi/gstvaapipluginbase.h:
6427         * gst/vaapi/gstvaapipostproc.c:
6428         * gst/vaapi/gstvaapisink.c:
6429           plugins: Add more check for allowed raw caps.
6430           The gst_vaapi_plugin_base_get_allowed_raw_caps is used for both sink
6431           pad and src pad, which cause some bugs. For sink pad, we need to verify
6432           vaPutImage() while for the src pad we need to verify vaGetImage().
6433           For vaapidecoderXXX kind of plugins, the case is more complex. We need
6434           to verify whether the decoded result(in some surface, NV12 format most
6435           of the time) can be vaGetImage to some raw image format. Add more check
6436           to fix all these problems.
6437           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/123
6438           Signed-off-by: He Junyan <junyan.he@hotmail.com>
6439
6440 2018-12-18 10:44:21 +0800  Wangfei <fei.w.wang@intel.com>
6441
6442         * gst/vaapi/gstvaapipostproc.c:
6443           vaapipostproc: fix csc fail when only change width or height.
6444
6445 2018-12-15 09:47:15 +0900  Wonchul Lee <chul0812@gmail.com>
6446
6447         * tests/elements/meson.build:
6448           meson: Add gtk guard
6449
6450 2018-12-15 14:48:03 +0800  Wangfei <fei.w.wang@intel.com>
6451
6452         * gst/vaapi/gstvaapiencode_h264.c:
6453           libs: enc: h264: set max profile idc with correct profile.
6454           Use the highest rank of available profile as the max profile to
6455           set max idc value.
6456           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/124
6457
6458 2018-12-03 13:56:52 +0100  Niels De Graef <nielsdegraef@gmail.com>
6459
6460         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
6461         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
6462         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
6463           Use G_DEFINE_TYPE_WITH_PRIVATE if applicable
6464           This gets rid of the strange `do_init` macro and makes the intent a bit
6465           more clear.
6466
6467 2018-12-05 17:24:53 -0300  Thibault Saunier <tsaunier@igalia.com>
6468
6469         * common:
6470           Automatic update of common submodule
6471           From ed78bee to 59cb678
6472
6473 2018-11-27 09:47:44 -0500  Wangfei <fei.w.wang@intel.com>
6474
6475         * gst-libs/gst/vaapi/gstvaapiimage.c:
6476         * gst-libs/gst/vaapi/gstvaapiprofile.c:
6477         * gst-libs/gst/vaapi/gstvaapiprofile.h:
6478         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
6479         * gst-libs/gst/vaapi/video-format.c:
6480         * gst/vaapi/gstvaapidecode.c:
6481         * gst/vaapi/gstvaapipluginutil.h:
6482           libs: dec: h265: support decode for main-444 10bit streams.
6483           Add 444 10bit yuv format Y410, which can be used to decode
6484           main-444 10bit streams. Currently, this feature is only
6485           supported by media-driver in Icelake.
6486
6487 2018-11-28 05:56:44 +0200  Jordan Petridis <jordan@centricular.com>
6488
6489         * gst/vaapi/gstvaapidecode.c:
6490         * gst/vaapi/gstvaapisink.c:
6491           Run gst-indent through the files
6492           This is required before we enabled an indent test in the CI.
6493           https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33
6494
6495 2018-11-14 13:11:56 +0800  He Junyan <junyan.he@hotmail.com>
6496
6497         * gst/vaapi/gstvaapipluginbase.c:
6498           plugins: modify image check of extract_allowed_surface_formats.
6499           The extract_allowed_surface_formats function just check whether
6500           we can support some kind of surface/image format pair. We just
6501           need to create a surface, create an image with the same video-format
6502           and putImage from image to surface. All these operations success,
6503           that kind of video-format is supported.
6504           The old manner do not work for some kind of video-format. For example,
6505           the RGBA kind of format will create a NV12 surface and RGBA image,
6506           and the putImage will fail because the format is not same. And so
6507           the RGBA format is not supported but actually it is supported.
6508
6509 2018-11-14 11:34:20 +0100  Michael Olbrich <m.olbrich@pengutronix.de>
6510
6511         * gst/vaapi/gstvaapipostproc.c:
6512           vaapipostproc: add some missing locking
6513           gst_vaapi_plugin_base_close() removed the raw caps that are used indirectly
6514           in gst_vaapipostproc_transform_caps(). The usage is already protected by
6515           the mutex.
6516           This is needed when the pipeline is stopped during startup.
6517
6518 2018-11-20 16:07:44 +0800  Xiang, Haihao <haihao.xiang@intel.com>
6519
6520         * gst/vaapi/gstvaapivideomemory.c:
6521           Close dmabuf_fd
6522           Otherwise it will result in resource leak when failed to create
6523           dmabuf memory
6524
6525 2018-11-12 13:39:51 +0100  Michael Olbrich <m.olbrich@pengutronix.de>
6526
6527         * gst/vaapi/gstvaapiencode.c:
6528           vaapiencode: don't start src pad task in set_format
6529           Otherwise the task may be restarted during shutdown. Start the task in
6530           gst_vaapiencode_handle_frame() instead.
6531
6532 2018-11-14 13:52:48 +0800  Wangfei <fei.w.wang@intel.com>
6533
6534         * gst-libs/gst/vaapi/gstvaapiprofile.c:
6535         * gst-libs/gst/vaapi/gstvaapiprofile.h:
6536         * gst-libs/gst/vaapi/gstvaapiutils.c:
6537         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
6538         * gst/vaapi/gstvaapidecode.c:
6539         * gst/vaapi/gstvaapipluginutil.h:
6540           libs: dec: h265: support decode for main-444 8bit streams.
6541           Add 444 8bit yuv format AYUV, which can be used to decode
6542           main-444 8bit streams. Currently, this feature is only
6543           supported by media-driver in Icelake.
6544           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/119
6545
6546 2018-11-12 17:43:54 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6547
6548         * .gitlab-ci.yml:
6549           Add Gitlab CI configuration
6550           This commit adds a .gitlab-ci.yml file, which uses a feature
6551           to fetch the config from a centralized repository. The intent is
6552           to have all the gstreamer modules use the same configuration.
6553           The configuration is currently hosted at the gst-ci repository
6554           under the gitlab/ci_template.yml path.
6555           Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29
6556
6557 2018-11-09 22:03:43 +0800  He Junyan <junyan.he@hotmail.com>
6558
6559         * gst-libs/gst/vaapi/gstvaapisurface.h:
6560         * gst-libs/gst/vaapi/gstvaapiutils.c:
6561           libs: Sync the GstVaapiChromaType to VA header file.
6562           Add more kinds of chrometype which will be used to describe
6563           new video formats. Sync it with 1.4.0 version header file.
6564           Alse delete useless GST_VAAPI_CHROMA_TYPE_YUV410 chrome type.
6565           Signed-off-by: He Junyan <junyan.he@hotmail.com>
6566
6567 2018-11-09 23:55:05 +0000  Tim-Philipp Müller <tim@centricular.com>
6568
6569         * gst-libs/gst/vaapi/meson.build:
6570           meson: link with -lm
6571           Fixes #117 hopefully.
6572
6573 2018-11-09 23:46:53 +0000  Tim-Philipp Müller <tim@centricular.com>
6574
6575         * meson.build:
6576           meson: bump meson required to 0.47 for feature options
6577
6578 2018-11-06 14:38:08 +0800  Junyan He <junyan.he@intel.com>
6579
6580         * gst-libs/gst/vaapi/video-format.c:
6581           libs: Modify the video format of endianness.
6582           We lack some video format because endianness declare.
6583           The video format should not directly relate to endianness. For example,
6584           ARGB on big endian should not be simplely seen as BGRA on little endian
6585           machine. We should provide endianess convert or format convert help
6586           functions if endianness does not match.
6587           https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/112
6588           Signed-off-by: Junyan He <junyan.he@intel.com>
6589
6590 2018-10-17 18:36:52 +0800  Junyan He <junyan.he@intel.com>
6591
6592         * gst/vaapi/gstvaapipluginutil.c:
6593           plugins: Fix build error when GL is enabled while EGL is disabled.
6594           gl_platform_type in gst_vaapi_get_display_type_from_gl_env generate
6595           unused-variable warning and may block build when Werror enabled.
6596           Several functions like gst_vaapi_display_egl_new_with_native_display
6597           have no prototype warning and link error when GL is enabled but EGL
6598           is disabled. Fix all these warning and link error.
6599           https://bugzilla.gnome.org/show_bug.cgi?id=797358
6600           Signed-off-by: Junyan He <junyan.he@intel.com>
6601
6602 2018-11-03 15:06:09 +0800  Wangfei <fei.w.wang@intel.com>
6603
6604         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
6605         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
6606           libs: encoder: h264/h264fei: remove unuseless code.
6607           The variable are set twice, remove previous one.
6608           https://bugzilla.gnome.org/show_bug.cgi?id=797365
6609
6610 2018-11-03 15:28:35 +0800  Wangfei <fei.w.wang@intel.com>
6611
6612         * tests/simple-encoder.c:
6613         * tests/test-fei-enc-in.c:
6614           tests: check return value when using gst_buffer_map.
6615           https://bugzilla.gnome.org/show_bug.cgi?id=797366
6616
6617 2018-11-02 16:50:47 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6618
6619         * meson.build:
6620         * meson_options.txt:
6621         * tests/elements/meson.build:
6622         * tests/meson.build:
6623           build: meson: build examples
6624
6625 2018-11-02 16:50:00 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6626
6627         * gst-libs/gst/vaapi/meson.build:
6628           build: meson: declare headers for libgstvaapi
6629           Thus handling its recompilation if needed.
6630
6631 2018-11-05 05:41:13 +0000  Matthew Waters <matthew@centricular.com>
6632
6633         * .gitmodules:
6634           Update common submodule location
6635           Remove the git directory
6636
6637 2018-11-05 13:00:28 +0800  Haihao Xiang <haihao.xiang@intel.com>
6638
6639         * .gitmodules:
6640         * gstreamer-vaapi.doap:
6641           Clone the code from gitlab
6642           This fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/116
6643
6644 2018-10-24 14:18:37 -0400  Wangfei <fei.w.wang@intel.com>
6645
6646         * gst-libs/gst/vaapi/gstvaapiimage.c:
6647         * gst-libs/gst/vaapi/gstvaapisurface.h:
6648         * gst-libs/gst/vaapi/gstvaapiutils.c:
6649         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
6650         * gst-libs/gst/vaapi/video-format.c:
6651         * gst/vaapi/gstvaapidecode.c:
6652         * gst/vaapi/gstvaapipluginutil.h:
6653           libs: dec: h265: support decode for main-10-422 10bit streams.
6654           Add 422 10bit yuv format Y210, which can be used to decode
6655           main-10-422 10bit streams. Currently, this feature is only
6656           supported by media-driver in Icelake.
6657           https://bugzilla.gnome.org/show_bug.cgi?id=797264
6658
6659 2018-10-13 15:00:32 +0800  Wangfei <fei.w.wang@intel.com>
6660
6661         * gst-libs/gst/vaapi/gstvaapicontext.c:
6662           libs: context: roi_rc_qp_delta_support should not be checked when CQP.
6663           VA_ROI_RC_QP_DELTA_SUPPORT return value will be ignored when the
6664           rate control mode is set as CQP. In CQP mode, it shouldn't check
6665           roi_rc_qp_delta_support return value from driver backend.
6666           https://bugzilla.gnome.org/show_bug.cgi?id=797087
6667
6668 2018-10-15 17:55:24 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6669
6670         * gst/vaapi/gstvaapipostproc.c:
6671           vaapipostproc: fix classification string
6672           The classification string is splitted by '/' and then looks for the
6673           components.
6674           This patch removes the ';' by unifying all the components.
6675
6676 2018-10-15 16:05:02 +0100  Philippe Normand <philn@igalia.com>
6677
6678         * gst/vaapi/gstvaapipostproc.c:
6679           vaapipostproc: Add Hardware classifier to metadata
6680
6681 2018-10-12 16:37:34 +0800  Wangfei <fei.w.wang@intel.com>
6682
6683         * gst-libs/gst/vaapi/gstvaapicontext.c:
6684           libs: context: create context first before using it to create surface.
6685           In gst_vaapi_context_reset(), if the context has to be destroyed, make
6686           sure to create it first before allocating its associated surfaces.
6687           This patch fixes a regression introduced in commit 82872f4 because
6688           the formats available in the current context now are ensured before
6689           creating the context's surfaces.
6690           https://bugzilla.gnome.org/show_bug.cgi?id=797277
6691
6692 2018-10-12 15:39:53 +0100  Philippe Normand <philn@igalia.com>
6693
6694         * docs/plugins/inspect/plugin-vaapi.xml:
6695         * gst/vaapi/gstvaapidecode.c:
6696         * gst/vaapi/gstvaapiencode_h264.c:
6697         * gst/vaapi/gstvaapiencode_h264_fei.c:
6698         * gst/vaapi/gstvaapiencode_h265.c:
6699         * gst/vaapi/gstvaapiencode_jpeg.c:
6700         * gst/vaapi/gstvaapiencode_mpeg2.c:
6701         * gst/vaapi/gstvaapiencode_vp8.c:
6702         * gst/vaapi/gstvaapiencode_vp9.c:
6703           gst: Advertise elements interacting with hardware devices
6704
6705 2018-10-01 09:26:05 +0800  Wangfei <fei.w.wang@intel.com>
6706
6707         * gst-libs/gst/vaapi/gstvaapicontext.c:
6708         * gst-libs/gst/vaapi/gstvaapisurface.c:
6709         * gst-libs/gst/vaapi/gstvaapisurface.h:
6710           libs: context: query surface format before context to create surface.
6711           Before using context to create surface, the supported surface format
6712           should be checked first.
6713           https://bugzilla.gnome.org/show_bug.cgi?id=797222
6714
6715 2018-10-09 17:23:55 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6716
6717         * gst-libs/gst/vaapi/gstvaapiimage.c:
6718         * gst-libs/gst/vaapi/gstvaapivalue.c:
6719           libs: replace g_error with GST_ERROR
6720           And handle those errors rather than halting.
6721
6722 2018-10-09 17:23:30 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6723
6724         * gst-libs/gst/vaapi/gstvaapiimage.c:
6725         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
6726         * gst-libs/gst/vaapi/gstvaapisurface.c:
6727           libs: replace g_warning with GST_WARNING
6728
6729 2018-09-26 14:55:32 -0500  Matteo Valdina <matteo.valdina@gmail.com>
6730
6731         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
6732         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
6733         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
6734         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.c:
6735           libs: Move from g_debug to GST_DEBUG.
6736           https://bugzilla.gnome.org/show_bug.cgi?id=797202
6737
6738 2018-10-04 02:20:10 +0800  Soon, Thean Siew <thean.siew.soon@intel.com>
6739
6740         * gst/vaapi/gstvaapipostproc.c:
6741           vaapipostproc: change the way of handling deinterlace
6742           The current vaapipostproc calls driver's video processing
6743           pipeline for deinterlacing only if it is Advance deinterlacing.
6744           Modify in the way that it always tries with driver's video
6745           processing pipeline for deinterlacing, and falls back to software
6746           method of appending picture structure meta data only if it fails
6747           with driver's method.
6748           https://bugzilla.gnome.org/show_bug.cgi?id=797095
6749
6750 2018-09-24 16:54:29 -0500  Matteo Valdina <matteo.valdina@gmail.com>
6751
6752         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
6753         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
6754           libs: h264: Update level table to "Recommendation H.264 (04/17)".
6755           Added level 6, 6.1 and 6.2. Reference Table A-1 – Level limits
6756           from T-REC-H.264-201704.
6757           https://bugzilla.gnome.org/show_bug.cgi?id=797202
6758
6759 2018-09-20 09:57:33 +0800  Wangfei <fei.w.wang@intel.com>
6760
6761         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
6762         * gst-libs/gst/vaapi/gstvaapiprofile.c:
6763         * gst-libs/gst/vaapi/gstvaapiprofile.h:
6764         * gst-libs/gst/vaapi/gstvaapisurface.c:
6765         * gst-libs/gst/vaapi/gstvaapiutils.c:
6766         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
6767         * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h:
6768         * gst-libs/gst/vaapi/video-format.c:
6769         * gst-libs/gst/vaapi/video-format.h:
6770         * gst/vaapi/gstvaapidecode.c:
6771         * gst/vaapi/gstvaapipluginbase.c:
6772         * gst/vaapi/gstvaapipluginutil.h:
6773           libs: dec: h265: add 422 chroma format support.
6774           Add main-422-10 profile which support 422 chroma format stream.
6775           Currently, this feature is only supported by media-driver in Icelake.
6776           https://bugzilla.gnome.org/show_bug.cgi?id=797143
6777
6778 2018-09-26 19:34:06 +0200  U. Artie Eoff <ullysses.a.eoff@intel.com>
6779
6780         * tests/y4mreader.c:
6781           tests: include sysdeps.h in compilation unit
6782           Fixes https://bugzilla.gnome.org/show_bug.cgi?id=797204
6783           Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
6784
6785 2018-09-26 18:04:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6786
6787         * tests/y4mreader.c:
6788         * tests/y4mreader.h:
6789           tests: fix compilation
6790           https://bugzilla.gnome.org/show_bug.cgi?id=797204
6791
6792 2018-09-25 20:28:02 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6793
6794         * tests/y4mreader.h:
6795           tests: don's use sysdeps.h in header
6796
6797 2018-09-14 19:30:56 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6798
6799         * gst-libs/gst/vaapi/gstvaapiutils.h:
6800           libs: utils: no need of include config.h
6801
6802 2018-09-13 18:12:02 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6803
6804         * tests/decoder.c:
6805         * tests/output.c:
6806         * tests/test-decode.c:
6807         * tests/test-subpicture.c:
6808           tests: remove already include string.h
6809           Since sysdeps.h includes string.h there's no need to include it again.
6810
6811 2018-09-13 18:11:25 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6812
6813         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
6814         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
6815         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
6816         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
6817         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
6818         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
6819         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
6820         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
6821         * gst-libs/gst/vaapi/gstvaapidisplay.c:
6822         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
6823         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
6824         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
6825         * gst-libs/gst/vaapi/gstvaapiimage.c:
6826         * gst-libs/gst/vaapi/gstvaapiprofile.c:
6827         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
6828         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
6829         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6830         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
6831           libs: remove already include string.h
6832           Since sysdeps.h includes string.h there's no need to include it again.
6833
6834 2018-09-13 18:26:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6835
6836         * gst-libs/gst/vaapi/gstvaapiobject.h:
6837         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
6838         * gst/vaapi/gstvaapivideometa_texture.c:
6839           libs: object: separation of internal API and plugins
6840           Removed exposed macros GST_VAAPI_OBJECT_DISPLAY() and
6841           GST_VAAPI_OBJECT_ID() to plugins, keeping them only for internal
6842           library usage.
6843           The purpose is readability.
6844           https://bugzilla.gnome.org/show_bug.cgi?id=797139
6845
6846 2018-09-13 16:34:54 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6847
6848         * gst-libs/gst/vaapi/gstvaapiparser_frame.h:
6849           libs: parser_frame: change macros for inlined functions
6850           https://bugzilla.gnome.org/show_bug.cgi?id=797139
6851
6852 2018-09-13 16:10:13 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6853
6854         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c:
6855         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
6856         * gst-libs/gst/vaapi/gstvaapivideopool.c:
6857         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
6858           libs: videopool: remove unneeded code
6859           The removed code comes frome the bad practice of copy&paste. Better
6860           move it as internal function.
6861           https://bugzilla.gnome.org/show_bug.cgi?id=797139
6862
6863 2018-09-13 12:22:42 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6864
6865         * gst-libs/gst/vaapi/Makefile.am:
6866         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
6867         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
6868         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
6869         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
6870         * gst-libs/gst/vaapi/gstvaapiobject.c:
6871         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
6872         * gst-libs/gst/vaapi/gstvaapipixmap.c:
6873         * gst-libs/gst/vaapi/gstvaapipixmap_priv.h:
6874         * gst-libs/gst/vaapi/gstvaapitexture.c:
6875         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
6876         * gst-libs/gst/vaapi/gstvaapiwindow.c:
6877         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
6878         * gst-libs/gst/vaapi/meson.build:
6879           libs: remove dependency on IN_LIBGSTVAAPI_CORE
6880           This conditional code was when libgstvaapi was intended to be library
6881           used outside GStreamer. This not the case anymore, thus removing it.
6882           https://bugzilla.gnome.org/show_bug.cgi?id=797139
6883
6884 2018-09-19 10:16:36 +0800  Wangfei <fei.w.wang@intel.com>
6885
6886         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
6887           libs: dec: h265: fix the macros used for IDC profile
6888           profile_idc flag in SPS only indicate the IDC profile, which may
6889           need some other flags together to get the real profile.
6890           https://bugzilla.gnome.org/show_bug.cgi?id=797160
6891
6892 2018-09-12 19:06:22 +0900  Jimmy Ohn <yongjin.ohn@lge.com>
6893
6894         * gst-libs/gst/vaapi/gstvaapidisplay.c:
6895         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
6896         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
6897         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
6898         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
6899           libs: use g_clear_pointer() when possible
6900           https://bugzilla.gnome.org/show_bug.cgi?id=797131
6901
6902 2018-09-03 13:56:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6903
6904         * gst-libs/gst/vaapi/gstvaapifilter.h:
6905           libs: filter: add gobject's cleanup function
6906
6907 2018-05-22 14:28:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6908
6909         * gst-libs/gst/vaapi/gstvaapifilter.c:
6910         * gst-libs/gst/vaapi/gstvaapifilter.h:
6911         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
6912         * tests/test-filter.c:
6913           libs: filter: remove custom ref() and unref()
6914           Replacing them by gst_object_ref() and gst_object_unref()
6915           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6916
6917 2018-05-22 14:26:48 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6918
6919         * gst-libs/gst/vaapi/gstvaapifilter.c:
6920         * gst-libs/gst/vaapi/gstvaapifilter.h:
6921           libs: filter: refactor filter as gobject
6922           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6923
6924 2018-05-21 13:38:00 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6925
6926         * gst-libs/gst/vaapi/gstvaapidecoder.c:
6927         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
6928           libs: decoder: remove destoy() and create() callbacks
6929           They were all replaced by reset()
6930           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6931
6932 2018-05-21 13:26:01 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6933
6934         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
6935           libs: decoder: vp9: implement reset() callback
6936           remove destroy() and create() callback
6937           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6938
6939 2018-05-21 13:25:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6940
6941         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
6942           libs: decoder: vp8: implement reset() callback
6943           remove create() and destroy() callbacks
6944           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6945
6946 2018-05-21 13:24:39 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6947
6948         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
6949           libs: decoder: vc1: implement reset() callback
6950           remove destroy() and create() callbacks
6951           use g_clear_pointer for rbdu_buffer
6952           no cast for enum
6953           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6954
6955 2018-05-21 13:24:13 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6956
6957         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
6958           libs: decoder: mpeg4: implement reset() callback
6959           remove destroy() and create() callback
6960           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6961
6962 2018-05-21 13:22:45 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6963
6964         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
6965           libs: decoder: mpeg2: implement reset() callback
6966           remove create() and destroy() callbacks
6967           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6968
6969 2018-05-21 13:22:07 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6970
6971         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
6972           libs: decoder: jpeg: implement reset() callback
6973           and remove create() and destroy() callbacks.
6974           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6975
6976 2018-05-21 13:13:31 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6977
6978         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
6979           libs: decoder: h265: implement reset() callback
6980           and remove create() and destroy()
6981           and use g_clear_pointer for dpb structure
6982           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6983
6984 2018-05-21 13:11:41 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6985
6986         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
6987           libs: decoder: h264: remove create() and destroy() callbacks
6988           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6989
6990 2018-05-21 11:56:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
6991
6992         * gst-libs/gst/vaapi/gstvaapidecoder.c:
6993         * gst-libs/gst/vaapi/gstvaapidecoder.h:
6994         * tests/test-decode.c:
6995         * tests/test-subpicture.c:
6996           libs: decoder: remove gst_vaapi_decoder_unref()
6997           Replaced by gst_object_unref() in tests
6998           https://bugzilla.gnome.org/show_bug.cgi?id=796308
6999
7000 2018-05-21 11:51:14 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7001
7002         * gst-libs/gst/vaapi/gstvaapidecoder.c:
7003         * gst-libs/gst/vaapi/gstvaapidecoder.h:
7004           libs: decoder: remove gst_vaapi_decoder_ref()
7005           https://bugzilla.gnome.org/show_bug.cgi?id=796308
7006
7007 2018-05-21 11:50:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7008
7009         * gst-libs/gst/vaapi/gstvaapidecoder.c:
7010         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
7011           libs: decoder: remove gst_vaapi_decoder_new()
7012           https://bugzilla.gnome.org/show_bug.cgi?id=796308
7013
7014 2018-05-18 16:09:31 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7015
7016         * gst-libs/gst/vaapi/gstvaapidecoder.c:
7017         * gst-libs/gst/vaapi/gstvaapidecoder.h:
7018         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7019         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
7020         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
7021         * gst-libs/gst/vaapi/gstvaapidecoder_h265.h:
7022         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
7023         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
7024         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
7025         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
7026         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
7027         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
7028         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
7029         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
7030         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
7031         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
7032         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.h:
7033         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
7034         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.h:
7035           libs: decoder: refactor decoders as gobject
7036           https://bugzilla.gnome.org/show_bug.cgi?id=796308
7037
7038 2018-08-31 20:56:13 -0500  Matteo Valdina <matteo.valdina@gmail.com>
7039
7040         * gst/vaapi/gstvaapidecode.c:
7041           vaapidecode: Requests upstream a key unit at parse or decode error.
7042           This is done to resume decoding after a parse error or decode error.
7043           Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006
7044
7045 2018-08-31 20:48:13 -0500  Matteo Valdina <matteo.valdina@gmail.com>
7046
7047         * gst/vaapi/gstvaapidecode.c:
7048           vaapidecode: sets return value in failure case.
7049           In gst_vaapidecode_handle_frame, when there is a decode error
7050           there is a code path the returns an uninitialized value.
7051           Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006
7052
7053 2018-08-30 18:56:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7054
7055         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7056           libs: display: lock at extracting available image formates
7057           When running several vaapi elements at the concurrently, at
7058           initialization, there is a race condition when extractin the avaible
7059           formats for images and subpictures.
7060           This patch add a lock when the those arrays are filled.
7061           https://bugzilla.gnome.org/show_bug.cgi?id=797039
7062
7063 2018-08-31 14:47:55 +0530  Nirbheek Chauhan <nirbheek@centricular.com>
7064
7065         * meson.build:
7066           meson: Sync libversion and osxversion code from other repos
7067           gstreamer-vaapi does not build any libraries, only plugins, so this is
7068           not used, but sync it just in case someone does add it in the future.
7069
7070 2018-08-29 13:44:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7071
7072         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
7073           libs: encoder: h265: trivial documentation fix
7074
7075 2018-08-30 11:08:07 +0800  Wangfei <fei.w.wang@intel.com>
7076
7077         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
7078         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
7079           libs: encoder: h265: add low delay B frame support.
7080           Low delay B frame provide the function of transforming
7081           P frame into low delay B frame which frame type is B, but
7082           only reference predictive frames. This can be used when P
7083           frame unsupported. Especially for P and B both unsupported,
7084           in this case, I and low delay B frame can be encoded in a
7085           stream.
7086           https://bugzilla.gnome.org/show_bug.cgi?id=796984
7087
7088 2018-08-27 20:42:15 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7089
7090         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7091           libs: decoder: h264: Avoid using picture after it has been free
7092           In some cases, the found_picture ended up being evicted and freed, which
7093           would lead to a use after free when accessing picture->base.poc. In this
7094           fix, we take a ref on the picture before calling dpb_evict.
7095           https://bugzilla.gnome.org/show_bug.cgi?id=787124
7096
7097 2018-07-25 17:03:19 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7098
7099         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7100           h264decoder: Fail decoding slice with missing inter-view reference
7101           Similarly to previous patch, we have no error concealment. As a side
7102           effect, it's better to skip slices with missing references then passing
7103           NULL pointers to the accelerator. Passing NULL pointer would lead to
7104           major visual artifact, a behaviour that is likely undefined.
7105           https://bugzilla.gnome.org/show_bug.cgi?id=787124
7106
7107 2017-09-14 14:25:41 +0900  Hyunjun Ko <zzoon@igalia.com>
7108
7109         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7110           libs: decoder: h264: reset context when the number of view is increased
7111           Usually in case of MVC decoding, dpb size is increasedi if subset sps.
7112           That's why it resets context without this patch.
7113           But for some media it doesn't increase dpb size. Even in this case we
7114           should reset context to deal with MVC decoding.
7115           Otherwise, it leads to assert.
7116           https://bugzilla.gnome.org/show_bug.cgi?id=787124
7117
7118 2018-07-25 13:50:23 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7119
7120         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7121         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
7122         * gst/vaapi/gstvaapidecode.c:
7123           vaapidecode: Skip unparsable units from adapter
7124           If the unit could not be parsed, just skip this nal and keep parsing
7125           what is left in the adapter. We need to flush the broken unit in the
7126           decoder specific parser because the generic code does not know about
7127           units boundary. This increases error resilliance.
7128           Before this, the broken unit would stay in the adapter and EOS would be
7129           returned. Which stopped the streaming. Just removing the EOS would have
7130           lead to the adapter size growing indefinitely.
7131           https://bugzilla.gnome.org/show_bug.cgi?id=796863
7132
7133 2018-07-24 12:40:00 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7134
7135         * gst/vaapi/gstvaapidecode.c:
7136           vaapidecoder: Don't error out on decode errors
7137           This is problematic on live pipeline where loosing network can
7138           cause an important amount of errors.
7139           https://bugzilla.gnome.org/show_bug.cgi?id=796832
7140
7141 2018-07-25 15:47:49 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7142
7143         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
7144           h265decoder: Don't scan empty buffer
7145           Same as what we did for H264 decoder, this is to avoid an assertion
7146           in the adapter.
7147           https://bugzilla.gnome.org/show_bug.cgi?id=796832
7148
7149 2018-07-25 20:21:51 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7150
7151         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7152           libs: h264: renable the vaapi category for logging
7153           h264 log messages were logged in default category because a regression
7154           in code. This patch renable the usage of vaapi logging category.
7155           This regression was introduced in commit 7c365bdd.
7156
7157 2018-07-18 13:09:42 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7158
7159         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7160           h264decoder: Fail decoding slice if modification process failed
7161           This patch chains up failure to executing the modification process. The
7162           end result is that we now fail decoding the slice if this process fails.
7163           This avoid sending a corrupted state to the accelerator. In some special
7164           cases, this could lead to unrecoverable errors.
7165           https://bugzilla.gnome.org/show_bug.cgi?id=796832
7166
7167 2018-07-18 13:07:51 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7168
7169         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7170           h264decoder: Don't scan empty buffer
7171           gst_adapter_masked_scan_uint32_peek() asserts if size is 0. Don't
7172           try and scan in that case. This fixes assertion that would some times
7173           happen when the stream is corrupted.
7174           https://bugzilla.gnome.org/show_bug.cgi?id=796832
7175
7176 2018-07-04 12:51:10 +0800  Tianhao Liu <tianhao.liu@intel.com>
7177
7178         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
7179           libs: encoder: jpeg: set component id and Tqi
7180           This change is due a problem encoding JPEGs with Intel's
7181           media-driver: green/black image when playback jpeg
7182           This patch sets component identifier and quantization table
7183           destination selector in frame header to support packing headers
7184           by Intel's media-driver that does not accept packed header
7185           in AP level.
7186           https://bugzilla.gnome.org/show_bug.cgi?id=796705
7187
7188 2018-06-25 14:20:32 +0200  Mathieu Duponchelle <mathieu@centricular.com>
7189
7190         * gst/vaapi/gstvaapipluginutil.c:
7191           pluginutil: downgrade unsupported driver logging
7192           On systems with an Nvidia card, this error is output each time
7193           the registry is rebuilt, which happens pretty often when
7194           using gst-build as a development environment.
7195           https://bugzilla.gnome.org/show_bug.cgi?id=796663
7196
7197 2018-06-24 13:07:20 +0200  Tim-Philipp Müller <tim@centricular.com>
7198
7199         * gst/vaapi/gstvaapivideobufferpool.c:
7200           Update for g_type_class_add_private() deprecation in recent GLib
7201
7202 2018-05-30 16:01:36 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7203
7204         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7205           h264dec: Remove false assumption about parity order
7206           The decoder was trying to detect earlier that a field was lost base
7207           on guessing the parity order. This breaks in streams were the parity
7208           order changes.
7209           This patch reverts the field order prediction code added by commit
7210           8dd93e9c8.
7211           https://bugzilla.gnome.org/show_bug.cgi?id=796169
7212
7213 2018-05-18 17:03:57 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7214
7215         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7216           h264dec: Properly set sentinel in ref frame list
7217           This ensure that we always have sentinels set in the reference
7218           pictures arrays. The code wasn't unsafe, this simply improve the
7219           tracing, so instead of printing 32 lines of zeros, va tracer
7220           prints proper empty lists.
7221           https://bugzilla.gnome.org/show_bug.cgi?id=796169
7222
7223 2018-06-13 18:00:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7224
7225         * gst-libs/gst/vaapi/gstvaapidecoder.c:
7226         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7227         * gst-libs/gst/vaapi/gstvaapidisplay.h:
7228         * gst-libs/gst/vaapi/gstvaapiencoder.c:
7229         * gst-libs/gst/vaapi/gstvaapifilter.c:
7230         * gst-libs/gst/vaapi/gstvaapiobject.c:
7231         * gst-libs/gst/vaapi/gstvaapivideopool.c:
7232         * gst/vaapi/gstvaapipluginbase.c:
7233         * gst/vaapi/gstvaapivideometa.c:
7234         * tests/test-decode.c:
7235           libs: display: remove gst_vaapi_display_ref()
7236           Replace it with gst_object_ref()
7237           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7238
7239 2018-06-13 17:54:23 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7240
7241         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7242         * gst-libs/gst/vaapi/gstvaapidisplay.h:
7243         * gst/vaapi/gstvaapi.c:
7244         * gst/vaapi/gstvaapidecode.c:
7245         * gst/vaapi/gstvaapiencode.c:
7246         * gst/vaapi/gstvaapipluginbase.c:
7247         * gst/vaapi/gstvaapipluginutil.c:
7248         * tests/output.c:
7249         * tests/simple-encoder.c:
7250         * tests/test-decode.c:
7251         * tests/test-display.c:
7252         * tests/test-fei-enc-in.c:
7253         * tests/test-filter.c:
7254         * tests/test-subpicture.c:
7255         * tests/test-surfaces.c:
7256         * tests/test-textures.c:
7257         * tests/test-windows.c:
7258           libs: display: remove gst_vaapi_display_unref()
7259           Use gst_object_unref() instead.
7260           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7261
7262 2018-06-13 18:10:28 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7263
7264         * gst/vaapi/gstvaapivideobufferpool.c:
7265           vaapibufferpool: declare parameter display as object
7266           We have neglected to update this code since GstVaapiDisplay turned
7267           into a GstObject descendant.
7268           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7269
7270 2018-06-01 12:36:51 +0900  Hyunjun Ko <zzoon@igalia.com>
7271
7272         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7273         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
7274         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
7275         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
7276         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
7277         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
7278         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
7279           libs: display: replace gst_vaapi_display_new() with gst_vaapi_display_config()
7280           Gobjectification for GstVaapiDisplay was almost done by the commit 185da3d1.
7281           But still something breaking GObject code convention remains, which is
7282           calling gst_vaapi_display_new() in each decendants.
7283           This patch replaces it with gst_vaapi_display_config(), defined in private
7284           header.
7285           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7286
7287 2018-06-13 17:05:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7288
7289         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7290           libs: display: redefine gst_vaapi_display_create()
7291           The function name was gst_vaapi_display_create_unlocked(), nonetheless
7292           it wasn't called unlocked. In order to keep the semantics this patch
7293           renames the gst_vaapi_display_create_unlocked() as
7294           gst_vaapi_display_create(), removing the previous function
7295           gst_vaapi_display_create().
7296           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7297
7298 2018-06-12 15:53:04 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7299
7300         * meson.build:
7301           Revert "build: meson: libva gst-uninstall friendly"
7302           This reverts commit fc3eef9c432c1628cb92ab56e74924cf1182da30.
7303
7304 2018-06-12 15:13:33 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7305
7306         * gst/vaapi/gstvaapipluginutil.c:
7307           plugins: fix compilation
7308           gstvaapipluginutil.c:171:1: error: old-style function definition [-Werror=old-style-definition]
7309
7310 2018-04-20 18:05:30 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7311
7312         * meson.build:
7313           build: meson: libva gst-uninstall friendly
7314           Make gstreamer-vaapi to use libva uninstalled.
7315
7316 2018-06-10 10:44:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7317
7318         * gst/vaapi/gstvaapipluginutil.c:
7319           plugins: refactor gst_vaapi_create_display_from_gl_context()
7320           gst_vaapi_create_display_from_gl_context() was a spaghetti mess.
7321           This path refactors it, in order to make the code readable and
7322           easy to follow.
7323           https://bugzilla.gnome.org/show_bug.cgi?id=796564
7324
7325 2018-05-25 12:17:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7326
7327         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7328         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
7329         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
7330           libs: display: resurrect parent private member
7331           This is, practically, a revert of commit dcf135e2.
7332           The parent logic is useful for the EGL display, which is a decorator
7333           of the real windowing subsystem (X11 or Wayland). Thus it is avoided
7334           calling vaInitialize() and vaTerminate() twice.
7335           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7336
7337 2018-04-27 18:35:30 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7338
7339         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
7340           libs: display: egl: initialize params structure
7341           Statically initialise the internal params structure.
7342           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7343
7344 2018-04-27 18:34:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7345
7346         * gst/vaapi/gstvaapipluginutil.c:
7347           plugins: handle EGL when creating VAAPI display from gl
7348           If GstGL reports a EGL platform force to create a EGL display using
7349           the native EGL display.
7350           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7351
7352 2018-04-24 18:17:24 +0900  Hyunjun Ko <zzoon@igalia.com>
7353
7354         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
7355         * gst/vaapi/gstvaapipluginutil.c:
7356           display: egl: create VaapiDisplayEGL with native EGL display
7357           gst_vaapi_display_egl_new_with_native_display() has been broken since
7358           it wasn't used.
7359           Currently it's needed to call this API to create a display providing
7360           the EGL display, so it could avoid duplicated calls to the native
7361           display (eg. eglTerminate).
7362           Signed-off-by: Victor Jaquez <vjaquez@igalia.com>
7363           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7364
7365 2018-06-07 09:34:11 +0800  Tianhao Liu <tianhao.liu@intel.com>
7366
7367         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
7368           libs: decoder: release VA buffers after vaEndPicture
7369           This change is due a problem decoding JPEGs with Intel's media-driver:
7370           no image was generated.
7371           This patch relases the VA buffers after vaEndPicture() is called,
7372           and not before (after vaRenderPicture()).
7373           https://bugzilla.gnome.org/show_bug.cgi?id=796505
7374
7375 2018-06-07 19:49:02 +0100  Tim-Philipp Müller <tim@centricular.com>
7376
7377         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
7378         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
7379         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
7380           meson: fix build when xrender or xrandr are not available
7381           HAVE_XRENDER are defined to 1 or 0, not defined or undefined.
7382
7383 2018-05-25 16:47:00 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
7384
7385         * gst/vaapi/gstvaapipostproc.c:
7386           vaapipostproc: don't copy the GstParentBufferMeta if use_vpp
7387           Otherwise a reference to a DMABuf input buffer is kept until the output
7388           buffer is deleted.
7389           https://bugzilla.gnome.org/show_bug.cgi?id=796399
7390
7391 2018-05-22 21:13:08 +0900  Hyunjun Ko <zzoon@igalia.com>
7392
7393         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7394         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
7395           libs: display: remove unnecessary legacy code since gobjectification
7396           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7397
7398 2018-05-22 21:05:54 +0900  Hyunjun Ko <zzoon@igalia.com>
7399
7400         * gst-libs/gst/vaapi/gstvaapidisplay.c:
7401         * gst-libs/gst/vaapi/gstvaapidisplay.h:
7402           libs: display: remove unused code
7403           https://bugzilla.gnome.org/show_bug.cgi?id=796470
7404
7405 2018-06-05 15:16:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7406
7407         * gst/vaapi/gstvaapiencode_h264.c:
7408           vaapiencode: h264: log output caps
7409
7410 2018-06-05 22:38:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7411
7412         * gst/vaapi/gstvaapiencode_h264.c:
7413           vaapiencode: h264: find profile in available and allowed caps
7414           The commit 67e33d3de225d0e006d7bf606e7abb20d4544eab ("vaapiencode: h264:
7415           find best profile in those available") changed the code to pick a profile
7416           that is actually supported by the hardware. Unfortunately it dropped the
7417           downstream constraints. This can cause negotiation failures under certain
7418           circumstances.
7419           The fix is split in two cases:
7420           1\ the available VA-API caps doesn't intersect with pipeline's allowed
7421           caps:
7422           * The best allowed profile (pipeline's caps) is set as the encoding
7423           target profile (it will be adjusted later by the available profiles
7424           and properties)
7425           2\ the available VA-API caps does intersect with pipeline's allowed
7426           caps:
7427           * The intersected caps are fixed, and its profile is set as the
7428           encoding target profile. In this case the is not the best profile,
7429           but the minimal one (if VA-API reports the profiles in order).
7430           Setting the minimal profile of the intersected caps is better for
7431           compatibility.
7432           This patch fixes other tests related with caps negotiation, for
7433           example, it handles baseline profile, even when VA only supports
7434           constrained-baseline.
7435           Original-patch-by: Michael Olbrich <m.olbrich@pengutronix.de>
7436           https://bugzilla.gnome.org/show_bug.cgi?id=794306
7437
7438 2018-06-01 15:27:25 +0900  Hyunjun Ko <zzoon@igalia.com>
7439
7440         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
7441           libs: encoder: h265: increase log2_max_pic_order_cnt range according to spec
7442           The specification says,
7443           "log2_max_pic_order_cnt_lsb_minus4 shall be in the range of 0 to 12, inclusive."
7444           This patch changes the upper limit from 6 to 12.
7445           https://bugzilla.gnome.org/show_bug.cgi?id=796179
7446
7447 2018-05-21 13:27:14 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7448
7449         * gst/vaapi/gstvaapipluginutil.c:
7450           plugins: guard GstGL code
7451
7452 2018-05-18 18:23:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7453
7454         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7455           libs: decoder: h264: use g_clear_pointer()
7456
7457 2018-05-18 17:27:46 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7458
7459         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
7460         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
7461           libs: decoder: mpeg4, vc1: remove unused header
7462
7463 2018-05-18 11:09:58 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7464
7465         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
7466           libs: decoder: remove unused forward declaration
7467
7468 2018-05-07 07:59:25 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
7469
7470         * configure.ac:
7471           fix configure.ac regression
7472           Fixes regression introduced by 77527d67abe
7473           https://bugzilla.gnome.org/show_bug.cgi?id=795885
7474
7475 2018-05-05 17:57:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7476
7477         * gst-libs/gst/Makefile.am:
7478         * gst-libs/gst/base/Makefile.am:
7479         * gst-libs/gst/base/gstbitwriter.c:
7480         * gst-libs/gst/base/gstbitwriter.h:
7481         * gst-libs/gst/base/meson.build:
7482         * gst-libs/gst/meson.build:
7483         * gst-libs/gst/vaapi/Makefile.am:
7484         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
7485         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
7486         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
7487         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
7488         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
7489         * gst-libs/gst/vaapi/gstvaapifeipak_h264.c:
7490         * gst-libs/gst/vaapi/meson.build:
7491           libs: remove gstbitwriter
7492           Since it is deployed in gstreamer-core, there is no need to use
7493           our custom version.
7494           https://bugzilla.gnome.org/show_bug.cgi?id=795848
7495
7496 2018-04-28 16:10:46 +0800  Wang,Fei <fei.w.wang@intel.com>
7497
7498         * gst/vaapi/gstvaapidecode.c:
7499           vaapih264dec: add constrained and progressive profiles
7500           Those profiles have been added in the version 2012-01
7501           and 2011-06 of the AVC spec (A.2.4.1 and A.2.4.2).
7502           Both are supported by VAProfileH264High
7503           https://bugzilla.gnome.org/show_bug.cgi?id=795624
7504
7505 2018-04-26 18:15:47 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7506
7507         * gst/vaapi/gstvaapipluginbase.c:
7508         * gst/vaapi/gstvaapipluginutil.c:
7509         * gst/vaapi/gstvaapivideocontext.c:
7510         * gst/vaapi/gstvaapivideocontext.h:
7511           plugin: remove custom GstGL context handling
7512           Instead of using our own context handling for looking for GstGL
7513           parameters (display, context and other context), this patch changes
7514           the logic to use the utility function offered by GstGL.
7515           https://bugzilla.gnome.org/show_bug.cgi?id=793643
7516
7517 2018-04-26 15:03:23 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7518
7519         * gst/vaapi/gstvaapipluginbase.c:
7520           plugins: GstGL API must use the member variables
7521           This commit basically is a revert of commits 8092537 and fc1c415
7522           https://bugzilla.gnome.org/show_bug.cgi?id=793643
7523
7524 2018-04-25 16:24:32 +0900  Hyunjun Ko <zzoon@igalia.com>
7525
7526         * gst/vaapi/gstvaapipluginbase.c:
7527           plugins: pass members as parameters of gst_gl_ensure_element_data()
7528           The parameters of gst_gl_ensure_element_data() have to be not
7529           local variable since they are going to be used to see if they're
7530           set in gst_element_set_context() inside the API.
7531           This is basically a revert of commit 3d56306c
7532           https://bugzilla.gnome.org/show_bug.cgi?id=793643
7533
7534 2018-04-25 17:50:14 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7535
7536         * meson.build:
7537           meson: fix USE_GLES_VERSION_MASK
7538           1. The macro in the code is USE_GLES_VERSION_MASK
7539           2. glesv3 is provided by glesv2 pkg-config, then it's required to
7540           check headers
7541           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7542
7543 2018-04-24 18:12:44 +0900  Hyunjun Ko <zzoon@igalia.com>
7544
7545         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
7546           libs: egl: utils: mark context as wrapped when it is
7547           The returning egl context may be null, so we should check the
7548           return value.
7549           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7550
7551 2018-04-24 10:02:33 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7552
7553         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
7554           libs: egl: utils: fix usage of GstGL macros
7555           Include gl.h for the required GstGL symbols.
7556           https://bugzilla.gnome.org/show_bug.cgi?id=795391
7557
7558 2018-04-25 11:01:45 +0100  Tim-Philipp Müller <tim@centricular.com>
7559
7560         * meson.build:
7561           meson: use -Wl,-Bsymbolic-functions where supported
7562           Just like the autotools build.
7563
7564 2018-04-20 16:01:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7565
7566         * meson.build:
7567           meson: use get_pkgconfig_variable()
7568           Use get_pkgconfig_variable() method, of dependency class, rather
7569           than using run_command().
7570
7571 2018-04-20 11:50:55 +0100  Tim-Philipp Müller <tim@centricular.com>
7572
7573         * gst-libs/gst/base/meson.build:
7574         * gst-libs/gst/vaapi/meson.build:
7575         * meson.build:
7576           meson: fix miscellaneous meson warnings
7577           WARNING: Passed invalid keyword argument "rqeuired".
7578           gst-libs/gst/base/meson.build:11: WARNING: Passed invalid keyword argument "version".
7579           gst-libs/gst/base/meson.build:11: WARNING: Passed invalid keyword argument "soversion".
7580           gst-libs/gst/vaapi/meson.build:223: WARNING: Passed invalid keyword argument "version".
7581           gst-libs/gst/vaapi/meson.build:223: WARNING: Passed invalid keyword argument "soversion".
7582
7583 2018-03-30 13:41:39 +0200  Paul Kocialkowski <paul.kocialkowski@bootlin.com>
7584
7585         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
7586           display: drm: Allow finding DRM paths out of the PCI subsystem
7587           This removes hard-coded checks on the parent subsystem of potential DRM
7588           devices. These checks were set to exlude devices that do not originate
7589           from the PCI bus, which is only a valid approach on x86 devices.
7590           Other devices may have a DRM device originating from the platform
7591           subsystem, so the checks that were previously restricted to PCI are
7592           extended to cover platform devices as well.
7593           https://bugzilla.gnome.org/show_bug.cgi?id=794840
7594           Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
7595
7596 2017-11-08 13:27:06 +0900  Hyunjun Ko <zzoon@igalia.com>
7597
7598         * gst/vaapi/gstvaapivideocontext.c:
7599           videocontext: support wl-display in "gst.vaapi.app.Display"
7600           Through "gst.vaapi.app.Display" context, users can set their own
7601           VADisplay and native display of their backend.
7602           So far we support only X11 display, from now we also support Wayland
7603           display.
7604           Attributes:
7605           - wl-display : pointer of struct wl_display .
7606           https://bugzilla.gnome.org/show_bug.cgi?id=705821
7607
7608 2017-11-08 13:26:38 +0900  Hyunjun Ko <zzoon@igalia.com>
7609
7610         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
7611         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
7612           libs: display: wayland: add gst_vaapi_display_wayland_new_with_va_display()
7613           Implements new API function so that users could create GstVaapiDisplay
7614           with their own VADisplay within a native display as backend.
7615           https://bugzilla.gnome.org/show_bug.cgi?id=705821
7616
7617 2018-04-13 09:28:53 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
7618
7619         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
7620           wayland: don't poll if there are no pending frames
7621           Otherwise the following poll may not return for an arbitrary amount of
7622           time. This can happen if another wayland event queue has flushed and read
7623           our events.
7624           https://bugzilla.gnome.org/show_bug.cgi?id=795224
7625
7626 2017-10-16 12:09:08 +0900  Hyunjun Ko <zzoon@igalia.com>
7627
7628         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
7629           libs: encoder: h265: 16 bit rounding of picture width and height
7630           pic_width_in_luma_samples/pic_height_in_luma_samples can be 16-bit rounded
7631           instead of 32-bit.
7632           In addition, codedbuf_size must be calculated according to this change.
7633           https://bugzilla.gnome.org/show_bug.cgi?id=753229
7634
7635 2018-04-16 10:53:47 +0100  Tim-Philipp Müller <tim@centricular.com>
7636
7637         * common:
7638           Automatic update of common submodule
7639           From 3fa2c9e to ed78bee
7640
7641 2018-03-30 20:39:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7642
7643         * gst/vaapi/gstvaapiencode_h264.c:
7644           vaapiencode: h264: find best profile in those available
7645           Instead to look for the best profile in the allowed profiles by
7646           downstream, the encoder should look for the base profile in the
7647           available profile in VA-API.
7648           https://bugzilla.gnome.org/show_bug.cgi?id=794306
7649
7650 2018-03-20 10:49:10 +0000  Tim-Philipp Müller <tim@centricular.com>
7651
7652         * NEWS:
7653         * RELEASE:
7654         * configure.ac:
7655         * docs/plugins/inspect/plugin-vaapi.xml:
7656         * meson.build:
7657           Back to development
7658
7659 === release 1.14.0 ===
7660
7661 2018-03-19 20:30:28 +0000  Tim-Philipp Müller <tim@centricular.com>
7662
7663         * ChangeLog:
7664         * NEWS:
7665         * configure.ac:
7666         * gstreamer-vaapi.doap:
7667         * meson.build:
7668           Release 1.14.0
7669
7670 2018-03-12 16:59:01 +0000  Julien Isorce <jisorce@oblong.com>
7671
7672         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
7673           libs: decoder: h264: ensure num_ref_frames is greater than 0
7674           Even if it is the h264parse fault or bad video file, vaapih264dec
7675           should set a proper value for VAPictureParameterBufferH264.num_ref_frames
7676           as the driver might use it.
7677           Also see "info.ref_frames = dpb_size;" in
7678           gstvaapidecoder_h264.c::ensure_context
7679           https://bugzilla.gnome.org/show_bug.cgi?id=793836
7680
7681 === release 1.13.91 ===
7682
7683 2018-03-13 19:32:05 +0000  Tim-Philipp Müller <tim@centricular.com>
7684
7685         * ChangeLog:
7686         * NEWS:
7687         * configure.ac:
7688         * gstreamer-vaapi.doap:
7689         * meson.build:
7690           Release 1.13.91
7691
7692 === release 1.13.90 ===
7693
7694 2018-03-03 22:59:30 +0000  Tim-Philipp Müller <tim@centricular.com>
7695
7696         * ChangeLog:
7697         * NEWS:
7698         * configure.ac:
7699         * gstreamer-vaapi.doap:
7700         * meson.build:
7701           Release 1.13.90
7702
7703 2018-03-01 07:33:27 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7704
7705         * gst/vaapi/gstvaapipostproc.c:
7706           vaapipostproc: change how the metadata is copied
7707           Instead of copying the metada in prepare_output_buffer() vmethod,
7708           it is done in append_output_buffer_metadata() thus deinterlaced
7709           buffers could also have the proper metas.
7710           GstVideoCropMeta now it is copied internally and it is decided via
7711           transform_meta() vmethod.
7712           A new internal method, copy_metadata() was added to handle VPP
7713           transformation where non-GstVideoVaapiMeta metas were lost.
7714
7715 2018-02-27 16:20:15 -0500  Nicolas Dufresne <nicolas.dufresne@collabora.com>
7716
7717         * gst/vaapi/gstvaapipostproc.c:
7718           postproc: Copy meta data from input to output
7719           This will ensure that meta data without memory tags will be copied. This
7720           was noticed when testing ROI.
7721           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7722
7723 2018-02-23 10:48:36 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7724
7725         * tests/elements/test-roi.c:
7726           tests: element: rewrite ROI test
7727           Rewrote the ROI test to use GstVideoRegionOfInterest meta rather
7728           than injecting GstEvents. These meta are added as a pad probe in
7729           the queue src pad.
7730           Also
7731           * Use of navigation messages to control de test
7732           * Use signal watch for processing messages
7733           * Change to H265 rather than H264 since current intel-vaapi-driver
7734           only supports ROI on kabylake.
7735           TODO: add a parameter to change the encoder/decoder to test.
7736           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7737
7738 2018-02-22 14:20:42 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7739
7740         * gst-libs/gst/vaapi/gstvaapicontext.c:
7741         * gst-libs/gst/vaapi/gstvaapiencoder.c:
7742         * gst-libs/gst/vaapi/gstvaapiencoder.h:
7743         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
7744         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
7745         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
7746           libs: encoder: reimplement ROI using meta
7747           Check input buffers for ROI metas and pass them to VA. Also added a
7748           new "default-roi-delta-qp" property in order to tell the encoder what
7749           delta QP should be applied to ROI by default.
7750           Enabled it for H264 and H265 encoders.
7751           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7752
7753 2018-02-22 08:22:35 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7754
7755         * gst-libs/gst/vaapi/gstvaapiencoder.c:
7756         * gst-libs/gst/vaapi/gstvaapiencoder.h:
7757         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
7758           Revert "libs: encoder: add api gst_vaapi_encoder_add/del_roi"
7759           This reverts commit 7a6f690340dcb3b82c59efa777d4453227851de8.
7760           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7761
7762 2018-02-22 14:29:19 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7763
7764         * tests/simple-encoder.c:
7765           Revert "tests: simple-encoder: add an option to set ROI"
7766           This reverts commit c21345c4787bb6342adddea1190f53fe62abff04.
7767           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7768
7769 2018-02-21 10:56:47 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7770
7771         * gst/vaapi/gstvaapiencode.c:
7772         * gst/vaapi/gstvaapiencode_h264.c:
7773           Revert "vaapiencode: handle custom event GstVaapiEncoderRegionOfInterest"
7774           This reverts commit 8f1b88dac0e64a211325cdcb2cda693b80229bd1.
7775           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7776
7777 2018-02-23 09:25:51 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7778
7779         * gst/vaapi/gstvaapipluginbase.c:
7780           plugins: copy input buffer metas
7781           When importing buffers to a VA-base buffer, it is required to copy
7782           the metas in the original buffer, otherwise information will be
7783           lost, such as GstVideoRegionOfInterestMeta.
7784           https://bugzilla.gnome.org/show_bug.cgi?id=768248
7785
7786 2018-02-27 06:10:09 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7787
7788         * gst-libs/gst/vaapi/gstvaapisurface.c:
7789           libs: surface: cast to uintptr_t pointer
7790           According to Debian package auto-building, uintptr_t is not an
7791           unsigned long in i386 arch, raising an "incompatible pointer type"
7792           error.
7793           This patch adds a casting for compiler's satisfaction in i386.
7794
7795 2018-02-25 20:46:56 -0600  Matteo Valdina <matteo.valdina@gmail.com>
7796
7797         * gst-libs/gst/vaapi/gstvaapiencoder.c:
7798           libs: encoder: add zero as valid value for periodic keyframe.
7799           Enabled zero as valid value for keyframe-period property.
7800           https://bugzilla.gnome.org/show_bug.cgi?id=793829
7801
7802 2018-02-22 08:24:12 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7803
7804         * gst-libs/gst/vaapi/gstvaapiencoder.c:
7805           libs: encoder: code-style fix
7806
7807 2018-02-17 18:32:11 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7808
7809         * gst/vaapi/gstvaapidecode.c:
7810           vaapidecode: generate system allocated buffers
7811           Generate system allocated output buffers when downstream doesn't
7812           support GstVideoMeta.
7813           The VA buffer content is copied to the new output buffer, and it
7814           replaces the VA buffer.
7815           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7816
7817 2018-02-15 19:32:37 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7818
7819         * gst/vaapi/gstvaapipostproc.c:
7820           vaapipostproc: handle system allocated buffers when required
7821           When downstream can't handle GstVideoMeta it is required to send
7822           system allocated buffers.
7823           The system allocated buffers are produced in prepare_output_buffer()
7824           vmethod if downstream can't handl GstVideoMeta.
7825           At transform() vmethod if the buffer is a system allocated buffer,
7826           a VA buffer is instanciated and replaces the out buffer. Later
7827           the VA buffer is copied to the system allocate buffer and it
7828           replaces the output buffer.
7829           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7830
7831 2018-02-15 19:32:19 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7832
7833         * gst/vaapi/gstvaapipluginbase.c:
7834         * gst/vaapi/gstvaapipluginbase.h:
7835           plugins: add gst_vaapi_copy_va_buffer()
7836           This helper function aims to copy buffers with VA memory to dumb
7837           buffers, when GstVideoMeta is not available dowstream.
7838           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7839
7840 2018-02-15 19:29:51 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7841
7842         * gst/vaapi/gstvaapipluginbase.c:
7843         * gst/vaapi/gstvaapipluginbase.h:
7844           plugins: add COPY_OUTPUT_FRAME flag
7845           This patch add the member copy_output_frame and set it TRUE when
7846           when downstream didn't request GstVideoMeta API, the caps are raw
7847           and the internal allocator is the VA-API one.
7848           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7849
7850 2018-02-15 19:28:33 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7851
7852         * gst/vaapi/gstvaapipluginbase.c:
7853         * gst/vaapi/gstvaapipluginbase.h:
7854           plugins: store the first downstream allocator if available
7855           The allocator will be required if we need to allocate a buffer
7856           to store the frame with the expected strides.
7857           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7858
7859 2018-02-20 02:25:13 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7860
7861         * gst/vaapi/gstvaapivideobufferpool.c:
7862         * gst/vaapi/gstvaapivideobufferpool.h:
7863           vaapibufferpool: add gst_vaapi_video_buffer_pool_copy_buffer()
7864           This function will inform the element if it shall copy the generated
7865           buffer by the pool to a system allocated buffer before pushing it
7866           to downstream.
7867           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7868
7869 2018-02-15 19:22:08 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7870
7871         * gst/vaapi/gstvaapivideobufferpool.c:
7872           vaapibufferpool: don't change config when forcing video meta
7873           VA-API based buffer might need a video meta because of different
7874           strides. But when donwstream doesn't support video meta we need to
7875           force the usage of video meta.
7876           Before we changed the buffer pool configuration, but actually this
7877           is a hack and we cannot rely on that for downstream.
7878           This patch add a check fo raw video caps and allocator is VA-API,
7879           then the option is enabled without changing the pool configuration.
7880           In this case the element is responsible to copy the frame to a
7881           simple buffer with the expected strides.
7882           https://bugzilla.gnome.org/show_bug.cgi?id=785054
7883
7884 2018-02-20 09:15:05 -0600  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7885
7886         * gst/vaapi/gstvaapipostproc.c:
7887           vaapipostproc: set discont flag at vpp deinterlacing
7888           When deinterlacing with VPP the discont flag was not forwarded to
7889           the new created buffer. This patch sets the discont flag if input
7890           buffer has it.
7891
7892 2018-02-20 02:14:37 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7893
7894         * gst/vaapi/gstvaapivideobufferpool.h:
7895           vaapibufferpool: remove wrong gcc annotation
7896
7897 2018-02-15 14:55:42 -0600  Matteo Valdina <matteo.valdina@gmail.com>
7898
7899         * gst-libs/gst/vaapi/gstvaapiencoder.c:
7900         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
7901         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
7902         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
7903         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
7904         * gst-libs/gst/vaapi/gstvaapifeipak_h264.c:
7905         * gst-libs/gst/vaapi/gstvaapiutils_h26x_priv.h:
7906           libs: encoder: h264,h265: extend max periodic keyframe.
7907           Increased max values of periodic key frame for h26x codecs.
7908           This allow more fine tunning of encoder that in certian scenario
7909           want higher periodic key frame.
7910           For example: it doesn't want a key frame each 10 seconds but
7911           each 120 seconds.
7912           https://bugzilla.gnome.org/show_bug.cgi?id=786320
7913
7914 2018-02-15 19:44:35 +0000  Tim-Philipp Müller <tim@centricular.com>
7915
7916         * configure.ac:
7917         * meson.build:
7918           Back to development
7919
7920 === release 1.13.1 ===
7921
7922 2018-02-15 17:39:16 +0000  Tim-Philipp Müller <tim@centricular.com>
7923
7924         * Makefile.am:
7925         * NEWS:
7926         * configure.ac:
7927         * gstreamer-vaapi.doap:
7928         * meson.build:
7929           Release 1.13.1
7930
7931 2018-02-15 18:15:33 +0000  Tim-Philipp Müller <tim@centricular.com>
7932
7933         * gst/vaapi/Makefile.am:
7934           vaapi: dist new header
7935
7936 2018-02-12 17:53:58 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7937
7938         * gst/vaapi/gstvaapi.c:
7939           vaapi: register vaapisink as marginal on wayland
7940           vaapsink, when used with the Intel VA-API driver, tries to display
7941           surfaces with format NV12, which are handled correctly by
7942           Weston. Nonetheless, COGL cannot display YUV surfaces, making fail
7943           pipelines on mutter.
7944           This shall be solved either by COGL or by making the driver to paint
7945           RGB surfaces. In the meanwhile, let's just demote vaapisink as
7946           marginal when the Wayland environment is detected, no matter if it is
7947           Weston.
7948           https://bugzilla.gnome.org/show_bug.cgi?id=775698
7949
7950 2018-02-12 19:00:36 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7951
7952         * gst/vaapi/gstvaapipluginutil.c:
7953           plugins: update mesa's vendor string in whitelist
7954           Mesa has updated its VA-API Gallium driver vendor string:
7955           https://cgit.freedesktop.org/mesa/mesa/commit/?id=5db29d62ce1fefa3f2ee6e4a4688576fde4bde4a
7956           This patch tries to cover both, the old and the new one.
7957           https://bugzilla.gnome.org/show_bug.cgi?id=793386
7958
7959 2018-02-08 19:22:17 +0000  Tim-Philipp Müller <tim@centricular.com>
7960
7961         * meson.build:
7962           meson: make version numbers ints and fix int/string comparison
7963           WARNING: Trying to compare values of different types (str, int).
7964           The result of this is undefined and will become a hard error
7965           in a future Meson release.
7966
7967 2018-02-07 09:13:26 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7968
7969         * gst/vaapi/gstvaapipluginbase.c:
7970           plugins: handle vaapi allocator in allocation query
7971           In propose_allocation() if the numer of allocation params is zero, the
7972           system's allocator is added first, and lastly the native VA-API
7973           allocator.
7974           In decide_allocation(), the allocations params in query are travered,
7975           looking for a native VA-API allocator. If it is found, it is reused as
7976           src pad allocator. Otherwise, a new allocator is instantiated and
7977           appended in the query.
7978           https://bugzilla.gnome.org/show_bug.cgi?id=789476
7979
7980 2018-02-07 09:06:46 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
7981
7982         * gst/vaapi/gstvaapivideomemory.h:
7983           vaapivideomemory: remove unused macro
7984           GST_VAAPI_VIDEO_ALLOCATOR_NAME was added in commit 5b11b8332 but it
7985           was never used, since the native VA-API allocator name has been
7986           GST_VAAPI_VIDEO_MEMORY_NAME.
7987           This patch removes GST_VAAPI_VIDEO_ALLOCATOR_NAME macro.
7988           https://bugzilla.gnome.org/show_bug.cgi?id=789476
7989
7990 2018-02-02 08:54:00 +0000  VaL Doroshchuk <valkov@yandex.ru>
7991
7992         * gst/vaapi/gstvaapisink.c:
7993           vaapisink: don't mask button events for foreign windows
7994           Don't subscribe to button press events when using a foreing window,
7995           because the user created window would trap those events, preveting the
7996           show of frames.
7997           https://bugzilla.gnome.org/show_bug.cgi?id=791615
7998
7999 2018-02-05 08:51:56 +0100  Tim-Philipp Müller <tim@centricular.com>
8000
8001         * configure.ac:
8002           autotools: use -fno-strict-aliasing where supported
8003           https://bugzilla.gnome.org/show_bug.cgi?id=769183
8004
8005 2018-01-30 20:38:37 +0000  Tim-Philipp Müller <tim@centricular.com>
8006
8007         * meson.build:
8008           meson: use -fno-strict-aliasing where supported
8009           https://bugzilla.gnome.org/show_bug.cgi?id=769183
8010
8011 2018-01-30 12:56:49 +0000  Philippe Normand <philn@igalia.com>
8012
8013         * gst/vaapi/gstvaapi.c:
8014           vaapi: add NULL-sentinel to kernel_names
8015           The array needs to be NULL-terminated according to the
8016           gst_plugin_add_dependency() documentation.
8017
8018 2018-01-18 18:53:29 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8019
8020         * gst/vaapi/gstvaapipostprocutil.c:
8021           vaapipostproc: remove spurious code
8022           This assignation is dead code, since gst_video_info_from_caps() set
8023           to 1 by default.
8024           https://bugzilla.gnome.org/show_bug.cgi?id=790149
8025
8026 2018-01-18 18:51:57 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8027
8028         * gst/vaapi/gstvaapipostprocutil.c:
8029           vaapipostproc: if no p-a-r in out caps define a range
8030           Instead of copying the pixel-aspect-ratio from the sink caps, define
8031           an open range for the src caps pixel-aspect-ratio. Later it will be
8032           defined.
8033           https://bugzilla.gnome.org/show_bug.cgi?id=790149
8034
8035 2018-01-18 13:10:59 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8036
8037         * gst/vaapi/gstvaapisink.c:
8038           vaapisink: check for display's color-balance properties
8039           Check for display's color-balance properties, available by the VA-API
8040           driver, before setting them.
8041           Also logs an info message of those unavailable properties.
8042           https://bugzilla.gnome.org/show_bug.cgi?id=792638
8043
8044 2018-01-17 17:30:50 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8045
8046         * gst/vaapi/gstvaapipluginbase.c:
8047           plugins: re-using buffer pool breaks renegotiation
8048           at propose_allocation() we should not reuse the proposed buffer,
8049           because it could break renegotiation.
8050           https://bugzilla.gnome.org/show_bug.cgi?id=792620
8051
8052 2018-01-17 17:26:24 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8053
8054         * gst/vaapi/gstvaapipluginbase.c:
8055           plugins: use g_clear_object() to unref sinkpad_buffer_pool
8056           https://bugzilla.gnome.org/show_bug.cgi?id=792620
8057
8058 2018-01-17 12:42:12 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8059
8060         * gst-libs/gst/vaapi/meson.build:
8061           build: meson: add missing GstGL dependency
8062
8063 2018-01-17 12:41:54 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8064
8065         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
8066           libs: utils: egl: add missing guards for GstGL
8067
8068 2018-01-11 11:48:02 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8069
8070         * gst/vaapi/gstvaapipluginbase.c:
8071           plugins: remove dmabuf-import hack
8072           Remove the hack to check if an upstream element has enabled the
8073           property io-mode enabled as dmabuf-import.
8074           https://bugzilla.gnome.org/show_bug.cgi?id=792034
8075
8076 2017-12-01 15:04:35 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8077
8078         * gst-libs/gst/vaapi/Makefile.am:
8079         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
8080         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
8081         * gst-libs/gst/vaapi/gstvaapiutils_egl.h:
8082           libs: egl: utils: use eglGetPlatformDisplay()
8083           eglGetDisplay() is currently broken in Mesa for Wayland.  Also using
8084           eglGetDisplay() is rather fragile, and it is recommended to use
8085           eglGetPlatformDisplay() when possible.
8086           In order to do that, this patch uses the helper in GstGL. If
8087           gstreamer-vaapi is not compiled with GstGL support, eglGetDisplay()
8088           will be used.
8089           https://bugzilla.gnome.org/show_bug.cgi?id=790493
8090
8091 2017-12-08 14:46:02 +0100  Michael Tretter <m.tretter@pengutronix.de>
8092
8093         * gst/vaapi/gstvaapipostproc.c:
8094           vaapipostproc: lock ensure_filter with postproc_lock
8095           gst_vaapipostproc_ensure_filter might free the allowed_srcpad_caps
8096           and allowed_sinkpad_caps. This can race with copying these caps in
8097           gst_vaapipostproc_transform_caps and lead to segfaults.
8098           The gst_vaapipostproc_transform_caps function already locks
8099           postproc_lock before copying the caps. Make sure that calls to
8100           gst_vaapipostproc_ensure_filter also acquire this lock.
8101           https://bugzilla.gnome.org/show_bug.cgi?id=791404
8102
8103 2018-01-10 17:10:28 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8104
8105         * tests/test-filter.c:
8106           tests: test-filter: fix dereference before null check
8107           Null-checking op_info suggests that it may be null, but it has already
8108           been dereferenced on all paths leading to the check.
8109           There may be a null pointer dereference, or else the comparison
8110           against null is unnecessary.
8111
8112 2018-01-10 17:06:53 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8113
8114         * tests/y4mreader.c:
8115           tests: y4mreader: fix string state checkup
8116           str cannot be null in that moment, but it may be the end of string.
8117
8118 2018-01-10 16:59:56 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8119
8120         * tests/y4mreader.c:
8121           tests: y4mreader: use int for fgetc
8122           Assigning the return value of fgetc to char truncates its value.
8123           It will not be possible to distinguish between EOF and a valid
8124           character.
8125
8126 2018-01-10 16:48:07 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8127
8128         * tests/y4mreader.c:
8129           tests: y4mreader: fix incompatible cast
8130           Passed pointer in parse_int() are unsigned int (32 bits, unsigned) but
8131           they are dereferenced as a wider long (64 bits, signed). This may lead
8132           to memory corruption.
8133
8134 2017-12-19 16:01:10 +0000  Tim-Philipp Müller <tim@centricular.com>
8135
8136         * meson.build:
8137           meson: fix fallback for gstreamer-gl-1.0, it's now in -base
8138
8139 2017-12-14 14:53:27 +1100  Matthew Waters <matthew@centricular.com>
8140
8141         * common:
8142           Automatic update of common submodule
8143           From e8c7a71 to 3fa2c9e
8144
8145 2017-12-06 16:11:46 -0500  Nicolas Dufresne <nicolas.dufresne@collabora.com>
8146
8147         * gst/vaapi/gstvaapivideocontext.c:
8148           videoconvert: gst_element_post_message() is transfer full on msg
8149           For this reson we need not to unref the message, even if it failed.
8150
8151 2017-12-06 16:11:25 -0500  Nicolas Dufresne <nicolas.dufresne@collabora.com>
8152
8153         * gst/vaapi/gstvaapivideocontext.c:
8154           Revert "vaapivideocontext: possible memleak when no bus attached"
8155           This reverts commit 0438a3e62660e64ed390b6bb83bfb560b91664aa.
8156
8157 2017-12-01 23:03:32 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8158
8159         * tests/elements/test-vaapicontext.c:
8160           test: vaapicontext: process have-context bus message
8161
8162 2017-11-29 18:29:45 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8163
8164         * tests/elements/test-vaapicontext.c:
8165           test: vaapicontext: app context is not persistent
8166
8167 2017-11-29 11:02:03 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8168
8169         * gst/vaapi/gstvaapipluginbase.c:
8170         * gst/vaapi/gstvaapivideocontext.c:
8171         * gst/vaapi/gstvaapivideocontext.h:
8172           vaapivideocontext: only vaapisink process app context
8173           gst.vaapi.app.Display context is made for applications that will
8174           provide the VA display and the native display to used by the
8175           pipeline, when are using vaapisink as overlay. There are no use
8176           case for encoders, decoders, neither for the postprocessor.
8177           In the case of the vaapisink, it shall query for gst.vaapi.Display
8178           upstream first, and then, if there is no reply,
8179           gst.vaapi.app.Display context will be posted in the bus for the
8180           application. If the application replies, a GstVaapiDisplay object
8181           is instantiated given the context info, otherwise a
8182           GstVaapiDisplay is created with the normal algorithm to guess the
8183           graphics platform. Either way, the instantiated GstVaapiDisplay
8184           is propagated among the pipeline and the have-message bus message.
8185           Also only vaapisink will process the gst.vaapi.app.Display, if
8186           and only if, it doesn't have a display already set. This is
8187           caused because if vaapisink is in a bin (playsink, for example)
8188           the need-context is posted twice, leading to an error state.
8189           https://bugzilla.gnome.org/show_bug.cgi?id=790999
8190
8191 2017-12-01 20:21:54 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8192
8193         * gst/vaapi/gstvaapivideocontext.c:
8194           vaapivideocontext: log the name of GstVaapiDisplay
8195           https://bugzilla.gnome.org/show_bug.cgi?id=790999
8196
8197 2017-11-30 14:24:43 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8198
8199         * gst/vaapi/gstvaapivideocontext.c:
8200           vaapivideocontext: possible memleak when no bus attached
8201           https://bugzilla.gnome.org/show_bug.cgi?id=790999
8202
8203 2017-11-27 13:04:24 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8204
8205         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
8206           libs: window: wayland: remove unused header include
8207           Remove wayland-client.h include since there is no exposed symbols from
8208           it.
8209
8210 2017-11-27 12:18:56 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8211
8212         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8213         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8214           libs: encoder: h264,h265: guard rate control's macroblock
8215           macroblock parameter appear on VA-API 1.0.0. It should be guarded.
8216
8217 2017-11-27 20:17:55 +1100  Matthew Waters <matthew@centricular.com>
8218
8219         * common:
8220           Automatic update of common submodule
8221           From 3f4aa96 to e8c7a71
8222
8223 2016-07-29 14:58:49 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8224
8225         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8226           libs: encoder: h264: Add Hierarchical-B encode
8227           Frames are encoded as different layers. Frame in a particular
8228           layer will use pictures in lower or same layer as references.
8229           Which means decoder can drop the frames in upper layer but still
8230           decode lower layer frames.
8231           B-frames, except the one in top most layer, are reference frames.
8232           All the base layer frames are I or P.
8233           eg: with 3 temporal layers
8234           T3:             B1            B3              B5              B7
8235           T2:                   B2                              B6
8236           T1:   I0                                P4                        P8
8237           T1, T2, T3: Temporal Layers
8238           P1...Pn:   P-Frames:
8239           B1...Bn:   B-frames:
8240           T1: I0->P4 , P4->P8 etc..
8241           T2: I0--> B2 <-- P4
8242           T3: I0--> B1 <-- B2, B2 --> B3 <-- P4
8243           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8244           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8245
8246 2016-07-28 18:33:23 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8247
8248         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8249           libs: encoder: h264: Add Hierarchical-P encode
8250           Frames are encoded as different layers. A frame in a particular
8251           layer will use pictures in lower or same layer as references.
8252           Which means decoder can drop the frames in upper layer but still
8253           decode lower layer frames.
8254           eg: with 3 temporal layers
8255           T3:             P1            P3              P5              P7
8256           T2:                   P2                              P6
8257           T1:   P0                                P4                        P8
8258           T1, T2, T3: Temporal Layers
8259           P1...pn:   P-Frames:
8260           P0->P1 , P0->P2, P2->P3, P0->P4......repeat
8261           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8262           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8263
8264 2016-07-28 16:51:28 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8265
8266         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8267           libs: encoder: h264: Fix frame_num generation
8268           The frame_num generation was not correctly implemented.
8269           According to h264 spec, frame_num should get incremented
8270           for each frame if previous frame is a referece frame.
8271           For eg: IPBPB sequece should have the frame numbers 0,1,2,2,3
8272           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8273           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8274
8275 2016-07-28 15:53:48 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8276
8277         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8278         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
8279           libs: encoder: h264: Add new property "prediction-type"
8280           Adds new property "prediction-type" to select different reference
8281           picture selection modes like hierarchical-p, hierarchical-b etc.
8282           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8283           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8284
8285 2016-07-28 15:12:05 +0300  XuGuangxin <guangxin.xu@intel.com>
8286
8287         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8288         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
8289           libs: encoder: h264: Add machinery for implementing hierarchical-prediction
8290           Adds some basic building blocks to ease the implementation
8291           of hierarchical prediction modes.
8292           -- add an utility method to find temporal level of each frame
8293           -- define max_ref_frame count based on temporal level count
8294           -- add temporal_level_div[] for finding temporal level each frame
8295           to be encoded.
8296           -- find ip_period based on temporal level count
8297           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8298           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8299
8300 2016-07-28 14:17:53 +0300  XuGuangxin <guangxin.xu@intel.com>
8301
8302         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8303         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
8304           libs: encoder: h264: Add property "temporal-levels"
8305           Adds new property "temporal-levels" to select the number of
8306           temporal levels to be included in the encoded stream.
8307           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8308           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8309
8310 2016-07-27 16:41:01 +0300  XuGuangxin <guangxin.xu@intel.com>
8311
8312         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
8313           libs: encoder: objects: Add a reference flag
8314           We can have p-frame as non-ref and also b-frame as ref
8315           which are not supported yet. Reference flag
8316           is the first machinery needed for more advanced
8317           reference picture selection modes.
8318           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8319           https://bugzilla.gnome.org/show_bug.cgi?id=788918
8320
8321 2017-11-02 13:21:34 +0100  Daniel van Vugt <daniel.van.vugt@canonical.com>
8322
8323         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
8324           libs: surface: egl: add comment
8325           Add a warning comment when using old intel-vaapi-drivers (>1.8.4),
8326           where the creation of surfaces from GEM fd may fail.
8327           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8328
8329 2017-10-10 13:38:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8330
8331         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
8332         * gst-libs/gst/vaapi/gstvaapidisplay_egl.h:
8333         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
8334           libs: display: egl: add gst_vaapi_display_egl_set_current_display()
8335           Adds a new function that changes the internal EGL display to the
8336           current one (eglGetCurrentDisplay()) and sets the current context
8337           too (eglGetCurrentContext()).
8338           This new function is called by gst_vaapi_texture_egl_create() updating
8339           the GstVaapiDisplayEGL with the current EGL display.
8340           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8341
8342 2017-10-09 16:02:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8343
8344         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
8345           libs: texture: egl: update EGL display and context
8346           It is required to use the context of the calling thread when wrapping
8347           a foreign texture. According the documentation of
8348           GstVideoGLTextureUploadMeta:
8349           "The caller of gst_video_gl_texture_upload_meta_upload() must
8350           have OpenGL set up and call this from a thread where it is valid
8351           to upload something to an OpenGL texture."
8352           This patch updates the EGL display and context in GstVaapiDisplay
8353           instance to the one used by te renderer that uploads the texture.
8354           Original-patch-by: Daniel van Vugt <daniel.van.vugt@canonical.com>
8355           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8356
8357 2017-10-10 19:53:04 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8358
8359         * gst/vaapi/gstvaapipluginbase.c:
8360           plugins: centralize assignation of GL objects
8361           Add plugin_set_gst_gl() where the GstGL objects are assigned.
8362           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8363
8364 2017-10-10 19:13:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8365
8366         * gst/vaapi/gstvaapipluginbase.c:
8367           plugins: set GL objects if ensured
8368           Only set the GL display and GL other context if they are ensured.
8369           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8370
8371 2017-10-10 17:14:15 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8372
8373         * gst/vaapi/gstvaapipluginbase.c:
8374           plugins: set GL objects if context is handled
8375           Only set the GL display and GL other context if they are extracted
8376           correctly from the gstreamer's context.
8377           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8378
8379 2017-10-10 19:57:45 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8380
8381         * gst/vaapi/gstvaapipluginbase.c:
8382           plugins: fix memory leak when GL context is created
8383           When the GL display and context are created inside an VAAPI element
8384           the created GL context is leaked.
8385           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8386
8387 2017-10-10 14:01:59 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8388
8389         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
8390           libs: display: egl: free leaked memory
8391           The EGL VAAPI display forgot to release the egl display, context and
8392           proxied VAAPI display.
8393           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8394
8395 2017-10-05 19:25:08 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8396
8397         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
8398           libs: texture: egl: code style
8399           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8400
8401 2017-10-04 13:51:23 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8402
8403         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
8404           libs: surface: egl: error message if no extension
8405           Instead of silently fail to export the image if there is not available
8406           the EGL_MESA_drm_image, log an error message. Also a code refactoring
8407           was done.
8408           https://bugzilla.gnome.org/show_bug.cgi?id=773453
8409
8410 2017-10-31 13:10:50 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8411
8412         * gst/vaapi/gstvaapipluginbase.c:
8413           plugins: direct rendering on memory:VASurface
8414           As buffers negotiated with memory:VASurface caps feature can also be
8415           mapped, they can also be configured to use VA derived images, in other
8416           words "direct rendering".
8417           Also, because of the changes in dmabuf allocator as default allocator,
8418           the code for configuring the direct rendering was not clear.
8419           This patch cleans up the code and enables direct rendering when the
8420           environment variable GST_VAAPI_ENABLE_DIRECT_RENDERING is defined,
8421           even then the memory:VASurface cap feature is negotiated.
8422           https://bugzilla.gnome.org/show_bug.cgi?id=786054
8423
8424 2017-10-04 11:54:31 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8425
8426         * gst/vaapi/gstvaapipluginbase.c:
8427         * gst/vaapi/gstvaapipluginutil.c:
8428           plugins: only dmabuf on srcpad if downstream
8429           Set if source pad can handle dmabuf only if the GstGL context comes
8430           from downstream.
8431           It is possible to know that at two moments:
8432           1\ In the case of GstGLTextureUpload caps feature is negotiated and
8433           downstream pool reports back gst.gl.GstGLContext.
8434           2\ When GstGLContext is found as GstContext from dowstream.
8435           https://bugzilla.gnome.org/show_bug.cgi?id=788503
8436
8437 2017-10-04 11:52:32 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8438
8439         * gst/vaapi/gstvaapivideocontext.c:
8440           vaapivideocontext: add inline documentation
8441           Document function gst_vaapi_find_gl_local_context().
8442           https://bugzilla.gnome.org/show_bug.cgi?id=788503
8443
8444 2017-10-04 11:50:25 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8445
8446         * gst/vaapi/gstvaapipluginutil.c:
8447         * gst/vaapi/gstvaapivideocontext.c:
8448         * gst/vaapi/gstvaapivideocontext.h:
8449           vaapivideocontext: return the direction of gl context
8450           In function gst_vaapi_find_gl_context() add a direction parameter to
8451           return back the direction where the GstGL context was found.
8452           This is going to be useful when checking if downstream can import
8453           dmabuf-based buffers.
8454           https://bugzilla.gnome.org/show_bug.cgi?id=788503
8455
8456 2017-10-04 08:30:51 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8457
8458         * gst/vaapi/gstvaapipluginbase.c:
8459         * gst/vaapi/gstvaapipluginbase.h:
8460           plugins: add gst_vaapi_plugin_base_set_srcpad_can_dmabuf()
8461           This patch refactors the code by adding the function
8462           vaapi_plugin_base_set_srcpad_can_dmabuf(), it determines if the passed
8463           GstGLContext can handle dmabuf-based buffers.
8464           The function is exposed publicly since it is intended to be used later
8465           at GstVaapiDisplay instantiation.
8466           https://bugzilla.gnome.org/show_bug.cgi?id=788503
8467
8468 2017-10-20 12:37:15 +0200  Hyunjun Ko <zzoon@igalia.com>
8469
8470         * gst/vaapi/gstvaapiencode.c:
8471           vaapiencode: allow to set property on runtime
8472           Tis patch, allows some properties that we want to be set on
8473           runtime. (eg. bitrate)
8474           Note that all properties are under control by num_codedbuf_queued.
8475           https://bugzilla.gnome.org/show_bug.cgi?id=786321
8476
8477 2017-09-15 15:38:18 +0900  Hyunjun Ko <zzoon@igalia.com>
8478
8479         * gst-libs/gst/vaapi/gstvaapiencoder.c:
8480           libs: encoder: allow to set bitrate on runtime
8481           In case of streaming, controlling bitrate dynamically for encoder might be
8482           important to manage quality of the streaming.
8483           This patch is to support such a scenario.
8484           https://bugzilla.gnome.org/show_bug.cgi?id=786321
8485
8486 2017-10-10 11:35:24 +0300  Sebastian Dröge <sebastian@centricular.com>
8487
8488         * gst/vaapi/gstvaapi.c:
8489         * gst/vaapi/gstvaapi.h:
8490         * gst/vaapi/gstvaapidecodebin.c:
8491           vaapidecodebin: Register element if no VPP support is available too
8492           VPP support is only needed for advanced deinterlacing, which is not
8493           enabled by default either. Error out if it is selected but VPP is not
8494           supported, and otherwise just work without VPP support.
8495           https://bugzilla.gnome.org/show_bug.cgi?id=788758
8496
8497 2017-10-16 11:57:16 +0200  Thibault Saunier <thibault.saunier@osg.samsung.com>
8498
8499         * gst/vaapi/gstvaapipluginutil.c:
8500           Avoid infinite loop when vaapi_create_display fails
8501           Which might be the case when using, for example, xvfb.
8502
8503 2017-10-02 18:53:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8504
8505         * gst-libs/gst/vaapi/gstvaapiutils.c:
8506           libs: utils: log warn if display fail
8507           gstreamer-vaapi initializes the display by trial-and-error, thus
8508           logging an error message if the display initialisation fails the user
8509           may be weary of the error message in the screen, if using VA-API 1.0
8510           This commit set the VA error log handler to GStreamer warning level
8511           while calling vaInitialize() and set it to error after that.
8512           https://bugzilla.gnome.org/show_bug.cgi?id=783169
8513
8514 2017-09-29 20:05:22 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8515
8516         * gst/vaapi/gstvaapipluginutil.c:
8517           plugins: try to create test display in order
8518           When creating the test display for querying capabilites, it try in
8519           certain order: DRM, Wayland and finally X11. GLX nor EGL are tried
8520           since they are either composited with X11 or Wayland.
8521           The reason for this is to reduce the posibility of failure that could
8522           blacklist the plugin.
8523           https://bugzilla.gnome.org/show_bug.cgi?id=782212
8524
8525 2017-09-29 15:07:47 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8526
8527         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8528         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
8529           libs: display: delay getting screen resolution
8530           Instead of extracting the screen resolution at GstVaapiDisplay
8531           creation, this patch delay it until the screen size is requested for
8532           first time.
8533           https://bugzilla.gnome.org/show_bug.cgi?id=782212
8534
8535 2017-09-28 18:58:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8536
8537         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
8538           libs: display: egl: avoid two vaDisplay instantiates
8539           GstVaapiDisplayEGL is a wrapper of another GstVaapiDisplay, either X11
8540           or Wayland. Nonetheless it created another vaDisplay for it, instead
8541           of using the wrapped one.
8542           This patch enables the reuse of the wrapped vaDisplay avoiding
8543           instantiating two.
8544           https://bugzilla.gnome.org/show_bug.cgi?id=782212
8545
8546 2017-09-28 17:45:00 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8547
8548         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8549         * gst-libs/gst/vaapi/gstvaapidisplay.h:
8550         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
8551         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
8552         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
8553           libs: display: remove display_type from display info
8554           Since it's no required to pass the display type in the display info,
8555           the structure member is removed.
8556           https://bugzilla.gnome.org/show_bug.cgi?id=782212
8557
8558 2017-09-28 17:35:01 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8559
8560         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8561         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
8562           libs: display: remove display_type member
8563           It is not used any more since GstVaapiDisplay was ported as a
8564           GstObject-based. This information is part of the class information.
8565           https://bugzilla.gnome.org/show_bug.cgi?id=782212
8566
8567 2017-09-28 16:12:23 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8568
8569         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8570         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
8571           libs: display: remove parent member
8572           Parent was a crumb left from display cache.
8573           https://bugzilla.gnome.org/show_bug.cgi?id=782212
8574
8575 2017-10-03 13:06:33 +0200  Sebastian Dröge <sebastian@centricular.com>
8576
8577         * gst/vaapi/gstvaapi.c:
8578           vaapi: Also register vaapipostproc without VPP support
8579           It can still do simple deinterlacing then.
8580
8581 2017-10-03 10:51:06 +0200  Sebastian Dröge <sebastian@centricular.com>
8582
8583         * gst/vaapi/gstvaapipostproc.c:
8584           vaapipostproc: Allow running without VPP support
8585           We returned FALSE from ::start() if VPP support is not available, but it
8586           is only really needed for complex filters and during transform we check
8587           for that. For simple deinterlacing it is not needed.
8588
8589 2017-09-27 18:35:20 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8590
8591         * gst/vaapi/gstvaapipostproc.c:
8592           vaapipostproc: use scoped variable for return value
8593           Instead of reusing a parameter variable for the return value of
8594           gst_vaapipostproc_transform_caps(), this patch uses the function
8595           scoped pointer. Thus, the code is cleaner.
8596           https://bugzilla.gnome.org/show_bug.cgi?id=785706
8597
8598 2017-09-27 18:32:03 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8599
8600         * gst/vaapi/gstvaapipostproc.c:
8601           vaapipostproc: removed unused parameter
8602           Removed caps parameter from gst_vaapipostproc_transform_caps_impl()
8603           helper function since the it is not used.
8604           https://bugzilla.gnome.org/show_bug.cgi?id=785706
8605
8606 2017-09-27 13:32:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8607
8608         * gst/vaapi/gstvaapipostproc.c:
8609           vaapipostproc: use scoped variable for return value
8610           Instead of reusing a parameter variable for the return value of
8611           gst_vaapipostproc_fixate_caps(), this patch uses the function scoped
8612           pointer. Thus, the code is cleaner.
8613           https://bugzilla.gnome.org/show_bug.cgi?id=785706
8614
8615 2017-09-27 11:27:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8616
8617         * gst/vaapi/gstvaapipluginutil.h:
8618           plugins: memory:DMABuf only handles planar formats
8619           When glimagesink negotiates the caps feature memory:DMABuf the
8620           exported dmabufs buffers with NV12 format are not well rendered, thus
8621           setting only planar.
8622           https://bugzilla.gnome.org/show_bug.cgi?id=788229
8623
8624 2017-09-25 17:04:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8625
8626         * gst/vaapi/gstvaapiencode.c:
8627           vaapiencode: flush pending frames before set format
8628           Flush pending frames, if any, in the internal encorder, before setting
8629           the new negotiated format.
8630           https://bugzilla.gnome.org/show_bug.cgi?id=786173
8631
8632 2017-09-25 15:50:19 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8633
8634         * gst/vaapi/gstvaapidecode.c:
8635           vaapidecode: drain pending frames before set format
8636           Drain pending frames, if any, in the internal decoder before setting
8637           the new negotiated format.
8638           https://bugzilla.gnome.org/show_bug.cgi?id=786173
8639
8640 2017-09-22 19:35:04 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8641
8642         * tests/test-display.c:
8643           tests: display: use GObject getter
8644           Instead of using the gst_vaapi_display_get_property(), this patch
8645           replaces it with g_object_get_property() to dump the available VA
8646           display properties.
8647           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8648
8649 2017-09-22 19:25:20 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8650
8651         * gst/vaapi/gstvaapisink.c:
8652           vaapisink: use GObject setter and getter
8653           Instead of using gst_vaapi_display_set_property() or
8654           gst_vaapi_display_get_property(), this patch set replace it usage
8655           with g_object_set() or g_object_get().
8656           Also the internal helper cb_set_value() is removed since it is not
8657           used anymore.
8658           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8659
8660 2017-09-22 18:59:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8661
8662         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8663           libs: display: initialize value if they are not yet
8664           This is a difference between the GObject API and the GstVaapi one: the
8665           GValue passed to get a property value, in GObject has to be
8666           initialized with g_value_init(), but in GstVaapi is has not.
8667           In order to overcome this mismatch, this patch call g_value_init()
8668           internally only in the passed one is not already initialized.
8669           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8670
8671 2017-09-22 17:04:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8672
8673         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8674           libs: display: optimize properties setters and getters
8675           Shuffled some code to avoid to find the properties descriptor in the
8676           array twice, adding the internal functions _set_property() and
8677           _get_property().
8678           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8679
8680 2017-09-22 16:29:02 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8681
8682         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8683           libs: display: install properties in class
8684           Install the properties in the class as a normal GObject. Implement
8685           set_property() and get_property() vmethods.
8686           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8687
8688 2017-09-22 15:16:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8689
8690         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8691           libs: display: remove gst_vaapi_display_properties_init()
8692           Remove gst_vaapi_display_properties_init() since it can be unrolled in
8693           gst_vaapi_display_class_init()
8694           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8695
8696 2017-09-22 15:12:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8697
8698         * gst-libs/gst/vaapi/gstvaapidisplay.c:
8699           libs: display: remove libgstvaapi_init_once()
8700           It is not required since it can be unrolled in
8701           gst_vaapi_display_class_init()
8702           https://bugzilla.gnome.org/show_bug.cgi?id=788058
8703
8704 2017-09-22 17:50:15 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8705
8706         * tests/test-display.c:
8707           tests: test-display: remove display cache tests
8708           Since commit ec3e10f6, display cache was removed. This patch removes
8709           this leftovers in the display test.
8710
8711 2017-09-18 14:29:55 +0900  Hyunjun Ko <zzoon@igalia.com>
8712
8713         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
8714         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
8715           libs: decoder: h264/h265: decode codec data only if opened
8716           Fixes regression introduced by commit 2eb2b26a.
8717           There is a use case when the decoder set the src caps and immediatly
8718           tries to process the media codec_data, this happens before decoder is
8719           even opened, thus priv->parser is not instantiated yet.
8720           https://bugzilla.gnome.org/show_bug.cgi?id=787818
8721
8722 2017-09-18 19:11:45 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8723
8724         * gst-libs/gst/vaapi/gstvaapiencoder.c:
8725         * gst-libs/gst/vaapi/gstvaapiencoder.h:
8726         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8727         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8728         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
8729           libs: encoder: change mbbrc from uint to enum
8730           Instead of handling the macroblock bitrate control as a integer, this
8731           patch changes it as a enum, which is more self documented in the
8732           GStreamer elements.
8733           https://bugzilla.gnome.org/show_bug.cgi?id=787855
8734
8735 2017-09-18 13:55:49 +1000  Jan Schmidt <jan@centricular.com>
8736
8737         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8738           Fix a typo in the prop string for compliance-mode
8739
8740 2017-09-15 18:31:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8741
8742         * gst-libs/gst/vaapi/gstvaapiencoder.c:
8743           libs: encoder: don't unref properties
8744           This patch fixes a regression introduced in commit 148f867c, since the
8745           props variable is set to object's member variable
8746           encoder->properties. And it is set in the instance initialization,
8747           thus it will not be leaked.
8748           https://bugzilla.gnome.org/show_bug.cgi?id=787733
8749
8750 2017-09-15 15:14:47 +0900  Hyunjun Ko <zzoon@igalia.com>
8751
8752         * gst-libs/gst/vaapi/gstvaapiencoder.c:
8753         * gst/vaapi/gstvaapiencode.c:
8754           vaapiencode/libs: encoder: fix leaks of properties
8755           https://bugzilla.gnome.org/show_bug.cgi?id=786321
8756
8757 2017-08-24 21:51:22 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8758
8759         * gst-libs/gst/vaapi/gstvaapidecoder.c:
8760           libs: decoder: at update_caps() decode codec_data
8761           When updating the caps in decoder, if the caps has codec_data (avC
8762           format), it has to be parsed to update the state of the decoder.
8763           https://bugzilla.gnome.org/show_bug.cgi?id=786173
8764
8765 2017-09-13 15:44:32 +0900  Hyunjun Ko <zzoon@igalia.com>
8766
8767         * gst-libs/gst/vaapi/gstvaapicontext.c:
8768           libs: context: fix wrong counter of the array of attributes
8769           The counter value passed to vaCreateConfig is always +1.
8770           This is a regression caused by commit e42ec3ad.
8771           The present patch fixes wrong counting of the array of attributes.
8772           https://bugzilla.gnome.org/show_bug.cgi?id=787613
8773
8774 2017-09-13 12:23:42 +0900  Hyunjun Ko <zzoon@igalia.com>
8775
8776         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8777         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
8778           libs: encoder: h265: support I/P/B QP setting seperatedly
8779           Creates 2 properties, qp-ip and qp-ib for setting different QP for P/B
8780           frames
8781           and set slice_qp_delta for each frame according to the value provided.
8782           https://bugzilla.gnome.org/show_bug.cgi?id=785923
8783
8784 2017-09-13 12:22:07 +0900  Hyunjun Ko <zzoon@igalia.com>
8785
8786         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8787         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
8788           libs: encoder: h264: support I/P/B QP setting seperatedly
8789           Creates 2 properties, qp-ip and qp-ib for setting different QP for P/B
8790           frames
8791           and set slice_qp_delta for each frame according to the value provided.
8792           In addition, remove the limitation of (<= 4) when setting
8793           slice_qp_delta.
8794           https://bugzilla.gnome.org/show_bug.cgi?id=785923
8795
8796 2017-09-13 12:15:57 +0900  Hyunjun Ko <zzoon@igalia.com>
8797
8798         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8799         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8800           libs: encoder: h264/h265: keep min_qp as is unless it's over init_qp
8801           Creates new variable for QP for I frame and keep it at configuration and
8802           use this for pic_init_qp and slice_qp_delta setting.
8803           Since changing min qp doesn't make sense, keep min qp as is.
8804           https://bugzilla.gnome.org/show_bug.cgi?id=785923
8805
8806 2017-09-13 12:09:45 +0900  Hyunjun Ko <zzoon@igalia.com>
8807
8808         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8809         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
8810           libs: encoder: h265: Add mbbrc property
8811           This property supports Macroblock level Bitrate Control as the
8812           following (same as h264 encoder):
8813           0: auto
8814           1: on
8815           2: off
8816           https://bugzilla.gnome.org/show_bug.cgi?id=785917
8817
8818 2017-09-13 12:02:53 +0900  Hyunjun Ko <zzoon@igalia.com>
8819
8820         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8821         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
8822           libs: encoder: h264: Add mbbrc property
8823           This property supports Macroblock level Bitrate Control as the
8824           following:
8825           0: auto
8826           1: on
8827           2: off
8828           https://bugzilla.gnome.org/show_bug.cgi?id=785917
8829
8830 2017-09-13 11:39:09 +0900  Hyunjun Ko <zzoon@igalia.com>
8831
8832         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8833           libs: encoder: h265: add multi reference support
8834           This is doing the same as h264 encoder as the following:
8835           Using num_ref_frames provided and the result of the Query
8836           VAConfigAttribEncMaxRefFrames, it determines the size of reference list
8837           and perform encoding with multi reference frames as the following:
8838           1\ The num_ref_frames is being considered as the number of
8839           reference picture list0
8840           2\ Encoder adds 1 reference frame more to the reference picture list1
8841           internally if b-frame encoding.
8842           3\ If num_ref_frames is bigger than the number of refrence frames
8843           supported in the driver, it will be lowered.
8844           Also this patch includes:
8845           - Set num_negative_pics and num_positive_pics according to the number of
8846           refs.
8847           - Set delta_poc according to the number of refs.
8848           - Increase max_dec_pic_buffering according to the number of refs
8849           - Change max_num_reorder_pics according to num of bframes
8850           https://bugzilla.gnome.org/show_bug.cgi?id=783804
8851
8852 2017-09-13 11:37:33 +0900  Hyunjun Ko <zzoon@igalia.com>
8853
8854         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8855         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
8856           libs: encoder: h265: add refs property
8857           Users can provide the number of reference frame by this property,
8858           which is exaclty same as h264.
8859           The value of the property will be considered as the number of
8860           reference picture list0 and will add 1 reference frame more to the
8861           reference picture list1 internally if b-frame encoding.
8862           If the value provided is bigger than the number of refrence frames
8863           supported in the driver, it will be lowered.
8864           The maximum value is aligned to the value of the driver supported now.
8865           https://bugzilla.gnome.org/show_bug.cgi?id=783804
8866
8867 2017-09-13 11:17:26 +0900  Hyunjun Ko <zzoon@igalia.com>
8868
8869         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
8870         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8871           libs: encoder: h264/5: determine num_ref_idx_active_override_flag according to reference list
8872           Follows the specification as below:
8873           7.4.7.1 in Rec. ITU-T H.265 v4 (12/2016)
8874           num_ref_idx_active_override_flag equal to 1 specifies that the syntax
8875           element num_ref_idx_l0_active_minus1 is present for P and B slices and
8876           that the syntax element num_ref_idx_l1_active_minus1 is present for B
8877           slices.
8878           num_ref_idx_active_override_flag equal to 0 specifies that the syntax
8879           elements num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1
8880           are not present.
8881           https://bugzilla.gnome.org/show_bug.cgi?id=783804
8882
8883 2017-09-13 11:06:20 +0900  Hyunjun Ko <zzoon@igalia.com>
8884
8885         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
8886           libs: encoder: h265: keep idr_period equal to keyframe period
8887           Remove FIXME code, which makes previous assignation spurious.
8888           This also means to make idr_period equal to keyframe period,
8889           which is same as h264 encoder.
8890           https://bugzilla.gnome.org/show_bug.cgi?id=783804
8891
8892 2017-09-06 14:03:25 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
8893
8894         * gst/vaapi/gstvaapipluginbase.c:
8895           Request minimum buffer even if need_pool is FALSE
8896           When tee is used, it will not request a pool, but still it wants to
8897           know how many buffers are required.
8898           https://bugzilla.gnome.org/show_bug.cgi?id=730758
8899
8900 2017-09-05 10:58:57 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
8901
8902         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
8903           libs: encoder: h264_fei: VA-API 1.0 compat
8904           Use VA_ENC_PACKED_HEADER_H264_SEI compat macro for VA-API 1.0
8905           compatibility.
8906           https://bugzilla.gnome.org/show_bug.cgi?id=787322
8907           Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
8908
8909 2017-09-01 13:48:01 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8910
8911         * gst/vaapi/gstvaapisink.c:
8912           vaapisink: Fix rendering in drm display
8913           Make sure vaapisink create a va surface backed buffer pool and all
8914           required attributes get assigned correctly for drm display type.
8915           This is needed to make the below pipeline working:
8916           gst-launch-1.0 filesrc location= raw_video.mov ! videoparse format=uyvy
8917           width=320 height=240 framerate=30/1 ! vaapisink display=drm
8918           https://bugzilla.gnome.org/show_bug.cgi?id=786954
8919
8920 2017-08-09 18:46:09 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8921
8922         * tests/Makefile.am:
8923         * tests/test-fei-enc-in.c:
8924         * tests/test-fei-enc-out.c:
8925           FEI: Add test applications to showcase fei use case
8926           test-fei-enc-out: A simple fei encoding application to output mv, mbcode and distortion
8927           eg:
8928           ./test-fei-enc-out -i sample_320x240.nv12 -w 320 -h 240 -o out.264 -v mv.out -d out.dist -m out.mbcode -e 1
8929           test-fei-enc-in: A simple fei encoding application for testing input fei buffers
8930           eg:
8931           ./test-fei-enc-in -c h264 -o out.264 -e 4 -q 1 sample_i420.y4m
8932           Fixme: Running test-fei-enc-in in PAK mode with mv and mbcode input buffers
8933           from saved files is still not working
8934           People contributed:
8935           Wang, Yi <yi.a.wang@intel.com>
8936           Leilei <leilei.shang@intel.com>
8937           Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
8938           xiaominc <xiaomin.chen@intel.com>
8939           Li, Jing B <jing.b.li@intel.com>
8940           https://bugzilla.gnome.org/show_bug.cgi?id=785712
8941           https://bugzilla.gnome.org/show_bug.cgi?id=784667
8942
8943 2017-08-09 18:36:13 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8944
8945         * gst/vaapi/Makefile.am:
8946         * gst/vaapi/gstvaapi.c:
8947         * gst/vaapi/gstvaapiencode_h264_fei.c:
8948         * gst/vaapi/gstvaapiencode_h264_fei.h:
8949           FEI: plugin: Add vaapih264feienc element
8950           A new FEI based encoder element for h264 is added: vaapih264feienc
8951           FEI is a an extension to VA-API which is providing low level
8952           advanced control over different stages of encoding.
8953           Extending vaapih264enc with fei support is possible, but it will
8954           make the code too much complicated and will be difficult
8955           to debug. So adding the new encoder element, but keeping
8956           the rank as 0 , vaapih264enc will stay as the primary
8957           encoder for normal use cases.
8958           The vaaih264feienc is mainly useful for customers who want to play
8959           with MotionVectors and Macroblock Predictions. Also user can
8960           do one stage of encoding(eg: only the Motion Vector Calculation)
8961           in software and offload trasformation/entroy-coding etc to
8962           Hardware (which is what PAK module is doing) using FEI element.
8963           vaapih264feienc can work in  different modes using fei-mode properoty
8964           eg: gst-launch-1.0 videotestsrc ! vaapih264feienc fei-mode=ENC+PAK ! filesink location=sample.264
8965           Important Note: ENC only mode won't produce any encoded data which is expected.
8966           But ENC alwys requires the output of PAK in order to do the inter-prediction
8967           over reconstructed frames.
8968           Similary PAK mode alway requires MV and MBCode as input, so unless there is an
8969           upstream element providing those buffers, PAK only won't work as expected.
8970           In a nutshell, ENC_PAK and the ENC+PAK modes are the only options we can verify
8971           with vaapih264feienc. But ideally, EN+PAK mode verification is enough to make sure
8972           that ENC and PAK are working as expected since ENC+PAK mode always invoke ENC and PAK
8973           separately in vaapih264feienc.
8974           People contributed:
8975           Wang, Yi <yi.a.wang@intel.com>
8976           Leilei <leilei.shang@intel.com>
8977           Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
8978           xiaominc <xiaomin.chen@intel.com>
8979           Li, Jing B <jing.b.li@intel.com>
8980           https://bugzilla.gnome.org/show_bug.cgi?id=785712
8981           https://bugzilla.gnome.org/show_bug.cgi?id=784667
8982           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8983
8984 2017-08-09 18:32:13 -0700  Yi A Wang <yi.a.wang@intel.com>
8985
8986         * gst/vaapi/gstvaapiencode.c:
8987         * gst/vaapi/gstvaapiencode.h:
8988           FEI: plugin: Add virtual methods to base encode
8989           Two new virtual methods are added to gstvaapiencode.
8990           load_control_data():  load the FEI input buffers set by the upstream elements
8991           save_stats_to_meta(): save the FEI output buffers to Meta for downnstream elements
8992           https://bugzilla.gnome.org/show_bug.cgi?id=785712
8993           https://bugzilla.gnome.org/show_bug.cgi?id=784667
8994           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8995
8996 2017-08-09 18:26:57 -0700  Yi A Wang <yi.a.wang@intel.com>
8997
8998         * gst/vaapi/Makefile.am:
8999         * gst/vaapi/gstvaapifeivideometa.c:
9000         * gst/vaapi/gstvaapifeivideometa.h:
9001           FEI: plugin: Add fei specific video meta
9002           GstVaapiFeiVideoMeta holds the below fei codec objects:
9003           GstVaapiEncFeiMbCode
9004           GstVaapiEncFeiMv
9005           GstVaapiEncFeiMvPredictor
9006           GstVaapiEncFeiMbControl
9007           GstVaapiEncFeiQp
9008           GstVaapiEncFeiDistortion
9009           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9010           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9011           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9012
9013 2017-08-09 18:19:06 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9014
9015         * gst-libs/gst/vaapi/Makefile.am:
9016         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c:
9017         * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.h:
9018         * gst-libs/gst/vaapi/gstvaapifeienc_h264.c:
9019         * gst-libs/gst/vaapi/gstvaapifeienc_h264.h:
9020         * gst-libs/gst/vaapi/gstvaapifeipak_h264.c:
9021         * gst-libs/gst/vaapi/gstvaapifeipak_h264.h:
9022           FEI: libs: Add FEI encoder
9023           Adding FEI encoder to core lib.
9024           The code is splitted into three session:
9025           1: gstvaapiencoder_h264_fei.{h,c}
9026           This is the replica of gstvaapiencoder_h264.{c,h} but with FEI.
9027           All the modes ENC, PAK and ENC_PAK are running based
9028           the code in these files.
9029           2: gstvaapifeienc_h264.{h,c}
9030           Abstract implementation intended for ENC (only VME) operation.
9031           3: gstvaapifeipak_h264.{h,c}
9032           Abstrct implementation intended for PAK (only the PAK module)
9033           Right now ENC_PAK, ENC and PAK are running based on code
9034           in gstvaapiencoder_h264_fei.{h,c}. The abstract implementations
9035           in gstvaapifeienc_h264.{h,c} and gstvaapifeipak_h264.{h,c} are
9036           needed if user request for ENC+PAK mode operation.
9037           ENC+PAK: Here we need to invoke two sequence of
9038           vaBeginPicture/vaRenderPicutre/vaEndPicture for each frame,
9039           first for the ENC only and the second for PAK only.
9040           Each mode associated with separate context ,but same pool of surfaces are
9041           shared between the modes.
9042           This is more useful once we have custom BRC algorithms.
9043           Other Contributors:
9044           Wang, Yi <yi.a.wang@intel.com>
9045           Leilei <leilei.shang@intel.com>
9046           Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
9047           xiaominc <xiaomin.chen@intel.com>
9048           Li, Jing B <jing.b.li@intel.com>
9049           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9050           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9051
9052 2017-08-09 17:54:27 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9053
9054         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
9055         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
9056           FEI: libs: Add fei codec objects to GstVaapiEncPicture
9057           All the codec objects(vaapi buffers) supposed to be
9058           submited in vaRenderPicutre are associated with a GstVaapiEncPicture
9059           for each frame, follow the same design for FEI too.
9060           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9061           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9062
9063 2017-08-09 16:05:13 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9064
9065         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c:
9066         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.h:
9067         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy_priv.h:
9068           FEI: libs: Add fei codec objects in codedbufferproxy
9069           MbCode, MV and Distortion buffers (fei codec objects)
9070           can be treated as output of different fei modes based user request.
9071           For eg: MbCode and MV are the output of ENC only. MbCode, MV and Dist
9072           can be dumped as output in ENC_PAK mode for analysis purpose.
9073           So treating them as a part of CodedBufferProxy too.
9074           Here we avoided Qp, MbControl and MvPredictor codec objects since
9075           there is no practical use case of treating them as "output buffers".
9076           Other contributors:
9077           Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
9078           xiaominc <xiaomin.chen@intel.com>
9079           Leilei <leilei.shang@intel.com>
9080           Li, Jing B <jing.b.li@intel.com>
9081           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9082           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9083
9084 2017-08-09 15:49:21 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9085
9086         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
9087         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
9088         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
9089           FEI: libs: Add fei codec objects to surface proxy
9090           Add fei codec objects to surface proxy since handling the
9091           fei buffers(codec objects here) external to gstvaapisurfaceproxy
9092           will make the code complicated. Especially considering the behavior
9093           of encoder where the input frame order from upstream and output
9094           frame order to the downstream are not sequential.
9095           Other contributors:
9096           Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
9097           xiaominc <xiaomin.chen@intel.com>
9098           Leilei <leilei.shang@intel.com>
9099           Li, Jing B <jing.b.li@intel.com>
9100           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9101           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9102
9103 2017-08-09 15:35:10 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9104
9105         * gst-libs/gst/vaapi/Makefile.am:
9106         * gst-libs/gst/vaapi/gstvaapifei_objects.c:
9107         * gst-libs/gst/vaapi/gstvaapifei_objects.h:
9108         * gst-libs/gst/vaapi/gstvaapifei_objects_priv.h:
9109           FEI: Add codec objects for fei usecase
9110           There are 6 new va buffer types, each defined as a specific codec object.
9111           Borrowed the code from gstvaapicodecobject , but made a clear separation
9112           to avoid any possible mess-up. Because unlike the other gstvaaicodecobjects,
9113           feicodecobjects can be shared between elements and also can be accessed
9114           from different thread.
9115           Unlike the other fei codecs object, VAEncMiscParameterTypeFEIFrameControl
9116           object is not shared between elements.So we utilize the already
9117           existing gst_vaapi_enc_misc_param_new(), but still keeping the code
9118           in gstvaapfei_objects_priv.h in order to have a better
9119           code readability.
9120           Fixme:
9121           -- Probably we need _locked_map() and _unlocked_map()
9122           -- Context can be associated with PreEnc(not just Enoder)
9123           once we have the proper support inplace, but for now we don't have
9124           PreEnc support, so should be safe enough to use GstVaapiEncoder.
9125           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9126           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9127
9128 2017-08-09 14:22:12 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9129
9130         * gst-libs/gst/vaapi/Makefile.am:
9131         * gst-libs/gst/vaapi/gstvaapifeiutils_h264.c:
9132         * gst-libs/gst/vaapi/gstvaapifeiutils_h264.h:
9133           FEI: libs: add H264 fei specific utility functions
9134           Added enum/flag type definitions for a number of FEI
9135           input and output parameters.
9136           Original author of the patch: Wang, Yi <yi.a.wang@intel.com>
9137           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9138           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9139           Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
9140           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9141
9142 2017-08-09 14:10:16 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9143
9144         * gst-libs/gst/vaapi/gstvaapiencoder.c:
9145         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
9146           FEI: libs: Add virtual method for secondary context creation.
9147           Add a new vitrual method ensure_secondary_context to the
9148           base encoder which is only required for the FEI entrypoint, that too
9149           only when user configures the ENC+PAK mode. ENC+PAK mode is not something
9150           supported directly by libva or driver, but this can be enabled
9151           from the middleware.
9152           Original Author of this idea: Leilei Shang <leilei.shang@intel.com>
9153           Signed-off-by: Leilei Shang <leilei.shang@intel.com>
9154           Signed-off-by: xiaominc <xiaomin.chen@intel.com>
9155           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9156           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9157           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9158
9159 2017-08-09 14:05:03 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9160
9161         * gst-libs/gst/vaapi/gstvaapiencoder.c:
9162           FEI: libs: make sure the default context creation works as expected.
9163           Current code always guess the entrypoint during init phase in case
9164           if there is no entrypoint already configured in GstVaapiContextInfo.
9165           Make sure FEI Entrypoint is not messing up with this logic.
9166           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9167           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9168
9169 2017-08-09 13:45:40 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9170
9171         * gst-libs/gst/vaapi/gstvaapicontext.c:
9172         * gst-libs/gst/vaapi/gstvaapicontext.h:
9173         * gst-libs/gst/vaapi/gstvaapiencoder.c:
9174           FEI: libs: Add FEI functional mode configuration
9175           FEI Entrypoint can work in either one of the 3 different modes:
9176           VA_FEI_FUNCTION_ENC, VA_FEI_FUNCTION_PAK or VA_FEI_FUNCTION_ENC_PAK.
9177           Add infrastructure in gstvaapicontext and gstvaapiencoder for this
9178           functioal mode configuration.
9179           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9180           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9181
9182 2017-08-09 13:02:24 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9183
9184         * gst-libs/gst/vaapi/gstvaapidisplay.c:
9185         * gst-libs/gst/vaapi/gstvaapiprofile.c:
9186         * gst-libs/gst/vaapi/gstvaapiprofile.h:
9187           FEI: libs: Add FEI Entrypoint mapping
9188           Define the new mapping GST_VAAPI_ENTRYPOINT_SLICE_ENCODE_FEI
9189           for VAEntrypointFEI.
9190           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9191           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9192
9193 2017-08-09 12:58:29 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9194
9195         * configure.ac:
9196           FEI: Add support for FEI conditional build
9197           FEI(Flexible Encoding Infrastructure) is an extension
9198           to VA API. Define USE_H264_FEI_ENCODER based on
9199           fei header file and required structures availability.
9200           https://bugzilla.gnome.org/show_bug.cgi?id=785712
9201           https://bugzilla.gnome.org/show_bug.cgi?id=784667
9202
9203 2017-08-28 17:34:50 -0700  Orestis Floros <orestisf1993@gmail.com>
9204
9205         * gst/vaapi/gstvaapidecode.c:
9206           vaapidecode: force add h264 SVC profiles in caps
9207           When vaapih264dec's base-only profile is set to TRUE, fake SVC profile
9208           support in caps.
9209           https://bugzilla.gnome.org/show_bug.cgi?id=732266
9210           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9211
9212 2017-08-28 17:32:57 -0700  Orestis Floros <orestisf1993@gmail.com>
9213
9214         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9215           libs: decoder: h264: decode SVC base layer only
9216           Drops non-base NALs when the base-only property is set to TRUE.
9217           This modifies the behavior for MVC streams with base-only too: All the
9218           non-base units are dropped before they are decoded instead of dropping
9219           the non-base frames.
9220           The relevant part from the H264 spec is:
9221           > Decoders that conform to one or more of the profiles specified in
9222           Annex A rather than the profiles specified in Annexes G or H shall
9223           ignore (remove from the bitstream and discard) the contents of all NAL
9224           units with nal_unit_type equal to 14, 15, or 20.
9225           To eliminate side effects from the offending units:
9226           - PPS's with a broken seq_parameter_set_id (referring to dropped subset
9227           SPS's) are ignored.
9228           - The NAL parsing is skipped and their flags are set to
9229           GST_VAAPI_DECODER_UNIT_FLAG_SKIP.
9230           - Prefix units are not stored in prev_pi. Otherwise, parse_slice() would
9231           use them even if they are flagged to be skipped. Subset SPS's and slice
9232           extension units are not stored there either.
9233           https://bugzilla.gnome.org/show_bug.cgi?id=732266
9234           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9235
9236 2017-08-28 17:28:04 -0700  Orestis Floros <orestisf1993@gmail.com>
9237
9238         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9239           libs: decoder: h264: check nalu validity in parser info finalize
9240           https://bugzilla.gnome.org/show_bug.cgi?id=732266
9241           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9242
9243 2017-08-28 19:20:42 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9244
9245         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9246         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
9247         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
9248         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
9249         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
9250           libs: encoder: remove unused cast macro
9251           Remove internal macro to cast structure that are already declared
9252           in the header.
9253
9254 2017-08-28 19:09:07 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9255
9256         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
9257         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
9258         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
9259         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
9260         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
9261         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
9262           Revert "libs: encoders: remove unused cast macros"
9263           This reverts commit fd7d38f7d26b11e592638092b4073b5c1764f255.
9264
9265 2017-08-28 18:32:32 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9266
9267         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
9268         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
9269         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
9270         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
9271         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
9272         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
9273           libs: encoders: remove unused cast macros
9274           They are only used inside the code, where another macro is defined.
9275           Thus these exported macros have no use.
9276
9277 2017-08-24 20:26:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9278
9279         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9280           libs: decoder: h264: improve code-style
9281           https://bugzilla.gnome.org/show_bug.cgi?id=786173
9282
9283 2017-08-25 16:22:59 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9284
9285         * gst-libs/gst/vaapi/gstvaapicompat.h:
9286         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9287           libs: encoder: h264: handle deprecated enum
9288           In VA-API 1.0 the enum VAEncPackedHeaderH264_SEI is deprecated, and
9289           instead VAEncPackedHeaderRawData should be used.
9290           This patch creates a compatibility symbol,
9291           VA_ENC_PACKED_HEADER_H264_SEI, to expose the used enum according the
9292           VA-API version.
9293           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9294
9295 2017-08-25 16:07:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9296
9297         * gst-libs/gst/vaapi/gstvaapiprofile.c:
9298         * gst-libs/gst/vaapi/gstvaapiutils.c:
9299           libs: guard deprecated symbols
9300           In VA-API 1.0 the H.264 baseline profile is deprecated. This patch
9301           guards the H.264 baseline usage. Consider this commit as a
9302           continuation of commit e0e0a474
9303           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9304
9305 2017-08-17 12:54:47 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9306
9307         * configure.ac:
9308         * meson.build:
9309         * meson_options.txt:
9310           Revert "build: check for libva-2.0"
9311           This reverts commit 8f2eb70803099d4b533ecc10fc259041d8714210.
9312           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9313
9314 2017-08-17 12:44:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9315
9316         * gst-libs/gst/vaapi/gstvaapicompat.h:
9317         * gst-libs/gst/vaapi/gstvaapicontext.c:
9318         * gst-libs/gst/vaapi/gstvaapiencoder.c:
9319           libs: macro to get a renamed value in VA-API 1.0
9320           In VA-API 1.0 the union bits in VAEncMiscParameterBufferROI has
9321           renamed one member from roi_value_is_qp_delat to
9322           roi_value_is_qp_delta, which is the correct name.
9323           In order to keep back compatibility a macro has added to access this
9324           union member.
9325           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9326
9327 2017-08-22 11:37:28 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9328
9329         * gst/vaapi/gstvaapipluginbase.h:
9330         * gst/vaapi/gstvaapipluginutil.c:
9331           plugins: include main gstgl header
9332           Instead including particular gstgl header files in a header file
9333           that doesn't export a gstgl symbol, the main gstgl header file is
9334           included in gstvaapipluginutil.c where the symbols are used.
9335           https://bugzilla.gnome.org/show_bug.cgi?id=786597
9336
9337 2017-08-18 18:00:24 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9338
9339         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9340           libs: encoder: h264: fix enum namespace
9341
9342 2017-08-17 12:26:12 +0100  Tim-Philipp Müller <tim@centricular.com>
9343
9344         * common:
9345           Automatic update of common submodule
9346           From 48a5d85 to 3f4aa96
9347
9348 2017-08-17 11:03:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9349
9350         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9351           libs: encoder: h264: remove spurious assignation
9352           Coverity scan bug:
9353           An assigned value that is never used may represent unnecessary
9354           computation, an incorrect algorithm, or possibly the need for cleanup
9355           or refactoring.
9356           ip_period is assigned first to be rewritter inmediatly after. The
9357           first assignation is spurious.
9358
9359 2017-08-15 17:36:51 +0900  Hyunjun Ko <zzoon@igalia.com>
9360
9361         * gst/vaapi/gstvaapidecode.c:
9362           vaapidecode: fix mismatch of the return type
9363           https://bugzilla.gnome.org/show_bug.cgi?id=786307
9364
9365 2017-08-10 13:34:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9366
9367         * gst-libs/gst/vaapi/Makefile.am:
9368         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
9369         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
9370         * gst-libs/gst/vaapi/gstvaapiutils.h:
9371         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
9372         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
9373         * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h:
9374         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h:
9375         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
9376         * gst-libs/gst/vaapi/libgstvaapi_priv_check.h:
9377         * gst-libs/gst/vaapi/meson.build:
9378           libs: remove unused header
9379           Since libgstvaapi is not distributed, there is no need to check for
9380           private header inclusion. Thus removing it.
9381           https://bugzilla.gnome.org/show_bug.cgi?id=786119
9382
9383 2017-08-10 13:27:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9384
9385         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
9386         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
9387         * gst-libs/gst/vaapi/gstvaapiutils_h265.h:
9388         * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h:
9389         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h:
9390         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h:
9391           libs: utils: move gstvaapisurface.h to private headers
9392           Since the utils don't expose API defined in gstvaapisource.h, it is
9393           moved to their private headers where they are used.
9394           https://bugzilla.gnome.org/show_bug.cgi?id=786119
9395
9396 2017-08-10 13:26:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9397
9398         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
9399         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
9400         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
9401         * gst-libs/gst/vaapi/gstvaapiutils_h265.h:
9402         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.c:
9403         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h:
9404           libs: utils: remove va.h include in header
9405           And include gstvaapicompat.h in the C files, since the VA-API is not
9406           exposed in the headers.
9407           https://bugzilla.gnome.org/show_bug.cgi?id=786119
9408
9409 2017-08-10 13:24:06 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9410
9411         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9412         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
9413         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
9414         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
9415         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
9416         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
9417           libs: encoder: remove va.h include
9418           Since it is already managed by gstvaapicompat.h
9419           https://bugzilla.gnome.org/show_bug.cgi?id=786119
9420
9421 2017-08-10 13:11:04 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9422
9423         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
9424         * gst-libs/gst/vaapi/gstvaapicompat.h:
9425         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
9426         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
9427         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
9428         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9429         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
9430         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
9431         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
9432         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
9433         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
9434         * gst-libs/gst/vaapi/gstvaapifilter.c:
9435         * gst-libs/gst/vaapi/gstvaapiutils.c:
9436         * meson.build:
9437           build: consolidate the VA sub API includes
9438           Include all VA sub APIs headers in a single point (gstvaapicompat.h),
9439           since they are all already included in va.h after VA-API 0.38.
9440           https://bugzilla.gnome.org/show_bug.cgi?id=786119
9441
9442 2017-08-10 13:09:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9443
9444         * configure.ac:
9445         * meson.build:
9446           build: check for va_vpp.h
9447           Thus, in config.h the macro HAVE_VA_VA_VPP_H is defined. This will
9448           allow us to handle the inclusion of the header better.
9449           https://bugzilla.gnome.org/show_bug.cgi?id=786119
9450
9451 2017-08-11 20:22:41 +0100  Tim-Philipp Müller <tim@centricular.com>
9452
9453         * meson.build:
9454           meson: don't export symbols by default
9455           Only plugin entry points should be exported.
9456
9457 2017-08-09 19:06:59 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9458
9459         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
9460           libs: decoder: h265: remove spurious code
9461           Coverity scan:
9462           Logically dead code: The indicated dead code may have performed some
9463           action; that action will never occur.
9464           By using pointer arithmetic is impossible to get NULL.
9465
9466 2017-08-08 18:52:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9467
9468         * gst-libs/gst/vaapi/gstvaapicontext.c:
9469           libs: context: use attribs index instead pointers
9470           Coverity scan bug:
9471           Out-of-bounds write. This could cause an immediate crash or incorrect
9472           computations.
9473           Coverity basically found that it is possible to assign more than 4
9474           attribs in the array.
9475           In my opinion this was produced because code pattern used pointer
9476           arithmetic, which is not readable nor maintainable.
9477           This patch refactors config_create() to use an array index rather than
9478           pointer arithmetic. Also a run-time check for index size was added.
9479
9480 2017-08-08 17:38:51 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9481
9482         * gst/vaapi/gstvaapiencode_h264.c:
9483           vaapiencode: h264: remove spurious code
9484           Coverity scan bug:
9485           An unsigned value can never be negative, so this test will always
9486           evaluate the same way.
9487           As len is guint32, there is no need to check it if it is equal or
9488           bigger than zero.
9489
9490 2017-08-08 17:34:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9491
9492         * gst/vaapi/gstvaapidecode.c:
9493           vaapidecode: initialize variable
9494           Coverity scan bug:
9495           The variable will contain an arbitrary value left from earlier
9496           computations.
9497           Variable base_only is fetched from base-only property, and it may be
9498           not assigned. It needs to be initialized.
9499
9500 2017-08-08 17:29:54 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9501
9502         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
9503           libs: windows: wayland: fail if cannot remove last frame
9504           Converity scan bug:
9505           If the function returns an error value, the error value may be
9506           mistaken for a normal value.
9507           If g_atomic_pointer_compare_and_exchange() fails because the frame is
9508           not the last one, the function fails. Thus, logging an info message.
9509
9510 2017-08-08 17:21:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9511
9512         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
9513           libs: utils: glx: check return value
9514           Coverity scan bug:
9515           If the function returns an error value, the error value may be
9516           mistaken for a normal value.
9517           Function sscanf returns the number of assignations done. Validate this
9518           return value with the number of expected variables to match.
9519
9520 2017-08-08 17:12:06 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9521
9522         * gst-libs/gst/vaapi/gstvaapiobject.c:
9523           libs: vaapi: object: remove unrequired NULL check
9524           Coverity scan bug:
9525           Dereference after null check: Either the check against null is
9526           unnecessary, or there may be a null pointer dereference.
9527           Variable klass has been validated as non-NULL several time before in
9528           gst_vaapi_object_new() function, so there is no need to check it
9529           again.
9530
9531 2017-08-08 17:06:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9532
9533         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
9534           libs: encoder: h265: remove spurious assignation
9535           Coverity scan bug:
9536           An assigned value that is never used may represent unnecessary
9537           computation, an incorrect algorithm, or possibly the need for cleanup
9538           or refactoring.
9539           ip_period is assigned first to be rewritter inmediatly after. The
9540           first assignation is spurious.
9541
9542 2017-08-08 16:50:39 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9543
9544         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9545           libs: encoder: h264: fix copy & paste error
9546           Coverity scan bug:
9547           The copied code will not have its intended effect.
9548           This is a bug from commit cdaf15b2, where the intention is to
9549           initialize RefPicList1 while setting RefPicList0.
9550
9551 2017-08-08 16:33:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9552
9553         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9554         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
9555           libs: encoder: h265: fix possible integer overflow
9556           Coverity scan bug:
9557           Unintentional integer overflow. The expression's value may not be what
9558           the programmer intended, because the expression is evaluated using a
9559           narrow (i.e. few bits) integer type.
9560           Cast operator to guint64 before computation to avoid narrowing.
9561           merge with 3c5a6add
9562
9563 2017-08-08 16:12:13 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9564
9565         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
9566           libs: decoder: mpeg4: fail if return value is not OK
9567           Coverity scan bug:
9568           An assigned value that is never used may represent unnecessary
9569           computation, an incorrect algorithm, or possibly the need for cleanup
9570           or refactoring.
9571           In the return value of decode_slice() or
9572           gst_mpeg4_parse_video_packet_header() are not success, thus fail
9573           decode_packet() function.
9574
9575 2017-08-08 15:49:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9576
9577         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
9578           libs: decoder: h265: check for null
9579           Coverity scan bug:
9580           Dereference after null check: Either the check against null is
9581           unnecessary, or there may be a null pointer dereference.
9582           While looking for hte lowest poc, according to rest of the code, the
9583           picture in the dbp (decoded picture buffer) might be NULL, thus we
9584           could check for a NULL picture before assigned as found.
9585           Also, split a comma operator because it is considered as a bad
9586           practice because it possible side effects.
9587
9588 2017-08-08 15:38:16 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9589
9590         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
9591           libs: decoder: h265: untaint loop control variable
9592           Coverity scan bug:
9593           Scalars (for example, integers) are not properly
9594           bounds-checked (sanitized) before being used as array or pointer
9595           indexes, loop boundaries, or function arguments are considered as
9596           tainted.
9597           In this case, num_nals were not checked before used as loop control.
9598
9599 2017-08-08 13:46:56 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9600
9601         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9602           libs: decoder: h264: remove unrequired NULL check
9603           Coverity scan bug:
9604           Dereference after null check: Either the check against null is
9605           unnecessary, or there may be a null pointer dereference.
9606           In the original commit for fill_picture_gaps() (commit 5abd2b90) the
9607           prev_picture could be NULL, that's why the code did a null check. But,
9608           since commit 52adebe7, the previous reference frames are tracked, thus
9609           there is no need to check null anymore.
9610
9611 2017-08-03 23:17:44 +0300  orestisf <orestisf1993@gmail.com>
9612
9613         * gst/vaapi/gstvaapidecode.c:
9614           vaapidecode: fix gst_caps_new_simple call
9615           https://bugzilla.gnome.org/show_bug.cgi?id=732265
9616
9617 2017-07-25 22:25:10 +0300  orestisf <orestisf1993@gmail.com>
9618
9619         * gst/vaapi/gstvaapidecode.c:
9620           vaapidecode: force add h264 MVC profiles in caps
9621           When vaapih264dec's base-only profile is set to TRUE, fake MVC profile
9622           support in caps.
9623           https://bugzilla.gnome.org/show_bug.cgi?id=732265
9624
9625 2017-07-25 22:54:30 +0300  orestisf <orestisf1993@gmail.com>
9626
9627         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9628           libs: decoder: h264: decode MVC base view only
9629           If processed SPS has mvc profile and the configuration is set to
9630           base-only, the frame is drop.
9631           https://bugzilla.gnome.org/show_bug.cgi?id=732265
9632
9633 2017-07-25 22:06:56 +0300  orestisf <orestisf1993@gmail.com>
9634
9635         * gst/vaapi/gstvaapidecode.c:
9636         * gst/vaapi/gstvaapidecode_props.c:
9637           vaapidecode: set h264 base-only to decoder
9638           Set the base-only value when property is set and the internal
9639           decoder is already instantiated or when the internal decoder
9640           is created.
9641           https://bugzilla.gnome.org/show_bug.cgi?id=732265
9642
9643 2017-07-25 22:03:34 +0300  orestisf <orestisf1993@gmail.com>
9644
9645         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9646         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
9647           libs: decoder: h264: add setter for base-only mode
9648           https://bugzilla.gnome.org/show_bug.cgi?id=732265
9649
9650 2017-07-25 22:01:37 +0300  orestisf <orestisf1993@gmail.com>
9651
9652         * gst/vaapi/gstvaapidecode_props.c:
9653         * gst/vaapi/gstvaapidecode_props.h:
9654           vaapidecode_props: h264: add base-only property
9655           https://bugzilla.gnome.org/show_bug.cgi?id=732265
9656
9657 2017-08-01 11:11:55 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9658
9659         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
9660           libs: encoder: h264: missing property enum documentation
9661
9662 2017-08-02 14:54:53 +0900  Hyunjun Ko <zzoon@igalia.com>
9663
9664         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9665           libs: encoder: h264: add multi reference support
9666           Using num_ref_frames provided and the result of the Query
9667           VAConfigAttribEncMaxRefFrames, it determines the size of reference list
9668           and perform encoding with multi reference frames as the following:
9669           1\ The num_ref_frames is being considered as the number of
9670           reference picture list0
9671           2\ Encoder adds 1 reference frame more to the reference picture list1
9672           internally if b-frame encoding.
9673           3\ If num_ref_frames is bigger than the number of refrence frames
9674           supported in the driver, it will be lowered.
9675           https://bugzilla.gnome.org/show_bug.cgi?id=783803
9676
9677 2017-08-02 14:53:34 +0900  Hyunjun Ko <zzoon@igalia.com>
9678
9679         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9680         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
9681           libs: encoder: h264: add refs property
9682           Users can provide the number of reference frame by this property.
9683           The value of the property will be considered as the number of
9684           reference picture list0 and will add 1 reference frame more to the
9685           reference picture list1 internally if b-frame encoding.
9686           If the value provided is bigger than the number of refrence frames
9687           supported in the driver, it will be lowered.
9688           https://bugzilla.gnome.org/show_bug.cgi?id=783803
9689
9690 2017-07-28 15:27:20 +0900  Hyunjun Ko <zzoon@igalia.com>
9691
9692         * gst-libs/gst/vaapi/gstvaapiencoder.c:
9693         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
9694           libs: encoder: implements gst_vaapi_encoder_ensure_max_num_ref_frames
9695           This function will query VAConfigAttribEncMaxRefFrames to get the
9696           maximum number of reference frames supported in the driver.
9697           This will be used for h264/h265 encoding.
9698           https://bugzilla.gnome.org/show_bug.cgi?id=783803
9699
9700 2017-08-01 18:38:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9701
9702         * gst/vaapi/gstvaapiencode_h265.c:
9703           vaapiencode: h265: compare an unsigned int if not zero
9704           An unsigned value can never be negative, so this test (greater than
9705           zero) will always evaluate the same way. Thus change it to just if
9706           it's not zero.
9707
9708 2017-08-01 18:10:50 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9709
9710         * gst/vaapi/gstvaapipluginbase.c:
9711           plugins: check gst_gl_ensure_element_data() return value
9712           Refactor gst_vaapi_plugin_base_create_gl_context() in order to check
9713           the return value of gst_gl_ensure_element_data(). The result is a code
9714           bit cleaner.
9715
9716 2017-08-01 17:59:38 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9717
9718         * gst/vaapi/gstvaapipluginutil.c:
9719           plugins: avoid dead code detection
9720           By using #elif macro, the static code analysis would stop to detect
9721           these lines as dead code. Also it is inforced the mutually exclusive
9722           environments.
9723
9724 2017-08-01 17:39:04 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9725
9726         * gst/vaapi/gstvaapivideobufferpool.c:
9727           vaapivideobufferpool: don't shift by negative since it's undefined
9728           The function g_bit_nth_lsf() may return -1 if the request bit position
9729           is not avaible. Thus, this patch check if the return value is not -1
9730           in order to continue.
9731
9732 2017-08-01 17:29:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9733
9734         * gst/vaapi/gstvaapisink.c:
9735           vaapisink: fix memory leak
9736
9737 2017-08-01 17:23:48 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9738
9739         * gst/vaapi/gstvaapipostprocutil.c:
9740           vaapipostproc: fix memory leaks
9741
9742 2017-07-27 10:54:00 +0000  Tomas Rataj <rataj28@gmail.com>
9743
9744         * gst-libs/gst/vaapi/gstvaapidisplay.c:
9745           libs: display: when appending formats change pointers to indexes
9746           Thus, it fixes an invalid read when YV12 or I420 are not supported by
9747           the driver.
9748           https://bugzilla.gnome.org/show_bug.cgi?id=785085
9749
9750 2017-07-19 12:02:40 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9751
9752         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9753         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
9754           libs: encoder: h264: Add uncompliant mode reducing coded buffer size
9755           Added a new property "compliance-mode", which default is the normal
9756           strict compliant mode.
9757           The second mode, "restrict-buf-alloc", is to limit the coded buffer
9758           allocation size to improve performance in some specific Intel
9759           platforms (there is asignificant performance improvement in parallel
9760           encodings). Under this new mode, we use the MinCR field in A.3.1 for
9761           pre-calculating the coded-buffer size.
9762           https://bugzilla.gnome.org/show_bug.cgi?id=784590
9763
9764 2017-07-05 17:13:44 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
9765
9766         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
9767         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
9768           libs: utils_h264: Extend LevelLimit table with MinCR field
9769           Add MinCR(Minimum Compression Ratio) field to GstVaapiH264LevelLimits
9770           based on Annex A.3
9771           https://bugzilla.gnome.org/show_bug.cgi?id=784590
9772
9773 2017-07-11 17:29:13 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9774
9775         * gst-libs/gst/vaapi/gstvaapiutils.c:
9776           libs: utils: libva 1.0 changed the logging
9777           The logging mechanism in libva has changed it's functions
9778           signatures. This patch updates that for libva versions >= 1.0
9779           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9780
9781 2017-07-11 17:27:32 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9782
9783         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9784           libs: decoder: h264: libva 1.0 deprecated baseline
9785           libva 1.0 deprecated H.264 baseline profile and FMO support
9786           (commit b4f332b3).
9787           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9788
9789 2017-07-26 20:03:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9790
9791         * configure.ac:
9792         * meson.build:
9793         * meson_options.txt:
9794           build: check for libva-2.0
9795           Check for libva-2.0 since libva's developers decided to increase the
9796           library's version number.
9797           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9798
9799 2017-07-11 16:55:26 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9800
9801         * configure.ac:
9802         * meson.build:
9803           build: blacklist only libva 0.99.0
9804           Intel's MSDK uses libva 0.99.0, meanwhile open source libva bumped
9805           its API version to 1.0.0. Thus we have to blacklist only the MSDK's
9806           libva (0.99.0)
9807           https://bugzilla.gnome.org/show_bug.cgi?id=784398
9808
9809 2017-07-26 20:30:37 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9810
9811         * gst-libs/gst/vaapi/meson.build:
9812           build: meson: remove gstvaapidisplaycache.c
9813           This is a missing bit of commit ec3e10f6
9814
9815 2017-07-26 09:53:10 -0700  U. Artie Eoff <ullysses.a.eoff@intel.com>
9816
9817         * configure.ac:
9818           configure: do not break configure if gtk+-3.0 devel missing
9819           Fix PKG_CHECK_MODULES rule for with_gtk=check condition to
9820           set USE_GTK=0 if gtk+-3.0 is not available.
9821           Since commit 85856c29a70d6de4aea5b708e04e9eb418190623
9822           Author: Hyunjun Ko <zzoon@igalia.com>
9823           Date:   Wed Jul 5 15:59:43 2017 +0900
9824           tests: elements: add testsuite of vaapi context
9825           ...configure fails if gtk+-3.0 development files are missing.
9826           The "with_gtk" option defaults to "check" in configure.ac
9827           which implies that if it is not explicitly requested then
9828           configure will only enable it if it's available on the system.
9829           However, the PKG_CHECK_MODULES rule that get's activated on
9830           "check" condition did not provide default when gtk+-3.0 devel
9831           packages are not found on the system.  Thus, it resulted in
9832           configure failure.
9833           Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
9834           https://bugzilla.gnome.org/show_bug.cgi?id=785452
9835
9836 2017-07-05 15:59:43 +0900  Hyunjun Ko <zzoon@igalia.com>
9837
9838         * configure.ac:
9839         * tests/elements/Makefile.am:
9840         * tests/elements/test-vaapicontext.c:
9841           tests: elements: add testsuite of vaapi context
9842           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9843           https://bugzilla.gnome.org/show_bug.cgi?id=766704
9844
9845 2017-07-05 15:32:43 +0900  Hyunjun Ko <zzoon@igalia.com>
9846
9847         * gst/vaapi/gstvaapisink.c:
9848           vaapisink: fail if surface display is different
9849           Replacing GstVaapiDisplay during rendering might be hiding problems
9850           at some cases, even though it's safe currently since we use cache
9851           of GstVaapidisplay.
9852           Play safe by failing if this happens.
9853           https://bugzilla.gnome.org/show_bug.cgi?id=766704
9854
9855 2017-07-05 15:31:55 +0900  Hyunjun Ko <zzoon@igalia.com>
9856
9857         * gst/vaapi/gstvaapivideocontext.c:
9858         * gst/vaapi/gstvaapivideocontext.h:
9859           videocontext: support "gst.vaapi.app.Display" context
9860           Through "gst.vaapi.app.Display" context, users can set their own VADisplay
9861           and native display of their backend.
9862           Attributes:
9863           - display : pointer of VADisplay
9864           - x11-display : pointer of X11 display (Display *), if they're using.
9865           This patch creates GstVaapidisplayX11 if information provided through
9866           "gst.vaapi.app.Display"
9867           https://bugzilla.gnome.org/show_bug.cgi?id=766704
9868
9869 2017-07-05 14:33:38 +0900  Hyunjun Ko <zzoon@igalia.com>
9870
9871         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
9872         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
9873           libs: display: x11: add gst_vaapi_display_x11_new_with_va_display()
9874           Implements new API function so that users could create GstVaapiDisplay
9875           with their own VADisplay within a native display as backend.
9876           https://bugzilla.gnome.org/show_bug.cgi?id=766704
9877
9878 2017-07-05 14:32:35 +0900  Hyunjun Ko <zzoon@igalia.com>
9879
9880         * gst-libs/gst/vaapi/gstvaapidisplay.c:
9881           libs: display: pass display info when foreign display
9882           When creating a GstVaapiDisplay using a foreign VADisplay, and render
9883           with that display, it also requires native display of the backend.
9884           https://bugzilla.gnome.org/show_bug.cgi?id=766704
9885
9886 2017-06-26 21:18:25 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9887
9888         * gst-libs/gst/vaapi/Makefile.am:
9889         * gst-libs/gst/vaapi/gstvaapidisplay.c:
9890         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
9891         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
9892         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
9893         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
9894         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
9895         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
9896           libs: display: remove cache
9897           Remove a bunch of code that handles the VADisplay cache, since the
9898           context sharing should be doing this correctly.
9899           https://bugzilla.gnome.org/show_bug.cgi?id=747946
9900
9901 2017-07-13 10:56:18 +0900  Hyunjun Ko <zzoon@igalia.com>
9902
9903         * tests/elements/Makefile.am:
9904         * tests/elements/test-vaapipostproc.c:
9905           tests: elements: add test for vaapipostproc
9906           https://bugzilla.gnome.org/show_bug.cgi?id=754885
9907
9908 2017-07-12 18:25:15 +0900  Hyunjun Ko <zzoon@igalia.com>
9909
9910         * gst/vaapi/gstvaapipostproc.c:
9911           postproc: reconfigure when width or height changes
9912           https://bugzilla.gnome.org/show_bug.cgi?id=754885
9913
9914 2017-07-17 18:53:57 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9915
9916         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
9917           libs: encoder: vp9: array terminated in zeros
9918           There is a crash when setting ref-pic-mode since the #GEnumValue
9919           array is not terminated with a structured with all memvers being
9920           zero.
9921           https://bugzilla.gnome.org/show_bug.cgi?id=785032
9922
9923 2017-07-13 16:43:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9924
9925         * gst/vaapi/gstvaapiencode_h264.c:
9926           vaapiencode: h264: add plugin documentation
9927           Comment how the profile is set and other parameters.
9928
9929 2017-05-26 15:19:00 +0000  Matt Staples <staples255@gmail.com>
9930
9931         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9932           libs: decoder: h264: push frames as soon as possible
9933           Push frames downstream as soon as possible instead of waiting until
9934           they are ejected from the DPB.
9935           This patch makes the decoder not comply with the H.264 specification,
9936           but it is required for some video cameras.
9937           https://bugzilla.gnome.org/show_bug.cgi?id=762509
9938           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9939
9940 2017-07-10 19:27:57 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9941
9942         * gst/vaapi/gstvaapidecode_props.c:
9943           vaapidecode_props: h264: set low-latency in decoder
9944           Set the low-latency property if the H264 decoder is already
9945           instantiated, thus you could change the behavior in run-time.
9946           https://bugzilla.gnome.org/show_bug.cgi?id=783588
9947
9948 2017-07-06 20:00:15 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9949
9950         * gst/vaapi/gstvaapidecode.c:
9951           vaapidecode: set h264 low latency to decoder
9952           https://bugzilla.gnome.org/show_bug.cgi?id=783588
9953
9954 2017-06-14 18:30:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9955
9956         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
9957         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
9958           libs: decoder: h264: add getter/setter for low latency mode
9959           https://bugzilla.gnome.org/show_bug.cgi?id=783588
9960
9961 2017-06-14 18:31:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9962
9963         * gst/vaapi/gstvaapidecode_props.c:
9964         * gst/vaapi/gstvaapidecode_props.h:
9965           vaapidecode_props: h264: add low latency property
9966           Adding support for private data.
9967           https://bugzilla.gnome.org/show_bug.cgi?id=783588
9968
9969 2017-06-14 18:23:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9970
9971         * gst/vaapi/Makefile.am:
9972         * gst/vaapi/gstvaapidecode.c:
9973         * gst/vaapi/gstvaapidecode_props.c:
9974         * gst/vaapi/gstvaapidecode_props.h:
9975         * gst/vaapi/meson.build:
9976           vaapidecode_props: add skeleton for h264 decoder properties
9977           https://bugzilla.gnome.org/show_bug.cgi?id=783588
9978
9979 2017-06-14 17:07:30 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
9980
9981         * gst/vaapi/gstvaapidecode.c:
9982           vaapidecode: properties callback in decoders map
9983           https://bugzilla.gnome.org/show_bug.cgi?id=783588
9984
9985 2017-07-07 12:01:59 +0100  Tim-Philipp Müller <tim@centricular.com>
9986
9987         * meson.build:
9988           meson: find python3 via python3 module
9989           https://bugzilla.gnome.org/show_bug.cgi?id=783198
9990
9991 2017-06-09 14:47:40 +0900  Hyunjun Ko <zzoon@igalia.com>
9992
9993         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
9994           libs: encoder: h264: submit sps in case of IDR picture
9995           If the picture is IDR, also submit a SPS header.
9996           This means when frame number reaches to keyframe-period or an force
9997           key unit event arrives, we insert SPS/PPS again.
9998           https://bugzilla.gnome.org/show_bug.cgi?id=776712
9999
10000 2017-06-09 14:47:16 +0900  Hyunjun Ko <zzoon@igalia.com>
10001
10002         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10003           libs: encoder: h264: set the frame as IDR if forced key unit
10004           GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME() is a flag usually used to manage
10005           the `frame-lost` event in the case of streaming, such as RTP.
10006           In case of this event, it is needed to start new GOP rather than just
10007           produce an I-frame.
10008           https://bugzilla.gnome.org/show_bug.cgi?id=776712
10009
10010 2017-04-05 14:48:46 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
10011
10012         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10013         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
10014           libs: encoder: h264: insert AU delimiter
10015           Insert an AUD as the first NAL of each encoded frame.
10016           Some applications require Access Unit Delimiter for decoding the
10017           stream.
10018           The AU delimeter insertion is done only when the aud parameter is
10019           TRUE (by default is disabled). The reason of this it is because this
10020           header is only available from Intel Gen9 and the VA intel driver
10021           should be 1.8 or superior. Otherwise, the output will be corrupted.
10022           https://bugzilla.gnome.org/show_bug.cgi?id=776712
10023           Signed-off-by: Victor Jaquez <vjaquez@igalia.com>
10024
10025 2017-06-29 12:50:26 +0900  Hyunjun Ko <zzoon@igalia.com>
10026
10027         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10028           libs: encoder: h264: initialize all elements of view_ids
10029           Currently when num_views is changed by multiview-mode on sink caps, it produces
10030           wrong MVC encoded stream since the array view_ids is not set properly according
10031           to changed num_views.
10032           So this patch initializes all of the array sequentially to handle this case.
10033           Side effect is not going to happen by this patch since this array is being
10034           handled by num_views.
10035           https://bugzilla.gnome.org/show_bug.cgi?id=784321
10036
10037 2017-06-27 14:30:54 +0900  Hyunjun Ko <zzoon@igalia.com>
10038
10039         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10040           Revert "encoder: h264: Use high profile by default"
10041           This reverts commit 4aec5bdd7207fc0e45813ef14c9c0ad5174a8f75.
10042           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10043
10044 2017-06-27 16:03:37 +0900  Hyunjun Ko <zzoon@igalia.com>
10045
10046         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10047           libs: encoder: h264: set profile via capsfilter
10048           Until now, the encoder ignored the profile in src caps and chose one
10049           according with the given parameters. But the encoder must honor the
10050           profile specifed in src caps.
10051           This patch do that, and if the encoder needs to choose the profile,
10052           it will do it by following these rules:
10053           1\ If given parameters are not compatible with given profile, the
10054           encoder will bail out with an error.
10055           2\ The encoder will choose the higher profile indicated in the
10056           src caps.
10057           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10058
10059 2017-06-27 13:14:31 +0900  Hyunjun Ko <zzoon@igalia.com>
10060
10061         * gst/vaapi/gstvaapiencode_h264.c:
10062           vaapiencode: h264: set profile to src caps
10063           So far vaapi encoder does not set profile to src caps. This patch makes it
10064           setting profile to src caps, which is determined by itself.
10065           In addition, if encoder chose different profile, which is not negotiated with
10066           downstream, we should set compatible profile to make negotiation working.
10067           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10068
10069 2017-06-22 09:56:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10070
10071         * gst/vaapi/gstvaapiencode_h264.c:
10072         * gst/vaapi/gstvaapiencode_h264.h:
10073           vaapiencode: h264: verify if requested profile is supported
10074           Check if the requested profile in source caps, is supported by the
10075           VA driver. If it is not, an info log message is send saying that
10076           another (compatible?) profile will be used.
10077           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10078
10079 2017-06-21 21:49:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10080
10081         * gst/vaapi/gstvaapiencode_h264.c:
10082           vaapiencode: h264: improve set_config() vmethod
10083           First check if downstream requests ANY caps. If so, byte-stream is
10084           used and the profile will be choose by the encoder. If dowstream
10085           requests EMPTY caps, the negotiation will fail.
10086           Lately, byte-stream and profile are looked in the allowed caps.
10087           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10088
10089 2017-06-21 19:30:55 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10090
10091         * gst/vaapi/gstvaapiencode_h264.c:
10092           vaapiencode: h264: check for avc in set_config()
10093           The check for avc stream format was done in the vaapi encoder's
10094           vmethod get_caps(), but that is wrong since it has to be check
10095           when encoder set_format().
10096           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10097
10098 2017-06-29 12:49:24 +0900  Hyunjun Ko <zzoon@igalia.com>
10099
10100         * gst/vaapi/gstvaapipostprocutil.c:
10101           vaapipostproc: set multivew-mode flags to src caps
10102           vaapipostproc didn't negotiate the proper multiview caps losing
10103           downstream information.
10104           This patch enables the playing of MVC encoded stream by setting
10105           the proper multiview mode/flags and views to src caps, according
10106           to sink caps.
10107           https://bugzilla.gnome.org/show_bug.cgi?id=784320
10108
10109 2016-11-22 15:52:47 +0000  Julien Isorce <j.isorce@samsung.com>
10110
10111         * gst/vaapi/gstvaapipostproc.c:
10112           vaapipostproc: add support for DMABuf caps feature
10113           https://bugzilla.gnome.org/show_bug.cgi?id=755072
10114           Signed-off-by: Julien Isorce <j.isorce@samsung.com>
10115
10116 2017-06-01 19:42:20 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10117
10118         * gst/vaapi/gstvaapidecode.c:
10119           vaapidecode: add support for DMABuf caps feature
10120           https://bugzilla.gnome.org/show_bug.cgi?id=755072
10121           Original-patch-by: Julien Isorce <j.isorce@samsung.com>
10122
10123 2017-06-23 12:12:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10124
10125         * gst/vaapi/gstvaapipluginbase.c:
10126           vaapipluginbase: force dmabuf allocator if DMABuf caps feature
10127           Instantiate all dmabuf allocator for src pad buffer pool if the
10128           src caps ask for memory:DMABuf feature.
10129           https://bugzilla.gnome.org/show_bug.cgi?id=755072
10130
10131 2016-11-22 23:26:05 +0000  Julien Isorce <j.isorce@samsung.com>
10132
10133         * gst/vaapi/gstvaapipluginutil.c:
10134         * gst/vaapi/gstvaapipluginutil.h:
10135           vaapipluginutil: add support for DMABuf caps feature
10136           https://bugzilla.gnome.org/show_bug.cgi?id=755072
10137           Signed-off-by: Julien Isorce <j.isorce@samsung.com>
10138           Signed-off-by: Victor Jaquez <vjaquez@igalia.com>
10139           vaapipluginutil: add support for DMABuf caps feature
10140
10141 2017-06-01 19:13:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10142
10143         * gst/vaapi/gstvaapipluginbase.c:
10144           vaapipluginbase: dmabuf memory map trial for raw caps
10145           Only push dmabuf-based buffers with raw caps if gst_memory_map()
10146           succeeds. Otherwise, use the the vaapi surfaces allocator.
10147           https://bugzilla.gnome.org/show_bug.cgi?id=755072
10148           https://bugzilla.gnome.org/show_bug.cgi?id=774649
10149           Original-patch-by: Julien Isorce <j.isorce@samsung.com>
10150
10151 2016-06-08 19:11:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
10152
10153         * gst/vaapi/gstvaapivideomemory.c:
10154         * gst/vaapi/gstvaapivideomemory.h:
10155           vaapivideomemory: add gst_vaapi_dmabuf_can_map()
10156           This new method checks the specified allocator can create GstMemory that can
10157           be mapped.
10158           https://bugzilla.gnome.org/show_bug.cgi?id=755072
10159
10160 2017-06-23 17:33:03 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10161
10162         * gst/vaapi/gstvaapivideobufferpool.c:
10163           vaapivideobufferpool: fix regression with video metas
10164           There is another regression with 7a206923 when setting the video
10165           info for the video meta, it should be the one from the image's
10166           allocator rather from the allocation caps.
10167           Test pipeline:
10168           gst-launch-1.0 filesrc location=bug766184.flv ! decodebin \
10169           ! tee ! videoconvert ! videoscale                     \
10170           ! video/x-raw, width=1920, height=1080 ! xvimagesink
10171
10172 2017-06-23 14:38:10 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10173
10174         * gst/vaapi/gstvaapipluginbase.c:
10175         * gst/vaapi/gstvaapivideobufferpool.c:
10176           plugins: update buffer size with the one reported by allocator
10177           There is a regression in 7a206923, since the buffer pool ditches all
10178           the buffers generated by them because the pool config size is
10179           different of the buffer's size.
10180           Test pipeline:
10181           gst-launch-1.0 filesrc location=big_buck_bunny_1080p_h264.mov \
10182           ! qtdemux ! vaapih264dec ! vaapipostproc ! xvimagesink    \
10183           --gst-debug=GST_PERFORMANCE:5
10184           The allocator may update the buffer size according to the VA surface
10185           properties. In order to do this, the video info is modified when the
10186           allocator is created, which reports through the allocation info the
10187           updated size, and set it to the pool config.
10188
10189 2017-06-14 21:40:33 +0900  Hyunjun Ko <zzoon@igalia.com>
10190
10191         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
10192           libs: decoder: h264: initialize active_sps/pps in reset
10193           Since commits in https://bugzilla.gnome.org/show_bug.cgi?id=781142 landed,
10194           they introduced regression in seek.
10195           Formerly, once seek is done, decoder drops P-frames until I-frame arrives.
10196           But since the commits landed, it doesn't drop P-frame and does try to
10197           decode it continuously because active_sps is still alive. See ensure_sps function.
10198           But there are prev_frames and prev_ref_frames reset already, then it
10199           causes assertion.
10200           So it's necessary to reset active_sps/pps also in reset method.
10201           https://bugzilla.gnome.org/show_bug.cgi?id=783726
10202
10203 2017-06-15 13:24:56 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10204
10205         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10206         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10207           libs: encoder: fix compilation with old versions of libva
10208           There are some symbols that are not used when compiling with old
10209           version of libva and those generates a compilation error.
10210           Original-patch-by: Matt Staples <staples255@gmail.com>
10211
10212 2017-06-09 14:02:20 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
10213
10214         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10215           libs: encoder: Fix the quality level clamping
10216           Change the hard-coded range of quality-level from {1-8} to {1-7},
10217           since it is the range Intel Open source driver supports.
10218           Also perform the range clamping only if the user provided
10219           quality-level is greater than the max-range suppored by the driver,
10220           because there could be non-intel drivers giving lower value than
10221           the hard-coded max value 7.
10222           https://bugzilla.gnome.org/show_bug.cgi?id=783567
10223
10224 2017-04-06 19:35:27 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
10225
10226         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10227         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10228         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
10229         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10230         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10231         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
10232           libs: encoder: log out the name of the profile
10233           Instead of printing a number, it is more readable to log out, in
10234           case of error, the name of the failing profile.
10235
10236 2017-05-31 12:36:17 +0900  Hyunjun Ko <zzoon@igalia.com>
10237
10238         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10239           libs: encoder: h264: changes raw number of profile to macro name of its
10240           Changes raw number of profile to macro name of its to improve readability.
10241           https://bugzilla.gnome.org/show_bug.cgi?id=757941
10242
10243 2017-06-09 17:00:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10244
10245         * gst/vaapi/gstvaapivideobufferpool.c:
10246           vaapivideobufferpool: remove allocation_vinfo private attribute
10247           There is no need to keep this attribute internally since it is
10248           already managed by the allocator.
10249           https://bugzilla.gnome.org/show_bug.cgi?id=783599
10250
10251 2017-06-09 15:02:08 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10252
10253         * gst/vaapi/gstvaapivideobufferpool.c:
10254           vaapivideobufferpool: refactor set_config()
10255           Refactor the set_config() virtual method considering a cleaner
10256           approach to allocator instanciation, if it it not set or if it is
10257           not valid for the pool.
10258           https://bugzilla.gnome.org/show_bug.cgi?id=783599
10259
10260 2017-06-09 13:05:36 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10261
10262         * gst/vaapi/gstvaapipluginbase.c:
10263         * gst/vaapi/gstvaapivideobufferpool.c:
10264         * gst/vaapi/gstvaapivideomemory.c:
10265         * gst/vaapi/gstvaapivideomemory.h:
10266           plugins: distinguish allocation and negotiation caps
10267           The vaapi video decoders might have different allocation caps from
10268           the negotiation caps, thus the GstVideoMeta shall use the negotiation
10269           caps, not the allocation caps.
10270           This was done before reusing gst_allocator_get_vaapi_video_info(),
10271           storing there the negotiation caps if they differ from the allocation
10272           ones, but this strategy felt short when the allocator had to be reset
10273           in the vaapi buffer pool, since we need both.
10274           This patch adds gst_allocator_set_vaapi_negotiated_video_info() and
10275           gst_allocator_get_vaapi_negotiated_video_info() to store the
10276           negotiated video info in the allocator, and distinguish it from
10277           the allocation video info.
10278           https://bugzilla.gnome.org/show_bug.cgi?id=783599
10279
10280 2017-06-08 19:32:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10281
10282         * gst/vaapi/gstvaapivideomemory.c:
10283         * gst/vaapi/gstvaapivideomemory.h:
10284           vaapivideomemory: rename qdata quarks and ids
10285           Also the parameter names were renamed to reflect their origin
10286           and purpose.
10287           https://bugzilla.gnome.org/show_bug.cgi?id=783599
10288
10289 2017-06-08 16:05:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10290
10291         * gst/vaapi/gstvaapivideobufferpool.c:
10292           vaapivideobufferpool: rename local variables
10293           Renamed local video info structure names in set_config() vitual
10294           method. The purpose of their renaming is to clarify the origin
10295           of those structures, whether come from passed caps parameter
10296           (new_allocation_vinfo) or from the configured allocator
10297           (allocator_vinfo).
10298           https://bugzilla.gnome.org/show_bug.cgi?id=783599
10299
10300 2017-06-08 15:49:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10301
10302         * gst/vaapi/gstvaapivideobufferpool.c:
10303           vaapivideobufferpool: rename video info structures
10304           Renamed private GstVideoInfo structure video_info to allocation_vinfo
10305           and alloc_info to negotiated_vinfo.
10306           The purpose of these renaming is to clarify the origin and purpose of
10307           these private variables:
10308           video_info (now allocation_vinfo) comes from the bufferpool
10309           configuration. It describes the physical video resolution to be
10310           allocated by the allocator, which may be different from the
10311           negotiated one.
10312           alloc_info (now vmeta_vinfo) comes from the negotiated caps in
10313           the pipeline. It represents how the frame is going to be mapped
10314           using the video meta.
10315           In Intel's VA-API backend, the allocation_vinfo resolution is
10316           bigger than the negotiated_info.
10317           https://bugzilla.gnome.org/show_bug.cgi?id=783599
10318
10319 2017-06-08 12:51:50 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10320
10321         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10322           libs: encoder: set framerate if bigger than 0/1
10323           Just set the framerate parameter if the framerate numerator and
10324           denominator are bigger than zero.
10325           Otherwise, in Intel Gen6 driver, a warning is raised disabling the
10326           bitrate control.
10327           Original-patch-by: Hyunjun Ko <zzoon@igalia.com>
10328           https://bugzilla.gnome.org/show_bug.cgi?id=783532
10329
10330 2017-06-07 12:32:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10331
10332         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10333           libs: encoder: bitrate target percentage calculation
10334           If the rate control is set to Constant Bit Rate (CBR) the target
10335           percentage is 100%, otherwise is 70%
10336
10337 2017-06-07 12:25:24 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10338
10339         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10340         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10341         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10342         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10343         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10344         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
10345           libs: encoder: h264,h265,mpeg2,vp8,vp9: refactor ratecontrol param
10346           Centralize the common configuration for the Rate Control parameter,
10347           thus can be overloaded per each specific encoder.
10348
10349 2017-06-07 11:10:49 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10350
10351         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10352         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10353         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10354         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10355         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10356         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
10357           libs: encoder: h264,h265,mpeg2,vp8,vp9: refactor framerate param
10358           Since the framerate VA parameter is calculated equally among all the
10359           encoders, it is better to handle it in the base encoder class.
10360
10361 2016-08-09 15:53:47 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
10362
10363         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
10364         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
10365           libs: encoder: vp9: Adds CBR and VBR Encoding support
10366           https://bugzilla.gnome.org/show_bug.cgi?id=766832
10367           Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
10368           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10369
10370 2017-06-01 12:12:26 +0900  Hyunjun Ko <zzoon@igalia.com>
10371
10372         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10373           libs: encoder: vp8: Adds VBR Encoding support
10374           https://bugzilla.gnome.org/show_bug.cgi?id=778732
10375
10376 2017-06-01 12:11:12 +0900  Hyunjun Ko <zzoon@igalia.com>
10377
10378         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10379           libs: encoder: h265: Adds VBR Encoding support
10380           Enables Variable BitRate mode, which does set FrameRate and RateControl
10381           parameters.
10382           https://bugzilla.gnome.org/show_bug.cgi?id=778732
10383
10384 2017-06-02 13:50:05 +0900  Hyunjun Ko <zzoon@igalia.com>
10385
10386         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10387           libs: encoder: Describes more detail about the bitrate property
10388           https://bugzilla.gnome.org/show_bug.cgi?id=778732
10389
10390 2017-06-05 20:44:22 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10391
10392         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10393           libs: encoder: h265: add rate control parameter
10394           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10395
10396 2017-06-05 20:33:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10397
10398         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10399         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10400         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10401           libs: encoder: h264,h265,mpeg2: add framerate parameter
10402           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10403
10404 2017-06-05 20:30:07 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10405
10406         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10407         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10408         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10409         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10410           libs: encoder: vp8,h264,h265,mpeg2: set misc param once
10411           Instead of recalculating the miscellaneous buffer parameters for
10412           every buffer, it is only done once, when the encoder is configured.
10413           And for every buffer, the same structures are just copied.
10414           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10415
10416 2017-06-05 17:31:10 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10417
10418         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10419         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10420         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10421         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10422         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
10423         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10424           libs: encoder: vp8,h264,h265,mpeg2: refactor misc parameters
10425           This is patch pretends to decouple the assignation of the values
10426           in the parameter structures and the VA buffer's parameters setting.
10427           It may lead to some issues since HRD, framerate or controlrate may
10428           not be handled by the specific encoder, but they are set in
10429           the VA buffer's parameters.
10430           I leave as it because this patch is just a transitional patch.
10431           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10432
10433 2017-06-05 16:34:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10434
10435         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10436           libs: encoder: vp8: fix frame rate calculation
10437           According to the VA documentation:
10438           The framerate is specified as a number of frames per second,
10439           as a fraction.  The denominator of the fraction is given in
10440           the top half (the high two bytes) of the framerate field, and
10441           the numerator is given in the bottom half (the low two bytes).
10442           For example, if framerate is set to (100 << 16 | 750), this is
10443           750 / 100, hence 7.5fps.
10444           If the denominator is zero (the high two bytes are both zero)
10445           then it takes the value one instead, so the framerate is just
10446           the integer in the low 2 bytes.
10447           This patch fixes the the framerate calculation in vp8 encoder
10448           according to this.
10449           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10450
10451 2017-06-02 19:46:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10452
10453         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10454           libs: encoder: vp8: refactor FrameRate parameter
10455           Move frame-rate parameter from ensure_misc_params() to
10456           ensure_contro_rate_param() since it only has meaning when the
10457           control rate is either VBR or CBR.
10458           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10459
10460 2017-06-02 19:33:36 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10461
10462         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10463         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10464         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10465         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10466           libs: encoder: h264,h265,mpeg2,vp8: refactor HDR
10467           Move the Hypothetical Reference Decoder (HRD) parameter, from
10468           ensure_misc_params() to ensure_control_rate_params(), since it
10469           only shall be defined when the control rate is either VBR or CBR.
10470           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10471
10472 2017-06-02 17:21:25 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10473
10474         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10475         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10476         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10477           libs: encoder: h264,vp8,mpeg2: refactor control rate
10478           Instead of filling the control rate param in ensure_misc_params(),
10479           this patch refactor it out, as a first step to merge the same code
10480           for all the encoders.
10481           https://bugzilla.gnome.org/show_bug.cgi?id=783449
10482
10483 2017-06-02 16:28:30 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10484
10485         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10486         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10487         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10488           libs: encoder: h264, h265, mpeg2: remove assert
10489           Remove spurious asserts for misc parameters. If they cannot be
10490           allocated, FALSE is already returned.
10491
10492 2017-06-05 18:19:05 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10493
10494         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10495         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
10496           libs: encoder: use VA quality level structure
10497           Instead of using a proxy to story the buffer quality level, the
10498           encoder now uses the native VA structure, which is copied to the
10499           dynamically allocated VAEncMiscParameterBuffer.
10500           This approach is computationally less expensive.
10501
10502 2017-05-26 11:10:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10503
10504         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
10505         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
10506         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10507         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
10508           libs: standardize the FIXME comment
10509           This is a trivial patch that makes homogeneous the FIXME tag in
10510           comments.
10511           For more info about these comment style:
10512           http://wiki.c2.com/?FixmeComment
10513
10514 2017-05-22 17:20:45 +0200  Hyunjun Ko <zzoon@igalia.com>
10515
10516         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10517           libs: encoder: vp8: set quality level regardless of rate control mode
10518           https://bugzilla.gnome.org/show_bug.cgi?id=782957
10519
10520 2017-05-15 18:38:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10521
10522         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10523         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10524         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10525         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
10526           libs: encoder: check for maximum number of slices
10527           Right now, H264 and HEVC can set as a property the number of slices to
10528           process. But each driver can set a maximum number of slices, depending
10529           on the supported profile & entry point.
10530           This patch verifies the current num_slices to process against the maximum
10531           permitted by the driver and the media size.
10532           https://bugzilla.gnome.org/show_bug.cgi?id=780955
10533
10534 2017-05-15 18:36:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10535
10536         * gst-libs/gst/vaapi/gstvaapiutils_h26x_priv.h:
10537           libs: utils: mark functions as internals
10538           The functions in this header are internal to the library.
10539
10540 2017-05-15 18:35:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10541
10542         * gst-libs/gst/vaapi/gstvaapicontext.h:
10543           libs: context: add missing documentation
10544           Document the region-of-interest configuration variables.
10545
10546 2017-05-12 18:46:50 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10547
10548         * tests/elements/test-vaapisink.c:
10549           tests: elements: vaapisink: handle nav events
10550           The test app can now handle navigation events to rotate the
10551           display.
10552
10553 2017-05-12 18:17:55 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10554
10555         * tests/elements/test-vaapisink.c:
10556           tests: elements: clean up vaapisink test
10557           - Use gst_element_send_event() instead of gst_pad_push_event()
10558           - don't zero App structure
10559           - check for pipeline parsing error
10560           - only get vaapisink for property set
10561
10562 2017-05-12 13:08:30 +0900  Hyunjun Ko <zzoon@igalia.com>
10563
10564         * gst/vaapi/gstvaapisink.c:
10565           vaapisink: keep handle_events flag except that if user want to set
10566           When state of vaapisink is changed from PLAYING to NULL, the handle_events
10567           flag is set to FALSE, and never recovered, and then event thread is never
10568           going to run.
10569           So we should allow to set the flag only when users try it.
10570           https://bugzilla.gnome.org/show_bug.cgi?id=782543
10571
10572 2017-05-12 13:06:24 +0900  Hyunjun Ko <zzoon@igalia.com>
10573
10574         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
10575           libs: window: x11: fix src rect info when using vpp
10576           Since we started using VPP in VaapiWindowX11, we need to care about
10577           the case that src rect and window's size are different.
10578           So, once VPP has converted to other format, we should honor the
10579           size of the VPP's surface as source rect. Otherwise, it is cropped
10580           according the previous size of the source rect.
10581           https://bugzilla.gnome.org/show_bug.cgi?id=782542
10582
10583 2017-04-28 15:20:01 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10584
10585         * gst/vaapi/gstvaapipluginutil.c:
10586           plugins: remove par from caps negotiation
10587           https://bugzilla.gnome.org/show_bug.cgi?id=781759
10588
10589 2017-03-30 17:57:42 +0900  Hyunjun Ko <zzoon@igalia.com>
10590
10591         * tests/elements/Makefile.am:
10592         * tests/elements/test-roi.c:
10593           tests: elements: add an example for ROI
10594           This implements a pipleint to recognize difference between ROI and non-ROI.
10595           See comments in this code in detail.
10596           https://bugzilla.gnome.org/show_bug.cgi?id=768248
10597           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10598
10599 2017-03-30 17:54:20 +0900  Hyunjun Ko <zzoon@igalia.com>
10600
10601         * gst/vaapi/gstvaapiencode.c:
10602         * gst/vaapi/gstvaapiencode_h264.c:
10603           vaapiencode: handle custom event GstVaapiEncoderRegionOfInterest
10604           Handles new custom event GstVaapiEncoderRegionOfInterest
10605           to enable/disable a ROI region.
10606           Writes a way to use new event to document.
10607           https://bugzilla.gnome.org/show_bug.cgi?id=768248
10608           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10609
10610 2017-02-23 18:53:18 +0900  Hyunjun Ko <zzoon@igalia.com>
10611
10612         * tests/simple-encoder.c:
10613           tests: simple-encoder: add an option to set ROI
10614           $ simple-encoder -r inputfile.y4m
10615           And you'll got an output file in H264 with two regions of interest.
10616           https://bugzilla.gnome.org/show_bug.cgi?id=768248
10617           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10618
10619 2017-02-23 18:52:48 +0900  Hyunjun Ko <zzoon@igalia.com>
10620
10621         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10622           libs: encoder: h264: set ROI params during encoding
10623           Set ROI params during encoding each frame, which are set via
10624           gst_vaapi_encoder_add_roi ()
10625           https://bugzilla.gnome.org/show_bug.cgi?id=768248
10626           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10627
10628 2017-03-28 17:41:37 +0900  Hyunjun Ko <zzoon@igalia.com>
10629
10630         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10631         * gst-libs/gst/vaapi/gstvaapiencoder.h:
10632         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
10633           libs: encoder: add api gst_vaapi_encoder_add/del_roi
10634           Implements and exposes new api gst_vaapi_encoder_add/del_roi to set ROI regions.
10635           https://bugzilla.gnome.org/show_bug.cgi?id=768248
10636
10637 2017-02-23 17:57:07 +0900  Hyunjun Ko <zzoon@igalia.com>
10638
10639         * gst-libs/gst/vaapi/gstvaapicontext.c:
10640         * gst-libs/gst/vaapi/gstvaapicontext.h:
10641         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10642           libs: encoder/context: query region of interest support
10643           Queries if the driver supports "Region of Interest" (ROI) during the config
10644           creation.
10645           This attribute conveys whether the driver supports region-of-interest (ROI)
10646           encoding, based on user provided ROI rectangles.  The attribute value is
10647           partitioned into fields as defined in the VAConfigAttribValEncROI union.
10648           If ROI encoding is supported, the ROI information is passed to the driver
10649           using VAEncMiscParameterTypeROI.
10650           https://bugzilla.gnome.org/show_bug.cgi?id=768248
10651           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10652
10653 2017-05-12 11:11:48 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10654
10655         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
10656           libs: encoder: fix a comment
10657
10658 2017-05-11 12:23:28 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10659
10660         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10661           libs: encoder: guard quality level configuration
10662           The quality level appeared in VA-API 0.36. So let's guard its
10663           usage.
10664
10665 2017-04-19 13:04:44 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
10666
10667         * gst-libs/gst/vaapi/gstvaapiencoder.c:
10668         * gst-libs/gst/vaapi/gstvaapiencoder.h:
10669         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
10670         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
10671         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
10672         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
10673         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
10674         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
10675         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
10676           encoders: add quality level tuning
10677           This patch adds the handling of VAEncMiscParameterTypeQualityLevel,
10678           in gstreamer-vaapi encoders:
10679           The encoding quality could be set through this structure, if the
10680           implementation supports multiple quality levels. The quality level set
10681           through this structure is persistent over the entire coded sequence, or
10682           until a new structure is being sent. The quality level range can be queried
10683           through the VAConfigAttribEncQualityRange attribute. A lower value means
10684           higher quality, and a value of 1 represents the highest quality. The quality
10685           level setting is used as a trade-off between quality and speed/power
10686           consumption, with higher quality corresponds to lower speed and higher power
10687           consumption.
10688           The quality level is set by the element's parameter "quality-level" with a
10689           hard-coded range of 1 to 8.
10690           Later, when the encoder is configured in run time, just before start
10691           processing, the quality level is scaled to the codec range. If
10692           VAConfigAttribEncQualityRange is not available in the used VA backend, then
10693           the quality level is set to zero, which means "disabled".
10694           All the available codecs now process this parameter if it is available.
10695           https://bugzilla.gnome.org/show_bug.cgi?id=778733
10696           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10697
10698 2017-05-04 18:59:31 +0300  Sebastian Dröge <sebastian@centricular.com>
10699
10700         * configure.ac:
10701         * meson.build:
10702           Back to development
10703
10704 === release 1.12.0 ===
10705
10706 2017-05-04 15:46:03 +0300  Sebastian Dröge <sebastian@centricular.com>
10707
10708         * ChangeLog:
10709         * NEWS:
10710         * configure.ac:
10711         * gstreamer-vaapi.doap:
10712         * meson.build:
10713           Release 1.12.0
10714
10715 2017-05-04 11:49:33 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10716
10717         * gst/vaapi/gstvaapidecodebin.c:
10718           Revert "vaapidecodebin: fix element's classification"
10719           This reverts commit 8cbe03599a4f27c2001380e2ec150c4f4267a9cf.
10720
10721 2017-04-27 22:55:27 -0700  Scott D Phillips <scott.d.phillips@intel.com>
10722
10723         * configure.ac:
10724         * meson.build:
10725           build: Require libva < 0.99.0
10726           libva >= 0.99.0 is not currently supported by gstreamer-vaapi, so
10727           fail to configure instead of failing late in the build.
10728           This libva is bundled in msdk[1] and it is ahead in time with
10729           respect the official and open source libva[2]. GStreamer-VAAPI
10730           only supports the latter for now.
10731           1. https://software.intel.com/en-us/media-sdk/download
10732           2. https://github.com/01org/libva/
10733           https://bugzilla.gnome.org/show_bug.cgi?id=781866
10734
10735 2017-05-02 14:08:54 +0200  Victor Toso <me@victortoso.com>
10736
10737         * gst/vaapi/gstvaapidecodebin.c:
10738           vaapidecodebin: fix element's classification
10739           This bin should have similar classification as decodebin which is
10740           "Generic/Bin/Decoder" otherwise it will appear wrongly as video
10741           decoder.
10742           Signed-off-by: Victor Toso <victortoso@redhat.com>
10743           https://bugzilla.gnome.org/show_bug.cgi?id=782063
10744
10745 === release 1.11.91 ===
10746
10747 2017-04-27 17:49:52 +0300  Sebastian Dröge <sebastian@centricular.com>
10748
10749         * ChangeLog:
10750         * NEWS:
10751         * configure.ac:
10752         * gstreamer-vaapi.doap:
10753         * meson.build:
10754           Release 1.11.91
10755
10756 2017-04-27 13:08:56 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10757
10758         * gst/vaapi/gstvaapipluginutil.c:
10759           Revert "plugins: reject pixel-aspect-ratio with value 0/1"
10760           This reverts commit c0be7b1890ea8da915a81ae82bc9f504aee7cc26.
10761
10762 2017-04-27 12:43:54 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10763
10764         * gst/vaapi/gstvaapipluginutil.c:
10765           plugins: reject pixel-aspect-ratio with value 0/1
10766           Do not negotiate a pixel-aspect-ratio of 0/1.
10767           https://bugzilla.gnome.org/show_bug.cgi?id=781759
10768
10769 2017-04-26 15:48:01 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10770
10771         * gst/vaapi/gstvaapipostprocutil.c:
10772         * gst/vaapi/gstvaapisink.c:
10773           plugins: handle pixel-aspect-ratio with value 0/1
10774           When downstream negotiates a pixel-aspect-ratio of 0/1, the
10775           calculations for resizing and formatting in vaapipostproc and
10776           vaapisink, respectively, failed, and thus the pipeline.
10777           This patch handles this situation by converting p-a-r of 0/1 to
10778           1/1. This is how other sinks, such as glimagesink, work.
10779           https://bugzilla.gnome.org/show_bug.cgi?id=781759
10780
10781 2017-04-27 14:42:55 +0900  Hyunjun Ko <zzoon@igalia.com>
10782
10783         * gst/vaapi/gstvaapivideobufferpool.c:
10784           vaapivideobufferpool: fix leak of created allocator
10785           Since it's created by itself, it should be unref-counted
10786           after gst_buffer_pool_config_set_allocator call. Afterwards,
10787           this allocator will be ref-counted again when assigning to priv->allocator.
10788           https://bugzilla.gnome.org/show_bug.cgi?id=781577
10789
10790 2017-04-21 19:07:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10791
10792         * gst/vaapi/gstvaapivideobufferpool.c:
10793           vaapivideobufferpool: create or reconfig allocator
10794           Sometimes a video decoder could set different buffer pool
10795           configurations, because their frame size changes. In this case we
10796           did not reconfigure the allocator.
10797           This patch enables this use case, creating a new allocator inside
10798           the VAAPI buffer pool if the caps changed, if it is not dmabuf-based.
10799           If so, it is just reconfigured, since it doesn't have a surface pool.
10800           https://bugzilla.gnome.org/show_bug.cgi?id=781577
10801
10802 2017-04-25 12:58:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10803
10804         * tests/elements/Makefile.am:
10805           test: elements: fix compilation flags
10806           This issue was spotten on bug #766704
10807           Original-patch-by: Hyunjun Ko <zzoon@igalia.com>
10808
10809 2017-04-25 16:23:08 +0900  Hyunjun Ko <zzoon@igalia.com>
10810
10811         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10812           libs: windows: wayland: fix leak if failure of sync
10813           Sometimes gst_vaapi_window_wayland_sync returns FALSE when poll returns EBUSY
10814           during destruction.
10815           In this case, if GstVaapiWindow is using vpp, leak of vpp surface happens.
10816           This surface is not attached to anything at this moment, so we should release
10817           it manually.
10818           https://bugzilla.gnome.org/show_bug.cgi?id=781695
10819
10820 2017-04-24 20:30:30 +0100  Tim-Philipp Müller <tim@centricular.com>
10821
10822         * common:
10823           Automatic update of common submodule
10824           From 60aeef6 to 48a5d85
10825
10826 2017-04-21 15:30:09 +0200  Hyunjun Ko <zzoon@igalia.com>
10827
10828         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10829           libs: window: wayland: mark frames as done
10830           When the frame listener callbacks 'done', the number of pending
10831           frames are decreased. Nonetheless, there might be occasions where
10832           the buffer listener callbacks 'release', without calling previously
10833           frame's 'done'. This leads to problem with
10834           gst_vaapi_window_wayland_sync() operation.
10835           This patch marks as done those frames which were callbacked, but if
10836           the buffer callbacks 'release' and associated frame is not marked
10837           as 'done' it is so, thus the number of pending frames keeps correct.
10838           https://bugzilla.gnome.org/show_bug.cgi?id=780442
10839           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10840
10841 2017-04-21 14:07:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10842
10843         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10844           libs: window: wayland: don't sync at destroy()
10845           Don't call gst_vaapi_window_wayland_sync() when destroying the
10846           wayland window instance, since it might lead to a lock at
10847           gst_poll_wait() when more than one instances of vaapisink are
10848           rendering in the same pipeline, this is because they share the
10849           same window.
10850           Since now all the frames are freed we don't need to freed the
10851           private last_frame, since its address is invalid now.
10852           https://bugzilla.gnome.org/show_bug.cgi?id=780442
10853           Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
10854
10855 2017-04-19 10:37:19 +0900  Hyunjun Ko <zzoon@igalia.com>
10856
10857         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10858           libs: window: wayland: null buffer at destroy()
10859           Fix leakage of the last wl buffer.
10860           VAAPI wayland sink needs to send a null buffer while destruction,
10861           it assures that all the wl buffers are released. Otherwise, the last
10862           buffer's callback might be not called, which leads to leak of
10863           GstVaapiDisplay.
10864           This was inspired by gstwaylandsink.
10865           https://bugzilla.gnome.org/show_bug.cgi?id=774029
10866           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10867
10868 2016-10-30 10:43:49 +0900  Jagyum Koo <koojagyum@gmail.com>
10869
10870         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10871           libs: window: wayland: rt event queue at destroy()
10872           The proxy object of wl_buffer for the last frame remains in the
10873           wl_map. Even though we call wl_buffer_destroy() in
10874           frame_release_callback(), the proxy object remains without being
10875           removed, since proxy object is deleted when wayland server sees the
10876           delete request and sends 'delete_id' event.
10877           We need to call roundtrip before destroying event_queue so that the
10878           proxy object is removed. Otherwise, it would be mess up as receiving
10879           'delete_id' event from previous play, when playing in the next
10880           va/wayland window with the same wl_display connection.
10881           https://bugzilla.gnome.org/show_bug.cgi?id=773689
10882           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10883
10884 2017-04-20 20:30:52 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10885
10886         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10887           libs: window: wayland: cancel read at poll message
10888           Always call wl_display_cancel_read() when an errno is set, but
10889           different to EAGAIN or EINTR.
10890           https://bugzilla.gnome.org/show_bug.cgi?id=780442
10891
10892 2017-04-21 18:05:48 +0900  Hyunjun Ko <zzoon@igalia.com>
10893
10894         * gst/vaapi/gstvaapidecodebin.c:
10895         * gst/vaapi/gstvaapidecodebin.h:
10896           vaapidecodebin: skips configuration once it's done
10897           Skips configuration of creation of vpp/capsfilter and link them once it's done.
10898           Otherwise, it always fails when it's trying to re-start playback.
10899           https://bugzilla.gnome.org/show_bug.cgi?id=781573
10900
10901 2017-04-20 18:44:41 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
10902
10903         * gst/vaapi/gstvaapipostprocutil.c:
10904           vaapipostproc: fixes for memory leaks
10905           The use of gst_vaapi_value_set_format() and gst_structure_*_value()
10906           requires to clear the used GValue to avoid a memory leak.
10907
10908 2016-12-08 18:51:54 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
10909
10910         * gst/vaapi/gstvaapipluginbase.c:
10911         * gst/vaapi/gstvaapipluginbase.h:
10912           plugins: enable direct rendering with envvar
10913           Direct rendering (use vaDeriveImage rather than vaPutImage) has better
10914           performance in some Intel platforms (Haswell, for example) but in others
10915           (Skylake) is the opposite.
10916           In order to have some control, the patch enables the direct rendering
10917           through the environment variable GST_VAAPI_ENABLE_DIRECT_RENDERING.
10918           Also it seems to generating some problems with gallium/radeon backend.
10919           See bug #779642.
10920           https://bugzilla.gnome.org/show_bug.cgi?id=775848
10921
10922 2017-04-08 02:05:21 +1000  Jan Schmidt <jan@centricular.com>
10923
10924         * gst/vaapi/gstvaapidecode.c:
10925           vaapidecode: Don't renegotiate on every flush
10926           If caps don't actually change, don't update the
10927           decoder and don't set the do_renego flag forcing
10928           downstream renegotiation
10929           https://bugzilla.gnome.org/show_bug.cgi?id=781142
10930
10931 2017-04-08 01:21:23 +1000  Jan Schmidt <jan@centricular.com>
10932
10933         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
10934           h264 decoder: Implement reset() for faster flush
10935           Implement a custom reset() function for faster flushes
10936           that just clear the reference pictures but don't reallocate
10937           the DPB or clear out SPS/PPS
10938           https://bugzilla.gnome.org/show_bug.cgi?id=781142
10939
10940 2017-04-05 17:24:20 +1000  Jan Schmidt <jan@centricular.com>
10941
10942         * gst-libs/gst/vaapi/gstvaapidecoder.c:
10943         * gst-libs/gst/vaapi/gstvaapidecoder.h:
10944         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
10945         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
10946         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
10947         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
10948         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
10949         * gst/vaapi/gstvaapidecode.c:
10950           Implement decoder reset on flush, rather than recreating
10951           Clear decoders out on a flush but keep the same instance,
10952           rather than completely recreating them. That avoids
10953           unecessarily freeing and recreating surface pools
10954           and contexts, which can be quite expensive
10955           https://bugzilla.gnome.org/show_bug.cgi?id=781142
10956
10957 2017-04-11 18:50:35 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
10958
10959         * gst-libs/gst/vaapi/gstvaapiwindow.c:
10960           libs: window: don't add an unused function
10961           The macro GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE only defines
10962           a function that is never used, thus when compiling we might see
10963           this warning (clang):
10964           gstvaapiwindow.c:147:1: warning: unused function 'gst_vaapi_window_class' [-Wunused-function]
10965           GST_VAAPI_OBJECT_DEFINE_CLASS_WITH_CODE (GstVaapiWindow,
10966           ^
10967           https://bugzilla.gnome.org/show_bug.cgi?id=759533
10968
10969 2017-04-11 18:22:00 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
10970
10971         * gst-libs/gst/vaapi/gstvaapiwindow.c:
10972         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
10973           libs: window: remove surface_format member
10974           Since we always convert to NV12, there is no need to keep a
10975           variable for that. Let us hard code it.
10976           https://bugzilla.gnome.org/show_bug.cgi?id=759533
10977
10978 2017-04-10 17:23:26 +0900  Hyunjun Ko <zzoon@igalia.com>
10979
10980         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
10981         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
10982         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
10983           libs: window: x11/wayland: use new api for conversion
10984           Since gst_vaapi_window_vpp_convert_internal is created,
10985           GstVaapiWindowX11/Wayland can use it for conversion.
10986           Note that once it chooses to use vpp, it's going to use vpp
10987           until the session is finished.
10988           https://bugzilla.gnome.org/show_bug.cgi?id=759533
10989
10990 2017-04-10 11:41:29 +0900  Hyunjun Ko <zzoon@igalia.com>
10991
10992         * gst-libs/gst/vaapi/gstvaapiwindow.c:
10993         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
10994           libs: window: add gst_vaapi_window_vpp_convert_internal()
10995           If a backend doesn't support specific format, we can use vpp for conversion
10996           and make it playing.
10997           This api is originated from GstVaapiWindowWayland and moved to GstVaapiWindow,
10998           so that GstVaapiWindowX11 could use it.
10999           https://bugzilla.gnome.org/show_bug.cgi?id=759533
11000
11001 2017-04-03 16:45:36 +0900  Hyunjun Ko <zzoon@igalia.com>
11002
11003         * gst-libs/gst/vaapi/gstvaapiwindow.c:
11004         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
11005         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
11006         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
11007         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
11008           libs: window: x11/wayland: chaining up to GstVaapiWindow
11009           Currently, GstVaapiWindowX11/Wayland are not descendants of GstVaapiWindow.
11010           This patch chains them up to GstVaapiWindow to handle common members in GstVaapiWindow.
11011           https://bugzilla.gnome.org/show_bug.cgi?id=759533
11012
11013 2017-04-05 11:19:15 -0700  Scott D Phillips <scott.d.phillips@intel.com>
11014
11015         * gst/vaapi/gstvaapipluginutil.c:
11016           plugins: Fix usage of GST_GL_HAVE_WINDOW_* defines
11017           When these definitions are false, they are undef in the
11018           preprocessor, not a defined value of 0. When they are unset the
11019           compile fails with:
11020           'GST_GL_HAVE_WINDOW_WAYLAND' undeclared (first use in this function)
11021           https://bugzilla.gnome.org/show_bug.cgi?id=780948
11022
11023 2017-04-10 23:51:06 +0100  Tim-Philipp Müller <tim@centricular.com>
11024
11025         * common:
11026           Automatic update of common submodule
11027           From 39ac2f5 to 60aeef6
11028
11029 === release 1.11.90 ===
11030
11031 2017-04-07 16:36:21 +0300  Sebastian Dröge <sebastian@centricular.com>
11032
11033         * ChangeLog:
11034         * NEWS:
11035         * configure.ac:
11036         * gstreamer-vaapi.doap:
11037         * meson.build:
11038           Release 1.11.90
11039
11040 2017-04-03 14:52:41 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11041
11042         * gst/vaapi/gstvaapiencode_h265.c:
11043           vaapiencode: h265: add main-10 in caps template
11044           This patch adds h265's main-10 profile in encoder src caps template.
11045           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11046
11047 2017-04-03 15:34:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11048
11049         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11050           libs: encoder: h265: chroma and luma with format
11051           If the profile is main-10 the bit_depth_luma_minus8, in the sequence
11052           parameter buffer, shall be the color format bit depth minus 8, 10-8
11053           which is 2. Also for bit_depth_chroma_minus8.
11054           This patch gets the negotiated sink caps format and queries its
11055           luma's depth and uses that value to fill the mentioned parameters.
11056           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11057
11058 2017-03-29 19:20:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11059
11060         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11061           libs: encoder: admit YUV420_10BPP as valid chroma
11062           Accepts as supported the GST_VAAPI_CHROMA_TYPE_YUV420_10BPP chroma
11063           type.
11064           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11065
11066 2017-03-29 19:16:50 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11067
11068         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11069           libs: encoder: h265: ensures profile given format
11070           Set the VA profile as GST_VAAPI_PROFILE_H265_MAIN10 if the
11071           configured color format is P010_10LE.
11072           Otherwise, keep GST_VAAPI_PROFILE_H265_MAIN
11073           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11074
11075 2017-04-06 17:21:21 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11076
11077         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11078           libs: encode: merge all possible surface formats
11079           When the function gst_vaapi_encoder_get_surface_formats() was added
11080           it was under the assumption that any VA profile of the specific codec
11081           supported the same format colors. But it is not, for example the
11082           profiles that support 10bit formats.
11083           In other words, different VA profiles of a same codec may support
11084           different color formats in their upload surfaces.
11085           In order to expose all the possible color formats, if no profile is
11086           specified via source caps, or if the encoder doesn't have yet a
11087           context, all the possible VA profiles for the specific codec are
11088           iterated and their color formats are merged.
11089           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11090
11091 2017-04-06 16:28:12 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11092
11093         * gst/vaapi/gstvaapiencode.c:
11094         * gst/vaapi/gstvaapiencode.h:
11095         * gst/vaapi/gstvaapiencode_h264.c:
11096         * gst/vaapi/gstvaapiencode_h265.c:
11097           vaapiencode: add get_profile() vmethod
11098           This new virtual method, get_profile(), if implemented by specific
11099           encoders, will return the VA profile potentially determined by the
11100           source caps.
11101           Also it is implemented by h264 and h265 encoders, which are the main
11102           users of this vmethod.
11103           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11104
11105 2017-04-06 12:49:24 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11106
11107         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11108         * gst-libs/gst/vaapi/gstvaapiencoder.h:
11109         * gst/vaapi/gstvaapiencode.c:
11110           libs: encoder: pass profile to get_surface_formats()
11111           In order to get the supported surface formats within a specific
11112           profile this patch adds the GstVaapiProfile as property to
11113           gst_vaapi_encoder_get_surface_formats().
11114           Currently the extracted formats are only those related with the
11115           default profile of the element's codec.
11116           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11117
11118 2017-04-06 12:28:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11119
11120         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11121           libs: encoder: dummy context for get_surface_formats()
11122           Instead of creating (if it doesn't exist, yet) the encoder's context
11123           the method gst_vaapi_encoder_get_surface_formats() now it creates
11124           dummy contexts, unless the encoder has it already created.
11125           The purpose of this is to avoid setting a encoder's context with a
11126           wrong profile.
11127           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11128
11129 2017-04-04 14:39:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11130
11131         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11132           libs: encoder: refactor init_context_info()
11133           In order to generate vaapi contexts iterative, the function
11134           init_context_info() is refactored to pass, as parameters the
11135           GstVaapiContextInfo and the GstVaapiProfile.
11136           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11137
11138 2017-04-04 14:21:43 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11139
11140         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11141         * gst-libs/gst/vaapi/gstvaapiutils.c:
11142         * gst-libs/gst/vaapi/gstvaapiutils.h:
11143           libs: encoder: initialize chroma_type
11144           Instead of initialize the chroma_type with a undefined value, which
11145           will be converted to GST_VAAPI_CHROMA_TYPE_YUV420 by GstVaapiContext,
11146           this patch queries the VA config, given the received
11147           GstVaapiContextInfo's parameters, and gets the first response.
11148           In order to get the GstVaapiChromaType value, also it was needed to
11149           add a new utility function: to_GstVaapiChromaType(), which, given a
11150           VA_RT_FORMAT_* will return the associated GstVaapiChromaType.
11151           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11152
11153 2017-03-31 11:21:21 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11154
11155         * gst/vaapi/gstvaapiencode.c:
11156           vaapiencode: enhance logs of negotiated caps
11157           https://bugzilla.gnome.org/show_bug.cgi?id=771291
11158
11159 2017-04-05 11:15:41 -0700  Scott D Phillips <scott.d.phillips@intel.com>
11160
11161         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
11162           libs: encoder: vp9: Fix initialization of ref_list
11163           gcc 7.0.1 gives a memset-elt-size warning in gst_vaapi_encoder_vp9_init:
11164           'memset' used with length equal to number of elements without
11165           multiplication by element size [-Werror=memset-elt-size]
11166           https://bugzilla.gnome.org/show_bug.cgi?id=780947
11167
11168 2017-03-31 14:12:43 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
11169
11170         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
11171           encoder: h264: Fix Backward ReferencePicture flag setting
11172           This is a regression introduced by e829b62 which
11173           override the reference flags and caused issues with
11174           latest intel-vaapi-driver.
11175
11176 2017-03-29 13:22:47 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11177
11178         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11179           libs: encoder: h265: fix code style
11180           Trivial patch to remove a double ';' as end of instruction.
11181
11182 2017-03-28 10:53:20 -0700  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
11183
11184         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
11185           encoder: h264: Fix B frame encoding artifacts
11186           The current implementation is updating the POC values only
11187           in Slice parameter Buffer.But we are not filling the
11188           picture order count and reference flags in VAPictureH264
11189           while populating VA Picture/Slice structures.The latest
11190           intel-vaapi-driver is directly accessing the above fields
11191           from VAPicutreH264 provided as RefPicLists, which resulted
11192           some wrong maths and prediction errors in driver.
11193           https://bugzilla.gnome.org/show_bug.cgi?id=780620
11194
11195 2017-03-21 16:13:56 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11196
11197         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11198           libs: encoder: h265: remove unused macro definition
11199           Since the h265 encoder doesn't use GValueArray, there is no need to
11200           disable the Glib deprecation warnings, thus removing the macro
11201           definition.
11202
11203 2017-03-20 16:45:01 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
11204
11205         * gst/vaapi/gstvaapidecode.c:
11206         * gst/vaapi/gstvaapiencode.c:
11207         * gst/vaapi/gstvaapipostproc.c:
11208         * gst/vaapi/gstvaapisink.c:
11209           plugins: when debug disabled, default category is NULL
11210           As in gstreamer-vaapi a common base class is used, the specific
11211           default category is passed to the base-plugin initializator, thus
11212           the log messages are categorized with the used plugin.
11213           Nonetheless, when the gst-debug is disabled in compilation time,
11214           it is needed to pass NULL to the base-plugin initializator. This
11215           patch does that.
11216           https://bugzilla.gnome.org/show_bug.cgi?id=780302
11217
11218 2017-03-17 17:14:01 +0900  Hyunjun Ko <zzoon@igalia.com>
11219
11220         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
11221         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11222         * gst-libs/gst/vaapi/gstvaapiutils_h26x.c:
11223         * gst-libs/gst/vaapi/gstvaapiutils_h26x_priv.h:
11224           libs: h26x: adds gst_vaapi_utils_h26x_write_nal_unit()
11225           Implements gst_vaapi_utils_h26x_write_nal_unit(), which writes NAL
11226           unit length and data to a bitwriter.
11227           Note that this helper function applies EPB (Emulation Prevention
11228           Bytes), since otherwise produced codec_data might be broken when
11229           decoder/parser considering EPB, starts parsing.
11230           See sections 7.3 and 7.4 of the H264 and H264 specifications, which
11231           describes the emulation_prevention_three_byte.
11232           https://bugzilla.gnome.org/show_bug.cgi?id=778750
11233           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11234
11235 2017-03-17 16:49:41 +0900  Hyunjun Ko <zzoon@igalia.com>
11236
11237         * gst-libs/gst/vaapi/Makefile.am:
11238         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
11239         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11240         * gst-libs/gst/vaapi/gstvaapiutils_h26x.c:
11241         * gst-libs/gst/vaapi/gstvaapiutils_h26x_priv.h:
11242         * gst-libs/gst/vaapi/meson.build:
11243           libs: utils: h26x: create vaapiutils_h26x
11244           Since there is duplicated code in h264/265 encoder, we could
11245           refactor it to avoid duplicated code.
11246           https://bugzilla.gnome.org/show_bug.cgi?id=778750
11247           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11248
11249 2017-03-17 16:32:36 +0900  Hyunjun Ko <zzoon@igalia.com>
11250
11251         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
11252         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11253           libs: encoder: h264/5: fix wrong return value
11254           https://bugzilla.gnome.org/show_bug.cgi?id=778750
11255
11256 2017-03-13 17:29:59 +0900  Hyunjun Ko <zzoon@igalia.com>
11257
11258         * gst/vaapi/gstvaapiencode_h264.c:
11259         * gst/vaapi/gstvaapiencode_h265.c:
11260           docs: h264/h265: put parser to the example pipeline
11261           https://bugzilla.gnome.org/show_bug.cgi?id=778749
11262
11263 2017-03-13 16:20:59 +0900  Hyunjun Ko <zzoon@igalia.com>
11264
11265         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11266           libs: encoder: h265: fix reserved length of bits
11267           Fix reserved length of bits for bit_depth_luma_minus8 and bit_depth_chroma_minus8
11268           https://bugzilla.gnome.org/show_bug.cgi?id=778749
11269
11270 2017-03-12 18:59:42 +0100  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11271
11272         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
11273         * tests/test-display.c:
11274           O_CLOEXEC needs _GNU_SOURCE defined
11275           From man open(2):
11276           The O_CLOEXEC, O_DIRECTORY, and O_NOFOLLOW flags are not specified
11277           in POSIX.1-2001, but are specified in POSIX.1-2008.  Since glibc
11278           2.12, one can obtain their definitions by defining either
11279           _POSIX_C_SOURCE with a value greater than or equal to 200809L or
11280           _XOPEN_SOURCE with a value greater than or equal to 700.  In glibc
11281           2.11 and earlier, one obtains the definitions by defining
11282           _GNU_SOURCE.
11283           And indeed, with the uClibc C library, O_CLOEXEC is not exposed if
11284           _GNU_SOURCE is not defined. Therefore, this commit fixes the build of
11285           gstreamer-vaapi with the uClibc C library.
11286           Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11287           https://bugzilla.gnome.org/show_bug.cgi?id=779953
11288
11289 2017-03-14 16:07:08 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11290
11291         * README:
11292           README: fix "Sources" section
11293           Update the URL where the release source tarballs can be downloaded.
11294
11295 2017-03-12 21:39:53 +0100  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11296
11297         * README:
11298           README: fix "Reporting bugs" section
11299           The "Reporting bugs" section gives
11300           https://bugzilla.gnome.org/enter_bug.cgi?product=gstreamer-vaapi as the
11301           link to report a bug, but this link says "Sorry, entering a bug into the
11302           product gstreamer-vaapi has been disabled.".
11303           This commit fixes the URL to point to the proper location, and also
11304           removes the following paragraph that is no longer correct.
11305           Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11306           https://bugzilla.gnome.org/show_bug.cgi?id=779954
11307
11308 2017-03-03 19:55:00 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11309
11310         * gst/vaapi/gstvaapipluginutil.c:
11311           plugins: retry to create the VA display
11312           Particularly in GNOME Wayland, the negotiated or created GL context
11313           defines a GLX environment, but VAAPI fails to create a GLX VA
11314           display because there is no a DRI2 connection.
11315           This patch retries to create the VA display if VA cannot create one
11316           with the GL context parameters. Now using the old list of display
11317           types.
11318           This should also work in the case of systems with two GPU, when the
11319           non-VAAPI has the graphics environment, and the VAAPI-enabled one
11320           shall work headless.
11321           https://bugzilla.gnome.org/show_bug.cgi?id=772838
11322
11323 2016-10-19 15:33:41 +0100  Julien Isorce <j.isorce@samsung.com>
11324
11325         * gst/vaapi/gstvaapipostproc.c:
11326           vaapipostproc: texture upload if driver supports GL
11327           Removes GstVideoGLTextureUploadMeta caps feature if the driver
11328           doesn't support opengl.
11329           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11330           https://bugzilla.gnome.org/show_bug.cgi?id=772838
11331
11332 2016-10-25 17:48:47 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11333
11334         * gst/vaapi/gstvaapidecode.c:
11335           vaapidecode: texture upload if driver supports GL
11336           When the allowed source pad caps are generated, the GLTextureUpload caps are
11337           only inserted if the driver support OpenGL.
11338           https://bugzilla.gnome.org/show_bug.cgi?id=772838
11339
11340 2017-02-22 15:02:01 -0800  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
11341
11342         * configure.ac:
11343           configure: Add missing compiler flags
11344           The AC_CHECK_HEADERS macro was failing to locate some headers, in
11345           particular the va_enc_* headers due to missing compiler flags.
11346           https://bugzilla.gnome.org/show_bug.cgi?id=779101
11347           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11348
11349 2017-03-01 14:48:46 +0900  Hyunjun Ko <zzoon@igalia.com>
11350
11351         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
11352           libs: window: wayland: handle more VAStatus to use vpp
11353           Since the commit landed https://github.com/01org/intel-vaapi-driver/pull/55,
11354           we should consider more returned VAStatus to use vpp.
11355           https://bugzilla.gnome.org/show_bug.cgi?id=779400
11356
11357 2017-02-23 15:16:06 +0900  Hyunjun Ko <zzoon@igalia.com>
11358
11359         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11360           libs: encoder: ensure profile when context initialization
11361           We can't be sure that encoder's profile is assgined already or not
11362           at context initialization.
11363           https://bugzilla.gnome.org/show_bug.cgi?id=779120
11364
11365 2017-02-23 15:13:59 +0900  Hyunjun Ko <zzoon@igalia.com>
11366
11367         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11368           libs: encoder: set rate control info only when query succeed
11369           Currently, it set rate control information even when query fails.
11370           In addition, it doesn't update any more since the flag
11371           got_rate_control_mask is set to TRUE.
11372           https://bugzilla.gnome.org/show_bug.cgi?id=779120
11373
11374 2017-02-24 16:00:23 +0200  Sebastian Dröge <sebastian@centricular.com>
11375
11376         * meson.build:
11377           meson: Update version
11378
11379 2017-02-24 15:38:22 +0200  Sebastian Dröge <sebastian@centricular.com>
11380
11381         * configure.ac:
11382           Back to development
11383
11384 === release 1.11.2 ===
11385
11386 2017-02-24 15:10:21 +0200  Sebastian Dröge <sebastian@centricular.com>
11387
11388         * ChangeLog:
11389         * NEWS:
11390         * configure.ac:
11391         * gstreamer-vaapi.doap:
11392           Release 1.11.2
11393
11394 2017-02-16 18:37:59 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11395
11396         * gst/vaapi/gstvaapiencode.c:
11397           vaapiencode: merge tags for downstream's info
11398           Add encoder and codec name and the bitrate into the output for
11399           informational purposes. Some muxers or application use it as
11400           media metadata.
11401           https://bugzilla.gnome.org/show_bug.cgi?id=778781
11402
11403 2017-02-17 01:27:52 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11404
11405         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11406           libs: encoder: caps can change at any time
11407           The encoder should be able to change its caps even it is already
11408           processing a stream.
11409           This is suppose to happen after a flush so the codedbuf_queue should
11410           be empty.
11411           https://bugzilla.gnome.org/show_bug.cgi?id=775490
11412
11413 2017-02-17 01:19:00 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11414
11415         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
11416           libs: encoder: h265: bail if nal unit type fails
11417           Bail out if the NAL unit type is not recognized.
11418           https://bugzilla.gnome.org/show_bug.cgi?id=778782
11419
11420 2017-02-16 18:11:50 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11421
11422         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
11423         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
11424           libs: decoder: h264,h265 avoid uninitialized variable
11425           Configuring GCC to verify possible usage of uninitialized variables,
11426           shows that found_index might be used without previous assignation.
11427           This patch assigns a initial value to found_index, also avoid a
11428           branching when returning the result value.
11429           https://bugzilla.gnome.org/show_bug.cgi?id=778782
11430
11431 2017-02-13 16:39:41 -0800  Scott D Phillips <scott.d.phillips@intel.com>
11432
11433         * configure.ac:
11434         * gst-libs/gst/vaapi/Makefile.am:
11435         * gst/vaapi/gstvaapidecode.c:
11436         * gst/vaapi/gstvaapidecodebin.c:
11437           build: rename USE_HEVC_DECODER to USE_H265_DECODER
11438           Rename to be consistent with H.264 and also H.265 encoder. The
11439           meson build assumed this was already consistently named, and so
11440           previously was not able to actually build the H.265 decoder.
11441           https://bugzilla.gnome.org/show_bug.cgi?id=778576
11442
11443 2017-02-15 19:14:59 +0000  Tim-Philipp Müller <tim@centricular.com>
11444
11445         * meson.build:
11446           meson: gstreamer-codecparsers is a required dep
11447           Just like in configure.ac.
11448
11449 2017-02-15 00:26:21 +0000  Tim-Philipp Müller <tim@centricular.com>
11450
11451         * Makefile.am:
11452           meson: dist meson build files
11453           Ship meson build files in tarballs, so people who use tarballs
11454           in their builds can start playing with meson already.
11455
11456 2017-02-10 09:51:38 +0900  Hyunjun Ko <zzoon@igalia.com>
11457
11458         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
11459           libs: encoder: vp8: add CBR encoding mode
11460           This patch enables the Constant BitRate encoding mode in VP8 encoder.
11461           Basically it adds the configuration parameters required by libva to
11462           CBR enconding.
11463           Original-Patch-By: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11464           https://bugzilla.gnome.org/show_bug.cgi?id=749950
11465
11466 2017-02-09 12:39:19 +0900  Hyunjun Ko <zzoon@igalia.com>
11467
11468         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
11469           libs: encoder: vp8: fix bitrate calculation
11470           Base encoder's unit of bitrate is in Kbps. We should honor it so
11471           we use the value of bitrate in VA, in which is expressed in bps.
11472           https://bugzilla.gnome.org/show_bug.cgi?id=749950
11473
11474 2017-02-09 12:49:44 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11475
11476         * gst/vaapi/gstvaapipluginbase.c:
11477           plugins: fix build when gcc
11478           In commit a8e482f9 we added a function without parameters, but gcc
11479           doesn't like that.
11480
11481 2017-02-06 15:46:20 -0800  Scott D Phillips <scott.d.phillips@intel.com>
11482
11483         * gst-libs/gst/base/meson.build:
11484         * gst-libs/gst/meson.build:
11485         * gst-libs/gst/vaapi/meson.build:
11486         * gst-libs/meson.build:
11487         * gst/meson.build:
11488         * gst/vaapi/meson.build:
11489         * meson.build:
11490         * meson_options.txt:
11491           vaapi: add meson build
11492           https://bugzilla.gnome.org/show_bug.cgi?id=778250
11493
11494 2017-02-08 10:17:40 -0800  Scott D Phillips <scott.d.phillips@intel.com>
11495
11496         * configure.ac:
11497         * gst-libs/gst/vaapi/Makefile.am:
11498         * gst-libs/gst/vaapi/gstvaapidisplay.c:
11499         * gst-libs/gst/vaapi/gstvaapiversion.h.in:
11500           make: remove gstvaapiversion.h generation
11501           https://bugzilla.gnome.org/show_bug.cgi?id=778250
11502
11503 2016-10-19 15:47:41 +0100  Julien Isorce <j.isorce@samsung.com>
11504
11505         * gst/vaapi/gstvaapipluginbase.c:
11506           plugins: use linear storage if not the same device
11507           When dmabuf is negotiated downstream and decoding and rendering are
11508           not done on the same device, the layout has to be linear in order for
11509           the memory to be shared accross devices, since each device has its
11510           own way to do tiling.
11511           Right now this code is rather just a to-do comment, since we are not
11512           fetching the device ids.
11513           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11514
11515 2017-02-08 14:17:05 +0900  Hyunjun Ko <zzoon@igalia.com>
11516
11517         * gst-libs/gst/vaapi/gstvaapiutils.c:
11518           libs: utils: add HEVC profiles representation
11519           https://bugzilla.gnome.org/show_bug.cgi?id=778318
11520
11521 2017-02-07 16:17:39 +0900  Hyunjun Ko <zzoon@igalia.com>
11522
11523         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
11524           libs: decoder: h264: reduce frame number of gaps
11525           Reduce frame num gaps so that we don't have to create unnecessary
11526           dummy pictures, just throw them away.
11527           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11528           https://bugzilla.gnome.org/show_bug.cgi?id=777506
11529
11530 2016-10-16 01:04:09 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11531
11532         * gst/vaapi/gstvaapidecode.c:
11533           vaapidecode: don't GLTextureUpload if dmabuf
11534           Do not add the meta:GstVideoGLTextureUploadMeta feature if the render
11535           element can handle dmabuf-based buffers, avoiding its negotiation.
11536
11537 2016-10-19 16:21:21 +0100  Julien Isorce <j.isorce@samsung.com>
11538
11539         * gst/vaapi/gstvaapidecode.c:
11540           vaapidecode: make pool to export decoder's surface
11541           Use new -base API gst_video_decoder_allocate_output_frame_full() to
11542           pass the current proxy/surface to the pool.
11543           The pool will will export thins given surface instead of exporting a
11544           brand new surface that will never be filled in with meaningfull data.
11545           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11546
11547 2017-02-03 17:06:29 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11548
11549         * gst/vaapi/gstvaapipluginbase.c:
11550           plugins: decoder can negotiate dmabuf downstream
11551
11552 2016-10-19 16:07:07 +0100  Julien Isorce <j.isorce@samsung.com>
11553
11554         * gst/vaapi/gstvaapivideobufferpool.c:
11555           vaapivideobufferpool: override acquire_buffer()
11556           Overriding the vmethod acquire_buffer() it is possible to attach the
11557           right GstMemory to the current acquired buffer.
11558           As a matter of fact, this acquired buffer may contain any instantiated
11559           GstFdmemory, since this buffer have been popped out from the buffer
11560           pool, which is a FIFO queue. So there is no garantee that this buffer
11561           matches with the current processed surface. Evenmore, the VA driver
11562           might not use a FIFO queue. Therefore, it is no way to guess on the
11563           ordering.
11564           In short, acquire_buffer on the VA driver and on the buffer pool return
11565           none matching data, we have to manually attach the right GstFdMemory to
11566           the acquired GstBuffer. The right GstMemory is the one associated with
11567           the current surface.
11568           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11569
11570 2016-10-19 16:05:04 +0100  Julien Isorce <j.isorce@samsung.com>
11571
11572         * gst/vaapi/gstvaapivideobufferpool.c:
11573         * gst/vaapi/gstvaapivideomemory.c:
11574           vaapivideomemory: export surface if it is provided
11575           gst_vaapi_dmabuf_memory_new() always exports a surface. Previously, it
11576           had to create that surface. Now it can also export an already provided
11577           surface. It is useful to export decoder's surfaces (from VA context).
11578           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11579
11580 2016-10-19 15:55:27 +0100  Julien Isorce <j.isorce@samsung.com>
11581
11582         * gst/vaapi/gstvaapivideobufferpool.h:
11583           vaapivideobufferpool: add GstVaapiVideoBufferPoolAcquireParams
11584           Useful to let the pool know the current surface proxy when calling
11585           gst_buffer_pool_alloc_buffer() / gst_buffer_pool_acquire_buffer()
11586           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11587
11588 2016-10-19 15:09:34 +0100  Julien Isorce <j.isorce@samsung.com>
11589
11590         * gst-libs/gst/vaapi/gstvaapisurface.c:
11591         * gst-libs/gst/vaapi/gstvaapisurface.h:
11592           libs: surface: add gst_vaapi_surface_{set,peek}_buffer_proxy()
11593           These functions are useful when a dmabuf-based memory is instantiated in
11594           order to relate the generated buffer @proxy with the processed @surface.
11595           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11596
11597 2016-10-19 15:07:31 +0100  Julien Isorce <j.isorce@samsung.com>
11598
11599         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
11600         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
11601         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
11602           libs: bufferproxy: gst_vaapi_buffer_proxy_{set,peek}_mem()
11603           This patch adds a GstMemory as a variable member of the buffer proxy,
11604           because we will need to associate the buffer proxy with the memory
11605           which exposes it. Later, we will know which memory, in the video buffer
11606           pool, is attached to the processed surface.
11607           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11608
11609 2016-10-19 15:33:41 +0100  Julien Isorce <j.isorce@samsung.com>
11610
11611         * gst/vaapi/gstvaapipostproc.c:
11612           vaapipostproc: don't GLTextureUpload if dmabuf
11613           Do not add the meta:GstVideoGLTextureUploadMeta feature if the render
11614           element can handle dmabuf-based buffers, avoiding its negotiation.
11615           Similar as "vaapidecode: do not add meta:GstVideoGLTextureUploadMeta
11616           feature if can dmabuf"
11617           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11618
11619 2016-12-16 14:12:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11620
11621         * gst/vaapi/gstvaapipluginbase.c:
11622           plugins: enable DMAbuf allocator to downstream
11623           If the negotiated caps are raw caps and downstream supports the
11624           EGL_EXT_image_dma_buf_import extension, then the created allocator
11625           is the DMAbuf, configured to downstream.
11626           At this moment, the only element which can push dmabuf-based buffers
11627           to downstream, is vaapipostproc.
11628
11629 2016-06-02 22:13:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11630
11631         * gst/vaapi/gstvaapipluginbase.c:
11632         * gst/vaapi/gstvaapipluginbase.h:
11633           plugins: check if negotiate dmabuf with downstream
11634           In order to enable, in the future, dmabuf-based buffers, the vaapi base
11635           plugin needs to check if downstream can import dmabuf buffers.
11636           This patch checks if downstream can handle dmabuf, by introspecting the
11637           shared GL context. If the GL context is EGL/GLES2 and have the extension
11638           EGL_EXT_image_dma_buf_import, then dmabuf can be negotiated.
11639           Original-patch-by: Julien Isorce <j.isorce@samsung.com>
11640
11641 2016-10-19 15:37:04 +0100  Julien Isorce <j.isorce@samsung.com>
11642
11643         * gst/vaapi/gstvaapivideomemory.c:
11644           vaapivideomemory: release proxy's data if downstream
11645           The surface created for downstream is going to be filled by VAAPI
11646           elements. So, the driver needs write access on that surface.
11647           This patch releases the derived image held by the proxy, thus the
11648           surface is unmarked as busy.
11649           This is how it has to be done as discussed on libva mailing list.
11650           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11651
11652 2016-10-19 15:01:04 +0100  Julien Isorce <j.isorce@samsung.com>
11653
11654         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
11655         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
11656           libs: bufferproxy: add gst_vaapi_buffer_proxy_release_data()
11657           Adds an API to request the user's data release in the buffer proxy.
11658           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11659
11660 2016-10-19 15:27:03 +0100  Julien Isorce <j.isorce@samsung.com>
11661
11662         * gst/vaapi/gstvaapipluginbase.c:
11663         * gst/vaapi/gstvaapivideomemory.c:
11664         * gst/vaapi/gstvaapivideomemory.h:
11665           vaapivideomemory: add direction to dmabuf allocator
11666           Add GstPadDirection param to gst_vaapi_dmabuf_allocator_new(), thus
11667           we later could do different thing when the allocated memory is for
11668           upstream or dowstream, as required by VA-API.
11669           https://bugzilla.gnome.org/show_bug.cgi?id=755072
11670
11671 2016-12-15 15:59:30 +0900  Hyunjun Ko <zzoon@igalia.com>
11672
11673         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
11674           libs: utils: return NULL if failed to get surface formats
11675           Thus, when generating the allowed caps, the element will throw a
11676           warning and it will use its caps template.
11677           This behavior might be a bug in the VA driver.
11678           https://bugzilla.gnome.org/show_bug.cgi?id=775490
11679
11680 2015-11-26 18:21:08 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11681
11682         * gst-libs/gst/vaapi/gstvaapidisplay.c:
11683           Revert "vaapidisplay: mark X11 display as compatible with EGL"
11684           This reverts commit 200b1baabc066f8a4102f82f539655d588200ec9.
11685
11686 2017-02-01 14:32:45 +0900  Hyunjun Ko <zzoon@igalia.com>
11687
11688         * gst/vaapi/gstvaapipostproc.c:
11689           vaapipostproc: set GST_VAAPI_POSTPROC_FLAG_SIZE according to src caps
11690           A value of width/height property should be set to out caps,
11691           if negotiation had been going properly.
11692           So we can use srcpad_info when making decision of scaling.
11693           https://bugzilla.gnome.org/show_bug.cgi?id=778010
11694
11695 2017-01-27 12:10:54 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11696
11697         * gst/vaapi/gstvaapidecode.c:
11698         * gst/vaapi/gstvaapiencode.c:
11699         * gst/vaapi/gstvaapipluginutil.c:
11700         * gst/vaapi/gstvaapipluginutil.h:
11701         * gst/vaapi/gstvaapipostproc.c:
11702         * gst/vaapi/gstvaapisink.c:
11703           plugins: handle GL params through context query
11704           If the element instantiated the GL display and context, they should
11705           handle them too through the context query.
11706           https://bugzilla.gnome.org/show_bug.cgi?id=777409
11707
11708 2017-01-26 12:02:56 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11709
11710         * gst/vaapi/gstvaapipluginbase.c:
11711         * gst/vaapi/gstvaapipluginbase.h:
11712         * gst/vaapi/gstvaapipluginutil.c:
11713           plugins: create a GL context on certain conditions
11714           If a GstVaapiDisplay is not found in the GStreamer context sharing,
11715           then VAAPI elements look for a local GstGLContext in gst context
11716           sharing mechanism ('gst.gl.local.context').
11717           If this GstGLContext not found either then, only the VAAPI decoders
11718           and the VAAPI post-processor, will try to instantiate a new
11719           GstGLContext.
11720           If a valid GstGLContext is received, then a new GstVaapiDisplay will
11721           be instantiated with the platform, API and windowing specified by the
11722           instantiated GstGLContext.
11723           Original-Patch-By: Matt Fischer <matt.fischer@garmin.com>
11724           https://bugzilla.gnome.org/show_bug.cgi?id=777409
11725
11726 2016-08-02 15:48:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11727
11728         * gst/vaapi/gstvaapivideocontext.c:
11729           vaapivideocontext: context type can be rejected
11730           Instead of calling g_return_val_if_fail() to check the context type, we
11731           should use a normal conditional, since it is possible that other context types
11732           can arrive and try to be assigned. Otherwise a critical log message is
11733           printed.
11734           This happens when we use playbin3 with vaapipostproc as video-filter.
11735           https://bugzilla.gnome.org/show_bug.cgi?id=777409
11736
11737 2017-01-20 19:57:52 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11738
11739         * gst/vaapi/gstvaapipostprocutil.c:
11740           vaapipostproc: use sink caps par if not requested
11741           Use the sink caps pixel-aspect-ratio to fixate the src caps, if it
11742           is not already set.
11743           https://bugzilla.gnome.org/show_bug.cgi?id=777395
11744
11745 2017-01-20 19:00:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11746
11747         * gst/vaapi/gstvaapipostproc.c:
11748         * gst/vaapi/gstvaapipostprocutil.c:
11749           vaapipostproc: set interlace mode
11750           if the vaapipostproc is configured to not do deinterlacing, the
11751           interlace-mode in the src caps should be the same as the input caps.
11752           https://bugzilla.gnome.org/show_bug.cgi?id=777395
11753
11754 2017-01-20 16:10:32 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11755
11756         * gst/vaapi/gstvaapisink.c:
11757           vaapisink: fix gcc compiler warning
11758           warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
11759
11760 2017-01-12 19:54:41 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11761
11762         * gst/vaapi/gstvaapisink.c:
11763           vaapisink: don't use member variable outside lock
11764           Thus a race condition segfault is avoided.
11765           Original-patch-by: Matt Staples <staples255@gmail.com>
11766           https://bugzilla.gnome.org/show_bug.cgi?id=777146
11767
11768 2017-01-18 17:20:21 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11769
11770         * gst/vaapi/gstvaapipluginbase.c:
11771         * gst/vaapi/gstvaapipostproc.c:
11772           plugins: avoid log flood when activating pool
11773           Every time a new buffer is allocated, the pool is activated. This
11774           doesn't impact in performance since gst_buffer_pool_set_active()
11775           checks the current state of the pool. Nonetheless it logs out a
11776           message if the state is the same, and it floods the logging subsystem
11777           if it is enabled.
11778           To avoid this log flooding first the pool state is checked before
11779           changing it.
11780
11781 2017-01-13 21:26:15 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11782
11783         * gst-libs/gst/vaapi/gstvaapidecoder.c:
11784         * gst-libs/gst/vaapi/gstvaapidecoder.h:
11785         * gst/vaapi/gstvaapidecode.c:
11786         * gst/vaapi/gstvaapidecode.h:
11787           vaapidecode: update internal decoder sink caps
11788           When a new sink caps arrive the internal decoder state is updated
11789           and, if it is, request a downstream renegotiation.
11790           Previously, when new caps arrived the whole decoder where destroyed
11791           and recreated. Now, if the caps are compatible or has the same codec,
11792           the internal decoder is kept, but a downstream renegotiation is
11793           requested.
11794           https://bugzilla.gnome.org/show_bug.cgi?id=776979
11795
11796 2017-01-12 16:33:13 +0200  Sebastian Dröge <sebastian@centricular.com>
11797
11798         * configure.ac:
11799           Back to development
11800
11801 === release 1.11.1 ===
11802
11803 2017-01-12 16:27:12 +0200  Sebastian Dröge <sebastian@centricular.com>
11804
11805         * ChangeLog:
11806         * NEWS:
11807         * configure.ac:
11808         * gstreamer-vaapi.doap:
11809           Release 1.11.1
11810
11811 2017-01-12 12:49:55 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11812
11813         * gst-libs/gst/vaapi/gstvaapiutils.c:
11814           vaapi: bump ifdef to API 0.40.0 for log redirect
11815           vaSetInfoCallback() is not released yet. It is going to appear in
11816           VA-API 0.40.0
11817
11818 2017-01-12 13:45:29 +0200  Sebastian Dröge <sebastian@centricular.com>
11819
11820         * gst-libs/gst/vaapi/gstvaapiutils.c:
11821           vaapiutils: Fix compilation with latest and previous libva releases
11822           vaSetInfoCallback() was defined after 0.39.4 / 1.7.3, so check for
11823           0.39.5 instead.
11824
11825 2017-01-11 16:04:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11826
11827         * gst-libs/gst/vaapi/gstvaapidisplay.c:
11828         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
11829         * gst-libs/gst/vaapi/gstvaapiutils.c:
11830         * gst-libs/gst/vaapi/gstvaapiutils.h:
11831           libs: display: redirect logging at initialize
11832           Redirect libva's logs to GStreamer logging mechanism. This is
11833           particularly useful when VA is initialized, because it always logs
11834           out the drivers details.
11835           In order to achieve this a new helper function was added as a wrapper
11836           for the vaInitialize() function.
11837           https://bugzilla.gnome.org/show_bug.cgi?id=777115
11838
11839 2017-01-10 15:15:31 +0900  Hyunjun Ko <zzoon@igalia.com>
11840
11841         * gst/vaapi/gstvaapipluginbase.c:
11842           plugins: provide at least two buffers in sink pool
11843           Adds two buffers as the default value of minimum buffer.
11844           This would be used when creating and proposing vaapi bufferpool for
11845           sink pad, hence the upstream element will keep, at least, these two
11846           buffers.
11847           https://bugzilla.gnome.org/show_bug.cgi?id=775203
11848           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11849
11850 2017-01-10 13:49:27 +0900  Hyunjun Ko <zzoon@igalia.com>
11851
11852         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
11853           libs: decoder: h264: don't update cloned attributes
11854           If the frame is a cloned picture, its PTS comes from its parent
11855           picture.  In addition, the base decoder doesn't set a valid PTS to
11856           the frame corresponding to the cloned picture.
11857           https://bugzilla.gnome.org/show_bug.cgi?id=774254
11858
11859 2017-01-09 19:25:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11860
11861         * gst/vaapi/gstvaapivideomemory.c:
11862           vaapivideomemory: check for display
11863           This patch fixes the check of display, rather than check for the
11864           meta, which it is known it exists.
11865
11866 2017-01-09 16:23:56 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11867
11868         * gst/vaapi/gstvaapivideomemory.c:
11869         * gst/vaapi/gstvaapivideomemory.h:
11870           vaapivideomemory: rename dmabuf allocator parameters
11871           Rename the parameters 'vip' and 'flags' to 'alloc_info' and
11872           'surface_alloc_flags' respectively. The purpose of this change is
11873           to auto-document those parameters.
11874           Also, aligned to this patch, the local 'alloc_info' variable was
11875           renamed as 'surface_info', because it stores the possible surface's
11876           video info, not the allocate one.
11877
11878 2017-01-09 16:18:32 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11879
11880         * gst/vaapi/gstvaapivideomemory.c:
11881         * gst/vaapi/gstvaapivideomemory.h:
11882           vaapivideomemory: rename vip to alloc_info parameter
11883           In order to auto-document the code, this patch renames the 'vip'
11884           parameter in the functions related to gst_vaapi_video_allocator_new ()
11885           to 'alloc_info', since it declares the allocation video info from
11886           the vaapi buffer pool.
11887
11888 2017-01-09 16:08:17 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11889
11890         * gst/vaapi/gstvaapivideomemory.c:
11891           vaapivideomemory: use GST_VIDEO_INFO_FORMAT_STRING()
11892           Use the existing local macro GST_VIDEO_INFO_FORMAT_STRING() to get
11893           the video format string.
11894
11895 2017-01-09 12:51:11 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11896
11897         * gst/vaapi/gstvaapivideomemory.c:
11898           vaapivideomemory: unroll gst_vaapi_surface_new_with_format()
11899           gst_vaapi_surface_new_with_format() is a wrapper for
11900           gst_vaapi_surface_new_full (). In this case, the former is simpler
11901           than the first. This patch changes that.
11902
11903 2017-01-04 19:23:06 +0900  Hyunjun Ko <zzoon@igalia.com>
11904
11905         * gst/vaapi/gstvaapipostproc.c:
11906           vaapipostproc: notify if src pad caps changed
11907           If src pad caps have changed, it needs to notify it downstream. In
11908           addition, do not set passthrough if they have changed.
11909           Otherwise, transform sometimes starts processing before caps change.
11910           The passthrough value will be set in fixate later in this case.
11911           https://bugzilla.gnome.org/show_bug.cgi?id=775204
11912
11913 2016-12-14 15:51:01 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11914
11915         * gst/vaapi/gstvaapidecodebin.c:
11916           vaapidecodebin: capsfilter to optimize negotiation
11917           Add a capsfilter forcing the caps
11918           "video/x-raw(memory:VASurface), format=(string)NV12" between the
11919           queue and the vaapipostproc so no renegotiation is required.
11920           https://bugzilla.gnome.org/show_bug.cgi?id=776175
11921
11922 2016-12-21 17:38:07 +0900  Hyunjun Ko <zzoon@igalia.com>
11923
11924         * gst/vaapi/gstvaapivideomemory.c:
11925           vaapivideomemory: fail surface/image configuration
11926           To detect and handle errors during allocator_configure_surface_info()
11927           and allocator_conigure_image_info().
11928           https://bugzilla.gnome.org/show_bug.cgi?id=776084
11929           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11930
11931 2016-12-21 17:50:41 +0900  Hyunjun Ko <zzoon@igalia.com>
11932
11933         * gst/vaapi/gstvaapisink.c:
11934           vaapisink: ensures raw caps at start()
11935           Calls gst_vaapi_plugin_base_get_allowed_raw_caps() at start() to avoid
11936           race conditions at get_caps(), especially with multiple src elements.
11937           https://bugzilla.gnome.org/show_bug.cgi?id=776303
11938
11939 2016-12-09 14:51:52 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11940
11941         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
11942           libs: surface: fix error handling code style
11943
11944 2016-12-09 16:14:14 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11945
11946         * gst/vaapi/gstvaapivideomemory.c:
11947           vaapivideomemory: add gst_video_info_update_from_surface()
11948           With this function is possible to refactor and remove duplicated code
11949           between dmabuf configuration and direct rendering/uploading
11950           configuration.
11951
11952 2016-12-09 15:51:32 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11953
11954         * gst/vaapi/gstvaapivideomemory.c:
11955           vaapivideomemory: no log object at initialization
11956           When an instance of GstVaapiVideoAllocator fails at initializing, the
11957           log message should not include the allocator's object, because it is
11958           going to be unrefed.
11959
11960 2016-12-09 17:56:02 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11961
11962         * gst/vaapi/gstvaapidecode.c:
11963           vaapidecode: lock stream when setting caps
11964
11965 2016-12-09 17:42:42 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11966
11967         * gst/vaapi/gstvaapidecode.c:
11968           Revert "vaapidecode: implement negotiate() vmethod"
11969           This reverts commit 3285121181295c544480fc6ba756845b16285d30.
11970           videodecode's negotiate() vmethod is also called when events arrive,
11971           but this would mean that the proper configuration of sink pad might
11972           not be complete, thus we should not update the src pad.
11973           Let's keep the old non-vmethod negotitate().
11974
11975 2016-12-07 16:52:35 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11976
11977         * gst/vaapi/gstvaapi.c:
11978           Revert "encoders: demote to RANK_NONE since not fit for autoplugging yet"
11979           This reverts commit f182b8be2ba05965e6d31a4d380d6563b9b53a77.
11980
11981 2016-12-01 18:57:10 +0900  Hyunjun Ko <zzoon@igalia.com>
11982
11983         * gst/vaapi/gstvaapiencode.c:
11984         * gst/vaapi/gstvaapiencode.h:
11985           vaapiencode: get surface formats in get_caps()
11986           Query for the supported surface formats in config at get_caps() vmethod.
11987           https://bugzilla.gnome.org/show_bug.cgi?id=769266
11988           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
11989
11990 2016-12-07 11:26:37 +0100  Hyunjun Ko <zzoon@igalia.com>
11991
11992         * gst-libs/gst/vaapi/gstvaapiencoder.c:
11993         * gst-libs/gst/vaapi/gstvaapiencoder.h:
11994           libs: encoder: add gst_vaapi_encoder_get_surface_formats()
11995           This method will return the valid surface formats in the current
11996           config. If the are no VAConfig it is created with the information
11997           available.
11998           https://bugzilla.gnome.org/show_bug.cgi?id=769266
11999           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12000
12001 2016-12-07 11:10:42 +0100  Hyunjun Ko <zzoon@igalia.com>
12002
12003         * gst-libs/gst/vaapi/gstvaapiencoder.c:
12004           libs: encoder: split set_context_info()
12005           Split set_context_info() adding init_context_info() which only
12006           initialises the GstVaapiContextInfo structure inside GstVaapiEncoder
12007           required for VAConfig.
12008           https://bugzilla.gnome.org/show_bug.cgi?id=769266
12009           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12010
12011 2016-12-02 09:30:52 +0900  Hyunjun Ko <zzoon@igalia.com>
12012
12013         * gst-libs/gst/vaapi/gstvaapicontext.c:
12014           libs: context: skip VAContext if no frame size
12015           If GstVaapiContextInfo has just initial information, without frame's
12016           width and height, skip the creation of the VAContext, just keep the
12017           VAConfig.
12018           https://bugzilla.gnome.org/show_bug.cgi?id=769266
12019           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12020
12021 2016-12-02 09:28:07 +0900  Hyunjun Ko <zzoon@igalia.com>
12022
12023         * gst-libs/gst/vaapi/gstvaapicontext.c:
12024           libs: context: split context_create()
12025           Split the funcion context_create() into context_create() and
12026           config_create().
12027           Decoupling VAConfig and VAContext during context creation, we could
12028           query the VAConfig for the supported surface's formats without creating
12029           a VAContext.
12030           https://bugzilla.gnome.org/show_bug.cgi?id=769266
12031
12032 2016-12-06 17:33:42 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12033
12034         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
12035           libs: drm: find render node in hybrid system
12036           Originally the drm backend only tried to open the first render node
12037           found. But in hybrid system this first render node might not support
12038           VA-API (propietary Nvidia driver, for example).
12039           This patch tries all the available nodes until a finding one with a
12040           VA-API supported driver.
12041           https://bugzilla.gnome.org/show_bug.cgi?id=774811
12042           Original-patch-by: Stirling Westrup <swestrup@gmail.com> and
12043           Reza Razavi <reza@userful.com>
12044
12045 2016-11-14 17:45:55 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12046
12047         * gst/vaapi/gstvaapivideomemory.c:
12048           vaapivideomemory: refactor code for readability
12049           Added the inlined function allocator_configure_pools() moving out code
12050           from gst_vaapi_video_allocator_new() to make clear that it is a
12051           post-initalization of the object.
12052
12053 2016-11-14 17:40:37 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12054
12055         * gst/vaapi/gstvaapivideomemory.c:
12056           vaapivideomemory: log error if not VA image
12057           Log an error message if the test image for surface downloading
12058           cannot be allocated or mapped.
12059
12060 2016-11-14 17:33:41 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12061
12062         * gst/vaapi/gstvaapivideomemory.c:
12063           vaapivideomemory: remove unused macros
12064           These macros are not used. Let us remove them.
12065
12066 2016-11-11 19:45:45 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12067
12068         * gst/vaapi/gstvaapivideomemory.c:
12069         * gst/vaapi/gstvaapivideomemory.h:
12070           vaapivideomemory: rename video for allocation_info
12071           Since video_info stores the GstVideoInfo of the allocation caps,
12072           it is clear if we rename it as allocation_info, to distinguish it
12073           later from negotiation_info.
12074
12075 2016-10-19 15:27:03 +0100  Julien Isorce <j.isorce@samsung.com>
12076
12077         * gst/vaapi/gstvaapivideomemory.c:
12078         * gst/vaapi/gstvaapivideomemory.h:
12079           vaapivideomemory: add real GstVaapiDmaBufAllocator
12080           Instead of defining GstVaapiDmaBufAllocator as a hackish decorator of
12081           GstDmaBufAllocator, now, since the expose of the GstDmaBufAllocator's
12082           GType, GstVaapiDmaBufAllocator is a full feature GstAllocator inherited
12083           from GstDmaBufAllocator.
12084           https://bugzilla.gnome.org/show_bug.cgi?id=755072
12085           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12086
12087 2016-10-19 15:30:09 +0100  Julien Isorce <j.isorce@samsung.com>
12088
12089         * gst/vaapi/gstvaapivideomemory.c:
12090           vaapivideomemory: errors in gst_vaapi_dmabuf_allocator_new()
12091           Add a helper function to initialize the gst_debug_vaapivideomemory,
12092           to use it either by the GstVaapiVideoAllocatorClass or
12093           GstVaapiDmabufAllocator (which is a decorator of GstDmaBufAllocator).
12094           Later, log possible errors when calling gst_vaapi_dmabuf_allocator_new ()
12095           https://bugzilla.gnome.org/show_bug.cgi?id=755072
12096
12097 2016-11-29 15:14:32 +0900  Hyunjun Ko <zzoon@igalia.com>
12098
12099         * gst/vaapi/gstvaapiencode.c:
12100           vaapiencode: release internal encoder at stop()
12101           As the internal encoder is created at start(), let's release it at
12102           stop() vmethod, to be consistent.
12103           gst_vaapiencode_destroy() is called since it also resets the input and
12104           output states, which is something that the base class does internally
12105           after calling stop() vmethod.
12106           https://bugzilla.gnome.org/show_bug.cgi?id=769266
12107           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12108
12109 2016-12-03 08:20:56 +0100  Edward Hervey <bilboed@bilboed.com>
12110
12111         * common:
12112           Automatic update of common submodule
12113           From f49c55e to 39ac2f5
12114
12115 2016-11-29 14:59:02 +0900  Hyunjun Ko <zzoon@igalia.com>
12116
12117         * gst/vaapi/gstvaapiencode.c:
12118           vaapiencode: call ensure_encoder() at start()
12119           Currently, specific encoder is created during set_format(). This might
12120           lead to race condition when creating profiles with multiple encoders.
12121           This patch moves ensure_encoder() call to start() vmethod to ensure
12122           avoiding the race condition.
12123           https://bugzilla.gnome.org/show_bug.cgi?id=773546
12124
12125 2016-11-21 19:29:22 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12126
12127         * gst/vaapi/gstvaapidecodebin.c:
12128           vaapidecodebin: bring back dynamic configuration
12129           In commit ca0c3fd6 we remove the dynamic configuration if the bin
12130           because we assumed that the bin will be always static as it is
12131           registered.
12132           Nonetheless we were wrong, because it is possible to request, with a
12133           property, to avoid the use of the post-processor.
12134           Since we want to add a way to disable the post-processor through
12135           environment variables, this remove feature is required again.
12136           If the environment variable GST_VAAPI_DISABLE_VPP is defined the
12137           postprocessor inside of the vaapidecodebin is disabled, then
12138           vaapidecodebin is an alias of the old vaapidecode.
12139           https://bugzilla.gnome.org/show_bug.cgi?id=775041
12140
12141 2016-11-21 18:25:18 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12142
12143         * gst/vaapi/gstvaapidecode.c:
12144           vaapidecode: implement negotiate() vmethod
12145           Instead of decorating the negotiate() method, let us override it,
12146           so the stream is locked while called.
12147           https://bugzilla.gnome.org/show_bug.cgi?id=775040
12148
12149 2016-11-26 11:27:26 +0000  Tim-Philipp Müller <tim@centricular.com>
12150
12151         * .gitmodules:
12152           common: use https protocol for common submodule
12153           https://bugzilla.gnome.org/show_bug.cgi?id=775110
12154
12155 2016-11-24 21:17:54 +0100  Dominique Leuenberger <dimstar@opensuse.org>
12156
12157         * gst-libs/gst/vaapi/Makefile.am:
12158           build: add LIBVA_WAYLAND_CFLAGS to libgstvaapiegl
12159           In case libva-wayland has its headers not installed in default
12160           locations (like /usr/include), the build fails to include "wayland-client.h":
12161           CC       libgstvaapi_egl_la-gstvaapiutils_egl.lo
12162           In file included from gstvaapidisplay_wayland.h:27:0,
12163           from gstvaapidisplay_egl.c:35:
12164           /usr/include/va/va_wayland.h:31:28: fatal error: wayland-client.h: No such file or directory
12165           #include <wayland-client.h>
12166           As we already passed VA_CLAGS, /usr/include/va/va_wayland.h could be found, but it is
12167           our fault not to instruct the system that we ALSO care for va_wayland. We correctly query
12168           for libva-wayland.pc in configure and use this in other places as well. It is thus only
12169           correct and consequent, to do it also at this spot.
12170           https://bugzilla.gnome.org/show_bug.cgi?id=773946
12171
12172 2015-10-28 12:55:18 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12173
12174         * gst/vaapi/gstvaapivideocontext.c:
12175           vaapivideocontext: log a message if no bus
12176           Raise a warning if there is no bus when the element tries to post a
12177           message.
12178
12179 2015-10-28 12:57:14 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12180
12181         * gst/vaapi/gstvaapisink.c:
12182           vaapisink: create display at open()
12183           Instead of creating the VA display before setting the bus to the
12184           element, it is created when the element is opened.
12185           Basically, this commit is a revert of
12186           5e5d62cac79754ba60057fc2516135aad8d7de35
12187           That was done when the GStreamer's context sharing was not mature
12188           enough as now. There is no reason to keep this hack.
12189
12190 2016-11-04 18:04:36 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12191
12192         * gst/vaapi/gstvaapidecode.c:
12193           vaapidecode: don't add video crop meta
12194           Since the differentiation of negotiation caps and allocation caps,
12195           there is no need to add a video crop meta with the negotiation caps.
12196           Hence, removing it.
12197           https://bugzilla.gnome.org/show_bug.cgi?id=773948
12198
12199 2015-03-19 21:20:26 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
12200
12201         * gst/vaapi/gstvaapivideobuffer.c:
12202         * gst/vaapi/gstvaapivideometa.c:
12203         * gst/vaapi/gstvaapivideometa.h:
12204           remove the video converter from vaapi buffer meta
12205           Since all the video converter were deprecated in gstreamer-1.2, we don't need
12206           to handle them anymore in the vaapi's buffer meta.
12207           This patch removes its usage and the buffer meta's API for that.
12208           https://bugzilla.gnome.org/show_bug.cgi?id=745728
12209
12210 2016-11-21 18:28:18 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12211
12212         * gst/vaapi/gstvaapipluginbase.c:
12213           plugins: destroy source pad allocator and pool
12214           First, deactivate source pad pool when the out caps change, and if so,
12215           destroy texture map, the source pad allocator and pool only if the
12216           new caps are different from the ones already set.
12217
12218 2016-11-21 19:17:07 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12219
12220         * gst/vaapi/gstvaapipluginbase.c:
12221           plugins: don't destroy sink pad allocator
12222           Don't destroy sink pad allocator at _set_caps() because it will be done at
12223           ensure_sinkpad_buffer_pool() if it is required.
12224
12225 2016-11-21 18:27:00 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12226
12227         * gst/vaapi/gstvaapipluginbase.c:
12228           plugins: first validate the out caps
12229           When calling _set_caps() first validate the out caps before doing
12230           anything else.
12231
12232 2016-11-21 18:42:02 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12233
12234         * gst/vaapi/gstvaapidecode.c:
12235           vaapidecode: negotiate after destroying allocator
12236           This is related with bug 758907 when no vaapipostproc is used (no
12237           vaapidecodebin). In order to negotiate downstream we need to destroy
12238           the source pad allocator, otherwise the same allocated buffers are
12239           used, failing the mapping.
12240
12241 2016-11-21 16:35:34 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12242
12243         * gst/vaapi/gstvaapivideomemory.c:
12244           vaapivideomemory: remove GST_VAAPI_TYPE_VIDEO_INFO
12245           Remove redundant GST_VAAPI_TYPE_VIDEO_INFO, since it is a duplicate of
12246           GST_TYPE_VIDEO_INFO created before gstreamer 1.6, where the boxed type
12247           was created.
12248           https://bugzilla.gnome.org/show_bug.cgi?id=774782
12249
12250 2016-11-21 12:51:25 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12251
12252         * gst/vaapi/gstvaapipluginbase.c:
12253           plugins: update the src pad allocator video info
12254           Update the size, stride and offset of the source pad allocator video
12255           info, so the pool could set the correct GstVideoMeta
12256           https://bugzilla.gnome.org/show_bug.cgi?id=774782
12257
12258 2016-11-21 12:36:27 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12259
12260         * gst/vaapi/gstvaapivideomemory.c:
12261           vaapivideomemory: add missing documentation
12262           https://bugzilla.gnome.org/show_bug.cgi?id=774782
12263
12264 2016-11-21 12:29:26 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12265
12266         * gst/vaapi/gstvaapipluginbase.c:
12267           plugins: use early return without goto
12268           https://bugzilla.gnome.org/show_bug.cgi?id=774782
12269
12270 2016-11-21 11:25:21 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12271
12272         * gst/vaapi/gstvaapipluginbase.c:
12273         * gst/vaapi/gstvaapivideomemory.c:
12274         * gst/vaapi/gstvaapivideomemory.h:
12275           plugins: add allocator to allocation query
12276           This patch adds the created allocator to the allocation query either
12277           in decide_allocation() and propose_allocation() vmehtods.
12278           With it, there's no need to set the modified allocator's size in the
12279           pool configuration.
12280           https://bugzilla.gnome.org/show_bug.cgi?id=774782
12281
12282 2016-10-19 15:15:01 +0100  Julien Isorce <j.isorce@samsung.com>
12283
12284         * gst/vaapi/gstvaapivideobufferpool.c:
12285           vaapivideobufferpool: set correct buffer size
12286           We should set the correct buffer size when we are configuring the pool,
12287           otherwise the buffer will be discarded when it returns to the pool.
12288           Indeed when the ref-count of a buffer reaches zero, its pool will queue
12289           it back (and ref it) if, and only if, the buffer size matches the
12290           configured buffer size on the pool.
12291           This issue can be debugged with GST_DEBUG=*PERF*:6, see gstbufferpool.c
12292           https://bugzilla.gnome.org/show_bug.cgi?id=774782
12293
12294 2016-11-10 13:26:31 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12295
12296         * gst/vaapi/gstvaapivideomemory.c:
12297           vaapivideomemory: check for memory allocator
12298           When calling gst_vaapi_video_memory_copy() the allocator of the memory
12299           to copy should be allocated by the vaapi allocator.
12300           This patch does this verification.
12301
12302 2016-11-10 13:25:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12303
12304         * gst/vaapi/gstvaapivideomemory.c:
12305           vaapivideomemory: code style fixes
12306           A cosmetic commit for enhance readability of the casts and method
12307           preconditions.
12308
12309 2016-11-09 19:49:22 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12310
12311         * gst/vaapi/gstvaapivideomemory.c:
12312           vaapivideomemory: unroll gst_vaapi_video_allocator_free()
12313           Instead of having a gst_vaapi_video_memory_free() that is only going to
12314           be called by gst_vaapi_video_allocator_free(), let's just remove the first
12315           and merged into the second.
12316
12317 2016-11-09 19:29:12 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12318
12319         * gst/vaapi/gstvaapivideomemory.c:
12320           vaapivideomemory: avoid virtual methods casting
12321           Use the expected virtual method signatures for readability.
12322
12323 2016-11-09 18:58:20 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12324
12325         * gst/vaapi/gstvaapivideomemory.c:
12326           vaapivideomemory: remove unimplemented methods
12327           Remove unimplemented method for allocator mem_share() and mem_is_span().
12328
12329 2016-11-09 18:54:47 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12330
12331         * gst/vaapi/gstvaapivideomemory.c:
12332           vaapivideomemory: fail if frame map can't get plane
12333           If map() vmethod in GstVideMeta cannot get the plane data, return false,
12334           thus the caller will not try to read invalid memory.
12335           https://bugzilla.gnome.org/show_bug.cgi?id=774213
12336
12337 2016-11-09 18:39:06 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12338
12339         * gst/vaapi/gstvaapivideomemory.c:
12340         * gst/vaapi/gstvaapivideomemory.h:
12341           vaapivideomemory: lock map and unmap operations
12342           In order to avoid race condition when two threads call map/unmap the same
12343           VA surface, this patch mutex these operations.
12344           https://bugzilla.gnome.org/show_bug.cgi?id=774213
12345
12346 2016-11-09 17:37:06 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12347
12348         * gst/vaapi/gstvaapivideomemory.c:
12349           vaapivideomemory: refactor vaapi memory unmapping
12350           There were duplicated code in gst_video_meta_unmap_vaapi_memory() and
12351           gst_vaapi_video_memory_unmap() when unmapping.
12352           This patch refactors both methods adding the common function
12353           unmap_vaapi_memory(). This also ensures, if direct rendering is enabled, it
12354           is correctly reset.
12355           Additionally, only when mapping flag has the WRITE bit, it set the image as
12356           current, which was done in gst_video_meta_map_vaapi_memory() but no in
12357           gst_vaapi_video_memory_map().
12358           In order to make this, the mapping flags were required, so instead of
12359           overloading mem_unmap() virtual function, mem_unmap_full() is overloaded.
12360           https://bugzilla.gnome.org/show_bug.cgi?id=774213
12361
12362 2016-11-09 13:54:23 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12363
12364         * gst/vaapi/gstvaapivideomemory.c:
12365           vaapivideomemory: refactor vaapi memory mapping
12366           There were duplicated code in gst_video_meta_map_vaapi_memory() and
12367           gst_vaapi_video_memory_map() when doing the READ and WRITE mapping.
12368           This patch refactors both methods adding the common function
12369           map_vaapi_memory().
12370           Additionally, only when flag has the READ bit it calls
12371           ensure_images_is_current(), which was done in
12372           gst_video_meta_map_vaapi_memory() but no in
12373           gst_vaapi_video_memory_map().
12374           https://bugzilla.gnome.org/show_bug.cgi?id=772151
12375
12376 2016-10-27 18:22:18 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12377
12378         * gst/vaapi/gstvaapidecode.c:
12379           vaapidecode: unref allowed_sinkpad_caps at close()
12380           The variable member allowed_sinkpad_caps is constructed querying the
12381           current VA display. Bearing that in mind, the variable shall be freed
12382           when the VA display changes or is removed.
12383           This patch moves the freeing of allowed_sinkpad_caps to close(), when
12384           the VA display is freed.
12385
12386 2016-11-11 11:40:09 +0900  Hyunjun Ko <zzoon@igalia.com>
12387
12388         * gst/vaapi/gstvaapisink.c:
12389           vaapisink: finish event thread at stop()
12390           The thread that handles window's events should be finished during
12391           pipeline's shutdown, otherwise it will remain alive during pipeline
12392           re-activation, leading to unexpected problems.
12393           This patch fixes failures of intensive_state_change scenario of
12394           gst-validate
12395           https://bugzilla.gnome.org/show_bug.cgi?id=774241
12396
12397 2016-11-08 09:35:00 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12398
12399         * gst/vaapi/gstvaapipostproc.c:
12400           vaapipostproc: enhance debug message
12401           "gst_pad_push" is not a good description of the event.
12402
12403 2016-11-08 10:05:32 +0900  Hyunjun Ko <zzoon@igalia.com>
12404
12405         * gst/vaapi/gstvaapipostproc.c:
12406           postproc: honor gst_pad_push() return value
12407           Returning GST_FLOW_ERROR always when gst_pad_push fails might lead to
12408           deadlock during seek.
12409           This patch returns the same error of gst_pad_push() and log out the
12410           return value.
12411           https://bugzilla.gnome.org/show_bug.cgi?id=774030
12412
12413 2016-11-04 16:26:18 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12414
12415         * gst/vaapi/gstvaapidecode.c:
12416           vaapidecode: guard GST_VAAPI_MAKE_GLTEXUPLOAD_CAPS
12417           In commit 6d11a00 were introduced a regression when gstreamer-vaapi is
12418           compiled with out EGL/GLX support: it shall not support
12419           GST_VAAPI_MAKE_GLTEXUPLOAD_CAPS.
12420           This patch guards the inclusion of GST_VAAPI_MAKE_GLTEXUPLOAD_CAPS in the
12421           allowed src caps for vaapedecode if EGL/GLX.
12422
12423 2016-11-04 12:55:23 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12424
12425         * gst/vaapi/gstvaapivideomemory.c:
12426           vaapivideomemory: increment map counter only if succeeded
12427           Previously the frame map counter increased independently if the map succeeded
12428           or not. This leaded to critical messages and crashes if the frame was unable
12429           to be mapped, but the counter increased.
12430           This patch increases the map counter only if the map operation occurred.
12431           https://bugzilla.gnome.org/show_bug.cgi?id=773939
12432
12433 2016-11-03 17:30:46 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12434
12435         * gst/vaapi/gstvaapipluginbase.c:
12436           plugins: set negotiation caps in src allocator
12437           When the allocator is created, it stores the allocation caps. But sometimes
12438           the "allocation caps" may be different from the "negotiation caps".
12439           In this case, the allocator should store the negotiation caps since they
12440           are the ones used for frame mapping with GstVideoMeta.
12441           When vaapispostproc is used, this is not a problem since the element is assume
12442           to resize. But when using a vaapi decoder only, with a software renderer, it
12443           fails in this case.
12444           https://bugzilla.gnome.org/show_bug.cgi?id=773323
12445
12446 2016-07-19 16:40:10 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12447
12448         * gst/vaapi/gstvaapidecode.c:
12449         * gst/vaapi/gstvaapidecode.h:
12450           vaapidecode: generate source pad caps
12451           Just as vaapipostproc, VA decoder's context can be queried to get the possible
12452           raw formats, so, the src caps can negotiate the exact caps that the context
12453           supports.
12454
12455 2016-02-25 18:57:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12456
12457         * gst-libs/gst/vaapi/gstvaapidecoder.c:
12458         * gst-libs/gst/vaapi/gstvaapidecoder.h:
12459           libs: decoder: add _get_surface_formats()
12460           This function exposes the available formats of the surfaces in the the current
12461           context to the plugins.
12462
12463 2016-02-18 19:32:58 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12464
12465         * gst-libs/gst/vaapi/gstvaapicontext.c:
12466         * gst-libs/gst/vaapi/gstvaapicontext.h:
12467           libs: context: ensure context formats
12468           This patch ensures to get the formats, as filter does, available in the
12469           decoder / encoder context.
12470           The context fills up the array as soon it is created, otherwise the pipeline
12471           could get stalled (perhaps this is a bug in my HSW backend).
12472           https://bugzilla.gnome.org/show_bug.cgi?id=752958
12473
12474 2016-02-18 19:20:10 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12475
12476         * gst-libs/gst/vaapi/gstvaapifilter.c:
12477         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
12478         * gst-libs/gst/vaapi/gstvaapiutils_core.h:
12479           libs: move get_surface_formats to utils_core
12480           The query of all the supported formats for a VA config were only used by the
12481           postprocessor (vaapifilter). But, in order to enable the vaapidecoder to
12482           negotiate a suitable raw format with downstream, we need to query these
12483           formats against the decoder's config.
12484           This patch is the first step: moves the code in filter's ensure_image() to a
12485           generic gst_vaapi_get_surface_formats() in vaapiutils_core, so it can be
12486           shared later by the decoder.
12487           https://bugzilla.gnome.org/show_bug.cgi?id=752958
12488
12489 2016-07-19 18:56:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12490
12491         * gst/vaapi/gstvaapipluginbase.c:
12492           plugins: remove set_sinkpad_dmabuf_allocator()
12493           Since when the sink pad allocator is created, it is decided if the required
12494           one is vaapi allocator or dmabuf allocator, there is no need to force its set
12495           again.
12496
12497 2016-10-27 11:25:55 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12498
12499         * gst/vaapi/gstvaapipluginbase.c:
12500           plugins: ensure display when getting raw caps
12501           When running gst-discoverer-1.0, in certain media, vaapipostroc is stopped
12502           meanwhile it is transforming caps. The problem is that stop() calls
12503           gst_vaapi_plugin_base_close(), which nullifies the element's va display, but
12504           the va display is used in tranform_caps() when it is extracting the possible
12505           format conversions. This display disappearing generates warning messages.
12506           This patch holds a local reference of va display at ensure_allowed_raw_caps()
12507           hence it doesn't go away meanwhile it is used, even if the
12508           gst_vaapi_plugin_base_close() is called in other thread.
12509           https://bugzilla.gnome.org/show_bug.cgi?id=773593
12510
12511 2016-11-03 12:54:23 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12512
12513         * gst/vaapi/gstvaapiencode_h264.c:
12514         * gst/vaapi/gstvaapiencode_h265.c:
12515           plugins: fix code style for errors
12516
12517 2016-10-19 19:04:20 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12518
12519         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
12520         * gst-libs/gst/vaapi/gstvaapicodedbuffer.c:
12521         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c:
12522         * gst-libs/gst/vaapi/gstvaapicontext.c:
12523         * gst-libs/gst/vaapi/gstvaapicontext_overlay.c:
12524         * gst-libs/gst/vaapi/gstvaapidecoder.c:
12525         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
12526         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
12527         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
12528         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
12529         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
12530         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
12531         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
12532         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
12533         * gst-libs/gst/vaapi/gstvaapidisplay.c:
12534         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
12535         * gst-libs/gst/vaapi/gstvaapiencoder.c:
12536         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
12537         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
12538         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
12539         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
12540         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
12541         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
12542         * gst-libs/gst/vaapi/gstvaapifilter.c:
12543         * gst-libs/gst/vaapi/gstvaapiimage.c:
12544         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
12545         * gst-libs/gst/vaapi/gstvaapiparser_frame.c:
12546         * gst-libs/gst/vaapi/gstvaapipixmap.c:
12547         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
12548         * gst-libs/gst/vaapi/gstvaapisurface.c:
12549         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
12550         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
12551         * gst-libs/gst/vaapi/gstvaapitexture.c:
12552         * gst-libs/gst/vaapi/gstvaapiutils.c:
12553         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
12554         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
12555         * gst-libs/gst/vaapi/gstvaapiwindow.c:
12556         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
12557         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
12558           libs: fix code style for errors
12559
12560 2016-11-03 09:31:17 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12561
12562         * gst/vaapi/gstvaapipluginbase.c:
12563         * gst/vaapi/gstvaapivideocontext.c:
12564           plugins: update GstGL deprecated symbol
12565           GST_GL_TYPE_CONTEXT was deprecated. Now it is GST_TYPE_GL_CONTEXT.
12566
12567 2016-10-21 11:48:54 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12568
12569         * gst/vaapi/gstvaapipluginbase.c:
12570           plugins: direct render when raw video
12571           Enable the direct rendering with linear surfaces if the negotiated src caps
12572           are video/x-raw without features.
12573           Pass also the caps, since they are needed to know the requested caps features.
12574
12575 2016-10-24 20:09:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12576
12577         * gst/vaapi/gstvaapipluginbase.c:
12578           plugins: move src allocator error to instantiator
12579           Just as we did in ensure_sinkpad_allocator(), let's move the error message
12580           into the ensure_srcpad_allocator() from the caller,
12581           gst_vaapi_plugin_base_decide_allocation()
12582
12583 2016-10-20 19:37:01 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12584
12585         * gst/vaapi/gstvaapipluginbase.c:
12586           plugins: enable direct upload if raw video
12587           Enable the direct upload with linear surfaces if the negotiated sink caps are
12588           video/x-raw without features.
12589
12590 2016-10-21 11:21:04 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12591
12592         * gst/vaapi/gstvaapipluginutil.c:
12593         * gst/vaapi/gstvaapipluginutil.h:
12594           pluginutil: add gst_caps_is_video_raw()
12595
12596 2016-10-24 19:25:27 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12597
12598         * gst/vaapi/gstvaapipluginbase.c:
12599           plugins: receive caps in ensure_sinkpad_allocator()
12600           Instead of receiving the GstVideoInfo structure as parameter, get the original
12601           GstCaps from ensure_sinkpad_buffer_pool(), in this way we could decide better
12602           which allocator instantiate.
12603
12604 2016-10-20 19:31:58 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12605
12606         * gst/vaapi/gstvaapivideomemory.c:
12607           vaapivideomemory: destroy derived image at unmap
12608           If the allocator was configured to use direct upload or rendering, the
12609           generated derived image created at mapping needs to be destroyed after
12610           unmapping, because, in order to process the surface, it should not be marked
12611           as "busy" by the driver.
12612
12613 2016-10-21 11:57:55 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12614
12615         * gst/vaapi/gstvaapivideomemory.c:
12616           vaapivideomemory: enhance logs for direct modes
12617           Print, conditionally, only the enabled direct mode.
12618
12619 2016-10-20 17:02:49 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12620
12621         * gst/vaapi/gstvaapivideomemory.c:
12622         * gst/vaapi/gstvaapivideomemory.h:
12623           vaapivideomemory: add direct upload flag
12624           Adds the direct-upload flag in the GstVaapiVideoAllocator and
12625           GstVaapiVideoMemory.
12626           It still doesn't apply any functional change.
12627
12628 2016-10-20 16:49:22 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12629
12630         * gst/vaapi/gstvaapipluginbase.c:
12631         * gst/vaapi/gstvaapivideomemory.c:
12632         * gst/vaapi/gstvaapivideomemory.h:
12633           vaapivideomemory: set direct rendering at run-time
12634           The way to experiment with the direct rendering is through and internal
12635           compiler pre-processor flag.
12636           The current change set enables a way to specified at run-time, as a flag
12637           passed to the allocator at instanciation time.
12638
12639 2016-10-20 18:09:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12640
12641         * gst/vaapi/gstvaapivideomemory.c:
12642           vaapivideomemory: log in perf category when copy
12643           Log in performance category when the derive image handling fails, falling back
12644           to memory copy.
12645
12646 2016-10-20 16:31:21 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12647
12648         * gst/vaapi/gstvaapivideomemory.c:
12649           vaapivideomemory: error log is derive image fails
12650           Instead of a silently failure of the derive image, this patch log an error
12651           message according to the failure.
12652
12653 2016-10-20 12:52:18 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12654
12655         * gst/vaapi/gstvaapivideomemory.c:
12656           vaapivideomemory: store surface alloc flags in qdata
12657           For sake of consistency, we should add the requested surface allocation flags
12658           to the object's qdata structure.
12659
12660 2016-10-20 12:22:06 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12661
12662         * gst/vaapi/gstvaapivideomemory.c:
12663           vaapivideomemory: category init when object define
12664           Move the Gstreamer debug category initialize to the GObject definition.
12665
12666 2016-11-03 08:31:16 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12667
12668         * gst-libs/gst/vaapi/gstvaapitexturemap.c:
12669           libs: vaapitexturemap: trivial code-style fix
12670
12671 2016-11-02 20:01:09 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12672
12673         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
12674           libs: display: egl: avoid recreate native display
12675           Instead of passing the native descriptor of the display, just pass the received
12676           GstVaapiDisplay and reuse it.
12677
12678 2016-11-02 15:38:52 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12679
12680         * gst/vaapi/gstvaapipluginbase.c:
12681           plugins: log the GstVaapiDisplay name
12682           Now that GstVaapiDisplay is descendant of GstObject, it has a human-friendly
12683           name. Log it instead of the memory address.
12684
12685 2016-11-02 18:37:00 +0900  Hyunjun Ko <zzoon@igalia.com>
12686
12687         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
12688           libs: window: egl: pass native va display
12689           When creating a GstVaapiWindowEGL, it also creates native window by its own
12690           native display. It should pass the native display, either X11 or Wayland.
12691           https://bugzilla.gnome.org/show_bug.cgi?id=768266
12692
12693 2016-10-13 12:53:17 +0900  Hyunjun Ko <zzoon@igalia.com>
12694
12695         * gst-libs/gst/vaapi/gstvaapidebug.h:
12696         * gst-libs/gst/vaapi/gstvaapidisplay.c:
12697         * gst-libs/gst/vaapi/gstvaapidisplay.h:
12698         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
12699         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
12700         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
12701         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
12702         * gst-libs/gst/vaapi/gstvaapidisplay_egl.h:
12703         * gst-libs/gst/vaapi/gstvaapidisplay_egl_priv.h:
12704         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
12705         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
12706         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
12707         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
12708         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
12709         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
12710         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
12711         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
12712         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
12713         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
12714         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
12715         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
12716         * gst-libs/gst/vaapi/gstvaapiutils_egl.h:
12717         * gst/vaapi/gstvaapivideocontext.c:
12718           libs: display: GstVaapiDisplay as GstObject descendant
12719           This patch is to change the inheritance of GstVaapiDisplay to GstObject,
12720           instead of GstVaapiMiniObject. In this way we can use all the available
12721           infrastructure for GObject/GstObject such as GstTracer, GIR, etc.
12722           In addition, a new debug category for GstVaapiDisplay is created to make it
12723           easier to trace debug messages. It is named "vaapidisplay" and it transverse
12724           all the VA display backends (DRM, GLX, EGL, Wayland, ...)
12725           This patch is a step forward to expose GstVaapiDisplay for users in a future
12726           library.
12727           https://bugzilla.gnome.org/show_bug.cgi?id=768266
12728           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12729
12730 === release 1.11.0 ===
12731
12732 2016-11-01 18:54:54 +0200  Sebastian Dröge <sebastian@centricular.com>
12733
12734         * configure.ac:
12735           Back to development
12736
12737 === release 1.10.0 ===
12738
12739 2016-11-01 18:19:32 +0200  Sebastian Dröge <sebastian@centricular.com>
12740
12741         * ChangeLog:
12742         * NEWS:
12743         * configure.ac:
12744         * gstreamer-vaapi.doap:
12745           Release 1.10.0
12746
12747 2016-10-27 17:13:48 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12748
12749         * gst/vaapi/gstvaapidecodebin.c:
12750           vaapidecodebin: resurrect disable-vpp property
12751           https://bugzilla.gnome.org/show_bug.cgi?id=773589
12752
12753 2016-10-27 16:32:23 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12754
12755         * gst/vaapi/gstvaapidecodebin.c:
12756           vaapidecodebin: name the internal queue
12757           https://bugzilla.gnome.org/show_bug.cgi?id=773589
12758
12759 2016-10-27 16:27:45 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12760
12761         * gst/vaapi/gstvaapidecodebin.c:
12762         * gst/vaapi/gstvaapidecodebin.h:
12763           vaapidecodebin: remove unused variables
12764           Since vaapipostproc is only registered if the driver supports it, all the
12765           support for dynamic loading were removed. Though some leftovers remained.
12766           https://bugzilla.gnome.org/show_bug.cgi?id=773589
12767
12768 2016-10-27 12:53:54 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12769
12770         * docs/plugins/Makefile.am:
12771         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
12772         * docs/plugins/running.xml:
12773           docs: document environment variables
12774           https://bugzilla.gnome.org/show_bug.cgi?id=773544
12775
12776 2016-10-27 12:31:49 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12777
12778         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
12779         * docs/plugins/gstreamer-vaapi-plugins-sections.txt:
12780         * gst/vaapi/Makefile.am:
12781         * gst/vaapi/gstvaapidecode.c:
12782         * gst/vaapi/gstvaapidecodebin.c:
12783         * gst/vaapi/gstvaapidecodedoc.c:
12784           docs: replace vaapidecode with each codec
12785           In the spirit of the codec split, this patch removes the documentation of
12786           vaapidecode and adds a page per each possible decoder.
12787           Nonetheless, only those available in the compilation system are going to be
12788           instrospected, because the rest are not registered.
12789
12790 2016-10-27 11:06:06 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12791
12792         * gst/vaapi/gstvaapipluginutil.c:
12793         * gst/vaapi/gstvaapivideobuffer.c:
12794         * gst/vaapi/gstvaapivideometa.c:
12795           docs: add missing long descriptions
12796
12797 2016-10-25 14:32:44 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12798
12799         * gst/vaapi/gstvaapipostproc.c:
12800           vaapipostproc: use GST_*_OBJECT when possible
12801           Since we can have several vaapipostproc operating in a pipeline, it is useful
12802           to know which one is generating the logging message.
12803           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12804
12805 2016-07-19 17:00:23 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12806
12807         * gst/vaapi/gstvaapidecode.c:
12808         * gst/vaapi/gstvaapidecode.h:
12809           vaapidecode: rename member to allowed_sinkpad_caps
12810           vaapidecode has a member named allowed_caps, but this name is not enough
12811           explicit. This patch renames allowed_caps to allowed_sinkpad_caps.
12812           No functional changes were included.
12813           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12814
12815 2016-10-20 18:12:04 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12816
12817         * gst/vaapi/gstvaapiencode_h264.c:
12818         * gst/vaapi/gstvaapiencode_h265.c:
12819         * gst/vaapi/gstvaapisink.c:
12820         * gst/vaapi/gstvaapivideomemory.c:
12821         * gst/vaapi/gstvaapivideometa.c:
12822         * gst/vaapi/gstvaapivideometa_texture.c:
12823           plugins: fix code style for errors
12824           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12825
12826 2016-10-20 17:01:57 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12827
12828         * gst/vaapi/gstvaapivideomemory.c:
12829           vaapivideomemory: comment style
12830           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12831
12832 2016-10-20 11:19:50 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12833
12834         * gst/vaapi/gstvaapivideomemory.c:
12835         * gst/vaapi/gstvaapivideomemory.h:
12836           vaapivideomemory: rename input parameter
12837           In order to clarify the use of flag as input parameter, it is renamed to
12838           surface_alloc_flag, since it is used when creating a VA surface with certain
12839           properties.
12840           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12841
12842 2016-10-25 19:22:03 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12843
12844         * gst/vaapi/gstvaapidecode.c:
12845           vaapidecode: rename element description
12846           So encoders and decoders have similar descriptions.
12847           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12848
12849 2016-08-02 11:32:19 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12850
12851         * gst/vaapi/gstvaapiencode_h264.c:
12852         * gst/vaapi/gstvaapiencode_h265.c:
12853           vaapiencode: h264, h265: rename codec name
12854           So encoder and decoders have the same codec name.
12855           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12856
12857 2016-07-29 15:17:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12858
12859         * gst/vaapi/gstvaapipluginbase.c:
12860           plugins: simplify code
12861           Merge two lines of variable declarations.
12862           https://bugzilla.gnome.org/show_bug.cgi?id=773497
12863
12864 2016-10-07 18:46:22 +0900  Hyunjun Ko <zzoon@igalia.com>
12865
12866         * gst-libs/gst/vaapi/gstvaapidecoder.c:
12867         * gst-libs/gst/vaapi/gstvaapipixmap_priv.h:
12868         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
12869         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
12870           libs: minor correction for logical consistency
12871           GstVaapiDecode is a descendant of GstVaapiMiniObject, so, thought we should
12872           use its methods, even though it doesn't change functionality.
12873           GstVaapiPixmap, GstVaapiTexture and GstVaapiWindow are descendant of
12874           GstVaapiObject, hence its methods shall be used.
12875           https://bugzilla.gnome.org/show_bug.cgi?id=772554
12876
12877 2016-10-19 15:39:54 +0100  Julien Isorce <j.isorce@samsung.com>
12878
12879         * gst/vaapi/gstvaapivideomemory.c:
12880           vaapivideomemory: add explanation about the call 'dup (dmabuf_fd)'
12881           In short GstFdMemory is configured to call close when using
12882           GstDmabufMemory.
12883           https://bugzilla.gnome.org/show_bug.cgi?id=755072
12884
12885 2016-09-02 16:42:45 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12886
12887         * configure.ac:
12888         * gst-libs/gst/vaapi/Makefile.am:
12889           build: clean up the dlopen usage
12890
12891 2016-10-08 14:33:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12892
12893         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
12894         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
12895           encoder: h264,h265: fix regression in offset count
12896           In commit dc35dafa a bug was introduced because I assumed that
12897           GST_CLOCK_TIME_NONE is zero when is -1. This patch fixes that mistake.
12898           https://bugzilla.gnome.org/show_bug.cgi?id=772259
12899
12900 2016-10-18 17:02:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12901
12902         * README:
12903           docs: update README
12904
12905 2016-09-27 17:29:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12906
12907         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
12908           libs: display: egl: remove unused header include
12909           The header gmodule.h is not used since the library dynamic loading for EGL
12910           display was removed.
12911           https://bugzilla.gnome.org/show_bug.cgi?id=772599
12912
12913 === release 1.9.90 ===
12914
12915 2016-09-30 13:05:20 +0300  Sebastian Dröge <sebastian@centricular.com>
12916
12917         * ChangeLog:
12918         * NEWS:
12919         * common:
12920         * configure.ac:
12921         * gstreamer-vaapi.doap:
12922           Release 1.9.90
12923
12924 2016-03-04 16:35:11 +0900  Vineeth TM <vineeth.tm@samsung.com>
12925
12926         * gst/vaapi/gstvaapidecode.c:
12927         * gst/vaapi/gstvaapidecodebin.c:
12928         * gst/vaapi/gstvaapiencode_h264.c:
12929         * gst/vaapi/gstvaapiencode_h265.c:
12930         * gst/vaapi/gstvaapiencode_jpeg.c:
12931         * gst/vaapi/gstvaapiencode_mpeg2.c:
12932         * gst/vaapi/gstvaapiencode_vp8.c:
12933         * gst/vaapi/gstvaapipostproc.c:
12934         * gst/vaapi/gstvaapisink.c:
12935           vaapi: use new gst_element_class_add_static_pad_template()
12936           https://bugzilla.gnome.org/show_bug.cgi?id=763083
12937           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12938
12939 2016-09-22 16:34:48 +0900  Hyunjun Ko <zzoon@igalia.com>
12940
12941         * gst/vaapi/gstvaapipluginbase.c:
12942           plugins: reset textures at negotiation/shutdown
12943           When caps reconfiguration is called, the new downstream frame size might be
12944           different. Thus, if the downstream caps change,the display's texture map is
12945           reset.
12946           In addition, during pipeline shutdown, textures in texture map have to be
12947           released, since each one have a reference to the GstVaapiDisplay object, which
12948           is a dangerous circular reference.
12949           https://bugzilla.gnome.org/show_bug.cgi?id=769293
12950           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12951
12952 2016-09-22 16:34:38 +0900  Hyunjun Ko <zzoon@igalia.com>
12953
12954         * gst-libs/gst/vaapi/gstvaapidisplay.c:
12955         * gst-libs/gst/vaapi/gstvaapidisplay.h:
12956         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
12957         * gst-libs/gst/vaapi/gstvaapidisplay_egl_priv.h:
12958         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
12959         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
12960         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
12961         * gst/vaapi/gstvaapivideometa_texture.c:
12962           libs: display{egl,glx}: cache GstVaapiTextures
12963           instances when created and reuse
12964           This patch improves performance when glimagesink uploads a GL texture.
12965           It caches the GStVaapiTexture instances in GstVaapiDisplay{GLX,EGL}, using an
12966           instance of GstVaapiTextureMap, so our internal texture structure can be found
12967           by matching the GL texture id for each frame upload process, avoiding the
12968           internal texture structure creation and its following destruction.
12969           https://bugzilla.gnome.org/show_bug.cgi?id=769293
12970           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12971
12972 2016-09-22 16:33:06 +0900  Hyunjun Ko <zzoon@igalia.com>
12973
12974         * gst-libs/gst/vaapi/Makefile.am:
12975         * gst-libs/gst/vaapi/gstvaapitexturemap.c:
12976         * gst-libs/gst/vaapi/gstvaapitexturemap.h:
12977           libs: vaapitexturemap: implement GstVaapiTextureMap
12978           Implement GstVaapiTextureMap object, which caches VAAPI textures, so them can be
12979           reused. Internally it is a hash table.
12980           Note that it is GstObject based rather than GstVaapiObject, as part of the future
12981           converstion to GstObject of most of the code.
12982           https://bugzilla.gnome.org/show_bug.cgi?id=769293
12983           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
12984
12985 2016-09-21 09:55:53 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
12986
12987         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
12988           encoder: vp8: Increase the allocation size for coded buffer
12989           We are not getting enough compression for some streams and
12990           encoded frame end up with more size than allocated.
12991           Assuming a compression ratio of 4, which should be good enough
12992           for holding the frames.
12993           https://bugzilla.gnome.org/show_bug.cgi?id=771528
12994
12995 2016-09-21 09:52:21 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
12996
12997         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
12998           encoder: vp9: Fix refresh frame flag setting
12999           While doing the mode-1 referece picture selection,
13000           the circular buffer logic was not correctly setting the
13001           refresh frame flags as per VP9 spec.
13002           Make sure refresh_flag[0] get updated correclty after
13003           each cycle of GST_VP9_REF_FRAMES.
13004           https://bugzilla.gnome.org/show_bug.cgi?id=771507
13005
13006 2016-09-14 18:42:09 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13007
13008         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
13009           vaapidecode: codec_data minimal size is 7
13010           When the format of a H.264 stream is AVC3, the SPS and PPS are inside the
13011           stream, not in the codec_data, so the size of codec_data might be 7.
13012           This patch reduces the minimal size of the codec_data buffer from 8 to 7.
13013           https://bugzilla.gnome.org/show_bug.cgi?id=771441
13014
13015 2016-09-14 16:29:01 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13016
13017         * gst/vaapi/gstvaapidecode.c:
13018           vaapidecode: reset decoder hard when set_format()
13019           set_format() is called by upstream when the stream capabilites has changed.
13020           Before, if the new stream is compatible with the old one the VA decoder was
13021           not destroyed. Nonetheless, with this behavoir, the VA decoder ignores
13022           when the upstreamer parsers gets more details of the stream, such as the
13023           framerate. Hence, when the src caps are negotiates, the further sink caps
13024           updates are ignored.
13025           This patch forces the VA decoder destroying and recreation when set_format()
13026           is called.
13027           https://bugzilla.gnome.org/show_bug.cgi?id=770921
13028
13029 2016-09-14 11:31:39 +0200  Sebastian Dröge <sebastian@centricular.com>
13030
13031         * configure.ac:
13032           configure: Depend on gstreamer 1.9.2.1
13033
13034 2016-09-09 12:03:37 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13035
13036         * gst/vaapi/gstvaapivideomemory.c:
13037           Revert "vaapivideomemory: load VA Image when mapping to write"
13038           This reverts commit c67edea4aba35f16d9e97c78a0b49ad1b590b112.
13039
13040 2016-09-10 20:52:21 +1000  Jan Schmidt <jan@centricular.com>
13041
13042         * common:
13043           Automatic update of common submodule
13044           From b18d820 to f980fd9
13045
13046 2016-09-10 09:58:25 +1000  Jan Schmidt <jan@centricular.com>
13047
13048         * common:
13049           Automatic update of common submodule
13050           From f49c55e to b18d820
13051
13052 2016-09-08 16:16:09 +0900  Hyunjun Ko <zzoon@igalia.com>
13053
13054         * gst/vaapi/gstvaapipluginbase.c:
13055           plugins: set allocator's image size to sinkpad bufferpool
13056           Otherwise the buffer is always ditched by the bufferpool, losing performance.
13057           https://bugzilla.gnome.org/show_bug.cgi?id=771035
13058
13059 2016-09-07 17:34:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13060
13061         * gst-libs/gst/vaapi/gstvaapisurface.c:
13062           libs: surface: ensure composite overlay is not bigger
13063           Ensure the composition overlay rectangle (subtitles) is not bigger than
13064           the surface where it is going to be composited and rendered.
13065           https://bugzilla.gnome.org/show_bug.cgi?id=766978
13066
13067 2016-09-07 17:51:23 +0900  Hyunjun Ko <zzoon@igalia.com>
13068
13069         * gst/vaapi/gstvaapivideomemory.c:
13070           vaapivideomemory: load VA Image when mapping to write
13071           When calling gst_video_frame_map() with GST_MAP_WRITE flag, it doesn't call
13072           ensure_image_is_current(), which means it doesn't guarentee VAImage is valid
13073           in this case.
13074           https://bugzilla.gnome.org/show_bug.cgi?id=766978
13075
13076 2016-09-06 12:27:45 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13077
13078         * gst/vaapi/gstvaapidecode.c:
13079           vaapidecode: merge vc1 and wmv3 elements
13080           This patch merges vaapivc1dec and vaapiwmv3dec into a single
13081           vaapivc1dec. Also, removed the WMVA format, since it is not
13082           supported by libva.
13083           https://bugzilla.gnome.org/show_bug.cgi?id=734093
13084
13085 2016-09-06 11:19:05 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13086
13087         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
13088           decoder: vc1: fails only on advanced profile
13089           In commit 2eb4394 the frame coding mode was verified for progressive
13090           regardless the profile. But the FCM is only valid in the advanced
13091           profile. This patch checks for the advanced profile before verifying FCM for
13092           progressive.
13093           https://bugzilla.gnome.org/show_bug.cgi?id=769250
13094
13095 2016-09-01 12:39:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13096
13097         * gst/vaapi/gstvaapi.c:
13098           vaapi: DISPLAY envvar as dependency
13099           In a multiple video cards system, a X11 environment may have different VA
13100           capabilities. This patch tracks the DISPLAY environment variable to
13101           invalidates the GStreamer features cache. Also tracks WAYLAND_DISPLAY.
13102           https://bugzilla.gnome.org/show_bug.cgi?id=770357
13103
13104 2016-08-26 14:55:17 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13105
13106         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
13107           decoder: vc1: Fail only on actual interlaced frames
13108           In the earlier patch:
13109           f31d9f3 decoder: vc1: Print error on interlaced content
13110           Decoding would error out if the interlace flag was set in the
13111           sequence bdu. This isn't quite right because a video can have this
13112           flag set and yet not have any interlaced pictures.
13113           Here instead we error out when either parsing a field bdu or
13114           decoding a frame bdu which has fcm set to anything other than
13115           progressive.
13116           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13117           https://bugzilla.gnome.org/show_bug.cgi?id=769250
13118
13119 2016-09-01 12:34:48 +0300  Sebastian Dröge <sebastian@centricular.com>
13120
13121         * configure.ac:
13122           Back to development
13123
13124 === release 1.9.2 ===
13125
13126 2016-09-01 12:34:38 +0300  Sebastian Dröge <sebastian@centricular.com>
13127
13128         * ChangeLog:
13129         * NEWS:
13130         * configure.ac:
13131         * gstreamer-vaapi.doap:
13132           Release 1.9.2
13133
13134 2016-08-16 11:58:38 +0300  Scott D Phillips <scott.d.phillips@intel.com>
13135
13136         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
13137           decoder: vc1: Print error on interlaced content
13138           Interlaced video is as yet unsupported in the vc1 element. Print
13139           an error to make that more obvious.
13140           https://bugzilla.gnome.org/show_bug.cgi?id=769250
13141
13142 2016-08-10 13:29:45 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13143
13144         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
13145           encoder: h264: fix C90 mixed declarations and code
13146           Commit 4259d1a introduced this compilation error. This patch fixes it.
13147
13148 2016-07-21 17:38:40 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13149
13150         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
13151         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
13152         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
13153         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
13154           encoder: h264,h265,mpeg2,vp8: use gst_util_uint64_scale() for bitrate
13155           Use gst_util_uint64_scale() to calculate bitrate instead of normal arithmetic
13156           to avoid overflows, underflows and loss of precision.
13157           https://bugzilla.gnome.org/show_bug.cgi?id=768458
13158
13159 2016-07-05 20:07:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13160
13161         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
13162         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
13163           vaapiencode: h264,h265: validate fps numerator
13164           Validate that fps numerator is non-zero so it can be used to calculate
13165           the duration of the B frame.
13166           Also it gst_util_uint64_scale() is used instead of normal arithmetic in
13167           order to aviod overflows, underflows and loss of precision.
13168           https://bugzilla.gnome.org/show_bug.cgi?id=768458
13169
13170 2016-08-06 12:54:17 +0100  Tim-Philipp Müller <tim@centricular.com>
13171
13172         * gst/vaapi/gstvaapi.c:
13173           encoders: demote to RANK_NONE since not fit for autoplugging yet
13174           Encoders claim to support a whole bunch of input formats but then
13175           just error out if the format is not actually supported, even if
13176           there's a converter in front. This means they're not fit for
13177           autoplugging in encodebin or camerabin yet and therefore should
13178           not have a rank. People can still use them in custom pipelines.
13179           https://bugzilla.gnome.org/show_bug.cgi?id=769266
13180
13181 2016-07-19 19:24:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13182
13183         * gst/vaapi/gstvaapipluginbase.c:
13184           plugins: check dmabuf-import for sink pad allocator
13185           Check earlier if upstream video source has activated the dmabuf-import
13186           io-mode (hack to disappear soon), thus we can avoid the re-assignation of a
13187           new allocator.
13188
13189 2016-07-19 20:02:54 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13190
13191         * gst/vaapi/gstvaapipluginbase.c:
13192           plugins: reset allocators if video info changed
13193           If the frame size or format, change, the allocators are reset, so a new ones
13194           can be created with the new video info.
13195
13196 2016-07-19 19:27:27 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13197
13198         * gst/vaapi/gstvaapipluginbase.c:
13199           plugins: remove sink pad allocator if caps change
13200           If the negotiated sinkpad caps change, destroy the assignated allocator,
13201           because it is not valid anymore.
13202
13203 2016-07-19 20:01:05 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13204
13205         * gst/vaapi/gstvaapipluginutil.c:
13206         * gst/vaapi/gstvaapipluginutil.h:
13207           pluginutil: const params to gst_video_info_changed()
13208           Since they are not modified, we should mark them as const.
13209
13210 2016-07-29 15:13:29 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13211
13212         * gst/vaapi/gstvaapipluginbase.c:
13213         * gst/vaapi/gstvaapivideomemory.c:
13214         * gst/vaapi/gstvaapivideomemory.h:
13215           gstvaapivideomemory: allocator's image size getter
13216           Add the method gst_allocator_get_vaapi_image_size() for the
13217           GstVaapiVideoAllocator, which gets the size of the allocated images with the
13218           current video info.
13219           This method replaces the direct call to the allocator's image info when the
13220           pool is configured.
13221
13222 2016-07-29 18:06:30 +0900  Hyunjun Ko <zzoon@igalia.com>
13223
13224         * gst/vaapi/gstvaapipluginbase.c:
13225           plugins: update buffer pool size with new allocator's image size
13226           Depends on media, video size is sometimes updated with new allocator.
13227           It leads to dismatch between bufferpool's set size and real allocated buffer size.
13228           In this case, it causes every buffer is freed during release in bufferpool,
13229           which should be reused. This affects performance.
13230           https://bugzilla.gnome.org/show_bug.cgi?id=769248
13231
13232 2016-07-27 19:49:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13233
13234         * configure.ac:
13235           configure: remove gmodule-2.0 EGL dependency
13236           Since commit 27429ce, EGL support doesn't depend on dynamic loading libraries,
13237           thus the dependency to gmodule-2.0 is not mandatory anymore.
13238
13239 2016-07-27 10:09:38 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13240
13241         * configure.ac:
13242           configure: Fix non-fatal PKG_CHECK_MODULES invocations
13243           Some invocations of PKG_CHECK_MODULES were intended to be non-fatal if
13244           the package is missing, but action-if-not-found was given as an empty
13245           string which still causes the default action to run, which halts
13246           execution.
13247           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13248           https://bugzilla.gnome.org/show_bug.cgi?id=769237
13249
13250 2016-07-13 18:34:57 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13251
13252         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
13253           libs: egl: remove dynamic library loading code
13254           Since the upstream of gstreamer-vaapi, the library is not a public shared
13255           object anymore. But the EGL support depended on this dynamic library, so the
13256           EGL support was broken.
13257           This patch removes the dynamic library loading code and instantiates the
13258           EGL display using either X11 or Wayland if available.
13259           https://bugzilla.gnome.org/show_bug.cgi?id=767203
13260
13261 2016-07-12 23:47:41 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13262
13263         * gst/vaapi/gstvaapi.c:
13264         * gst/vaapi/gstvaapidecode.c:
13265         * gst/vaapi/gstvaapidecode.h:
13266           vaapidecode: register only the available decoders
13267           In order to register only the available decoders, this patch queries the
13268           created test VA display, which uses the currently used back-end (X11, Wayland,
13269           DRM, …) on the used display device.
13270           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13271
13272 2016-06-28 11:43:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13273
13274         * gst/vaapi/gstvaapi.c:
13275         * gst/vaapi/gstvaapipluginutil.c:
13276         * gst/vaapi/gstvaapipluginutil.h:
13277           vaapi: register only the available encoders
13278           In order to register only the available encoders, this patch queries the
13279           created test VA display, which uses the currently used back-end (X11,
13280           Wayland, DRM, …) on the used display device.
13281           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13282
13283 2016-06-07 16:28:07 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13284
13285         * gst/vaapi/gstvaapidecode.c:
13286         * gst/vaapi/gstvaapidecodebin.c:
13287           vaapidecode: split all the codecs
13288           Split the vaapidecode to all the supported codecs with the format
13289           vaapi{codec}dec.
13290           vaapidecode is stil registered as a GObject type, but not as a
13291           GStreamer feature, so it can be used internally by vaapidecodebin without
13292           changing its code too much.
13293           https://bugzilla.gnome.org/show_bug.cgi?id=734093
13294
13295 2016-07-12 22:19:37 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13296
13297         * gst/vaapi/gstvaapidecodebin.c:
13298           vaapidecodebin: simplify the code
13299           Since the elements dependant of the VA video processor are now only registered
13300           if it is available, vaapidecodebin code can be simplified a lot, removing all
13301           the code required to check if the VA video processor was available.
13302           https://bugzilla.gnome.org/show_bug.cgi?id=768899
13303
13304 2016-07-12 17:54:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13305
13306         * gst/vaapi/gstvaapidecode.c:
13307           vaapidecode: delay the GstVaapiDisplay instantiating
13308           Delay the GstVaapiDisplay instantiating until when changing the state from
13309           READY to PAUSE. In this way the element has more chances to find an already
13310           created GstVaapiDisplay, or a GL context, in the pipeline.
13311           https://bugzilla.gnome.org/show_bug.cgi?id=766206
13312
13313 2016-07-12 17:49:50 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13314
13315         * gst/vaapi/gstvaapipluginutil.c:
13316           pluginutil: set GLX display type
13317           The function gst_vaapi_create_display_from_gl_context() cretes a
13318           GstVaapiDisplay given a GstGLContext. But it didn't created a GLX VA display
13319           when the GL platform was GLX, but a plain X11 VA display.
13320           This patch fixes that, by querying the GL platform earlier.
13321           https://bugzilla.gnome.org/show_bug.cgi?id=766206
13322
13323 2016-06-02 19:57:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13324
13325         * gst/vaapi/gstvaapipluginbase.c:
13326         * gst/vaapi/gstvaapivideocontext.c:
13327         * gst/vaapi/gstvaapivideocontext.h:
13328           plugins: add gst_vaapi_plugin_base_find_gl_context()
13329           Using the GstContext mechanism, it is possible to find if the pipeline
13330           shares a GstGLContext, even if we are not to negotiating GLTextureUpload
13331           meta. This is interesting because we could negotiate system memory caps
13332           feature, but enable DMABuf if the GstGLContext is EGL with some extensions.
13333           https://bugzilla.gnome.org/show_bug.cgi?id=766206
13334
13335 2016-06-28 17:14:06 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13336
13337         * gst/vaapi/gstvaapipluginbase.c:
13338         * gst/vaapi/gstvaapipluginbase.h:
13339           plugins: remove gst_vaapi_plugin_base_driver_is_whitelisted()
13340           Since nobody is calling gst_vaapi_plugin_base_driver_is_whitelisted(),
13341           it is deleted.
13342
13343 2016-07-12 18:24:10 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13344
13345         * gst/vaapi/gstvaapipluginbase.h:
13346           plugins: remove common change_state() vmethod
13347           Remove the common change_state() vmethod for all the plugins, since no one is
13348           using it.
13349
13350 2016-07-12 20:38:07 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13351
13352         * gst/vaapi/gstvaapidecode.c:
13353           vaapidecode: remove change_state() vmethod
13354           Since the driver checkup is done at registering, there is no need to do it
13355           when changing the element state from NULL to READY. This patch remove this
13356           vmethod from vaapidecode.
13357
13358 2016-07-12 20:29:12 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13359
13360         * gst/vaapi/gstvaapi.c:
13361           vaapi: register vaapipostproc only if supported
13362           Query the GstVaapiDisplay to know if the driver supports video
13363           postprocessing. If does, then register vaapipostproc and vaapidecodebin
13364           elements.
13365           This patch will simplify the design of vaapidecodebin.
13366           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13367
13368 2016-06-29 12:36:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13369
13370         * gst/vaapi/gstvaapi.c:
13371           vaapi: don't register if VA driver is unsupported
13372           Using the test VA display, the driver name is queried, and if it is not
13373           white-listed, the plugin rejects to register any element.
13374           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13375
13376 2016-06-28 17:14:06 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13377
13378         * gst/vaapi/gstvaapipluginbase.c:
13379         * gst/vaapi/gstvaapipluginutil.c:
13380         * gst/vaapi/gstvaapipluginutil.h:
13381           plugins: add gst_vaapi_driver_is_whitelisted()
13382           Move some of the logic in gst_vaapi_plugin_base_driver_is_whitelisted() to a
13383           new function gst_vaapi_driver_is_whitelisted(), in this way, it can be used
13384           when registering the plugin's feature set with the test VA display.
13385           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13386
13387 2016-07-12 19:56:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13388
13389         * gst/vaapi/gstvaapi.c:
13390           vaapi: instantiate a VA display when registering
13391           This patch tries to instantiate a GstVaapiDisplay when registering the plugin
13392           features, if it fails, no gstreamer-vaapi element is registering.
13393           The purpose of this patch is to avoid a situation where the user has
13394           gstreamer-vaapi installed but their VA-API setup is not functional, which may
13395           lead to unexpected behavior.
13396           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13397
13398 2016-06-28 11:33:18 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13399
13400         * configure.ac:
13401         * gst/vaapi/gstvaapi.c:
13402           vaapi: declare external dependencies
13403           There are two main external dependencies that define the feature set of this
13404           plugin: a) the kernel and b) the VA driver
13405           This patch tracks both dependencies, if any of them change, GStreamer will
13406           re-inspect the plugin.
13407           The kernel is tracked through the device files /dev/dri/card*
13408           The VA driver is tracked through the files VA_DRIVERS_PATH/*_drv_video.so,
13409           where VA_DRIVERS_PATH is the one defined in libva package configuration. Also,
13410           the environment variables LIBVA_DRIVERS_PATH and LIBVA_DRIVER_NAME are tracked
13411           since they modify the driver lookup.
13412           Additionally, the environment variable GST_VAAPI_ALL_DRIVERS is tracked too.
13413           https://bugzilla.gnome.org/show_bug.cgi?id=724352
13414
13415 2016-07-19 16:02:27 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13416
13417         * gst/vaapi/gstvaapidecode.c:
13418           vaapidecode: remove unneeded initializations
13419           GObject's memory is set to zero, so there is no need to initialize to zero or
13420           NULL it's class variables.
13421
13422 2016-07-19 18:28:28 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13423
13424         * gst/vaapi/gstvaapipluginbase.h:
13425           plugins: remove undefined macros
13426
13427 2016-07-19 17:43:28 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13428
13429         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
13430           Revert "gstvaapisurface_drm: release image when done"
13431           This reverts commit 1dbcc8a0e199f2da6a0ab8e949f13341916128a3  and commit
13432           372a03a9e38acbf435eb80bf31d9a9844069e504.
13433           While the dmabuf handle is exported, the derive image must exist, otherwise
13434           the image's VA buffer is invalid, thus the dmabuf handle is never released,
13435           leading into a file descriptors leak.
13436
13437 2016-07-21 17:38:17 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13438
13439         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
13440           encoder: h265: fix code-style
13441
13442 2016-07-22 16:55:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13443
13444         * gst/vaapi/gstvaapipostproc.c:
13445           vaapipostproc: update filters at color balance
13446           This is a fix for a regression of previous commit, which updates the filters
13447           only when the property is set, because it is also required to update the
13448           filter when the color balance interface change its values.
13449
13450 2016-07-22 12:10:23 +0900  Hyunjun Ko <zzoon@igalia.com>
13451
13452         * gst/vaapi/gstvaapipostproc.c:
13453         * gst/vaapi/gstvaapipostproc.h:
13454           vaapipostproc: make it enable/disable pass-through mode
13455           In case that sink caps and src caps are same, and no filtering parameter set,
13456           pass-through mode is enabled.
13457           If new filtering parameter is set during playback, it makes it reconfiguring,
13458           so that pass-through mode is changed
13459           In addition, updating filter is performed during reconfiguration, if needed.
13460           https://bugzilla.gnome.org/show_bug.cgi?id=751876
13461
13462 2016-07-22 11:51:26 +0900  Hyunjun Ko <zzoon@igalia.com>
13463
13464         * gst-libs/gst/vaapi/gstvaapifilter.c:
13465         * gst-libs/gst/vaapi/gstvaapifilter.h:
13466         * gst/vaapi/gstvaapipostproc.c:
13467           vaapipostproc: checking and updating filter parameter only when it's set
13468           This patch is to avoid checking filter value at every frame.
13469           https://bugzilla.gnome.org/show_bug.cgi?id=751876
13470
13471 2016-07-21 11:24:31 +0300  Allen Zhang <Zhang, Zhangfei>
13472
13473         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
13474           decoder: h265: handle the SEI NAL units included in codec_data
13475           The prefix/suffix SEI nal units can appear in codec_data too
13476           which weren't handled before. Parse these SEI headers to
13477           fix the segfault.
13478           https://bugzilla.gnome.org/show_bug.cgi?id=768544
13479
13480 2016-07-15 16:32:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13481
13482         * docs/plugins/Makefile.am:
13483           build: doc: do not redefine MAINTAINERCLEANFILES
13484           MAINTAINERCLEANFILES is defined in gtk-doc-plugins.mak, thus instead of
13485           overload it, the files should be added.
13486
13487 2016-07-15 14:41:27 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
13488
13489         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
13490           encoder: h264: Fix MVC encode while enabling dct8x8
13491           Pack the transform_8x8_mode_flag and other necessary rbsp data
13492           in packed_pps header for MVC encode.
13493           https://bugzilla.gnome.org/show_bug.cgi?id=768647
13494
13495 2016-07-12 23:58:55 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13496
13497         * gst/vaapi/gstvaapisink.c:
13498           vaapisink: demote a debug message to trace
13499           Reduces noise when debugging.
13500
13501 2016-07-13 17:21:01 +0900  Jagyum Koo <koojagyum@gmail.com>
13502
13503         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
13504           wayland: Error check before using cached wl_display
13505           A planar(or some other) buffer allocation may fail on the driver, then
13506           the wayland connection becomes invalid, not able to send request or
13507           receive any event. So we need to set up a new wayland connection if
13508           there's an error detected on the cached wl_display.
13509           https://bugzilla.gnome.org/show_bug.cgi?id=768761
13510           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13511
13512 2016-07-11 21:15:57 +0200  Stefan Sauer <ensonic@users.sf.net>
13513
13514         * common:
13515           Automatic update of common submodule
13516           From ac2f647 to f49c55e
13517
13518 2016-07-05 18:23:22 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13519
13520         * gst/vaapi/gstvaapiencode.c:
13521           vaapiencode: demote a log to trace level
13522           Removes noise when debugging.
13523
13524 2016-07-06 11:17:23 +0900  Hyunjun Ko <zzoon@igalia.com>
13525
13526         * gst/vaapi/gstvaapiencode.c:
13527           vaapiencode: implement flush() vmethod
13528           In order to handle correctly seek and other operations, vaapiencode should
13529           flush all the remaining data from the encoder without pushing it downstream.
13530           This patch implements the flush() vmethod, only after of pausing the
13531           source pad task, and restarting it again after the flush stop.
13532           https://bugzilla.gnome.org/show_bug.cgi?id=767176
13533           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13534
13535 2016-07-11 08:43:04 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13536
13537         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
13538           decoder: vc1: flush dpb only if opened
13539           Flush the decode picture buffer, if and only if, the decoder is
13540           started. Otherwise the dpb structure might be NULL.
13541           https://bugzilla.gnome.org/show_bug.cgi?id=742922
13542
13543 2016-07-01 14:42:20 +0900  Hyunjun Ko <zzoon@igalia.com>
13544
13545         * gst/vaapi/gstvaapidecode.c:
13546         * gst/vaapi/gstvaapidecode.h:
13547           vaapidecode: drop non-keyframe in reverse playback
13548           To avoid surface-exhausted situation during reverse playback,
13549           drop frames except for key frame.
13550           Also, to avoid the corruption of the parser state, flush() vmethod
13551           doesn't destroy the VA decoder when playing in reverse.
13552           https://bugzilla.gnome.org/show_bug.cgi?id=742922
13553           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13554
13555 2016-07-10 19:33:14 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13556
13557         * gst/vaapi/gstvaapidecode.c:
13558           vaapidecode: unref output frame earlier
13559           The queue in GstVaapiDecode adds an extra reference to the frames. This patch
13560           unref that extra reference earlier making the code simpler to follow.
13561           https://bugzilla.gnome.org/show_bug.cgi?id=768652
13562
13563 2016-07-10 19:01:17 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13564
13565         * gst/vaapi/gstvaapidecode.c:
13566           vaapidecode: remove gst_vaapidecode_internal_flush()
13567           As gst_vaapidecode_finish() is the only callee of
13568           gst_vaapidecode_internal_flush(), it is better to inline it.
13569           https://bugzilla.gnome.org/show_bug.cgi?id=768652
13570
13571 2016-07-10 18:18:57 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13572
13573         * gst/vaapi/gstvaapidecode.c:
13574           vaapidecode: flush output adapter at drain()
13575           Calling drain() vmethod means "decode any data it can at this point, but that
13576           more data may arrive after". Hence, vaapidecode should check if there is data
13577           in the output adapter and process them, without destroying the decoded picture
13578           buffer (dpb).
13579           Since this operation is done by gst_vaapidecode_internal_flush(), the operation
13580           was refactored into a new function gst_vaapidecode_flush_output_adapter().
13581           https://bugzilla.gnome.org/show_bug.cgi?id=768652
13582
13583 2016-07-10 13:46:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13584
13585         * gst/vaapi/gstvaapidecode.c:
13586           vaapidecode: call purge at flush()
13587           Calling flush() vmethod means "to flush all remaining data from the decoder
13588           without pushing it downstream".
13589           Nonetheless flush() is calling gst_vaapidecode_internal_flush(), which calls
13590           gst_video_decoder_have_frame() if there is still something in the input
13591           adapter, which may push buffers to downstream by calling handle_frame().
13592           This patch changes this behavior by calling gst_vaapidecode_purge() rather
13593           than gst_vaapidecode_internal_flush(), which does what we want: flushes the VA
13594           decoder and releases all the rest of decoded frames.
13595           https://bugzilla.gnome.org/show_bug.cgi?id=768652
13596
13597 2016-07-06 18:38:37 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13598
13599         * tests/elements/Makefile.am:
13600         * tests/elements/test-vaapisink.c:
13601           test: elements: remove spurious linkage
13602           Element tests only need to link against gstreamer libraries.
13603
13604 2016-07-06 14:41:21 +0300  Sebastian Dröge <sebastian@centricular.com>
13605
13606         * configure.ac:
13607           configure: Require GLib >= 2.40 like everywhere else
13608
13609 2016-07-06 13:51:21 +0300  Sebastian Dröge <sebastian@centricular.com>
13610
13611         * configure.ac:
13612           Back to development
13613
13614 === release 1.9.1 ===
13615
13616 2016-07-06 13:48:07 +0300  Sebastian Dröge <sebastian@centricular.com>
13617
13618         * ChangeLog:
13619         * NEWS:
13620         * common:
13621         * configure.ac:
13622         * gstreamer-vaapi.doap:
13623           Release 1.9.1
13624
13625 2016-07-05 20:59:49 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13626
13627         * tests/elements/test-vaapisink.c:
13628           tests: elements: rotate orientation event
13629
13630 2016-07-01 16:01:54 +0900  Hyunjun Ko <zzoon@igalia.com>
13631
13632         * configure.ac:
13633         * tests/Makefile.am:
13634         * tests/elements/Makefile.am:
13635         * tests/elements/test-vaapisink.c:
13636           tests: elements: Add testsuite for vaapisink
13637           https://bugzilla.gnome.org/show_bug.cgi?id=765798
13638
13639 2016-07-01 16:00:46 +0900  Hyunjun Ko <zzoon@igalia.com>
13640
13641         * gst-libs/gst/vaapi/gstvaapitypes.h:
13642         * gst-libs/gst/vaapi/gstvaapivalue.c:
13643         * gst/vaapi/gstvaapisink.c:
13644         * gst/vaapi/gstvaapisink.h:
13645           vaapisink: add support for GST_TAG_IMAGE_ORIENTATION
13646           https://bugzilla.gnome.org/show_bug.cgi?id=765798
13647
13648 2016-06-29 13:57:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13649
13650         * gst/vaapi/gstvaapipostproc.c:
13651           vaapipostproc: return caps template if no display
13652           This patch is a fix for my bad review of commit 6d73ca8d. The element should
13653           be able to return the available raw caps handled by the VA display, but that
13654           only should happen when there a VA display. If there's none, the element
13655           should use the caps template.
13656           https://bugzilla.gnome.org/show_bug.cgi?id=768161
13657
13658 2016-06-29 16:42:18 +1000  Matthew Waters <matthew@centricular.com>
13659
13660         * gst/vaapi/gstvaapipostproc.c:
13661           vaapipostproc: don't require a vaapi display for all caps queries
13662           This delays the requirement of having a GstVaapiDisplay until later
13663           https://bugzilla.gnome.org/show_bug.cgi?id=768161
13664
13665 2016-06-28 15:48:39 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13666
13667         * gst-libs/gst/vaapi/gstvaapiutils.c:
13668           utils: report VP9 profiles
13669           Add VP9Profile0-3 name mapping.
13670
13671 2016-06-28 14:05:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13672
13673         * gst/vaapi/gstvaapi.c:
13674           vaapi: nest includes under USE_ENCODER macro
13675           This is a missed changeset from commit 1c05c53, since also header includes
13676           should be nested.
13677
13678 2016-06-28 11:54:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13679
13680         * gst/vaapi/gstvaapi.c:
13681           vaapi: nest encoders under USE_ENCODER macro
13682           Though USE_{JPEG,VP8,VP9,H265}_ENCODER macros definition depend on USE_ENCODER
13683           macro, it is clearer to nest them, showing explicitly the dependency relation.
13684
13685 2016-06-24 12:05:24 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13686
13687         * gst/vaapi/gstvaapivideocontext.c:
13688           vaapivideocontext: check if query context is NULL
13689           Under certain conditions the element might receive a positive context query
13690           but without a context instance. This situation will lead to a segmentation
13691           fault when traversing the context list in the pipeline.
13692           https://bugzilla.gnome.org/show_bug.cgi?id=767946
13693
13694 2016-06-20 13:22:36 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13695
13696         * gst-libs/gst/vaapi/Makefile.am:
13697         * gst-libs/gst/vaapi/glibcompat.h:
13698         * gst-libs/gst/vaapi/sysdeps.h:
13699           remove unused glibcompat.h
13700           glibcompat.h is no longer doing anything. Remove it.
13701           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13702           https://bugzilla.gnome.org/show_bug.cgi?id=767886
13703
13704 2016-06-22 14:28:44 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13705
13706         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
13707           encoder: h264: Use high profile by default
13708           Change defaults for max-bframes, cabac, and dct8x8 to be enabled
13709           by default. This will cause the default profile to be high instead
13710           of baseline. In most situations this is the right decision, and
13711           the profile can still be lowered in the case of caps restrictions.
13712           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13713           https://bugzilla.gnome.org/show_bug.cgi?id=757941
13714
13715 2016-06-22 12:15:29 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13716
13717         * gst/vaapi/gstvaapidecodebin.c:
13718           vaapidecodebin: element warning if missing element
13719           Raise an element warning if a required element is not available, thus the
13720           pipeline will post a warning message and the application will be informed.
13721
13722 2016-06-22 15:11:56 +0300  Hyunjun Ko <zzoon@igalia.com>
13723
13724         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
13725           decoder: h265: fix to release all dpb pictures
13726           Without this, all dpb pictures are not released during flush,
13727           because we used the global dpb_count variable for checking the
13728           dpb fullness which get decremented in dpb_remove_index()
13729           routine during each loop iteration.
13730           https://bugzilla.gnome.org/show_bug.cgi?id=767934
13731
13732 2016-06-21 11:48:54 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
13733
13734         * common:
13735           Automatic update of common submodule
13736           From ac2f647 to f363b32
13737
13738 2016-06-20 19:53:26 +0900  Hyunjun Ko <zzoon@igalia.com>
13739
13740         * gst/vaapi/gstvaapidecode.c:
13741         * gst/vaapi/gstvaapipostproc.c:
13742           vaapi: fix minor leaks
13743           https://bugzilla.gnome.org/show_bug.cgi?id=767868
13744
13745 2016-06-17 17:00:03 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13746
13747         * gst/vaapi/gstvaapi.c:
13748           vaapi: remove an already included header
13749           gst/gst.h is already included in gstcompat.h
13750
13751 2016-06-17 16:53:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13752
13753         * gst/vaapi/gstvaapidecodebin.c:
13754           vaapidecodebin: add vp9 in sink pad template
13755
13756 2016-06-15 20:19:27 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13757
13758         * gst/vaapi/gstvaapisink.c:
13759           vaapisink: return caps template if no display
13760           If vaapisink received a caps query before getting a VA display, it returned
13761           only the surfaces related caps. This behavior broke the autovideosink
13762           negotiation.
13763           This patch returns the pad's template caps if no VA display, otherwise the
13764           caps are crafted as before.
13765           https://bugzilla.gnome.org/show_bug.cgi?id=767699
13766
13767 2016-06-15 11:25:23 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13768
13769         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
13770           decoder: vp9: Update comment about context resets
13771           Clarify that vaapi context resets are never needed for vp9, but
13772           that ensure_context() needs called when the size increases so that
13773           new surfaces can be allocated.
13774           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13775           https://bugzilla.gnome.org/show_bug.cgi?id=767474
13776
13777 2016-05-17 15:34:23 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13778
13779         * gst-libs/gst/vaapi/gstvaapicontext.c:
13780         * gst-libs/gst/vaapi/gstvaapicontext.h:
13781         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
13782           gstvaapicontext: control reset_on_resize with option
13783           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13784           https://bugzilla.gnome.org/show_bug.cgi?id=767474
13785
13786 2016-06-14 09:45:22 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13787
13788         * gst/vaapi/gstvaapivideobufferpool.c:
13789           vaapivideobufferpool: add video meta to config when needed
13790           In cases where we know the video meta must be present, add it to
13791           the pool configuration.
13792           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13793           https://bugzilla.gnome.org/show_bug.cgi?id=766184
13794
13795 2016-06-13 10:48:41 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13796
13797         * gst/vaapi/gstvaapipluginbase.c:
13798           plugins: retry pool config
13799           if gst_buffer_pool_set_config returns FALSE, check the modified
13800           config and retry set_config if the config is still acceptable.
13801           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13802           https://bugzilla.gnome.org/show_bug.cgi?id=766184
13803
13804 2016-06-08 18:42:43 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13805
13806         * gst/vaapi/gstvaapivideomemory.h:
13807           vaapivideomemory: internal attributes to methods
13808           Mark as internal the functions used by VA-API dmabuf allocator.
13809
13810 2016-06-02 15:41:22 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13811
13812         * gst/vaapi/gstvaapipluginbase.c:
13813           plugins: remove precondition for decide_allocation()
13814           There's no need to check for the display in the plugin object when
13815           decide_allocation() vmethod is called, because the display will created or
13816           re-created along the method execution.
13817
13818 2016-06-08 18:44:34 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13819
13820         * gst/vaapi/gstvaapipluginbase.c:
13821           plugins: avoid possible memory leaks
13822           Get the pool config just before use it, to avoid a memory leak if the
13823           allocator cannot be instantiated. Similarly, return FALSE if the configuration
13824           cannot be set, avoid keep a not used allocator in the pool.
13825
13826 2016-05-31 11:52:57 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13827
13828         * gst/vaapi/gstvaapipluginbase.c:
13829           plugins: use GstParentBufferMeta
13830           Instead of using the VASurface proxy's notify, which is internal gstvaapi API,
13831           use the GStreamer's GstParentBufferMeta.
13832           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13833
13834 2016-05-31 08:26:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13835
13836         * gst/vaapi/gstvaapipluginbase.c:
13837           plugins: cache VASurfaces from dmabufs
13838           This patch avoids the creation of a VASurface each time a new input buffer is
13839           processed, caching them in the input buffer itself.
13840           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13841
13842 2016-05-30 23:55:43 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13843
13844         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
13845         * gst-libs/gst/vaapi/gstvaapisurface_drm.h:
13846         * gst/vaapi/gstvaapipluginbase.c:
13847           libs: change gst_vaapi_surface_new_with_dma_buf_handle()
13848           Instead of passing the data already in GstVideoInfo, let's just pass the
13849           GstVideoInfo structure.
13850           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13851
13852 2016-05-25 12:31:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13853
13854         * gst/vaapi/gstvaapipluginbase.c:
13855         * gst/vaapi/gstvaapipluginbase.h:
13856           plugins: use an unique allocator per pad
13857           Instead of instantiating an allocator per vaapivideobufferpool, only one
13858           allocator is instantiated per element's pad and shared among future pools.
13859           If the pad's caps changes, the allocator is reset.
13860           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13861
13862 2016-05-25 10:58:01 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13863
13864         * gst/vaapi/gstvaapipluginbase.c:
13865         * gst/vaapi/gstvaapivideobufferpool.c:
13866         * gst/vaapi/gstvaapivideobufferpool.h:
13867           vaapivideobufferpool: share options flag with pluginbase
13868           Originally, vaapivideobufferpool has a set of boolean variables for the
13869           buffer configuration options.
13870           This pach changes these boolean variables for a single bitwise, just as
13871           it is used in pluginbase. Hence, the internal enum was moved to
13872           vaapivideobufferpool header.
13873           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13874
13875 2016-05-10 15:57:06 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13876
13877         * gst/vaapi/gstvaapipluginbase.c:
13878           plugins: add gst_vaapi_plugin_base_create_pool()
13879           This patch refactors the code in pluginbase in order to centralize the buffer
13880           pool instantiation. As the buffer pool config may have different options, these
13881           are gathered using a bitwise flag.
13882           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13883
13884 2016-05-20 18:46:14 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13885
13886           pluginbase negotiates allocator with bufferpool
13887           Originally vaapivideobufferpool instantiates its own allocator regardless the
13888           received configuration, and it relies in custom configuration options to
13889           choose which kind of allocator instantiate.
13890           This patch transfers the responsibility of the allocator instantiate to
13891           vaapipluginbase and pass it to the vaapivideobufferpool through its
13892           configuration.
13893           * gst/vaapi/gstvaapipluginbase.c
13894           + set_dmabuf_allocator(): inserts a dmabuf allocator in the bufferpool
13895           + ensure_sinkpad_buffer_pool(): set a normal vaapi video allocator in
13896           bufferpool configuration
13897           + gst_vaapi_plugin_base_propose_allocation(): call set_dmabuf_allocator() if
13898           needed.
13899           + gst_vaapi_plugin_base_decide_allocation(): set a normal vaapi video
13900           allocator in bufferpool configuration
13901           * gst/vaapi/gstvaapivideobufferpool.c
13902           + gst_vaapi_video_buffer_pool_set_config(): instead of instantiate the
13903           allocator, process the received one through its configuration.
13904           * gst/vaapi/gstvaapivideobufferpool.h: removed
13905           GST_BUFFER_POOL_OPTION_DMABUF_MEMORY since it is not used anymore.
13906           * gst/vaapi/gstvaapivideomemory.c
13907           + gst_vaapi_is_dmabuf_allocator(): new helper function to identify a dmabuf
13908           allocator with the vaapi qdata.
13909           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13910
13911 2016-05-20 14:39:23 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13912
13913         * gst/vaapi/gstvaapivideobufferpool.c:
13914           vaapivideobufferpool: keep only current video info
13915           Instead of keeping old and new GstVideoInfo video structure, we only keep one,
13916           the current one, the negotiated. The old one is not needed at all.
13917           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13918
13919 2016-05-23 15:38:07 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13920
13921         * gst/vaapi/gstvaapipluginbase.c:
13922         * gst/vaapi/gstvaapipluginutil.c:
13923         * gst/vaapi/gstvaapipluginutil.h:
13924         * gst/vaapi/gstvaapivideomemory.c:
13925           pluginutil: add gst_video_info_force_nv12_if_encoded()
13926           This lines repeat a couple times in the code, so it would be better to put it
13927           a helper function.
13928           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13929
13930 2016-05-20 14:15:53 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
13931
13932         * gst/vaapi/gstvaapipluginutil.c:
13933         * gst/vaapi/gstvaapipluginutil.h:
13934         * gst/vaapi/gstvaapipostproc.c:
13935         * gst/vaapi/gstvaapivideobufferpool.c:
13936           pluginutil: add gst_video_info_changed() helper
13937           This function is shared among different elements, so let factorized it.
13938           https://bugzilla.gnome.org/show_bug.cgi?id=765435
13939
13940 2016-06-08 10:14:16 +0900  Hyunjun Ko <zzoon@igalia.com>
13941
13942         * gst/vaapi/gstvaapipostprocutil.c:
13943           vaapipostproc: Add colorimetry attributes to src caps
13944           https://bugzilla.gnome.org/show_bug.cgi?id=766596
13945
13946 2016-06-08 10:17:46 +0900  Hyunjun Ko <zzoon@igalia.com>
13947
13948         * gst/vaapi/gstvaapidecode.c:
13949           vaapidecode: remove chroma-site and colorimetry from src caps
13950           https://bugzilla.gnome.org/show_bug.cgi?id=766596
13951
13952 2016-06-07 14:19:50 -0700  Scott D Phillips <scott.d.phillips@intel.com>
13953
13954         * gst/vaapi/gstvaapipostproc.c:
13955         * gst/vaapi/gstvaapipostproc.h:
13956           vaapipostproc: add postproc_lock to protect data members
13957           Add a mutex to postproc to protect concurrent access to data members.
13958           Previously set_caps() could release the allowed_srcpad_caps while
13959           transform_caps was in the middle of using it.
13960           Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
13961           https://bugzilla.gnome.org/show_bug.cgi?id=766940
13962
13963 2016-05-30 11:30:40 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
13964
13965         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
13966         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
13967           encoder: vp9: Add simple algorithms for reference picture selection
13968           Added two modes(as properties) for reference picture selection:
13969           ref-mode-0: AltRef and GoldRef pointing to the recent keyframe
13970           and LastRef is pointing to the previous frame.
13971           ref-mode-1: Previous frame (n) as LastRef , n-1 th frame as GoldRef
13972           and n-2 th frame as AltRef
13973           https://bugzilla.gnome.org/show_bug.cgi?id=766048
13974
13975 2016-05-30 11:25:52 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
13976
13977         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
13978           encoder: vp9: Define Max frame width and height
13979           https://bugzilla.gnome.org/show_bug.cgi?id=766048
13980
13981 2016-05-30 11:25:03 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
13982
13983         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
13984         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
13985           encoder: vp9: Add more propertis for tuning encode quality
13986           Added three tuning properties:
13987           1: filter_level
13988           2: sharpness_level
13989           3: luma ac quant-table index
13990           https://bugzilla.gnome.org/show_bug.cgi?id=766048
13991
13992 2016-05-30 11:24:14 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
13993
13994         * gst/vaapi/Makefile.am:
13995         * gst/vaapi/gstvaapi.c:
13996         * gst/vaapi/gstvaapiencode_vp9.c:
13997         * gst/vaapi/gstvaapiencode_vp9.h:
13998           Add vp9 encode element to "vaapi" plugin
13999           https://bugzilla.gnome.org/show_bug.cgi?id=766048
14000
14001 2016-05-30 11:23:12 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14002
14003         * gst-libs/gst/vaapi/Makefile.am:
14004         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.c:
14005         * gst-libs/gst/vaapi/gstvaapiencoder_vp9.h:
14006           Add vp9 encoder support in libgstvaapi
14007           https://bugzilla.gnome.org/show_bug.cgi?id=766048
14008
14009 2016-05-30 11:22:35 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14010
14011         * configure.ac:
14012           build: Add check for VP9 encode API support in libva
14013           https://bugzilla.gnome.org/show_bug.cgi?id=766048
14014
14015 2016-05-26 11:42:32 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14016
14017         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
14018           gstvaapisurface_drm: fix internal documentation
14019
14020 2016-05-26 11:41:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14021
14022         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
14023           gstvaapisurface_drm: fix code-style
14024
14025 2016-05-25 12:28:48 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14026
14027         * gst/vaapi/gstvaapipluginbase.c:
14028           plugins: remove unused header
14029           Remove the include of gst/allocators/allocators.h since it is not used.
14030
14031 2016-05-25 10:36:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14032
14033         * gst/vaapi/gstvaapivideobufferpool.h:
14034           vaapivideobufferpool: remove GL_TEXTURE_UPLOAD_META
14035           Since gstreamer-vaapi is coupled with gstreamer releases, there is no need to
14036           keep compatibility definition.
14037           This patch removes the definition of
14038           GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META since it is in
14039           gst-plugins-base version 1.2.2
14040
14041 2016-05-23 22:49:11 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14042
14043         * gst/vaapi/gstvaapipluginbase.c:
14044           plugins: add gst_vaapi_buffer_pool_caps_is_equal()
14045           This is a helper function to improve the readability of
14046           ensure_sinkpad_buffer_pool(). It makes clearer when the buffer pool needs to be
14047           re-instantiated.
14048
14049 2016-05-24 16:29:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14050
14051         * gst/vaapi/gstvaapipluginbase.c:
14052           plugins: deactivate buffer pool before unref
14053           This buffer pool may still be processing buffers when a caps renegotiation is
14054           done. This one-liner patch deactivates the pool to drain it before it
14055           de-allocation.
14056
14057 2016-05-24 16:22:24 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14058
14059         * gst/vaapi/gstvaapipluginbase.c:
14060           plugins: no sinkpad bufferpool when decoder
14061           Right now, the decoders create a buffer pool for their sink pad which is not
14062           used at all, because the decoders have never proposed it to upstream.
14063           This patch avoids the buffer pool instantiating when the element inherits from
14064           the GstVideoDecoder class.
14065
14066 2016-05-24 13:39:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14067
14068         * gst/vaapi/gstvaapipluginbase.c:
14069           plugins: avoid to get/set pool config twice
14070           This patch is a bit of optimization, since the bufferpool configuration is get
14071           when the pool is created. Hence, we only need to request it when the pool from
14072           the allocation query is reused.
14073
14074 2016-05-13 13:14:23 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14075
14076         * gst/vaapi/gstvaapipluginbase.c:
14077           plugins: destroy pool earlier if non-vaapi
14078           If the offered pool in decide_allocation() vmethod doesn't have the
14079           VAAPI_VIDEO_META option, it is destroyed immediatly and the pointer cleared,
14080           so it could be created later.
14081
14082 2016-05-23 22:30:04 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14083
14084         * gst/vaapi/gstvaapivideobufferpool.c:
14085           vaapivideobufferpool: split caps validation
14086           When validating the caps from bufferpool config, this patch distinguishes the
14087           error from no caps received (NULL) from the invalid caps (cannot be converted
14088           into GstVideoInfo structure).
14089
14090 2016-05-23 22:21:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14091
14092         * gst/vaapi/gstvaapidecode.c:
14093         * gst/vaapi/gstvaapipluginbase.c:
14094           plugins: check for caps in query earlier
14095           Check for caps as soon gst_query_parse_allocation() returns.
14096
14097 2016-05-23 23:13:55 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14098
14099         * gst/vaapi/gstvaapipluginbase.c:
14100         * gst/vaapi/gstvaapipluginbase.h:
14101           plugins: remove unused variables
14102           This variables stopped to be used since commit 001a5c63, which removed the
14103           gstvaapiuploader.
14104
14105 2016-05-23 18:47:46 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14106
14107         * gst/vaapi/gstvaapipluginbase.c:
14108           plugins: fix potential memleak from commit 9159328
14109           If gst_video_info_from_caps() fails it is required to unref the instantiated
14110           pool.
14111
14112 2016-05-23 18:04:47 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14113
14114         * gst/vaapi/gstvaapipostproc.c:
14115           vaapipostproc: handle if gst_video_info_from_caps() fails
14116           Return FALSE is the received caps cannot be transformed into a GstVideoInfo
14117           structure.
14118
14119 2016-05-23 17:55:35 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14120
14121         * gst/vaapi/gstvaapipluginbase.c:
14122           plugins: handle if gst_video_info_from_caps() fails
14123           Let's play safe and return error if, somehow, the received caps are wrong.
14124
14125 2016-05-23 17:47:36 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14126
14127         * gst/vaapi/gstvaapipluginbase.c:
14128           plugins: relate errors to instance
14129           Use GST_{ERROR,WARNING}_OBJECT instead of GST_{ERROR,WARNING}, thus the logs
14130           will show the name of the vaapipluginbase instance that failed.
14131           Also, the code-style is fixed, where some error labels need to be surrounded
14132           by braces.
14133
14134 2016-05-20 21:01:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14135
14136         * gst/vaapi/gstvaapipluginbase.c:
14137         * gst/vaapi/gstvaapipluginutil.c:
14138         * gst/vaapi/gstvaapisink.c:
14139           plugins: use GstVideoInfo accessors
14140           Instead of access to GstVideInfo members directly, use their accessors
14141           macros. This patch makes more resistance to future changes in GStreamer core.
14142
14143 2016-05-20 19:33:39 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14144
14145         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
14146         * gst/vaapi/gstvaapipluginbase.c:
14147         * gst/vaapi/gstvaapipostproc.c:
14148         * tests/simple-encoder.c:
14149           remove spurious gst_video_info_init()
14150           gst_video_info_set_format() and gst_video_info_from_caps() call, internally,
14151           gst_video_info_init(), hence it is not required to call it before them. This
14152           patch removes these spurious calls.
14153
14154 2016-05-20 19:15:11 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14155
14156         * gst/vaapi/gstvaapipluginbase.c:
14157           vaapipluginbase: code-style: rename goto label
14158           The error labels have error_ prefix, but this one.
14159
14160 2016-05-19 16:34:50 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14161
14162         * gst/vaapi/gstvaapivideomemory.c:
14163           vaapivideomemory: use allocator custom alloc flag
14164           Instead of a dummy alloc() vmethod, the allocator instance set the flag
14165           GST_ALLOCATOR_FLAG_CUSTOM_ALLOC, which is used by the framework to avoid call
14166           gst_allocator_alloc() on the allocator.
14167
14168 2016-05-06 13:17:47 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14169
14170         * gst/vaapi/gstvaapivideobufferpool.c:
14171           vaapivideobufferpool: relate errors to instance
14172           Use GST_ERROR_OBJECT instead of GST_ERROR, thus the logs will show the name of
14173           the vaapivideobufferpool instance that failed.
14174
14175 2016-05-10 16:14:48 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14176
14177         * gst/vaapi/gstvaapipluginbase.c:
14178           plugins: remove gst_vaapi_plugin_base_set_pool_config()
14179           This function helper make sense for GStreamer 1.2, but it is not helpful for
14180           greater version since the validation is already done in the API implementation.
14181           Thus, it is removed.
14182
14183 2016-05-18 17:05:03 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14184
14185         * gst/vaapi/gstvaapipluginbase.c:
14186           gstvaapipluginbase: Fix typo in doc
14187
14188 2016-05-13 11:45:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14189
14190         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
14191           encoder : h264: Disable b-frame encode in low-power mode
14192           This is a workaround since vaapi-intel-driver doesn't have
14193           support for B-frame encode when utilizing low-power-enc
14194           hardware block.
14195           Fixme :We should query the VAConfigAttribEncMaxRefFrames
14196           instead of blindly disabling b-frame support and set b/p frame count,
14197           buffer pool size etc based on the query result.
14198           https://bugzilla.gnome.org/show_bug.cgi?id=766050
14199
14200 2016-05-13 11:44:57 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14201
14202         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
14203         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
14204           encoder: h264 : Use "tune=low-power" for enabling lowpower encode
14205           Remove the duplicate property "low-power-enc" and use the
14206           tune property for enabling low power encoding mode.
14207           https://bugzilla.gnome.org/show_bug.cgi?id=766050
14208
14209 2016-05-11 12:06:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14210
14211         * gst-libs/gst/vaapi/gstvaapiencoder.c:
14212           gstvaapiencoder:Use internal api to dervie configured VAEntrypoint
14213           https://bugzilla.gnome.org/show_bug.cgi?id=766050
14214
14215 2016-05-11 12:05:36 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14216
14217         * gst-libs/gst/vaapi/gstvaapiencoder.c:
14218         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
14219         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
14220           encoder: h264: Add support of low power/high performance encoding mode
14221           Added a new property "low-power-enc" for enabling low power
14222           encoding mode. Certain encoding tools may not be available
14223           with the VAEntrypointEncSliceLP.
14224           https://bugzilla.gnome.org/show_bug.cgi?id=766050
14225
14226 2016-05-11 12:04:46 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14227
14228         * gst-libs/gst/vaapi/gstvaapitypes.h:
14229         * gst-libs/gst/vaapi/gstvaapiutils.c:
14230         * gst-libs/gst/vaapi/gstvaapivalue.c:
14231           Add mapping for Macroblock level rate control (VA_RC_MB)
14232
14233 2016-05-11 12:03:08 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14234
14235         * gst-libs/gst/vaapi/gstvaapidisplay.c:
14236           gstvaapidisplay: Add VAEntrypointEncSliceLP support
14237           https://bugzilla.gnome.org/show_bug.cgi?id=766050
14238
14239 2016-05-11 11:59:59 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14240
14241         * gst-libs/gst/vaapi/gstvaapiprofile.c:
14242         * gst-libs/gst/vaapi/gstvaapiprofile.h:
14243           gstvaapiprofile : Add VAEntrypointEncSliceLP definitions
14244           This is for implementations that supports low_power/high_performance
14245           variant for slice level encode.
14246           https://bugzilla.gnome.org/show_bug.cgi?id=766050
14247
14248 2016-05-05 18:23:10 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14249
14250         * gst/vaapi/gstvaapipostprocutil.c:
14251           vaapipostproc: negotiate frame size fixation
14252           Refactor _fixate_frame_size(). Now, instead of fixating the frame size only
14253           using the sink caps, also it use the next capsfilter.
14254           This code is a shameless copy of gst_video_scale_fixate_caps() from
14255           https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/videoscale/gstvideoscale.c?id=1.8.1#n634
14256           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14257
14258 2016-05-06 10:50:10 +0200  Scott D Phillips <scott.d.phillips@intel.com>
14259
14260         * gst/vaapi/gstvaapipostprocutil.c:
14261           vaapipostproc: don't use GstVideoInfo for src caps
14262           Instead of using gst_video_info_to_caps () to generated the fixed src caps,
14263           this patch enables the first step for caps negotiation with a possible
14264           following caps filter.
14265           _get_preferred_caps() will traverse the possible src caps looking for the one
14266           wit the preferred feature and the preferred color format. Then the color
14267           format, the frame size and the frame rate are fixated.
14268           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14269
14270 2016-05-05 15:32:36 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14271
14272         * gst/vaapi/gstvaapipostproc.c:
14273         * gst/vaapi/gstvaapipostprocutil.c:
14274         * gst/vaapi/gstvaapipostprocutil.h:
14275           vaapipostproc: move gst_vaapipostproc_fixate_srccaps()
14276           Move gst_vaapipostproc_fixate_srccaps() to gstvaapiposptprocutil.
14277           No functional changes.
14278           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14279
14280 2016-05-05 15:19:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14281
14282         * gst/vaapi/gstvaapipostproc.c:
14283           vaapipostproc: simplify code
14284           Change a convoluted snippet to find the preferred color format in the peer
14285           caps.
14286           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14287
14288 2016-05-05 15:16:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14289
14290         * gst/vaapi/gstvaapipostproc.c:
14291           vaapipostproc: use othercaps for preferred caps
14292           Instead of the allowed_srcpad_caps variable, this patch uses the othercaps
14293           from fixate_caps() vmethod to find the preferred caps feature and color
14294           format.
14295           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14296
14297 2016-05-05 13:46:11 +0200  Scott D Phillips <scott.d.phillips@intel.com>
14298
14299         * gst/vaapi/gstvaapipostproc.c:
14300           vaapipostproc: add fixate_caps() vmethod
14301           Instead of fixating the srcpad caps in transform_caps() vmethod, this patch
14302           implements the fixate_caps() vmethod and moves code around.
14303           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14304
14305 2016-05-05 12:07:59 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14306
14307         * gst/vaapi/Makefile.am:
14308         * gst/vaapi/gstvaapipostproc.c:
14309         * gst/vaapi/gstvaapipostprocutil.c:
14310         * gst/vaapi/gstvaapipostprocutil.h:
14311           vaapipostproc: set early properties restrictions
14312           When running transform_caps() vmethod, returning the srcpad caps, the caps are
14313           early restricted to the element properties set: width, height, format and
14314           force keep aspect.
14315           A new file was added gstvaapipostprocutil.{c,h} where the utilities functions
14316           are stored.
14317           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14318
14319 2016-04-25 13:45:04 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14320
14321         * gst/vaapi/gstvaapipostproc.c:
14322           vaapipostproc: log the caps transformation
14323           https://bugzilla.gnome.org/show_bug.cgi?id=758548
14324
14325 2016-04-27 21:20:32 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14326
14327         * gst/vaapi/gstvaapipostproc.c:
14328           vaapipostproc: no GLTextureUpload in sinkpad
14329           As the vaapipostproc does not process frames with the VideoGLTextureUpload
14330           meta, the feature is removed from the sink pad template.
14331           https://bugzilla.gnome.org/show_bug.cgi?id=765931
14332
14333 2015-09-28 08:49:39 +0100  Julien Isorce <j.isorce@samsung.com>
14334
14335         * gst/vaapi/gstvaapivideobufferpool.c:
14336           vaapibufferpool: do not create texture upload meta if dmabuf
14337           https://bugzilla.gnome.org/show_bug.cgi?id=755072
14338
14339 2016-05-06 12:16:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14340
14341         * git.mk:
14342           build: update git.mk
14343
14344 2016-04-29 13:11:48 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14345
14346         * gst/vaapi/gstvaapipluginbase.h:
14347           plugin: fix macro processor check
14348           Instead of #ifdef it should be used #if becasuse USE_GST_GL_HELPERS is always
14349           defined in config.h, but it would be 0 or 1 depending on the configure output.
14350           https://bugzilla.gnome.org/show_bug.cgi?id=765702
14351
14352 2016-04-29 12:53:06 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14353
14354         * tests/test-display.c:
14355           tests: display: guard possible unused variables
14356           https://bugzilla.gnome.org/show_bug.cgi?id=765702
14357
14358 2016-04-29 12:48:44 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14359
14360         * tests/codec.c:
14361         * tests/decoder.c:
14362         * tests/image.c:
14363         * tests/output.c:
14364         * tests/simple-decoder.c:
14365         * tests/test-decode.c:
14366         * tests/test-display.c:
14367         * tests/test-filter.c:
14368         * tests/test-h264.c:
14369         * tests/test-jpeg.c:
14370         * tests/test-mpeg2.c:
14371         * tests/test-mpeg4.c:
14372         * tests/test-subpicture-data.c:
14373         * tests/test-subpicture.c:
14374         * tests/test-surfaces.c:
14375         * tests/test-textures.c:
14376         * tests/test-vc1.c:
14377         * tests/test-windows.c:
14378           tests: inforce gstreamer code-style
14379
14380 2016-04-27 17:10:26 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14381
14382         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
14383           encoder: h265: Enable cu_qp_delta_enabled_flag for CBR
14384           It seems driver requires enablement of cu_qp_delta_enabled_flag
14385           for modifying QP values to controll the CBR mode bitrate.
14386           https://bugzilla.gnome.org/show_bug.cgi?id=749852
14387
14388 2016-04-27 17:06:09 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14389
14390         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
14391           encoder: h265: Add CBR Encoding support
14392           https://bugzilla.gnome.org/show_bug.cgi?id=749852
14393
14394 2015-11-27 05:09:10 +0000  Julien Isorce <j.isorce@samsung.com>
14395
14396         * gst-libs/gst/vaapi/gstvaapisurface.c:
14397           gstvaapisurface: explicitely clear TILING flag if dmabuf
14398           https://bugzilla.gnome.org/show_bug.cgi?id=755072
14399
14400 2015-10-04 23:44:16 +0100  Julien Isorce <j.isorce@samsung.com>
14401
14402         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
14403           gstvaapisurface_drm: release image when done
14404           Otherwise intel-vaapi-driver will fail to process the exported surface because
14405           it will find it is currently derived, so considered as busy.
14406           https://bugzilla.gnome.org/show_bug.cgi?id=755072
14407
14408 2015-09-26 06:25:12 +0100  Julien Isorce <j.isorce@samsung.com>
14409
14410         * gst/vaapi/gstvaapipostproc.c:
14411           vaapipostproc: already have a surface proxy if dmabuf
14412           https://bugzilla.gnome.org/show_bug.cgi?id=755072
14413
14414 2016-03-11 08:58:51 +0000  Julien Isorce <j.isorce@samsung.com>
14415
14416         * gst/vaapi/gstvaapipostproc.c:
14417           various gst-indent
14418
14419 2016-04-21 15:14:47 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14420
14421         * gst/vaapi/gstvaapidecode.c:
14422         * gst/vaapi/gstvaapipluginbase.c:
14423         * gst/vaapi/gstvaapipluginbase.h:
14424           vaapidecode: search driver in whitelist
14425           If the backend driver vendor string is not in a white-list, and the
14426           environment variable GST_VAAPI_ALL_DRIVERS is not set either, the decoder will
14427           change it state from NULL to READY, hence the auto-plug mechanism will look
14428           for another decoder.
14429           This patch assumes the GstContext has already being shared along the pipeline
14430           and the element has a valid GstVaapiDisplay instance.
14431           https://bugzilla.gnome.org/show_bug.cgi?id=764673
14432
14433 2016-04-21 12:57:30 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14434
14435         * gst/vaapi/gstvaapidecode.c:
14436         * gst/vaapi/gstvaapiencode.c:
14437         * gst/vaapi/gstvaapipluginbase.c:
14438         * gst/vaapi/gstvaapipluginbase.h:
14439         * gst/vaapi/gstvaapipostproc.c:
14440         * gst/vaapi/gstvaapisink.c:
14441           plugins: rework set_context() vmethod definition
14442           In bug 757598 was added the set_context() vmethod chain up in
14443           GstVaapiPluginBase. But it is buggy, since the parent_class address is
14444           assigned to the last element which called gst_vaapi_plugin_base_class_init().
14445           No error has shown up since none of the element's base classes redefined
14446           set_context() vmethod from GstElement, so always the correct function was
14447           called. Still this code is wrong and this patch make it right.
14448           Since set_context() is the same code, a macro is used to implement that code
14449           in all the gst-vaapi elements.
14450           https://bugzilla.gnome.org/show_bug.cgi?id=765368
14451
14452 2016-04-15 17:57:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14453
14454         * gst/vaapi/gstvaapipostproc.c:
14455           vaapipostproc: resize if negotiated and allocation caps are different
14456           Since commit 859a2b2, in vaapidecode, allocation query can be different from
14457           the negotiated caps.
14458           When connecting the vaapidecoder to the vaapipostprocessor, the last one will
14459           resize the frame to the negotiated, if and only if, some other parameter is
14460           activated to avoid the passthrough. If it is not, the surface won't be mapped
14461           into a image. If not, the image won't be resized and the output buffer would be
14462           mapped.
14463           This patch will break the passthrough if the allocation query is different
14464           from the negotiation caps, forcing the resizing.
14465           https://bugzilla.gnome.org/show_bug.cgi?id=765095
14466
14467 2016-04-05 13:09:37 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14468
14469         * gst/vaapi/gstvaapidecode.c:
14470           vaapidecode: improve code readability
14471           No functional changes.
14472
14473 2016-04-05 13:37:40 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14474
14475         * gst/vaapi/gstvaapidecode.c:
14476           vaapidecode: move GstCapsFeatures near to its use
14477           Move the handling of the GstCapsFeatures just after it is used, in order to
14478           avoid handling its memory.
14479
14480 2016-04-05 13:07:14 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14481
14482         * gst/vaapi/gstvaapidecode.c:
14483           vaapidecode: caps negotiation checks
14484           Check that GLUploadTexture is not negotatiated if gstreamer-vaapi is not
14485           compiled with GL support.
14486
14487 2016-03-10 16:43:16 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14488
14489         * gst/vaapi/gstvaapidecode.c:
14490         * gst/vaapi/gstvaapipluginbase.c:
14491         * gst/vaapi/gstvaapipluginbase.h:
14492         * gst/vaapi/gstvaapipostproc.c:
14493           plugins: remove param in gst_vaapi_plugin_base_decide_allocation()
14494
14495 2016-03-10 16:42:04 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14496
14497         * gst/vaapi/gstvaapidecode.c:
14498           vaapidecode: bail early if not caps in decide_allocation()
14499
14500 2016-03-29 14:17:54 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14501
14502         * gst/vaapi/gstvaapidecode.c:
14503         * gst/vaapi/gstvaapipluginbase.c:
14504         * gst/vaapi/gstvaapipluginutil.c:
14505         * gst/vaapi/gstvaapipluginutil.h:
14506         * gst/vaapi/gstvaapipostproc.c:
14507           plugin: use allowed caps filter from element
14508           Instead of using the srcpad template caps for filtering the peer caps, the
14509           function gst_vaapi_find_preferred_caps_feature(), now receives a new parameter
14510           for the element's allowed caps.
14511           With this modification, the vaapipostproc element simplifies a bit its code.
14512           https://bugzilla.gnome.org/show_bug.cgi?id=765223
14513
14514 2016-04-18 17:28:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14515
14516         * gst/vaapi/gstvaapidecode.c:
14517         * gst/vaapi/gstvaapipluginbase.c:
14518         * gst/vaapi/gstvaapipluginutil.c:
14519         * gst/vaapi/gstvaapipluginutil.h:
14520         * gst/vaapi/gstvaapipostproc.c:
14521           plugin: remove function parameter
14522           The native format parameter in gst_vaapi_find_preferred_caps_feature() can be
14523           saved if the out format is used for both: in and out. Thus the code is more
14524           readable.
14525           https://bugzilla.gnome.org/show_bug.cgi?id=765223
14526
14527 2016-04-18 17:17:58 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14528
14529         * gst/vaapi/gstvaapidecode.c:
14530           vaapidecode: warns if driver will do color conversions
14531           If the downstream feature is system memory, the surface has to be mapped,
14532           hence a warning message is logged saying that the driver has to do color
14533           conversions. This might be troublesome because not all the color conversion
14534           combinations are supported by the VA-API drivers, and there is not a reliable
14535           way to know them before hand.
14536           https://bugzilla.gnome.org/show_bug.cgi?id=765223
14537
14538 2016-03-29 13:28:27 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14539
14540         * gst/vaapi/gstvaapipluginutil.c:
14541           plugin: honour negotiated format
14542           Instead of setting the requested format by the caller, the function
14543           gst_vaapi_find_preferred_caps_feature() now returns, in the output parameter,
14544           the negotiated format.
14545           A new helper function was added: gst_vaapi_find_preferred_format(), which,
14546           given the format list from the negotiated caps, will choose the best one, if
14547           possible, given the native format.
14548           https://bugzilla.gnome.org/show_bug.cgi?id=765223
14549
14550 2016-03-28 19:26:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14551
14552         * gst/vaapi/gstvaapipluginutil.c:
14553           plugin: simplify caps feature selection
14554           This patch simplifies the function gst_vaapi_find_preferred_caps_feature().
14555           Instead of intersecting custom caps to find the preferred feature, the peer
14556           caps are traversed in order to find the preferred feature, according to an
14557           ordered feature priority list.
14558           In the case of GLTextureUploadMeta, the colour format is computed using
14559           GstVideoInfo of the selected fixed caps.
14560           https://bugzilla.gnome.org/show_bug.cgi?id=765223
14561
14562 2016-03-31 16:39:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14563
14564         * gst/vaapi/gstvaapidecode.c:
14565           vaapidecode: use macros for GstVideoInfo
14566           Instead of accessing directly to the members of the structure, use the macros.
14567
14568 2016-04-14 17:02:23 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14569
14570         * gst/vaapi/gstvaapidecode.c:
14571           vaapidecode: refactor is_display_resolution_changed()
14572           Make the comparisons more readable and simple.
14573           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14574
14575 2016-04-14 16:43:07 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14576
14577         * gst/vaapi/gstvaapidecode.c:
14578         * gst/vaapi/gstvaapidecode.h:
14579           vaapidecode: keep only display_{width,height}
14580           Instead of keeping the structure GstVideoInfo when we are using its width and
14581           height, we only keep these two guints.
14582           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14583
14584 2016-04-14 16:31:34 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14585
14586         * gst/vaapi/gstvaapidecode.c:
14587           vaapidecode: decoded_info is valid at src caps update
14588           As decoded_info is assured to be valid when gst_vaapidecode_update_src_caps()
14589           is called, then we don't need to verify or replace it with the sinkpad info
14590           (reference state).
14591           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14592
14593 2016-04-14 16:22:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14594
14595         * gst/vaapi/gstvaapidecode.c:
14596           vaapidecode: always a valid format in decoded_info
14597           Always set a valid format in decoded_info class variable.
14598           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14599
14600 2016-03-25 15:31:28 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14601
14602         * gst/vaapi/gstvaapidecode.c:
14603           vaapidecode: code style fixes
14604           No functional changes.
14605           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14606
14607 2016-04-14 16:10:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14608
14609         * gst/vaapi/gstvaapidecode.c:
14610           vaapidecode: init {decoded,display}_info at open()
14611           It is required to initialize {decoded,display}_info variables when the decoder
14612           is open, not only at instance initialization.
14613           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14614
14615 2016-03-28 15:30:28 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14616
14617         * gst/vaapi/gstvaapidecode.c:
14618         * gst/vaapi/gstvaapidecode.h:
14619           vaapidecode: remove spurious class variables
14620           active, do_pool_renego and do_outstate_renego class variables were used to
14621           indicate when negotiate downstream once, but now that each time a new surface
14622           resolution is pop out a renegotation verified, these variable are not required
14623           anymore.
14624           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14625
14626 2016-04-14 15:46:32 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14627
14628         * gst/vaapi/gstvaapidecode.c:
14629         * gst/vaapi/gstvaapipluginbase.c:
14630         * gst/vaapi/gstvaapipluginbase.h:
14631         * gst/vaapi/gstvaapipostproc.c:
14632           remove custom allocation query
14633           When resolving bug 753914, a custom allocation query was added, overlapping
14634           the responsibilities of GstVideoDecoder.
14635           But with the merge of the patches from bug 764421 this overlapping was not
14636           required anymore. This patch restores this situation setting the
14637           allocation_caps in the GstVideoCodecState when needed.
14638           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14639
14640 2016-04-14 10:04:47 +0100  Julien Isorce <j.isorce@samsung.com>
14641
14642         * common:
14643           Automatic update of common submodule
14644           From 6f2d209 to ac2f647
14645
14646 2016-04-13 15:44:20 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14647
14648         * gst/vaapi/gstvaapidecode.c:
14649         * gst/vaapi/gstvaapidecodebin.c:
14650         * gst/vaapi/gstvaapipostproc.c:
14651           plugins: disable GL_TEXTURE_UPLOAD if no EGL/GLX
14652           The plugins should not expose the feature meta:GstVideoGLTextureUploadMeta in
14653           their caps templates if they were not compiled either with GLX or EGL support.
14654
14655 2016-04-13 20:33:32 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14656
14657         * gst/vaapi/gstvaapipluginutil.c:
14658           plugins: fix compilation when EGL/GLX is disabled
14659           The compiler might complain of gst_vaapi_create_display_from_handle() being
14660           unused if both EGL and GLX are disabled. This patch avoid that compilation
14661           error.
14662
14663 2016-04-13 14:09:00 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
14664
14665         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.c:
14666           libs: fix deleting a GstVaapiCodedBufferPool object
14667           Call gst_vaapi_video_pool_finalize() in coded_buffer_pool_finalize().
14668           Otherwise it is not called when the pool is destroyed and all objects
14669           referenced by the GstVaapiVideoPool are never released.
14670           https://bugzilla.gnome.org/show_bug.cgi?id=764993
14671
14672 2016-04-07 18:03:42 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14673
14674         * gst-libs/gst/vaapi/gstvaapisurface.c:
14675           surface: destroy derived image
14676           If gst_vaapi_image_new_with_image() fails, the created derived image should be
14677           destroyed, otherwise the surface cannot be processed because is being used.
14678           https://bugzilla.gnome.org/show_bug.cgi?id=764607
14679
14680 2016-03-18 20:00:52 -0300  Thiago Santos <thiagoss@osg.samsung.com>
14681
14682         * gst/vaapi/gstvaapidecode.c:
14683           vaapidecode: add stop function
14684           Clear any status on the current stream:
14685           stored frames, caps and decoder configuration
14686           https://bugzilla.gnome.org/show_bug.cgi?id=763460
14687
14688 2016-04-01 14:00:28 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14689
14690         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
14691           decoder: vp9: Align with the ABI changes in vp9 codecparser
14692           The subsampling_x, subsampling_y, bit_depth, color_space and color_range
14693           fileds are moved from GstVp9FrameHdr to the global GstVp9Parser structure.
14694           These fields are only present in keyframe or intra-only frame, no need to
14695           duplicate them for inter-frames.
14696           https://bugzilla.gnome.org/show_bug.cgi?id=764082
14697
14698 2016-04-01 13:59:59 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14699
14700         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
14701           decoder: vp9 : Add 10bit decoding support (Profile2)
14702           https://bugzilla.gnome.org/show_bug.cgi?id=764082
14703
14704 2016-04-01 13:57:45 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14705
14706         * gst-libs/gst/vaapi/gstvaapiprofile.c:
14707         * gst-libs/gst/vaapi/gstvaapiprofile.h:
14708           gstvaapiporfile: Add more VP9 profile definitions
14709           https://bugzilla.gnome.org/show_bug.cgi?id=764082
14710
14711 2016-02-03 20:34:49 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14712
14713         * Makefile.am:
14714         * configure.ac:
14715           build: possibility to disable tests
14716           The configuration option --disable-examples will disable the compilation of
14717           the sample apps in tests/ directory.
14718
14719 2016-03-29 14:25:55 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14720
14721         * gst/vaapi/gstvaapiencode_h264.c:
14722         * gst/vaapi/gstvaapiencode_h265.c:
14723         * gst/vaapi/gstvaapiencode_jpeg.c:
14724         * gst/vaapi/gstvaapiencode_mpeg2.c:
14725         * gst/vaapi/gstvaapiencode_vp8.c:
14726         * gst/vaapi/gstvaapipluginutil.h:
14727         * gst/vaapi/gstvaapisink.c:
14728           unify caps template for VAAPI encoders and decoders
14729           There is no difference in VAAPI surface caps between encoders and decoders.
14730           Thus, the patch makes a simplification by removing encoders specific caps and
14731           shares the same definition of VAAPI surfaces caps for all the elements.
14732
14733 2016-03-10 17:42:55 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14734
14735         * gst/vaapi/gstvaapidecode.c:
14736           vaapidecode: move gst_vaapidecode_negotiate() code
14737           With it we can remove a function declaration, making the code a bit
14738           more readable.
14739           https://bugzilla.gnome.org/show_bug.cgi?id=764316
14740
14741 2016-03-29 13:50:00 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14742
14743         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
14744         * docs/plugins/gstreamer-vaapi-plugins-sections.txt:
14745         * gst/vaapi/gstvaapidecode.c:
14746           docs: generate vaapijpegdec documentation
14747           https://bugzilla.gnome.org/show_bug.cgi?id=764314
14748
14749 2016-03-30 14:37:21 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14750
14751         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
14752           decoder: h265: Fix offset calculation when there is more than one vps/sps/pps present in codec_data
14753           The array_completeness, reserved bit and num_nal_units fields
14754           in HEVCDecoderConfigurationRecord will be present for each VPS/SPS/PPS array list,
14755           but not for each occurance of similar headers.
14756           https://bugzilla.gnome.org/show_bug.cgi?id=764274
14757
14758 2016-03-29 15:34:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14759
14760         * gst-libs/gst/vaapi/video-format.c:
14761           video-format: Keep the HW order preference while mapping to GstVideoFormats
14762
14763 2016-03-29 15:02:46 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14764
14765         * gst/vaapi/gstvaapidecode.c:
14766         * gst/vaapi/gstvaapipluginbase.c:
14767         * gst/vaapi/gstvaapipluginutil.c:
14768         * gst/vaapi/gstvaapipluginutil.h:
14769         * gst/vaapi/gstvaapivideomemory.c:
14770           gst/vaapi: keep precedence for NV12 over I420
14771           Use NV12 as default "assumption" format all over.
14772           NV12 is the default high priority format used my most of the
14773           vaapi-drivers.
14774
14775 2016-03-29 14:34:37 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14776
14777         * gst/vaapi/gstvaapidecode.c:
14778           vaapidecode: Use video format derived from decoded surface as default src pad format
14779           Use the surface format derived from first decoded surface
14780           to negotiate the downstream video format capabilities.
14781           https://bugzilla.gnome.org/show_bug.cgi?id=759181
14782
14783 2016-03-29 14:34:00 +0300  Scott D Phillips <scott.d.phillips@intel.com>
14784
14785         * gst-libs/gst/vaapi/gstvaapiimage.c:
14786         * gst-libs/gst/vaapi/video-format.c:
14787         * gst/vaapi/gstvaapidecode.c:
14788         * gst/vaapi/gstvaapipluginutil.h:
14789         * gst/vaapi/gstvaapisink.c:
14790           Add P010 video format support
14791           The P010 video format is the native format used by the vaapi intel driver
14792           for HEVCMain10 decode . Add support for planes and images of this video format.
14793           https://bugzilla.gnome.org/show_bug.cgi?id=759181
14794
14795 2016-03-27 09:11:00 +0000  Stephen <elfarto@elfarto.com>
14796
14797         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
14798           libs: x11: allows 30-bit colour depth
14799           The colour depth is clamped to 24 when it is not equal {15,16,24,32}. But this
14800           fails with the NVIDIA binary driver as it doesn't advertise a TrueColor visual
14801           with a depth of 24 (only 30 and 32). Allowing the depth to be 30, lets everything
14802           work as expected.
14803           https://bugzilla.gnome.org/show_bug.cgi?id=764256
14804
14805 2016-03-28 13:13:56 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14806
14807         * gst/vaapi/gstvaapivideometa_texture.c:
14808           gltextureupload: use an array for texture type
14809           Instead of using a single value for the texture type, use an array with 4
14810           elements, just as the GstVideoGLTextureUploadMeta, avoiding a buffer
14811           overflow.
14812           https://bugzilla.gnome.org/show_bug.cgi?id=764231
14813
14814 2016-03-24 15:09:43 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14815
14816         * gst/vaapi/gstvaapidecode.c:
14817         * gst/vaapi/gstvaapipluginbase.c:
14818           vaapidecode: Fix decide_allocation handling
14819           Set the already configured pool in decide_allocation query
14820           in cases where pool renegotiation is not required.
14821           https://bugzilla.gnome.org/show_bug.cgi?id=753914
14822
14823 2016-03-24 15:09:15 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14824
14825         * gst/vaapi/gstvaapidecode.c:
14826           vaapidecode: Derive and save the decoded surface format
14827           After the decoding of first frame, try to extract the exact
14828           decoded surface format using vaDeriveImage and keep this
14829           as the format in decoded_info.
14830           https://bugzilla.gnome.org/show_bug.cgi?id=753914
14831
14832 2016-03-24 15:08:50 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14833
14834         * gst/vaapi/gstvaapidecode.c:
14835         * gst/vaapi/gstvaapidecode.h:
14836         * gst/vaapi/gstvaapipluginbase.c:
14837         * gst/vaapi/gstvaapipluginbase.h:
14838         * gst/vaapi/gstvaapipostproc.c:
14839           Make vaapidecode to advertise the cropped values in srcpad, but negotiate pool only if needed
14840           -- Maintaing decoded surface resoluton and actual display resoultion separately
14841           -- Before pushing every frames downstream, check for the requirement of pool negoation and
14842           output_state negotiation: This is needed to avoid multiple issuses with cropping,
14843           multi-resoluton video handling, more complex multi resolution decode scenarios for vp9decode,
14844           possible wrong behaviour from upstream element to report uncropped values etc. Due to these reasons,
14845           We can't just reliably use the resolution change notification from libgstvaapi for pool renegotiation too.
14846           This is slight overhead, but safe enough. Optimization could be possible though.
14847           https://bugzilla.gnome.org/show_bug.cgi?id=753914
14848
14849 2016-03-24 15:08:27 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14850
14851         * gst/vaapi/gstvaapidecode.c:
14852           vaapidecode: Delay the output format setting until we have a decoded surface
14853           This will help to consoidate the out caps negotiation to a single place,
14854           which will make the code simpler, allows to get the exact decoded format
14855           if needed and the selected chroma type too.
14856           https://bugzilla.gnome.org/show_bug.cgi?id=753914
14857
14858 2016-03-24 13:36:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14859
14860         * gst/vaapi/gstvaapidecode.h:
14861           vaapidecode: GST_VAAPIDECODE macro is a cast
14862           This patch is the continuation of commit 1e1d3b1d because the function
14863           gst_vaapidecode_get_type() got undefined since then.
14864           Now, the macro GST_VAAPIDECODE is a simple cast to the GstVaapiDecode
14865           structure. The rest of the GObject handling macros were deleted too.
14866
14867 2016-03-24 13:34:18 +0200  Sebastian Dröge <sebastian@centricular.com>
14868
14869         * configure.ac:
14870           Back to development
14871
14872 === release 1.8.0 ===
14873
14874 2016-03-24 13:11:05 +0200  Sebastian Dröge <sebastian@centricular.com>
14875
14876         * ChangeLog:
14877         * NEWS:
14878         * configure.ac:
14879         * gstreamer-vaapi.doap:
14880           Release 1.8.0
14881
14882 === release 1.7.91 ===
14883
14884 2016-03-15 12:39:20 +0200  Sebastian Dröge <sebastian@centricular.com>
14885
14886         * ChangeLog:
14887         * NEWS:
14888         * configure.ac:
14889         * gstreamer-vaapi.doap:
14890           Release 1.7.91
14891
14892 2016-03-11 17:44:07 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14893
14894         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
14895           decoder: h265: Fix offset calculation in codec_data parsing
14896           https://bugzilla.gnome.org/show_bug.cgi?id=762922
14897
14898 2016-03-09 20:26:31 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14899
14900         * gst/vaapi/gstvaapidecodebin.c:
14901           vaapidecodebin: don't handle jpeg decoding
14902           As JPEG decoder has been split and demoted, it cannot be handled by
14903           vaapidecodebin
14904           Added a fixme comment regarding the future removal of vaapidecode.
14905           https://bugzilla.gnome.org/show_bug.cgi?id=734093
14906
14907 2016-03-09 20:25:08 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14908
14909         * gst/vaapi/gstvaapidecode.c:
14910           vaapidecode: split out jpeg decoder
14911           Split, as a different element, the JPEG decoder.
14912           https://bugzilla.gnome.org/show_bug.cgi?id=734093
14913
14914 2016-03-09 18:41:49 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14915
14916         * gst/vaapi/gstvaapi.c:
14917         * gst/vaapi/gstvaapidecode.c:
14918         * gst/vaapi/gstvaapidecode.h:
14919           vaapidecode: register decoder with internal GType
14920           Don't expose the the vaapidecode GType, instead expose a function
14921           which will register element.
14922           This is the first step to split the decoder by codecs.
14923           https://bugzilla.gnome.org/show_bug.cgi?id=734093
14924
14925 2016-03-10 12:47:49 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14926
14927         * gst/vaapi/gstvaapidecode.c:
14928           vaapidecode: remove unused function declaration
14929           There is no need to pre-declare gst_vaapidecode_update_sink_caps(). And fixed
14930           code-style of the other pre-declared functions.
14931
14932 2016-03-09 18:58:13 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14933
14934         * docs/plugins/Makefile.am:
14935           build: git ignore gtkdoc generated files
14936
14937 2016-03-09 18:55:39 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14938
14939         * m4/Makefile.am:
14940           build: handle git ignore in m4 directory
14941
14942 2016-03-04 20:17:54 -0300  Thiago Santos <thiagoss@osg.samsung.com>
14943
14944         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
14945           vaapidecoder_h265: plug leak of h265 parsing info
14946           If something goes wrong while parsing, the info object is
14947           being leaked
14948           https://bugzilla.gnome.org/show_bug.cgi?id=763121
14949
14950 2016-03-04 20:17:20 -0300  Thiago Santos <thiagoss@osg.samsung.com>
14951
14952         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
14953           vaapidecoder_h264: plug leak of h264 parsing info
14954           If something goes wrong while parsing, the info object is
14955           being leaked
14956           https://bugzilla.gnome.org/show_bug.cgi?id=763121
14957
14958 2016-03-09 11:03:28 +0900  Vineeth TM <vineeth.tm@samsung.com>
14959
14960         * gst/vaapi/gstvaapipluginutil.c:
14961           plugins: fix gstgl and vaapi memory leaks
14962           1\ Unref gl_display and gl_window as soon they are not needed.
14963           2\ Remove an unneeded display type check, since is handled by
14964           gst_vaapi_created_display_from_handle()
14965           3\ Unref vaapi's display if the display cannot be bind to a GL API.
14966           Modified-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14967           https://bugzilla.gnome.org/show_bug.cgi?id=763354
14968
14969 2016-03-09 14:13:24 +0900  Vineeth TM <vineeth.tm@samsung.com>
14970
14971         * gst-libs/gst/vaapi/gstvaapidisplay.c:
14972           vaapidisplay: Fix uninitialized value error for VA attribute
14973           https://bugzilla.gnome.org/show_bug.cgi?id=763362
14974
14975 2016-03-08 10:47:56 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
14976
14977         * gst/vaapi/gstvaapidecode.c:
14978         * gst/vaapi/gstvaapiencode.c:
14979           plugins: proxy information from downstream caps
14980           Propagate to upstream the downstream information, such as fps, par, etc.
14981           This will fix several "getcaps" critical warnings in gst-validate.
14982           https://bugzilla.gnome.org/show_bug.cgi?id=763300
14983
14984 2016-03-04 10:51:42 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
14985
14986         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
14987           decoder: vp9: Assign values for profile and bit_depth from frame header
14988           bit_depth field has added only in VA-API 0.39.0, added version check.
14989
14990 2016-03-04 09:12:13 +0200  Sebastian Dröge <sebastian@centricular.com>
14991
14992         * Makefile.am:
14993           build: Dist gstreamer-vaapi.doap and configure.ac/autogen.sh
14994           https://bugzilla.gnome.org/show_bug.cgi?id=763067
14995
14996 === release 1.7.90 ===
14997
14998 2016-03-01 19:23:51 +0200  Sebastian Dröge <sebastian@centricular.com>
14999
15000         * ChangeLog:
15001         * NEWS:
15002         * configure.ac:
15003         * gstreamer-vaapi.doap:
15004           Release 1.7.90
15005
15006 2016-03-01 16:14:47 +0200  Sebastian Dröge <sebastian@centricular.com>
15007
15008         * configure.ac:
15009           configure: Use AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO to set release date
15010
15011 2016-03-01 11:35:49 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15012
15013         * gst/vaapi/gstvaapidecode.c:
15014           vaapidecode: intersect with filter in getcaps()
15015           In commit 6034734d I forgot to add the caps filter intersection in the
15016           getcaps() vmethod generating a regression when a capsfilter is set in the
15017           pipeline.
15018           This commit adds the caps filter intersection.
15019
15020 2016-02-29 11:55:27 +0200  Lim Siew Hoon <siew.hoon.lim@intel.com>
15021
15022         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
15023           Add memset to initialize value for VAEncSliceParameterBufferJPEG
15024           https://bugzilla.gnome.org/show_bug.cgi?id=762850
15025
15026 2016-02-26 12:42:46 +0200  Sebastian Dröge <sebastian@centricular.com>
15027
15028         * common:
15029           Automatic update of common submodule
15030           From b64f03f to 6f2d209
15031
15032 2016-02-24 12:36:33 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15033
15034         * Makefile.am:
15035         * configure.ac:
15036         * m4/Makefile.am:
15037           build: add m4 directory
15038           Instead of rely on the automatic creation of m4 directory by aclocal, we
15039           already control it. Later we could create our own m4 scripts in order to
15040           unclutter configure.ac
15041           https://bugzilla.gnome.org/show_bug.cgi?id=762528
15042
15043 2016-02-23 10:55:02 +0200  Scott D Phillips <scott.d.phillips@intel.com>
15044
15045         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
15046           decoder: hevc: Fill dependent slice segment headers while parsing
15047           Copy the data into the dependent slice segment header from the
15048           corresponding independent slice segment header during parsing.
15049           Previously the reference to the "previous" independent header was
15050           held through the parsing phase and then dereferenced during the
15051           decoding phase. This caused all dependent headers to be populated
15052           with the data of the AU's last independent header instead of the
15053           proper corresponding header.
15054           https://bugzilla.gnome.org/show_bug.cgi?id=762352
15055           Changes since v1:
15056           - Reworded commit message
15057
15058 2016-02-17 13:43:48 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15059
15060         * gst/vaapi/gstvaapidecode.c:
15061           vaapidecode: use video decoder getcaps()
15062           The usage of getcaps() vmethod is preferred than to handle manually the sink's
15063           caps query.
15064           In order to avoid function declarations, this patch moves the class_init()
15065           method to the end of the file.
15066
15067 2016-02-17 12:51:45 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15068
15069         * gst/vaapi/gstvaapipluginbase.c:
15070           plugins: remove deprecated code
15071           Since we are only supporting current GStreamer version, since 1.3
15072           gst_buffer_pool_config_add_option() checks if the option to add is
15073           already set. There is no need to do it ourselves.
15074
15075 2016-02-19 19:03:44 -0300  Thiago Santos <thiagoss@osg.samsung.com>
15076
15077         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
15078           vaapidecoder_h265: fix parsing of NALU aligned data
15079           Don't assume the whole buffer is a single NAL, instead look for the
15080           next start code in case there are multiple NALs per buffer.
15081           https://bugzilla.gnome.org/show_bug.cgi?id=762328
15082
15083 2016-02-19 11:10:25 -0300  Thiago Santos <thiagoss@osg.samsung.com>
15084
15085         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
15086           vaapidecoder_h264: fix parsing of NALU aligned data
15087           Don't assume the whole buffer is a single NAL, instead look for the
15088           next start code in case there are multiple NALs per buffer.
15089           https://bugzilla.gnome.org/show_bug.cgi?id=762328
15090
15091 2016-02-18 10:13:53 +0900  Vineeth TM <vineeth.tm@samsung.com>
15092
15093         * gst/vaapi/gstvaapisink.c:
15094           vaapisink: Fix event,pad,structure memory leaks
15095           https://bugzilla.gnome.org/show_bug.cgi?id=762229
15096
15097 2016-02-17 15:40:54 +0200  Lim Siew Hoon <siew.hoon.lim@intel.com>
15098
15099         * gst/vaapi/gstvaapipluginbase.c:
15100           Add icamerasrc as dmabuf capable peer element
15101           icamerasrc is another gstreamer plugin using to capture RAW
15102           frames from camera device. It is based on libcamhal library.
15103           There are some properties available to control icamera behavior.
15104           Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
15105           Tested & Reviewed: Zhu Haiyang <haiyang.zhu@intel.com>
15106           https://bugzilla.gnome.org/show_bug.cgi?id=759481
15107           Fixme: This is the similar workaround we done for v4l2src.
15108           The workaround will be removed once we fix #755072
15109
15110 2016-02-17 17:15:28 +0900  Vineeth TM <vineeth.tm@samsung.com>
15111
15112         * gst/vaapi/gstvaapipluginbase.c:
15113           vaapipluginbase: Fix structure memory leak
15114           config structure is not being freed in all cases
15115           https://bugzilla.gnome.org/show_bug.cgi?id=762172
15116
15117 2016-02-17 17:20:08 +0900  Vineeth TM <vineeth.tm@samsung.com>
15118
15119         * gst/vaapi/gstvaapidecode.c:
15120           vaapidecode: Fix videocodec state memory leak
15121           When state is not NULL and either width/height of video info is 0, then state leaks
15122           https://bugzilla.gnome.org/show_bug.cgi?id=762173
15123
15124 2016-02-16 15:44:48 +0000  Tim-Philipp Müller <tim@centricular.com>
15125
15126         * gst/vaapi/gstvaapisink.c:
15127           vaapisink: post message for application for unhandled keyboard/mouse events
15128           Makes (most) keyboard shortcuts work in gst-play-1.0 when
15129           the video window has focus.
15130
15131 2016-02-16 08:48:43 +0900  Vineeth TM <vineeth.tm@samsung.com>
15132
15133         * gst/vaapi/gstvaapidecode.c:
15134           vaapidecode: Fix capsfeature memory leak
15135           https://bugzilla.gnome.org/show_bug.cgi?id=762116
15136
15137 2016-02-16 08:15:40 +0900  Vineeth TM <vineeth.tm@samsung.com>
15138
15139         * gst/vaapi/gstvaapisink.c:
15140           vaapisink: Fix capsfeature memory leak
15141           caps feature allocated is not being freeing in some cases
15142           https://bugzilla.gnome.org/show_bug.cgi?id=762111
15143
15144 2016-02-16 15:09:01 +0200  Sebastian Dröge <sebastian@centricular.com>
15145
15146         * configure.ac:
15147         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
15148         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
15149         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
15150         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
15151         * gst-libs/gst/vaapi/gstvaapifilter.c:
15152         * gst/vaapi/gstvaapidecodebin.c:
15153         * gst/vaapi/gstvaapipluginutil.c:
15154           vaapi: Fix various compiler warnings and disable -Wredundant-decls for now
15155
15156 2016-02-16 14:36:39 +0200  Sebastian Dröge <sebastian@centricular.com>
15157
15158         * configure.ac:
15159           configure: Fix setting of extra compiler warning flags
15160
15161 2016-02-15 18:00:49 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15162
15163         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
15164           libs: fix build error
15165           gst_vaapi_buffer_proxy_{acquire_handle,release_handle,finalize,class}
15166           functions are used only when libva's API version is greater than 0.36.0
15167           This patch guards those functions completely rather than just their
15168           content. The patch is a continuation of commit 38f8fea4
15169           Original-patch-by: Vineeth TM <vineeth.tm@samsung.com>
15170           https://bugzilla.gnome.org/show_bug.cgi?id=762055
15171
15172 2016-02-15 10:01:54 +0900  Vineeth TM <vineeth.tm@samsung.com>
15173
15174         * tests/simple-encoder.c:
15175           tests: simple-encoder: fix build error
15176           argument mismatch of gsize with 'long unsigned int'
15177           https://bugzilla.gnome.org/show_bug.cgi?id=762055
15178
15179 2016-02-04 10:16:00 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15180
15181         * gst/vaapi/gstvaapisink.c:
15182           vaapisink: Fix wrong caps advertising
15183           The get_caps() should only report the supported formats.
15184           https://bugzilla.gnome.org/show_bug.cgi?id=761147
15185
15186 2016-02-05 18:11:29 -0300  Thiago Santos <thiagoss@osg.samsung.com>
15187
15188         * common:
15189           Automatic update of common submodule
15190           From e97c9bb to b64f03f
15191
15192 2016-02-03 19:07:40 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15193
15194         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
15195         * docs/plugins/gstreamer-vaapi-plugins-sections.txt:
15196         * gst/vaapi/gstvaapi.c:
15197         * gst/vaapi/gstvaapiencode_h264.c:
15198         * gst/vaapi/gstvaapiencode_h265.c:
15199         * gst/vaapi/gstvaapiencode_jpeg.c:
15200         * gst/vaapi/gstvaapiencode_mpeg2.c:
15201         * gst/vaapi/gstvaapiencode_vp8.c:
15202           rename encoders to vaapi{codec}enc
15203           Trying to comply with GStreamer's element names, this patch renames the
15204           encoders using the name format vaapi{codec}enc.
15205           In this way, the plugin documentation is linked correctly.
15206           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15207
15208 2016-02-03 18:42:36 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15209
15210         * configure.ac:
15211           Use new AG_GST_ARG_ENABLE_EXTRA_CHECKS #define
15212           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15213
15214 2016-02-03 18:02:21 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15215
15216         * configure.ac:
15217           build: remove vp9 parser check
15218           Since the VP9 parser was added in gst-plugins-bad 1.7.1 we can remove safely
15219           the check of the parser, as we did for the others.
15220           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15221
15222 2016-02-03 17:06:48 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15223
15224         * common:
15225         * configure.ac:
15226           Back to development
15227           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15228
15229 === release 1.6.0 ===
15230
15231 2016-02-03 16:53:41 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15232
15233         * configure.ac:
15234           Release 1.6.0
15235
15236 2016-02-03 16:45:18 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15237
15238         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
15239         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
15240         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
15241           libs: fix compiler warnings
15242           After setting the release flags, the compiler warns about a couple
15243           initialized variables.
15244           Also marked a couple of set variables as unused, because they are only
15245           used for assertion.
15246           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15247
15248 2016-01-29 20:41:27 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15249
15250         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
15251         * docs/plugins/gstreamer-vaapi-plugins-sections.txt:
15252         * gst/vaapi/gstvaapidecode.c:
15253         * gst/vaapi/gstvaapidecodebin.c:
15254         * gst/vaapi/gstvaapiencode_h264.c:
15255         * gst/vaapi/gstvaapiencode_h265.c:
15256         * gst/vaapi/gstvaapiencode_jpeg.c:
15257         * gst/vaapi/gstvaapiencode_mpeg2.c:
15258         * gst/vaapi/gstvaapiencode_vp8.c:
15259         * gst/vaapi/gstvaapipostproc.c:
15260         * gst/vaapi/gstvaapisink.c:
15261           docs: update plugin documentation
15262           Update all the documentation of elements of the vaapi plugin.
15263           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15264
15265 2016-01-29 15:39:09 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15266
15267         * Makefile.am:
15268         * configure.ac:
15269         * docs/Makefile.am:
15270         * docs/plugins/Makefile.am:
15271         * docs/plugins/gstreamer-vaapi-plugins-docs.xml.in:
15272         * docs/plugins/gstreamer-vaapi-plugins.types:
15273         * docs/reference/Makefile.am:
15274         * docs/reference/plugins/Makefile.am:
15275         * docs/reference/plugins/plugins-sections.txt:
15276         * docs/reference/plugins/plugins.types:
15277         * docs/version.entities.in:
15278           resurrect gtk-doc machinery
15279           Our auto-generated documentation has been a bit neglected. This patch replaces
15280           the 'normal' gtk-doc with the one used in GStreamer, which is adapted for
15281           plugins, elements and libraries.
15282           This patch also re-enables documentation generation.
15283           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15284
15285 2016-01-28 19:35:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15286
15287         * ChangeLog:
15288         * Makefile.am:
15289         * autogen.sh:
15290         * configure.ac:
15291           use gst-common submodule
15292           This is 'the' big change in gstreamer-vaapi autoconf. Now it uses the official
15293           GStreamer common submodule.
15294           The documentation generation has been disable temporarily since it needs a
15295           major rework, which will be done in the following commit.
15296           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15297
15298 2016-01-25 16:06:03 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15299
15300         * .gitmodules:
15301         * common:
15302           add gst-common submodule
15303           Pointing to branch 1.6
15304           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15305
15306 2016-01-28 13:28:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15307
15308         * gstreamer-vaapi.doap:
15309           add doap descriptor
15310           DOAP (Description of a Project) is an RDF Schema and XML vocabulary to
15311           describe software projects, in particular free and open source software.
15312           The description is used in GStreamer as in many other open source projects.
15313           This patch adds the doap description of this project.
15314           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15315
15316 2016-02-03 11:50:13 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15317
15318         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
15319         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
15320         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
15321         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
15322         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
15323         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
15324         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
15325         * gst-libs/gst/vaapi/gstvaapiimage.c:
15326         * gst-libs/gst/vaapi/gstvaapiparser_frame.c:
15327         * gst-libs/gst/vaapi/gstvaapipixmap.c:
15328         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
15329         * gst-libs/gst/vaapi/gstvaapiprofile.c:
15330         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
15331           libs: humongous code style fix
15332           As part of the upstreaming process of gstreamer-vaapi into the GStreamer
15333           umbrella, we need to comply with the project's code style. This meant to
15334           change a lot of code.
15335           It was decided to use a single massive patch to update the code style.
15336           I would like to apologize with the original developers of this code because of
15337           the history breakage.
15338           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15339
15340 2016-02-03 11:04:15 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15341
15342         * gst-libs/gst/vaapi/gstvaapicontext.c:
15343         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
15344         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
15345         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
15346         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
15347         * gst/vaapi/gstvaapivideomemory.c:
15348           libs: small refactors to enhance the code style
15349           As gst-indent generated ugly code in these cases, this patch changes the used
15350           idiomatic into other one.
15351           No functional changes were introduced.
15352           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15353
15354 2016-02-02 17:59:57 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15355
15356         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
15357         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.c:
15358         * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c:
15359         * gst-libs/gst/vaapi/gstvaapidecoder.c:
15360         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
15361         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
15362         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
15363         * gst-libs/gst/vaapi/gstvaapidisplay.c:
15364         * gst-libs/gst/vaapi/gstvaapiencoder.c:
15365         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
15366         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
15367         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
15368         * gst-libs/gst/vaapi/gstvaapifilter.c:
15369         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
15370         * gst-libs/gst/vaapi/gstvaapisurface.c:
15371         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
15372         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
15373         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
15374         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
15375         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
15376         * gst-libs/gst/vaapi/gstvaapiwindow.c:
15377         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
15378           libs: small code style fixes
15379           This a set of small code style fixes detected as-is by gst-indent.
15380           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15381
15382 2016-02-02 17:50:19 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15383
15384         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.c:
15385         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
15386         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
15387         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
15388         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
15389         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
15390         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
15391         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
15392         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
15393           libs: trivial comment style fixes
15394           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15395
15396 2016-02-02 17:31:02 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15397
15398         * gst-libs/gst/vaapi/gstvaapicodedbuffer.c:
15399         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
15400           libs: avoid gst-indent mess up
15401           Guard pieces of code to avoid gst-ident to mess up the following code.
15402           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15403
15404 2016-02-03 12:17:59 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15405
15406         * gst/vaapi/gstvaapidecode.c:
15407         * gst/vaapi/gstvaapidecodebin.c:
15408         * gst/vaapi/gstvaapipluginutil.c:
15409         * gst/vaapi/gstvaapisink.c:
15410         * gst/vaapi/gstvaapivideomemory.c:
15411           plugins: fix code style
15412           Minor code style changes by executing gst-indent in gst/vaapi directory.
15413           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15414
15415 2016-02-01 13:22:10 +0000  Tim-Philipp Müller <tim@centricular.com>
15416
15417         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
15418         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
15419           Fix some more compiler warning
15420           Two (false) compiler warnings about variables potentially
15421           being used uninitialized, and one about a variable being
15422           set but not used.
15423           https://bugzilla.gnome.org/show_bug.cgi?id=759192
15424
15425 2016-02-01 13:02:13 +0000  Tim-Philipp Müller <tim@centricular.com>
15426
15427         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
15428         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
15429         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
15430         * gst-libs/gst/vaapi/gstvaapifilter.c:
15431         * gst/vaapi/gstvaapidecode.c:
15432         * gst/vaapi/gstvaapipluginbase.c:
15433         * gst/vaapi/gstvaapipluginutil.c:
15434         * gst/vaapi/gstvaapipostproc.c:
15435         * tests/simple-encoder.c:
15436         * tests/test-filter.c:
15437           vaapi: fix 'ISO C90 forbids mixed declarations and code' compiler warnings
15438           Declare variables at the beginning of a code block, which
15439           is how it's done in GStreamer.
15440           https://bugzilla.gnome.org/show_bug.cgi?id=759192
15441
15442 2016-01-28 14:21:04 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15443
15444         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
15445           decoder: vp9: Fix crop rectangle setting
15446           Align with software vp9dec behaviour: Add crop rectangle
15447           only if display_width/display_height is less than the
15448           frame_hdr->width/frame_hdr->height
15449
15450 2016-01-27 08:56:45 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15451
15452         * gst/vaapi/gstvaapidecode.c:
15453           vaapidecode: Fix renegotiation for resolution change
15454           Always renegotiate the pool if the immediate frame which going
15455           to be pushed has a different un-cropped resolution than the already
15456           configured one.
15457
15458 2016-01-29 15:51:49 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15459
15460         * gst/vaapi/gstvaapipluginbase.h:
15461           plugins: use the same pre-processor macro
15462           In gstvaapipluginbase.c we are using the macro USE_GST_GL_HELPERS to guard the
15463           code related with GstGL. Nonetheless, in gstvaapipluginbase.h we are using
15464           HAVE_GST_GL_GL_H macro in order to include the GstGLContext's header.
15465           We should use only one to be homogeneous. This patch sets USE_GST_GL_HELPERS
15466           in the header file.
15467           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15468
15469 2016-01-29 18:06:29 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15470
15471         * gst-libs/gst/vaapi/gstvaapidecoder.c:
15472           decoder: update a deprecated function
15473           Somehow this didn't show up earlier, but gst_adapter_prev_timestamp() got
15474           deprecated since GStreamer 1.0.
15475           This patch replace it with gst_adapter_prev_pts()
15476           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15477
15478 2016-01-29 13:13:56 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15479
15480         * configure.ac:
15481           build: honor configure's cache
15482           The user might enable --config-cache when calling configure script. If so, our
15483           configuration variables will not be correctly calculated.
15484           This patch extracts the value of our variables either from the cache or from
15485           the operation result.
15486           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15487
15488 2016-01-28 19:12:13 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15489
15490         * configure.ac:
15491           build: use common version variables
15492           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15493
15494 2016-01-28 19:01:43 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15495
15496         * configure.ac:
15497           build: hard-code an unneeded macro
15498           That macro is required for EGL's dynamic module loading, but since
15499           gstreamer-vaapi doesn't creates dynamic modules, it is not required anymore.
15500           That code in gst-libs/gst/vaapi/gstvaapidisplay_egl.c should be removed.
15501           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15502
15503 2016-01-28 17:14:51 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15504
15505         * configure.ac:
15506           build: refactorization of dependency tracking
15507           This patch tries to avoid branching in configure.ac using a more functional
15508           approach in macros usage.
15509           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15510
15511 2016-01-29 12:34:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15512
15513         * configure.ac:
15514           build: check for OpenGL either GLX or EGL are requested
15515           Refactor some code in configure.ac to centralize $enable_opengl definition.
15516           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15517
15518 2016-01-28 16:55:44 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15519
15520         * configure.ac:
15521           build: indent and add square braces
15522           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15523
15524 2016-01-28 16:50:39 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15525
15526         * configure.ac:
15527           build: upgrade autotools version dependency
15528           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15529
15530 2016-01-29 11:14:34 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15531
15532         * configure.ac:
15533           build: enhance string comparisons
15534           Add a 'x' as a prefix in string comparisons to watch out for edge cases where
15535           the string is empty or undefined.
15536           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15537
15538 2016-01-28 14:29:16 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15539
15540         * configure.ac:
15541           build: remove unused variables
15542           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15543
15544 2016-01-27 19:00:51 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15545
15546         * configure.ac:
15547           build: remove check for old version of gstreamer
15548           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15549
15550 2016-01-27 17:55:02 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15551
15552         * configure.ac:
15553           build: remove GStreamer's parsers checks
15554           This patch removes almost all the parsers check since they are already in place,
15555           with the exception of the VP9 parser, since it was merged in Gstreamer 1.7.
15556           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15557
15558 2016-01-29 12:11:17 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15559
15560         * configure.ac:
15561         * gst/vaapi/Makefile.am:
15562           build: add gstreamer-pbutils dependency
15563           This dependency was added in gstvaapidecodebin with the call
15564           gst_missing_element_message_new().
15565           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15566
15567 2016-01-27 17:53:59 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15568
15569         * configure.ac:
15570           build: fix variable declaration
15571           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15572
15573 2016-01-27 17:47:32 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15574
15575         * gst-libs/gst/vaapi/Makefile.am:
15576           build: fix when HEVC decoder is disabled
15577           This a very pathological situation: when we have a HEVC encoder but not a HEVC
15578           decoder.
15579           The encoder needs functions that are only available when the decoder is
15580           enabled.
15581           This patch moves the utils functions into the generic sources, such as the
15582           rest of the utils.
15583           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15584
15585 2016-01-27 17:20:31 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15586
15587         * gst/vaapi/Makefile.am:
15588           build: remove unused EGL specific sources
15589           These Makefile variables are not used at all.
15590           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15591
15592 2016-01-27 17:19:32 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15593
15594         * gst/vaapi/Makefile.am:
15595           build: remove check for GStreamer 1.2
15596           Since we are working for current stable GStreamer 1.6
15597           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15598
15599 2016-01-26 11:49:40 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15600
15601         * gst/vaapi/gstvaapiparse.h:
15602           Remove more video parser crufts
15603           This header is not used anymore since it declares parsers that are
15604           already in GStreamer 1.6
15605           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15606
15607 2016-01-25 12:43:15 +0000  Tim-Philipp Müller <tim@centricular.com>
15608
15609         * configure.ac:
15610         * docs/reference/Makefile.am:
15611         * docs/reference/libs/Makefile.am:
15612         * docs/reference/libs/libs-docs.xml.in:
15613         * docs/reference/libs/libs-overrides.txt:
15614         * docs/reference/libs/libs-sections.txt:
15615           docs: remove library documentation which is non-public now
15616           https://bugzilla.gnome.org/show_bug.cgi?id=759192
15617
15618 2016-01-25 12:40:49 +0000  Tim-Philipp Müller <tim@centricular.com>
15619
15620         * Makefile.am:
15621         * configure.ac:
15622         * debian.upstream/Makefile.am:
15623         * debian.upstream/changelog.in:
15624         * debian.upstream/compat:
15625         * debian.upstream/control.in:
15626         * debian.upstream/copyright:
15627         * debian.upstream/gstreamer-vaapi-doc.install.in:
15628         * debian.upstream/gstreamer-vaapi.install.in:
15629         * debian.upstream/rules:
15630           Remove debian.upstream packaging
15631           https://bugzilla.gnome.org/show_bug.cgi?id=759192
15632
15633 2016-01-22 19:27:13 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15634
15635         * gst-libs/gst/vaapi/gstvaapidecoder.c:
15636         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
15637         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
15638         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
15639         * gst-libs/gst/vaapi/gstvaapiprofile.c:
15640         * gst/vaapi/gstcompat.h:
15641         * gst/vaapi/gstvaapi.c:
15642         * gst/vaapi/gstvaapidecode.c:
15643         * gst/vaapi/gstvaapiencode.c:
15644         * gst/vaapi/gstvaapipluginbase.c:
15645         * gst/vaapi/gstvaapipluginbase.h:
15646         * gst/vaapi/gstvaapipluginutil.c:
15647         * gst/vaapi/gstvaapisink.c:
15648           Remove old gst version guards
15649           As gstreamer-vaapi now only supports from GStreamer 1.6, this patch removes
15650           all the old GStreamer version guards.
15651           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15652
15653 2016-01-22 19:23:43 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15654
15655         * gst/vaapi/gstvaapiparse.c:
15656           Remove video parser crufts
15657           We forgot to remove gstvaapiparse.c when we removed all the videoparser
15658           machinery.
15659           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15660
15661 2015-12-09 19:52:33 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15662
15663         * docs/reference/libs/Makefile.am:
15664         * docs/reference/plugins/Makefile.am:
15665         * gst-libs/gst/vaapi/Makefile.am:
15666         * gst/vaapi/Makefile.am:
15667         * tests/Makefile.am:
15668           libs: remove versioning
15669           Since we don't install libraries anymore, it makes no sense to keep
15670           versioning them according to the gstreamer's version.
15671           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15672
15673 2015-12-09 16:59:16 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15674
15675         * configure.ac:
15676         * debian.upstream/Makefile.am:
15677         * debian.upstream/control.in:
15678         * debian.upstream/libgstvaapi-dev.install.in:
15679         * debian.upstream/libgstvaapi-drm.install.in:
15680         * debian.upstream/libgstvaapi-glx.install.in:
15681         * debian.upstream/libgstvaapi-wayland.install.in:
15682         * debian.upstream/libgstvaapi-x11.install.in:
15683         * debian.upstream/libgstvaapi.install.in:
15684         * gst-libs/gst/vaapi/Makefile.am:
15685         * tests/Makefile.am:
15686           libs: make libraries no installables
15687           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15688
15689 2015-12-09 15:37:39 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15690
15691         * debian.upstream/libgstvaapi-dev.install.in:
15692         * gst-libs/gst/vaapi/Makefile.am:
15693           Do not install libgstvaapi headers
15694           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15695
15696 2016-01-19 10:40:54 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15697
15698         * Makefile.am:
15699         * configure.ac:
15700         * patches/Makefile.am:
15701         * patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch:
15702         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
15703         * patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch:
15704         * patches/videoparsers/0004-h264parse-Disable-3D-video-support-for-GStreamer-1.5.patch:
15705         * patches/videoparsers/0005-videoparsers-h264-Disable-passthorugh-mode-enabling.patch:
15706         * patches/videoparsers/0006-h265parse-include-gstvaapiparse.h.patch:
15707         * patches/videoparsers/0007-h265parse-fix-build-with-GStreamer-1.5.patch:
15708         * patches/videoparsers/Makefile.am:
15709         * patches/videoparsers/series.frag:
15710           Remove videoparser patches
15711
15712 2015-12-09 15:18:11 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15713
15714         * Makefile.am:
15715         * configure.ac:
15716         * debian.upstream/libgstvaapi-dev.install.in:
15717         * pkgconfig/Makefile.am:
15718         * pkgconfig/gstreamer-vaapi-drm.pc.in:
15719         * pkgconfig/gstreamer-vaapi-glx.pc.in:
15720         * pkgconfig/gstreamer-vaapi-wayland.pc.in:
15721         * pkgconfig/gstreamer-vaapi-x11.pc.in:
15722         * pkgconfig/gstreamer-vaapi.pc.in:
15723           Remove pkg-config files
15724           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15725
15726 2015-12-09 13:24:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15727
15728         * .gitmodules:
15729         * Makefile.am:
15730         * configure.ac:
15731         * ext/Makefile.am:
15732         * ext/codecparsers:
15733         * gst-libs/gst/Makefile.am:
15734         * gst-libs/gst/codecparsers/Makefile.am:
15735         * gst-libs/gst/vaapi/Makefile.am:
15736         * gst/vaapi/Makefile.am:
15737           Remove codecparsers submodule
15738           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15739
15740 2015-12-08 00:36:36 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15741
15742         * .gitmodules:
15743         * autogen.sh:
15744         * configure.ac:
15745         * debian.upstream/libgstvaapi.install.in:
15746         * ext/Makefile.am:
15747         * ext/libvpx/Makefile.am:
15748         * ext/libvpx/gstlibvpx.c:
15749         * ext/libvpx/gstlibvpx.h:
15750         * ext/libvpx/libgstcodecparsers_vpx.vers:
15751         * ext/libvpx/sources.frag:
15752         * ext/libvpx/upstream:
15753         * gst-libs/gst/codecparsers/Makefile.am:
15754         * gst-libs/gst/codecparsers/gstvaapilibvpx.c:
15755           Remove libvpx submodule
15756           We will be using upstream codecparsers always.
15757           No more internal libvpx !
15758
15759 2015-12-09 14:12:22 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15760
15761         * configure.ac:
15762           build: fix check for GstJpegParser
15763           Right now the local JPEG parser is always compiled because the check for the
15764           upstreamed version is broken: it looks for an non existent symbol:
15765           GstJpegImage.
15766           This patch changes that check for< GstJpegFrameHdr.
15767           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15768
15769 2015-10-28 09:56:46 +0100  Michael Olbrich <m.olbrich@pengutronix.de>
15770
15771         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
15772           wayland: free the frame in frame_release_callback()
15773           This basically reverts 62c3888b76afc69f714a020957e8c5dd9d98f561 (wayland:
15774           decouple wl_buffer from frame).
15775           Otherwise the frame may be overwritten while it is still used by the
15776           compositer:
15777           The frame done callback (frame_done_callback()) is called, when the
15778           compositor is done processing the frame and hands it to the hardware.
15779           The buffer release callback (frame_release_callback()) is called when the
15780           buffer memory is no longer used.
15781           This can be quite some time later: E.g. if weston (with the DRM backend)
15782           puts the buffer on a hardware plane, then then buffer release callback is
15783           called when the kernel is done with the buffer. This is usually when the
15784           next frame is shown, so most likely after the frame done callback for the
15785           next frame!
15786           Since 70eff01d36a2870cbf06ffb91c2a941e8cb6b804 "wayland: sync() when
15787           destroy()" the mentioned possible leak should no longer be a problem, so
15788           reverting this change should cause no leaking buffers.
15789           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15790           https://bugzilla.gnome.org/show_bug.cgi?id=758848
15791           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15792
15793 2016-01-14 17:36:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15794
15795         * gst/vaapi/gstvaapipostproc.c:
15796           vaapipostproc: check ANY caps at transform_caps()
15797           When transforming downstream caps we should check for ANY caps from peer pad,
15798           otherwise we get a segmentation fault.
15799           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15800           https://bugzilla.gnome.org/show_bug.cgi?id=759893
15801
15802 2016-01-13 19:17:02 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15803
15804         * gst/vaapi/gstvaapisink.c:
15805           vaapisink: ignore frame if its upload failed
15806           When gst_vaapi_plugin_base_get_input_buffer() fail to copy the input buffer
15807           into a VAAPI buffer, the return value is GST_FLOW_NOT_SUPPORTED, and it was
15808           ignored by the vaapisink, leading to a segmentation fault.
15809           This patch ignores the frame that generated the GST_FLOW_NOT_SUPPORTED
15810           returned by gst_vaapi_plugin_base_get_input_buffer(), avoiding the
15811           segmentation fault, but doing and effort to continue rendering. This is
15812           the same behavior of ximagesink.
15813           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15814           https://bugzilla.gnome.org/show_bug.cgi?id=759332
15815
15816 2015-12-09 18:24:50 +0200  Joel Holdsworth <joel.holdsworth@vcatechnology.com>
15817
15818         * configure.ac:
15819           build: Don't ignore GST_PLUGIN_PATH_1_0 even if the directory doesn't exist yet
15820           https://bugzilla.gnome.org/show_bug.cgi?id=759184
15821
15822 2015-12-08 16:14:11 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15823
15824         * gst-libs/gst/vaapi/gstvaapicontext.c:
15825         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
15826         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
15827         * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h:
15828           Add 10 HEVC 10 bit decoding support
15829           Only supporting vaapidecode ! vaapisink combination for now.
15830           Missing dependencies:
15831           1: No support for P010 video format in GStreamer
15832           2: No support for P010 vaGetImage()/vaPutimage() in vaapi-intel-driver
15833           3: As a result of 1&2 , we have no support for Vaapi Video memory mapping
15834           through GstVideoMeta.
15835           Right now we only set chroma format (YUV420 with more than 8 bits per channel)
15836           for surface pool and keeping GST_VIDEO_FORMAT as ENCODED. The underlying format
15837           of the surfaces is implementation (driver) defined, which is P010.
15838
15839 2001-01-01 04:59:28 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15840
15841         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
15842         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
15843           gstvaapisurfacepool: Add new API to create surface pool based on chroma type
15844           This new API gst_vaapi_surface_pool_new_with_chroma_type() is for
15845           creating a new GstVaapiVideoPool of GstVaapiSurfaces with the specified
15846           chroam type and dimensions. The underlying format of the surfaces is
15847           implementation (driver) defined.
15848
15849 2015-12-07 19:06:28 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15850
15851         * gst-libs/gst/vaapi/gstvaapisurface.h:
15852         * gst-libs/gst/vaapi/gstvaapiutils.c:
15853           Add definitions for YUV420 with more than 8 bits per channel
15854
15855 2015-12-07 17:26:24 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15856
15857         * gst-libs/gst/vaapi/gstvaapiprofile.c:
15858           gstvaapiporfile: Fix string representation of HEVCMain10 profile
15859
15860 2015-12-07 16:17:11 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15861
15862         * configure.ac:
15863           Bump version for development
15864
15865 === release 0.7.0 ===
15866
15867 2015-12-07 12:52:10 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15868
15869         * configure.ac:
15870           0.7.0
15871
15872 2015-12-07 12:49:05 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15873
15874         * NEWS:
15875           NEWS: Updates
15876
15877 2015-12-07 12:47:04 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15878
15879         * AUTHORS:
15880           AUTHORS: Update
15881
15882 2015-12-07 12:39:23 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15883
15884         * README:
15885           README: Update
15886
15887 2015-11-26 10:34:12 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15888
15889         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
15890           texture: detect GL version and use the proper API
15891           When receiving the texture from the application or the video sink, we must
15892           know it size and border. To query the texture the API has changed according to
15893           the OpenGL version used in the GL context of the application/vsink.
15894           This patch checks the current context API type and queries the texture
15895           according to this detected API.
15896           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15897           https://bugzilla.gnome.org/show_bug.cgi?id=753099
15898
15899 2015-11-26 10:19:32 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15900
15901         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
15902           texture: check for expected target and format
15903           gst_vaapi_texture_glx_new_wrapped() only handles a GL_TEXTURE_2D target and
15904           formats GL_RGBA or GL_BGRA.
15905           This patch adds a debugging verification of those values.
15906           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15907           https://bugzilla.gnome.org/show_bug.cgi?id=753099
15908
15909 2015-11-26 10:26:10 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15910
15911         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
15912         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
15913           libs: add gl3_bind_texture_2d()
15914           Since OpenGL3.1 removed the fixed pipelines[1] enabling 2D textures is not
15915           needed. In particular, the Intel's Mesa implementation complains if it is
15916           called.
15917           This patch add a new binding function for 2D textures, without enabling
15918           gl3_bind_texture_2d()[2].
15919           1. https://www.opengl.org/wiki/Fixed_Function_Pipeline
15920           2. https://www.opengl.org/wiki/Common_Mistakes#OOP_and_hidden_binding
15921           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15922           https://bugzilla.gnome.org/show_bug.cgi?id=753099
15923
15924 2015-11-26 10:14:45 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15925
15926         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
15927         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
15928           libs: add gl_get_current_api()
15929           In order to know which OpenGL API use, we must detect the API type of current
15930           context. This patch adds the function gl_get_current_api() which returns the
15931           OpenGL API type.
15932           This function is an adaptation of gst_gl_context_get_current_gl_api() from
15933           GstGL.
15934           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15935           https://bugzilla.gnome.org/show_bug.cgi?id=753099
15936
15937 2015-11-27 12:29:11 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15938
15939         * configure.ac:
15940         * gst-libs/gst/vaapi/Makefile.am:
15941           build: Add gmodule dependency for libgstvaapi_egl
15942           https://bugzilla.gnome.org/show_bug.cgi?id=756259
15943
15944 2015-11-27 14:24:55 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15945
15946         * patches/videoparsers/0005-videoparsers-h264-Disable-passthorugh-mode-enabling.patch:
15947         * patches/videoparsers/0006-h265parse-include-gstvaapiparse.h.patch:
15948         * patches/videoparsers/0007-h265parse-fix-build-with-GStreamer-1.5.patch:
15949         * patches/videoparsers/series.frag:
15950           patches/videoparsers: h264: Disable passthorugh mode enabling
15951           This is a quick fix for regression introduced by the upstream
15952           commit e8908f5aeef952566f6bccde743c7735d3f8c6ef in h264 videoparser.
15953           The patch is disabling the passthrough mode, otherwise it will
15954           break multi-layer mvc stream parsing.
15955           https://bugzilla.gnome.org/show_bug.cgi?id=758656
15956
15957 2015-11-25 15:12:53 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15958
15959         * gst/vaapi/Makefile.am:
15960         * patches/videoparsers/Makefile.am:
15961         * patches/videoparsers/series.frag:
15962           build: add gsth265parse patches conditionally
15963           As gsth265parse was added in GStreamer 1.4, and gstreamer-vaapi still support
15964           GStreamer 1.2, the patching of gsth265parse must be conditional to the target
15965           GStreamer version.
15966           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15967           https://bugzilla.gnome.org/show_bug.cgi?id=755525
15968
15969 2015-11-25 15:11:28 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15970
15971         * gst/vaapi/Makefile.am:
15972           build: declare correctly parse lib built files
15973           This is a continuation of commit fc8a0d12
15974           When declaring BUILT_SOURCES, those files should not be distributed. This
15975           patch avoids the distribution of the generated source code.
15976           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15977           https://bugzilla.gnome.org/show_bug.cgi?id=755525
15978
15979 2015-11-24 17:14:20 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15980
15981         * ext/libvpx/sources.frag:
15982           build: libvpx: Add missing source file
15983
15984 2015-11-23 17:21:23 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
15985
15986         * gst/vaapi/gstvaapipostproc.c:
15987           vaapipostproc: Correctly detect the caps change
15988           This is a quick fix for regression introuduced by the
15989           commit 757833230bc73b8e3b4e31649e4618ba802bea51
15990           With out this, the gst_vaapipostproc_create() will
15991           never get invoked.
15992           https://bugzilla.gnome.org/show_bug.cgi?id=758543
15993
15994 2015-11-18 20:48:30 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
15995
15996         * ext/libvpx/Makefile.am:
15997         * ext/libvpx/sources.frag:
15998           build: libvpx: update the sources lists
15999           `make dist` broke since commit f06798 (libvpx: Update the submodule to
16000           libvpx-1.4.0) because the sources.frag does not contain all the module
16001           sources.
16002           This patch updates thoroughly the sources.
16003           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16004           https://bugzilla.gnome.org/show_bug.cgi?id=755525
16005
16006 2015-11-16 17:49:01 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16007
16008         * gst/vaapi/gstvaapipostproc.c:
16009           vaapipostproc: don't set caps change at first set
16010           When the source caps change, the filter is destroyed and recreated.
16011           Nonetheless, this happens every time the vaapipostproc starts, since the caps
16012           change detection algorithm does not take in consideration when the caps are
16013           set by first time.
16014           This patch intents to be an optimization, to avoid a useless filter
16015           destroy-creation cycle when the sources caps are set for first time.
16016           The new helper function video_info_update() is a refactorization to avoid
16017           duplicated code.
16018           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16019           https://bugzilla.gnome.org/show_bug.cgi?id=758007
16020
16021 2015-11-12 16:13:25 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16022
16023         * gst/vaapi/gstvaapipostproc.c:
16024           vaapipostproc: params video_info_changed() callers
16025           The signature is video_info_changed(old_vip, new_vip). Nonetheless the callers
16026           swapped the the order. This didn't raise problems since the comparison of both
16027           structures were not affected by its semantics.
16028           But still it would be better to fix this to keep the coherence of the code.
16029           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16030           https://bugzilla.gnome.org/show_bug.cgi?id=758007
16031
16032 2015-09-24 10:35:44 +0000  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16033
16034         * gst/vaapi/Makefile.am:
16035           build: declare real built files
16036           When runnig the `make dist` target from a clean tree, it fails because
16037           if could not find the copied files from codecparsers submodule.
16038           They weren't copied because they weren't declared as built sources.
16039           This patch removes the stamp mechanism and use the actual file list to copy
16040           as the built sources. Also it fixes the duplication of the parser files.
16041           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16042           https://bugzilla.gnome.org/show_bug.cgi?id=755525
16043
16044 2015-11-17 19:37:07 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16045
16046         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16047           decoder: vp9: Fix last/golden/altref frame index setting
16048           Always fill VADecPictureParameterBufferVP9 last/golden/altref indices
16049           based on what ever reference frame indices encoded in frame header.
16050
16051 2015-08-25 16:01:51 +0000  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16052
16053         * debian.upstream/rules:
16054           debian: remove custom parallel compilation
16055           In order to build a debian package with upstream source, the user should
16056           do
16057           ./autogen.sh
16058           cp -a debian.upstream debian
16059           debuild -eDEB_BUILD_OPTIONS="parallel=8" -us -uc -b
16060           The environment variable DEB_BUILD_OPTIONS="parallel=8" is the canonical
16061           way to make a parallel build (-j8 in this case).
16062           This commit removes the script in debian/rules that detects the number of
16063           cpus, requested by the environment variable DEBIAN_BUILD_NCPUS, which is not
16064           official in debian.
16065           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16066           https://bugzilla.gnome.org/show_bug.cgi?id=754087
16067
16068 2015-11-16 18:22:55 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16069
16070         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16071           decoder: vp9: Fix PTS calculation of cloned frames
16072
16073 2015-11-16 18:22:33 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16074
16075         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16076           decoder: vp9: Avoid unnecessary show_frame flag checking while doing picture output
16077           We always set GST_VAAPI_PICTURE_FLAG_SKIPPED for DECODE_ONLY frames and the
16078           gstvaapidecoder base calss is reponsible for handling those frames later on.
16079           No need for explicit verification of frame header's show_frame in order to
16080           do picture outputing.
16081
16082 2015-11-16 18:22:14 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16083
16084         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16085           decoder: vp9: Fix ref picture update while doing repeat frame
16086           Don't try to do frame decoding and reference picture update
16087           while receiving a vp9 frame having show_existing_frame flag
16088           set as TRUE.
16089
16090 2015-11-16 18:21:56 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16091
16092         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16093           decoder: vp9: Add repeat-frame display handling
16094           If vp9 frame header come up with show_existing_frame flag set,
16095           we should duplicate the existing decoded frame as current frame to
16096           be displayed.
16097
16098 2015-11-12 11:07:38 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16099
16100         * gst/vaapi/gstvaapidecodebin.c:
16101           vaapidecodebin: add me as element co-author
16102           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16103           https://bugzilla.gnome.org/show_bug.cgi?id=757957
16104
16105 2015-11-12 12:47:01 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16106
16107         * gst/vaapi/gstvaapidecodebin.c:
16108           vaapidecodebin: try to get display from decoder
16109           Rather than create a dummy display, if none has propagated as a context, we
16110           should try to get the one from vaapidecode.
16111           As the bin is already in READY state, the vaapidecode should be also in that
16112           state. That means that the contexts have been negotiated, and it should have
16113           already a display.
16114           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16115           https://bugzilla.gnome.org/show_bug.cgi?id=757957
16116
16117 2015-11-11 19:04:25 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16118
16119         * gst/vaapi/gstvaapidecodebin.c:
16120         * gst/vaapi/gstvaapidecodebin.h:
16121           vaapidecodebin: add postprocessor dynamically
16122           The former approach to left the bin unfinished has some problems: the context
16123           cannot be shared because the vaapidecode is unlinked in many cases, leading to
16124           creating a VADisplay twice.
16125           Initially the bin is fully functional, constructed as
16126           (-----------------------------------)
16127           |            vaapidecodebin         |
16128           |   (-------------)    (-------)    |
16129           |<--| vaapidecode |--->| queue |--->|
16130           |   (-------------)    (-------)    |
16131           (-----------------------------------)
16132           When the context is shared and the VADisplay has VPP capabilities, before
16133           changing to READY state, the bin is reconfigured dynamically, adding the
16134           vaapipostproc element afeter the queue:
16135           (--------------------------------------------------------)
16136           |                       vaapidecodebin                   |
16137           |   (-------------)    (-------)    (---------------)    |
16138           |<--| vaapidecode |--->| queue |--->| vaapipostproc |--->|
16139           |   (-------------)    (-------)    (---------------)    |
16140           (--------------------------------------------------------)
16141           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16142           https://bugzilla.gnome.org/show_bug.cgi?id=757957
16143
16144 2015-11-11 16:33:24 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16145
16146         * gst/vaapi/gstvaapidecodebin.c:
16147           vaapidecodebin: delay the bin configuration
16148           Delay the bin configuration until changing to READY state. This is because we
16149           should add the vaapipostproc element until the vaapidecode has emitted the
16150           HAVE_CONTEXT message, so de gst_bin_add() could set the context set to
16151           vaapipostproc.
16152           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16153           https://bugzilla.gnome.org/show_bug.cgi?id=757957
16154
16155 2015-11-13 19:39:56 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16156
16157         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16158           decoder: vp9: Add crop rectangle support.
16159           Set crop rectange if:
16160           There is display_width and display_height which is different from actual width/height
16161           or
16162           The changed resolution is less than the actual configured dimension of surfaces
16163
16164 2015-11-13 19:23:05 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16165
16166         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16167           decoder: vp9: Fix the context and surface pool reset for multi resolution video
16168           Unlike other decoders, vp9 decoder doesn't need to reset the
16169           whole context and surfaces for each resolution change. Context
16170           reset only needed if resolution of any frame is greater than
16171           what actullay configured. There are streams where a bigger
16172           resolution set in ivf header or webm header but actual resolution
16173           of all frames are less. Also it is possible to have inter-prediction
16174           between these multi resolution frames.
16175
16176 2015-11-13 18:58:33 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16177
16178         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16179           decoder: vp9: Fill the VADecPictureParameterBufferVP9 width/height from frame header
16180           Always fill width/height of VADecPictureParameterBufferVP9 from frame header.
16181           Preliminary fix for supproting multi resolution video decode.
16182
16183 2015-11-13 18:51:27 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16184
16185         * gst/vaapi/gstvaapidecode.c:
16186           vaapidecode: Add comments for corner case fixes and fix couple of indentations.
16187
16188 2015-11-13 18:41:53 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16189
16190         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16191           decoder: vp9: Set lossless flag from frame header
16192
16193 2015-11-13 18:40:52 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16194
16195         * ext/codecparsers:
16196           codecparsers: Update to gst-vaapi-branch d9f25
16197           d9f2527: codecparsers: vp9: Set lossless flag in frame header
16198
16199 2015-11-11 19:16:16 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16200
16201         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16202           libs: vp9: remove unused symbols
16203           clang complains about a couple variables and one label which were not
16204           used. This patch removes them.
16205           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16206           https://bugzilla.gnome.org/show_bug.cgi?id=757958
16207
16208 2015-11-10 19:00:22 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16209
16210         * ext/codecparsers:
16211           codecparsers: Update to gst-vaapi-branch da251bb
16212           da251bb: codecparsers: vp9: Optimize the memory allocation
16213           f5759f4: codecparsers: vp9: Fix the wrong memcpy of probability arrays
16214
16215 2015-11-05 12:58:52 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16216
16217         * gst/vaapi/gstvaapipluginbase.c:
16218         * gst/vaapi/gstvaapipluginbase.h:
16219           plugin: guard pointers to pad query functions
16220           Since gstreamer 1.4 is not required to have pad query functions if the query
16221           vmethods are used.
16222           This patch guards out the pad query functions for gstreamer < 1.4
16223           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16224           https://bugzilla.gnome.org/show_bug.cgi?id=757629
16225
16226 2015-11-05 12:39:55 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16227
16228         * gst/vaapi/gstvaapiencode.c:
16229           vaapiencode: use pad query vmethods
16230           GstVideoEncoder, the base class of vaapiencode, added support for pad queries
16231           as virtual methods since gstreamer 1.4. This patch enables those vmethods,
16232           while keeps support for previous versions of gstreamer.
16233           This patch is relevant since GstVideoEncoder takes care of other queries that
16234           we are currently ignoring.
16235           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16236           https://bugzilla.gnome.org/show_bug.cgi?id=757629
16237
16238 2015-10-28 13:01:04 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16239
16240         * gst/vaapi/gstvaapidecode.c:
16241           vaapidecode: return pad's template caps if no display
16242           A caps query can occur before the element has a display. In that case, the
16243           element can return its pad's template. But when the element already has a
16244           display, and the caps probe fails, the element shall return an empty caps, so
16245           the auto-plug could try with another decoder.
16246           If the element has a display and the caps probe works, then the computed caps
16247           should be returned.
16248           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16249           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16250
16251 2015-10-28 12:59:02 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16252
16253         * gst/vaapi/gstvaapidecode.c:
16254         * gst/vaapi/gstvaapisink.c:
16255           plugins: don't create display at caps query
16256           Caps query can happen before the element has a bus. The display creation should
16257           be should occur on the context negotiation, when the bus is already configured.
16258           Then at caps query no display should be created.
16259           Instead of force the display creation, we graciously fail the allowed_caps()
16260           creation.
16261           This change only applies for vaapidecode and vaapisink. The vaapipostroc, as a
16262           basetransform descendant, seems to be not affected by this, nor the encoders.
16263           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16264           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16265
16266 2015-11-04 21:38:42 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16267
16268         * gst/vaapi/gstvaapidecode.c:
16269         * gst/vaapi/gstvaapiencode.c:
16270         * gst/vaapi/gstvaapipluginutil.c:
16271         * gst/vaapi/gstvaapipluginutil.h:
16272         * gst/vaapi/gstvaapipostproc.c:
16273         * gst/vaapi/gstvaapisink.c:
16274           plugins: fix context query handling
16275           The current context query handling design is flawed: the function
16276           gst_vaapi_reply_to_query() returns FALSE either if the query is not a
16277           GST_CONTEXT_QUERY of if the query could not be handled correctly. But the
16278           pad query function should handle differently each case.
16279           This patch changes the gst_vaapi_reply_to_query() for
16280           gst_vaapi_handle_context_query() and changes it usage in all the vaapi plugins
16281           to match the correct context query handling.
16282           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16283           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16284
16285 2015-11-04 20:37:05 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16286
16287         * gst/vaapi/gstvaapipluginutil.c:
16288           plugin: don't lose previous context at query
16289           When processing the GST_CONTEXT_QUERY we should not lose the previous
16290           context in the query, we should only add our display structure.
16291           This patch copies the old context, if it is there, and stamp our display on
16292           it. Otherwise, a new context is created.
16293           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16294           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16295
16296 2015-11-04 20:29:03 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16297
16298         * gst/vaapi/gstvaapivideocontext.c:
16299         * gst/vaapi/gstvaapivideocontext.h:
16300           vaapivideocontext: add gst_vaapi_video_context_set_display()
16301           This function set the display to an already created context. This function is
16302           going to be used later.
16303           Also, gst_vaapi_video_context_new_with_display() now uses this function.
16304           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16305           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16306
16307 2015-10-30 12:27:16 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16308
16309         * gst/vaapi/gstvaapipluginutil.c:
16310         * gst/vaapi/gstvaapivideocontext.c:
16311         * gst/vaapi/gstvaapivideocontext.h:
16312           plugins: check if display is set in sync
16313           Since the context messages are sync'ed, the display assignation happens in the
16314           same thread, hence we can know if the display was found or not as soon we call
16315           for it.
16316           In order to take advantage of it, gst_vaapi_video_context_prepare() receives,
16317           as a new parameter, the address of the plugin's display, and reports back if
16318           the display was found and set.
16319           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16320           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16321
16322 2015-10-30 12:33:48 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16323
16324         * gst/vaapi/gstvaapipluginutil.c:
16325         * gst/vaapi/gstvaapivideocontext.c:
16326           plugins: set display through context
16327           Instead of setting the display to the plugin directly after its creation, do
16328           it through the gstreamer's context mechanism, avoiding double assignations.
16329           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16330           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16331
16332 2015-11-02 18:20:07 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16333
16334         * gst/vaapi/gstvaapivideocontext.c:
16335           vaapivideocontext: rename context structure
16336           The context structure is named "display" which is too generic. The contrary
16337           happens, for example, with GstGL, what uses the same name as the context, and
16338           its logs make more sense.
16339           This patch renames the context structure with the same name as the
16340           context, thus GST_PTR_FORMAT can pretty print it.
16341           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16342
16343 2015-11-04 19:02:34 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16344
16345         * gst/vaapi/gstvaapivideocontext.c:
16346           vaapivideocontext: refactor gst_vaapi_video_context_prepare()
16347           First, refactorized run_context_query() into _gst_context_run_query(), adding
16348           a new parameter: the pad direction, in order to simplify the code.
16349           Second, added a new helper function: _gst_context_query(), which is a generic
16350           context query function.  It isolates the operation of running the query and
16351           sets the context if found, also it enhances the logs.
16352           _gst_context_query() is similar to the one used in GstGL. Perhaps, in the
16353           future this helper function will be merged into the core libraries of
16354           GStreamer.
16355           Finally, gst_vaapi_video_context_prepare() was rewritten to use
16356           _gst_context_query().
16357           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16358           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16359
16360 2015-10-30 11:18:47 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16361
16362         * gst/vaapi/gstvaapivideocontext.c:
16363           vaapivideocontext: refactor context category debug
16364           Refactor the extraction GST_CAT_CONTEXT logging using a only once
16365           initializator, so we could get the debug category from different code
16366           paths, safely.
16367           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16368           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16369
16370 2015-10-23 11:17:01 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16371
16372         * gst/vaapi/gstvaapivideocontext.c:
16373           gstvaapivideocontext: fix indentation
16374           gst-indent does not handle correctly some expression like function
16375           declaration with attributes, breaking the following expressions.
16376           This patch makes gst-indent to ignore the attributed function
16377           declartion so the followed function definition is not mangled, such
16378           as happened in commit b4154a
16379           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16380           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16381
16382 2015-11-02 16:48:27 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16383
16384         * gst/vaapi/gstvaapipluginbase.c:
16385           plugin: chain up set_context() vmethod
16386           Since Gstreamer 1.7, set_context() vmethod needs to be chained up with
16387           the parent class in order to broadcast all its contexts when the element
16388           is added into a bin:
16389           http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d5ded1588920c4471eefe055d09095d9e5e989b5
16390           There is no need to guard the call, because before GStreamer 1.7, the
16391           set_context() vmethod was NULL in the element class, hence the conditional
16392           call make it safe.
16393           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16394           https://bugzilla.gnome.org/show_bug.cgi?id=757598
16395
16396 2015-11-06 10:20:34 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16397
16398         * tests/simple-encoder.c:
16399           tests: simple-encoder: remove dead code
16400           The caps creation for codec state configuration is not used. Let's remove it.
16401           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16402
16403 2015-11-02 19:05:07 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16404
16405         * gst/vaapi/gstvaapidecodebin.c:
16406           vaapidecodebin: fix a leaked display instance
16407           The display returned by gst_vaapi_video_context_get_display() increments the
16408           references. Thus, we have to unref the returned display.
16409           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16410           https://bugzilla.gnome.org/show_bug.cgi?id=757595
16411
16412 2015-11-04 16:50:44 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16413
16414         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
16415         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
16416           libs: remove unneeded headers
16417           Since gstvaapidisplay_glx.h do not expose gl.h/glx.h structures, it is not
16418           required to include them in the header. It is not also required to include
16419           them in gstvaapidisplay_glx.c, since gstvaapiutils_glx.h includes them and
16420           exposes their structures (e.g. GLXPixmap).
16421           Nonetheless, glext.h neither glxext.h are required to include, they are
16422           already included conditionally by gl.h and glx.h, respectively.
16423           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16424           https://bugzilla.gnome.org/show_bug.cgi?id=757577
16425
16426 2015-11-06 19:18:54 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16427
16428         * ext/codecparsers:
16429           codecparsers: Update to gst-vaapi-branch 0ea6792
16430           0ea6792: codecparsers: vp9: Add header comments
16431           347ffc7: codecparsers: vp9: Use g_slice_free() for releasing memory allocated from the slice allocator
16432
16433 2015-11-06 15:19:38 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16434
16435         * gst/vaapi/gstvaapidecode.c:
16436           VP9: plugins: Add VP9 decoder
16437
16438 2015-11-06 15:12:51 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16439
16440         * gst-libs/gst/vaapi/Makefile.am:
16441         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c:
16442         * gst-libs/gst/vaapi/gstvaapidecoder_vp9.h:
16443           VP9: libgstvaapi: Add VP9 decoder
16444
16445 2015-11-06 14:57:00 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16446
16447         * gst-libs/gst/vaapi/gstvaapiprofile.c:
16448         * gst-libs/gst/vaapi/gstvaapiprofile.h:
16449           VP9: gstvaapiprofile: Add profile definitions
16450
16451 2015-11-06 14:39:22 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16452
16453         * configure.ac:
16454           VP9: build: Check availability of vp9 decoder APIs
16455
16456 2015-11-06 14:24:08 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16457
16458         * configure.ac:
16459         * ext/Makefile.am:
16460         * gst-libs/gst/codecparsers/Makefile.am:
16461           VP9: Allow building vp9 codecparser internally
16462
16463 2015-11-06 12:38:46 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16464
16465         * ext/codecparsers:
16466           codecparsers: Update to gst-vaapi-branch commit ac5dc1a
16467           ac5dc1a: codecparsers: vp9: Add vp9 codec parser
16468           e7d9217: codecparser: h264: initialize parsing structures
16469           403d400: codecparser: h265: initialize parsing structures
16470
16471 2015-11-04 15:37:34 +0100  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16472
16473         * configure.ac:
16474           configure.ac: don't use an undefined variable
16475           If the environment lacks of gstreamer development packages, this error will
16476           be reported to the user: "gstreamer- was not found"
16477           This is because we are using an undefined variable in the printed message. The
16478           fix simple changes the variable for the hard-coded string "1.0".
16479           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16480           https://bugzilla.gnome.org/show_bug.cgi?id=757283
16481
16482 2015-10-16 15:55:40 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16483
16484         * gst/vaapi/gstvaapidecode.c:
16485           vaapidecode: relax guards for memory:VASurface capsfeature
16486           Though caps features are supported since GStreamer 1.2, there are some
16487           issues with the features caps negotiation in that version. Nonetheless,
16488           those issues are fixed in GStreamer 1.4. So, the memoy:VASurface caps
16489           feature negotiation is relaxed for GStreamer 1.4.
16490           The guard is the same as in vaapisink's caps template.
16491           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16492           https://bugzilla.gnome.org/show_bug.cgi?id=756686
16493
16494 2015-10-15 18:18:36 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16495
16496         * gst/vaapi/gstvaapidecode.c:
16497           vaapidecode: decide allocation doesn't update srccaps
16498           The received caps query will bring the already negotiated caps, so they are
16499           not expected to change.
16500           This patch removes this verification which is dead code path.
16501           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16502           https://bugzilla.gnome.org/show_bug.cgi?id=756686
16503
16504 2015-10-14 20:30:30 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16505
16506         * gst/vaapi/gstvaapidecode.c:
16507         * gst/vaapi/gstvaapipluginutil.c:
16508         * gst/vaapi/gstvaapipluginutil.h:
16509           vaapidecode: use caps to check the features
16510           Instead of calling gst_vaapi_find_preferred_caps_feature(), which is
16511           expensive, we check the caps from the allocation query, to check the
16512           negotiated feature.
16513           In order to do this verification a new utility function has been implemented:
16514           gst_vaapi_caps_feature_contains().
16515           As this new function shared its logic with gst_caps_has_vaapi_surface(), both
16516           have been refactorized.
16517           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16518           https://bugzilla.gnome.org/show_bug.cgi?id=756686
16519
16520 2015-10-14 20:22:43 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16521
16522         * gst/vaapi/gstvaapidecode.c:
16523           vaapidecode: set format before decide allocation
16524           There is a regression from commit 3d8e5e. It was expected the buffer pool
16525           allocation occur before the caps negotiation, but it is not.
16526           This patch fixes this regression: the caps negotiation is done regardless the
16527           allocation query from downstream.
16528           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16529           https://bugzilla.gnome.org/show_bug.cgi?id=756686
16530
16531 2015-10-16 20:21:50 +0800  Lim Siew Hoon <siew.hoon.lim@intel.com>
16532
16533         * configure.ac:
16534           build: check for patch and fix yasm check
16535           Add configure checking for GNU patch tools and fixed configure
16536           checking YASM to correct sequence.
16537           Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
16538           https://bugzilla.gnome.org/show_bug.cgi?id=756690
16539
16540 2015-10-15 19:20:21 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16541
16542         * ext/libvpx/Makefile.am:
16543           build: Remove disable-md5 option for libvpx build
16544           The configure option --disable-md5 was provided in libvpx-1.3.0 which
16545           has been removed in 1.4.0.
16546
16547 2015-10-15 19:00:26 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16548
16549         * ext/libvpx/upstream:
16550           libvpx: Update the submodule to libvpx-1.4.0
16551           libvpx git commit: c74bf6d889992c3cabe017ec353ca85c323107cd
16552
16553 2015-10-15 10:59:08 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16554
16555         * configure.ac:
16556           configure: mark support for GStreamer 1.2 as obsolete.
16557           Support for GStreamer 1.2 is obsolete. i.e. it is no longer supported.
16558           Our goal is to support the last two stable versions of GStreamer which
16559           are 1.4 and 1.6 at the moment.
16560           We still keep the 1.2 specific codes until the next gstreamer-vaapi-0.7
16561           release and will get rid of those in 0.8.
16562
16563 2015-10-12 14:13:03 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16564
16565         * gst/vaapi/gstvaapidecode.c:
16566           vaapidecode: Fix buffer copy assertion
16567           Don't try to copy the NULL buffer-codec_data.
16568
16569 2015-09-28 14:57:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16570
16571         * configure.ac:
16572           build: allow builds against GStreamer 1.7.x
16573           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16574
16575 2015-09-23 16:02:46 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16576
16577         * gst/vaapi/gstcompat.h:
16578           gstcompat: add gst_buffer_copy_deep() if gst < 1.5
16579           gst_buffer_copy_deep() was added in GStreamer 1.5. If want to use it we should
16580           add an implementation if gstreamer-vaapi is linked to previous versions.
16581           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16582
16583 2015-09-23 12:13:41 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16584
16585         * gst/vaapi/gstvaapidecode.c:
16586           vaapidecode: simplify copy of GstVideoCodecState
16587           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16588
16589 2015-09-14 19:21:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16590
16591         * patches/videoparsers/0006-h265parse-fix-build-with-GStreamer-1.5.patch:
16592         * patches/videoparsers/series.frag:
16593           patches/videoparsers: h265parser: more API fences
16594           Add more API fences according with its version and refresh the patch.
16595           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16596           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16597
16598 2015-09-14 19:19:56 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16599
16600         * patches/videoparsers/0005-h265parse-include-gstvaapiparse.h.patch:
16601         * patches/videoparsers/series.frag:
16602           patches/videoparsers: h265parser: rename patch keeping number
16603           Refresh the patch and rename it in order to keep the patch number.
16604           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16605           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16606
16607 2015-09-14 19:18:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16608
16609         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
16610           patches/videoparsers: h264parser: more API fences and refresh
16611           Add more API fences according with its version and refresh the patch.
16612           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16613           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16614
16615 2015-09-14 19:16:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16616
16617         * patches/videoparsers/0004-h264parse-Disable-3D-video-support-for-GStreamer-1.5.patch:
16618         * patches/videoparsers/series.frag:
16619           patches/videoparsers: h264parser: fix description and refresh
16620           Fix a typo in the patch description and refresh it in order to avoid the
16621           creation of .orig files and break the distcheck target.
16622           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16623           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16624
16625 2015-09-14 19:15:18 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16626
16627         * patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch:
16628         * patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch:
16629           patches/videoparsers: h264parser: refresh patches
16630           In order to avoid the creation of .orig files and break the distcheck target.
16631           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16632           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16633
16634 2015-09-15 16:53:31 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16635
16636         * gst/vaapi/Makefile.am:
16637           build: link libgstvaapi_parse against codec parser
16638           GST_CODEC_PARSER_* variables are defined if builtin codec parsers are disabled
16639           when running configure.
16640           Right now, libgstcodecparsers links only to libgstvaapi, but libgstvaapi_parse
16641           need it if builtin codec parsers are disabled.
16642           This patch adds GST_CODEC_PARSER_* variables to libgstvaapi_parse
16643           compilation. If builtin codec parsers are enable, this variable is null, so it
16644           should work using libgstvaapi, as normal.
16645           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16646           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16647
16648 2015-09-11 16:35:30 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16649
16650         * configure.ac:
16651           build: verify for H264 MVC and H265 SPS
16652           Currently the H264 and H265 parsers look for MVC and SPS respectively, and
16653           the required symbols for those were added in GStreamer 1.5
16654           If we try to compile in GStreamer < 1.4, without enabling the builtin codec
16655           parsers, the compilation fails, because the lack of those symbols.
16656           This patch verifies if the installed H264 and H265 parsers have those symbols. If
16657           they do not, the specific built in codec parsers are enabled and used.
16658           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16659           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16660
16661 2015-09-11 16:49:16 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16662
16663         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
16664           decoder: h264: initialize PPS's slice_group_id
16665           When the GstVaapiParserInfoH264 is allocated, the memory is not initialized,
16666           so it contains random data.
16667           When gst_h264_parser_parse_pps() fails, the PPS structure keeps slice_group_id
16668           pointer uninitialized, leading to a segmentation fault when the memory is
16669           freed.
16670           This patch prevents this by initializing the slice_group_id before the PPS
16671           parsing.
16672           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16673           https://bugzilla.gnome.org/show_bug.cgi?id=754845
16674
16675 2015-09-15 11:01:29 +0300  Mark Nauwelaerts <mnauw@users.sourceforge.net>
16676
16677         * gst/vaapi/gstvaapidecode.c:
16678           vaapidecode: proper numerator and denominator for forced latency framerate
16679           https://bugzilla.gnome.org/show_bug.cgi?id=755040
16680
16681 2015-09-11 20:51:42 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16682
16683         * ext/codecparsers:
16684           codecparsers: Update to gst-vaapi-branch commit f9e284b
16685           dae1a84: h264parse/h265parse: Fix negotiation crash
16686           45a9f8a: codecparsers: h265 : Fix default scaling list values
16687           28eaaf5: codecparsers: h265: Fix the selection of Active Ref Pic Set
16688           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16689
16690 2015-09-04 22:19:55 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16691
16692         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16693           decoder: hevc: Don't flush dpb for EOS/EOB nal
16694           Explicit flushing of dpb for EOS and EOB nal decoding is wrong,
16695           the dpb_add() itself will handle the flusing(if needed) of dpb
16696           for end of sequence and end of bitstream.
16697           https://bugzilla.gnome.org/show_bug.cgi?id=754010
16698
16699 2015-09-04 22:11:10 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16700
16701         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16702           decoder: hevc: Fix the dpb_add() based on C.5.2.3
16703           Follow the spec as it is in C.5.2.3, add the decoded frame to dpb
16704           just after the PicLatencyCnt setting of existing dpb frames.
16705           https://bugzilla.gnome.org/show_bug.cgi?id=754010
16706
16707 2015-09-04 22:02:55 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16708
16709         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16710           decoder: hevc: Fix the picture addition in dpb() based on spec H265 v3 (04/2015)
16711           This fix is based on the V3 vesion of spec which was missing in older versions.
16712           When the current picture has PicOutputFlag equal to 1, for each picture in the
16713           DPB that is marked as "needed for output" and follows the current picture in output order,
16714           the associated variable PicLatencyCount is set equal to PicLatencyCount + 1 (C.5.2.3).
16715           https://bugzilla.gnome.org/show_bug.cgi?id=754010
16716
16717 2015-09-04 22:00:36 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16718
16719         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16720           decoder: h265: Fix indentation
16721
16722 2015-06-13 01:39:31 +1000  Jan Schmidt <jan@centricular.com>
16723
16724         * gst-libs/gst/vaapi/gstvaapidecoder.c:
16725         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
16726         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
16727         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
16728         * gst/vaapi/gstvaapidecode.c:
16729         * gst/vaapi/gstvaapipluginutil.c:
16730           multiview: initial attempt at stereo/multiview support
16731           Add support for marking caps and buffers for multiview or
16732           stereoscopic output.
16733           https://bugzilla.gnome.org/show_bug.cgi?id=750835
16734
16735 2015-08-28 17:12:12 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16736
16737         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16738           decoder: hevc: remove unused functions
16739           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16740           https://bugzilla.gnome.org/show_bug.cgi?id=754250
16741
16742 2015-08-31 13:11:54 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16743
16744         * gst/vaapi/gstvaapidecode.c:
16745           vaapidecode: remove (another) unused variable
16746           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16747
16748 2015-08-28 17:10:40 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16749
16750         * gst/vaapi/gstvaapidecode.c:
16751           vaapidecode: remove unused variable
16752           Thus silence the compilation warnings.
16753
16754 2015-08-28 16:06:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16755
16756         * gst/vaapi/gstvaapidecode.c:
16757           vaapidecode: compilation fix
16758           gst_vaapi_decoder_state_changed() returns void. This patch fixes the
16759           compilation where the toolchain uses restrictive flags as clang.
16760           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16761
16762 2015-08-29 00:27:05 +0300  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16763
16764         * gst/vaapi/gstvaapidecode.c:
16765           vaapidecode: renegotiate if caps are not equal
16766           The use of gst_caps_is_always_compatible() for this optimization may lead to
16767           false positives. It is better to stick to gst_caps_is_strictly_equal() to know
16768           if it is required a re-negotiation.
16769           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16770           https://bugzilla.gnome.org/show_bug.cgi?id=750835
16771
16772 2015-08-29 00:18:57 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16773
16774         * gst/vaapi/gstvaapidecode.c:
16775         * gst/vaapi/gstvaapidecode.h:
16776           vaapidecode: Rework the re-negotiation code to handle multi resoultion videos
16777           Delaying the pool re-negotiation untill we push all decoded (and queued)
16778           frames downstream. Otherwise for the multi-resolution videos, the
16779           GstVideoVideoMemory will be having wrong resolution and which leads
16780           to nasty behaviours, especially when using software renderers.
16781           sample media file: RAP_B_Bossen_1.bin
16782           case explained:
16783           The first SPS Nal will report resoultion of 448x256 and having crop rectangles to
16784           get the final resoultion 416x240.
16785           Starting from 25 th frame, the resolution will change to 416x240. But parser
16786           elements won't report this since the effective croped resolution is same in
16787           both cases. Here the core libgstvaapi will detect this through it's internal
16788           parsing and do all context/pool destory/reset stuffs. Also it will notify this
16789           change to plugins in advance. But if the plugin try to do re-negotiaion of pool
16790           immediately, this will not sync with the resolution of already decoded and queued
16791           frames and which will lead to failure in gst_video_frame_map() in downstream(if we use the
16792           software renderer). So we have to delay the pool renegotiation in vaapidecode,
16793           untill we push all decoded frames downstream.
16794           https://bugzilla.gnome.org/show_bug.cgi?id=753914
16795
16796 2015-08-28 23:43:47 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16797
16798         * gst/vaapi/gstvaapidecode.c:
16799           vaapidecode: Always keep a copy of input codec state
16800           Currently we are sharing the input GstVideoCodecState with
16801           GstVaapiDecoder(gst-libs/gst/vaapi) by just doing ref and unref for
16802           each caps change. This is troublesome in many cases, for eg: if
16803           resoultion changes with in a singe stream. Because, when ever there
16804           is a resolution change, GstVideoDecoder will first change the Codec_state->caps
16805           fields with new resolution, but since we are using the same codecstate (ref)
16806           in gstvaapidecode.c, the caps check for input caps change will always fail.
16807           https://bugzilla.gnome.org/show_bug.cgi?id=753914
16808
16809 2015-08-26 07:25:03 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16810
16811         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16812           decoder: hevc: Fix the scaling list scan order
16813           The default scan order of scaling lists are up-right-diagonal
16814           as per hevc specification. Use the newly implemented
16815           uprightdiagonal_to_raster conversion codecparser APIs to
16816           get the the scaling_list values in raster order, which is
16817           what the VA intel driver requires.
16818
16819 2015-08-26 07:20:09 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16820
16821         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16822           decoder: hevc: sync with the codecparser changes
16823           The Tile Scanning Conversion process (spec 6-3 and 6-4) is implemented
16824           in codecparsers now. Remove the duplication from gstvaapidecoder_h265
16825
16826 2015-08-26 07:04:22 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16827
16828         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
16829           patches/Videoparsers: update patch to fix build with older GStreamer 1.2 stacks
16830
16831 2015-08-26 06:57:36 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16832
16833         * ext/codecparsers:
16834           codecparsers: Update to gst-vaapi-branch commit 69550f1
16835           c207c6d: codecparsers: h265: Fix tile row and column parsing
16836           47074c5: codecparsers: h265: Add APIs for up-right-diagonal/raster scan conversion
16837           cd28b18: codecparsers: h265: Fix the range of delta_chroma_log2_weight_denom
16838           1746bbe: videoparsers: Use gst_base_parse_merge_tags()
16839           2f0932b: h264parse: Clear SPS info after processing
16840           f57d6b0: videoparsers: enable accept-template flag
16841
16842 2015-08-25 15:38:42 +0000  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16843
16844         * debian.upstream/control.in:
16845           debian: add yasm as build dependency
16846           As the compilation of libvpx (for vp8 parser) is enabled by default,
16847           yasm is required by default too.
16848           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16849
16850 2015-08-14 19:21:04 +0800  Lim Siew Hoon <siew.hoon.lim@intel.com>
16851
16852         * debian.upstream/rules:
16853           debian: remove --with-gstreamer-api option
16854           It is no longer valid in gstreamer-vaapi.
16855           Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
16856           [removed unused GST_API_VERSION variable]
16857           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16858           https://bugzilla.gnome.org/show_bug.cgi?id=753618
16859
16860 2015-08-24 19:22:14 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16861
16862         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
16863           wayland: rename is_cancelled to sync_failed
16864           Since commit 065a18a3, the semantics of the variable is_cancelled did not make
16865           sense. This commit renames this variable to sync_failed.
16866
16867 2015-08-13 15:12:44 -0400  Olivier Crete <olivier.crete@collabora.com>
16868
16869         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
16870           wayland: Don't return GST_FLOW_ERROR on flushing
16871           Setting the sink to flushing causes gst_vaapi_window_wayland_sync() to
16872           return FALSE which makes gst_vaapi_window_wayland_render() return
16873           FALSE which ends up posting an ERROR message in
16874           gst_vaapisink_show_frame_unlocked(). Solution is to just return TRUE
16875           in the EBUSY case.
16876           https://bugzilla.gnome.org/show_bug.cgi?id=753598
16877
16878 2015-08-06 12:28:51 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16879
16880         * gst/vaapi/gstvaapi.c:
16881           Revert "Marking rank of vaapidecodebin as GST_RANK_MARGINAL for now."
16882           This reverts commit 3ccb198b513dc6ad287fe44117d03bec4d6a966a.
16883
16884 2015-07-06 20:22:57 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16885
16886         * gst/vaapi/gstvaapidecodebin.c:
16887           vaapidecodebin: check for postproc instance
16888           If the VPP's deinterlace-method is set, first we should check if the postproc
16889           is already instanced to set it. Otherwise we just store it until the VPP is
16890           added into the bin.
16891           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16892           https://bugzilla.gnome.org/show_bug.cgi?id=749554
16893
16894 2015-08-06 18:48:13 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16895
16896         * gst/vaapi/gstvaapidecodebin.c:
16897         * gst/vaapi/gstvaapipluginutil.c:
16898         * gst/vaapi/gstvaapipluginutil.h:
16899           vaapidecodebin: ensure VPP before going to READY
16900           There are sometimes that the VA-API display context is not shared among the
16901           pipeline, but it is important to know it before going to READY state (when the
16902           pipeline is already linked).
16903           One instance of this case is this:
16904           gst-launch-1.0 filesrc location=media ! decodebin ! vaapipostproc ! vaapisink
16905           This patch adds a new function in gstvaapipluginutil called
16906           gst_vaapi_create_test_display(). Its purpose is to create a disposable VA-API
16907           display, which only will be used for verify if the VAEntrypointVideoProc is
16908           available by the hardware. Afterwards, it should be unrefed.
16909           If the vaapidecodebin is going to READY state, and the element still doesn't
16910           know if VPP is available, the last resort is to create a new instance of the
16911           VA-API display and test for it.
16912           https://bugzilla.gnome.org/show_bug.cgi?id=749554
16913
16914 2015-08-06 12:39:52 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16915
16916         * gst/vaapi/gstvaapidecodebin.c:
16917           vaapidecodebin: post an error message if fails
16918           If the construction of the bin fails, post an error message in the bus.
16919           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16920           https://bugzilla.gnome.org/show_bug.cgi?id=749554
16921
16922 2015-08-06 12:36:07 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16923
16924         * gst/vaapi/gstvaapidecodebin.c:
16925         * gst/vaapi/gstvaapidecodebin.h:
16926           vaapidecodebin: has_vpp as a tri-state variable
16927           has_vpp can be UNKNOWN while the context message hasn't being received.
16928           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16929           https://bugzilla.gnome.org/show_bug.cgi?id=749554
16930
16931 2015-08-03 16:33:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16932
16933         * gst/vaapi/gstvaapivideomemory.c:
16934           gstvaapivideomemory: native format with no derived image
16935           If USE_NATIVE_FORMATS is defined we bail out before configuring the surface
16936           info based on the derived image configuration.
16937           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16938           https://bugzilla.gnome.org/show_bug.cgi?id=744042
16939
16940 2015-07-23 20:07:59 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
16941
16942         * gst-libs/gst/vaapi/video-format.c:
16943         * gst-libs/gst/vaapi/video-format.h:
16944         * gst/vaapi/gstvaapivideomemory.c:
16945           surface pool config based on video info
16946           First added the function gst_vaapi_video_format_get_best_native(), which
16947           returns the best native format that matches a particular chroma type:
16948           YUV 4:2:0 -> NV12, YUV 4:2:2 -> YUY2, YUV 4:0:0 -> Y800
16949           RGB32 chroma and encoded format map to NV12 too.
16950           That format is used to configure, initially, the surface's pool for the
16951           allocator.
16952           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16953           https://bugzilla.gnome.org/show_bug.cgi?id=744042
16954
16955 2015-07-23 16:03:43 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
16956
16957         * gst/vaapi/gstvaapivideomemory.c:
16958           gstvaapivideomemory: refactor gst_vaapi_video_allocator_new()
16959           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16960           https://bugzilla.gnome.org/show_bug.cgi?id=744042
16961
16962 2015-06-19 15:51:07 +0200  Victor Jaquez <vjaquez@igalia.com>
16963
16964         * gst-libs/gst/vaapi/gstvaapiencoder.c:
16965           gstvaapiencoder: validate chroma according to the VA's RT format
16966           Before, only YUV420 color space where supported. With this patch, the
16967           encoder is queried to know the supported formats and admits YUV422
16968           color space if its available.
16969           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
16970           https://bugzilla.gnome.org/show_bug.cgi?id=744042
16971
16972 2015-08-13 05:07:52 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16973
16974         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16975           decoder: hevc: Add calculation of WpOffsetHalfRangeC
16976           This is necessary for finding ChromaOffsetL0/ChromaOffsetL1
16977           prediction weight table values with out using any hard coding.
16978           Fixme: We don't have parser API for sps_range_extension, so
16979           assumed zero value for high_precision_offsets_enabled_flag.
16980           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16981
16982 2015-08-13 04:09:44 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16983
16984         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16985           decoder: hevc: Fix ChromaOffsetL0/ChromaOffsetL1 calculation
16986           Based on ITU-T rec H265(4/2015): 7-56
16987           This was a wrong equation in rec H265 (4/2013): 7-44...
16988           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16989
16990 2015-08-13 04:08:03 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16991
16992         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16993           decoder: hevc: Fix default value assignment of pred_weight_table
16994
16995 2015-08-13 03:48:43 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
16996
16997         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
16998           decoder: hevc: Fix the value assigning for delta_chroma_log2_weight_denom
16999           Assign only if ChromaArrayType != 0..
17000           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17001
17002 2015-08-13 03:06:32 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17003
17004         * ext/codecparsers:
17005           codecparsers: Update to gst-vaapi-branch commit 1c70432
17006           8e98b41: codecparsers: h265: Fix the range of delta_chroma_log2_weight_denom
17007           839c5bc: codecparsers: h265: Fix the parsing of ref_pic_lists_modification
17008           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17009
17010 2015-08-11 08:09:10 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17011
17012         * ext/codecparsers:
17013           codecparsers: Update to gst-vaapi-branch commit c18b8ad
17014           8a03e67: videoparsers: h265: Avoid skipping of EOS and EOB nals
17015           a033083: videoparsers: h265: Fix the frame start detection code
17016           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17017
17018 2015-08-10 05:50:50 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17019
17020         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17021           decoder: hevc: Add SEI parsing
17022           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17023
17024 2015-08-07 08:43:44 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17025
17026         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17027           decoder: hevc: Workaround to recognize wrongly encoded main profile streams
17028           HACK: This is a work-around to identify some main profile streams having wrong profile_idc.
17029           There are some wrongly encoded main profile streams(eg: ENTP_C_LG_3.bin) which doesn't
17030           have any of the profile_idc values mentioned in Annex-A, instead general_profile_idc
17031           has been set as zero and having general_profile_compatibility_flag[general_profile_idc]
17032           is TRUE. Assuming them as MAIN profile for now.
17033           https://bugzilla.gnome.org/show_bug.cgi?id=753226
17034           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17035
17036 2015-08-07 08:41:57 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17037
17038         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
17039           patches/videoparsers: Fix the wrong source file path
17040           This is something wrongly typed in commit 6d7b631
17041
17042 2015-08-07 08:34:55 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17043
17044         * ext/codecparsers:
17045           codecparsers: Update to gst-vaapi-branch commit b8d8be4
17046           ee7e81b: h264parse: Don't discard first AU delimiter
17047           3690fb9: h264parse: Add more NAL types for debugging output
17048           108d368: h265parse: Avoid checking for Non Mandatory VPS NAL
17049           ace61048: h265parse: expose compatible profiles to downstream
17050           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17051
17052 2015-08-06 13:07:53 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17053
17054         * gst/vaapi/gstvaapipluginutil.c:
17055         * gst/vaapi/gstvaapivideocontext.c:
17056         * gst/vaapi/gstvaapivideocontext.h:
17057           gstvaapivideocontext: remove unused parameter
17058           gst_vaapi_video_context_prepare() received an unused parameter. This patch
17059           removes it and the structure passed by the caller.
17060           This a left over of "Removal of gstreamer-1.0 support" (commit 8b36e25f).
17061           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17062
17063 2015-08-06 04:01:24 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17064
17065         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17066           decoder: hevc: Fix decoding of stream when it has temporal sublayers
17067           We are calculating the dpb size based on max_dec_pic_buffering.
17068           But if there are more than one temporal sublayers, we are supposed
17069           to use the max_dec_pic_buffering[max_sub_layers_minus] for dpb
17070           size calculation (Assuming HighestTid as max_sub_layers_minus).
17071           Sample streams: TSCL_A_VIDYO_5.bin, TSCL_B_VIDYO_4.bin
17072           https://bugzilla.gnome.org/show_bug.cgi?id=753226
17073           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17074
17075 2015-08-05 14:11:12 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17076
17077         * gst/vaapi/gstvaapidecode.c:
17078         * gst/vaapi/gstvaapidecodebin.c:
17079         * gst/vaapi/gstvaapiencode_h264.c:
17080         * gst/vaapi/gstvaapiencode_h265.c:
17081         * gst/vaapi/gstvaapiencode_jpeg.c:
17082         * gst/vaapi/gstvaapiencode_mpeg2.c:
17083         * gst/vaapi/gstvaapiencode_vp8.c:
17084         * gst/vaapi/gstvaapipluginutil.h:
17085         * gst/vaapi/gstvaapipostproc.c:
17086         * gst/vaapi/gstvaapisink.c:
17087           refactor vaapi caps strings for pad templates
17088           Refactor the main vaapi caps strings into three macros:
17089           GST_VAAPI_MAKE_SURFACE_CAPS, GST_VAAPI_MAKE_ENC_SURFACE_CAPS and
17090           GST_VAAPI_MAKE_GLTEXUPLOAD_CAPS.
17091           Those are in gstvaapipluginutil.h so all the elements could use them, instead
17092           of re-declaring them every time.
17093           No functional changes.
17094           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17095
17096 2015-08-05 14:15:07 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17097
17098         * gst/vaapi/gstvaapipostproc.c:
17099           gstvaapipostproc: fix code style
17100           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17101
17102 2015-08-05 05:23:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17103
17104         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17105           decoder: hevc: Fix the decoding of dependent slice segment
17106           Decoding process for reference picture list construction needs to be
17107           invoked only for P and B slice and the value for slice_type of dependent slice
17108           segment should be taken from the previous independent slice segment header
17109           of the same pic.
17110           https://bugzilla.gnome.org/show_bug.cgi?id=753226
17111           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17112
17113 2015-06-22 17:38:41 +0200  Victor Jaquez <vjaquez@igalia.com>
17114
17115         * gst/vaapi/gstvaapipluginbase.c:
17116           plugins: reduce the noise of warnings
17117           Those messagse should be attached to the object, also the lack of
17118           caps is not an error, in particular in the case of JPEG encoding.
17119           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17120           https://bugzilla.gnome.org/show_bug.cgi?id=744042
17121
17122 2015-06-23 17:49:51 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
17123
17124         * gst-libs/gst/vaapi/gstvaapicontext.c:
17125           gstvaapicontext: fix the JPEG encoder attribs value
17126           When we query for the VAConfigAttribEncJPEG, we get a value which packs the
17127           VAConfigAttribValEncJPEG structure, but we did not assign it. This patch
17128           assigns the returned value to the attribute.
17129           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17130           https://bugzilla.gnome.org/show_bug.cgi?id=744042
17131
17132 2015-06-18 17:37:46 +0200  Victor Jaquez <vjaquez@igalia.com>
17133
17134         * gst-libs/gst/vaapi/gstvaapiencoder.c:
17135           gstvaapiencoder: framerate 0/1 is valid too
17136           Framerate 0/1 is valid, and it is particularly useful for picture
17137           encoding, such as jpeg. This patch makes the encoder to admit that
17138           framerate.
17139           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17140           https://bugzilla.gnome.org/show_bug.cgi?id=744042
17141
17142 2015-07-03 09:35:16 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17143
17144         * gst/vaapi/gstvaapipostproc.c:
17145           vaapipostroc: GLTextureUploadMeta in sink template
17146           Advertise GLTextureUploadMeta in sink caps template.
17147           https://bugzilla.gnome.org/show_bug.cgi?id=752130
17148
17149 2015-07-23 13:11:40 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
17150
17151         * gst/vaapi/Makefile.am:
17152         * gst/vaapi/gstvaapiencode.c:
17153         * gst/vaapi/gstvaapipluginbase.c:
17154         * gst/vaapi/gstvaapipluginbase.h:
17155         * gst/vaapi/gstvaapipostproc.c:
17156         * gst/vaapi/gstvaapisink.c:
17157         * gst/vaapi/gstvaapiuploader.c:
17158         * gst/vaapi/gstvaapiuploader.h:
17159           remove gstvaapiuploader
17160           Working on bug #744042 I realized that the gstvaapiuploader is practically not
17161           used.
17162           This patch removes the gstvaapiuploader and add the method
17163           gst_vaapi_plugin_base_get_allowed_raw_caps () that returns the raw caps that
17164           the system can handle, which is used by vaapisink and vaapipostproc.
17165           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17166           https://bugzilla.gnome.org/show_bug.cgi?id=752777
17167
17168 2015-07-27 18:49:13 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17169
17170         * gst/vaapi/gstvaapidecode.c:
17171           vaapidecode: don't lost GLTextureUpload on seek
17172           When seeking, the decoder is reset, but the buffer pool is not
17173           re-negotiated, but in reset_full() the code forgets if the negotiated buffer
17174           pool has the GLTextureUpload meta.
17175           The decoder knows that GLTextureUpload meta was negotiated in
17176           decide_allocation(), but this method is not called when seeking.
17177           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17178           https://bugzilla.gnome.org/show_bug.cgi?id=752929
17179
17180 2015-07-21 18:45:56 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17181
17182         * gst/vaapi/gstvaapipluginutil.c:
17183           plugins: don't use gst_pad_get_allowed_caps()
17184           gst_pad_get_allowed_caps() query the pad and the peer pad. In the case
17185           decoders, that is OK, but in the case of the postproc might lead loops,
17186           since the gst_base_transform_query_caps() forwards the query upstream
17187           and forth.
17188           Instead of gst_pad_get_allowed_caps() we only query the peer with
17189           gst_pad_peer_query_caps() using the pad's template as filter.
17190           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17191           https://bugzilla.gnome.org/show_bug.cgi?id=752558
17192
17193 2015-07-22 12:40:19 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17194
17195         * README:
17196           README: updates
17197
17198 2015-07-22 09:45:26 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17199
17200         * patches/videoparsers/0004-h264parse-Disable-3D-video-support-for-GStremaer-1.5.patch:
17201         * patches/videoparsers/series.frag:
17202           patches/videoparsers: h264parse: Disable 3D video support for GStremaer < 1.5
17203           All API/ABI changes for S3D/MVC are added in 1.5, backporting
17204           them to older verison is not recommended.
17205           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17206
17207 2015-07-22 09:41:34 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17208
17209         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
17210           patches/Videoparsers: update patch to fix build with older GStreamer 1.2 stacks
17211
17212 2015-07-22 09:38:42 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17213
17214         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
17215           decoder: jpeg: Align with new API/ABI changes in codecparser
17216           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17217
17218 2015-07-22 09:31:02 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17219
17220         * ext/codecparsers:
17221           codecparsers: Update to gst-vaapi-branch commit 800bdb2
17222           ed13220: mpegvideometa: add meta transform function
17223           18d5efd: codecparsers: jpeg: add some padding to ScanHdr struct
17224           7a51722: codecparsers: jpeg: fix docs for table parsing functions
17225           06b8ded: codecparsers: jpeg: fix validity checking of data parsed
17226           387a39d: codecparsers: jpeg: fix up API
17227           db9d6a9: codecparsers: jpeg: tweak API a little
17228           bb6951e: codecparsers: jpeg: hide gst_jpeg_scan_for_marker_code()
17229           f33c30c: codecparsers: jpeg: fix and optimize scan for next marker code
17230           4658c30: codecparsers: jpeg: fix calculation of segment size
17231           759bcb9: codecparsers: jpeg: fix default Huffman tables generation
17232           b4811ee: codecparsers: jpeg: add JPEG bitstream parser
17233           9422464: h264parse: fix typo in log message
17234           9e793a0: h264parse: Move PAR calcs, and use them for stereoscopic half-aspect
17235           77704ce: nalutils: trivial patch to check if
17236           8bb9249: codecparsers: mpeg4: actually return full number of bits of resync marker
17237           7862f95: Revert "codecparsers: remove ignored increment of return"
17238           54017b1: h264parse: Add support for passing stereoscopic/multiview info
17239           8667ee4: h264parse: Don't switch to passthrough on set_caps()
17240           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17241
17242 2015-06-29 14:27:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17243
17244         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17245           decoder: h264: track previous reference frames.
17246           Improve closure of gaps in frame_num by strictly following and trying
17247           to fill them with previous reference frames. So, they are now tracked
17248           thus avoiding insertion of dummy ("greenish") frames.
17249
17250 2015-06-29 13:16:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17251
17252         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17253           decoder: h264: fix integration of second field into the DPB.
17254           If the new picture to be added to the DPB is not a first field, then
17255           it shall be the second field of the previous picture that was added
17256           before.
17257           This removes the need for dpb_find_picture() now that we track the
17258           immediately preceding decoded picture, in decode order.
17259
17260 2015-07-06 14:38:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17261
17262         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17263           decoder: h264: fix closure of "other-field" gap.
17264           When a dummy "other-field" is inserted, it is assumed to inherit the
17265           reference flags from the first field, and the sliding window decoded
17266           reference picture marking process is also executed so that corrupted
17267           frames are moved out as early as possible.
17268           While doing so, we also try to output frames that now contain a single
17269           valid field picture, prior to inserting any other picture into the DPB.
17270           Note: this may be superfluous currently based on the fact that dpb_add()
17271           combines the two most recent pairable fields, but this process would be
17272           further simplified later on.
17273
17274 2015-06-24 13:58:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17275
17276         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17277           decoder: h264: track corrupted frames.
17278           Mark the picture as "corrupted" if it is reconstructed from corrupted
17279           references or if those references are fake, e.g. resulting from lost
17280           frames.
17281           This is useful for notifying the upper layer, or downstream elements,
17282           that the decoded frame may contain artefacts.
17283           https://bugzilla.gnome.org/show_bug.cgi?id=703921
17284
17285 2015-06-24 13:48:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17286
17287         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
17288         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
17289         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
17290         * gst/vaapi/gstvaapidecode.c:
17291           decoder: add initial infrastructure for marking corrupted output.
17292           Add initial infrastructure in core codec library and vaapidecode to mark
17293           corrupted frames as such. A corrupted frame is such a frame that was
17294           reconstructed from invalid references for instance.
17295           https://bugzilla.gnome.org/show_bug.cgi?id=751434
17296           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17297
17298 2015-07-15 18:18:49 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17299
17300         * configure.ac:
17301           Bump version for development
17302
17303 === release 0.6.0 ===
17304
17305 2015-07-15 15:49:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17306
17307         * configure.ac:
17308           0.6.0
17309
17310 2015-07-15 15:49:19 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17311
17312         * NEWS:
17313           NEWS: updates
17314
17315 2015-07-14 19:39:20 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17316
17317         * gst-libs/gst/vaapi/gstvaapiprofile.c:
17318           vaapidecoder: no wmv profiles gstreamer 1.4/1.2
17319           This patch fix the auto-plugging problem in gstreamer 1.2 and gstreamer 1.4
17320           Right now there is not a primary ranked parser for vc1 and the demuxers
17321           delivers caps without specifying the profile. This situation is not an issue
17322           for avdec_vc1 but for vaapidecode it is, which refuses to negotiate without a
17323           explicit profile defined in the negotiated caps.
17324           Nonetheless, in gstreamer 1.5 it seems not to be a problem since the
17325           negotiation admits caps subsets try outs.
17326           This patch solves the issue ignoring the profile negotiation in the caps. For
17327           gstreamer < 1.5 the profile string is not handled, so the auto-plugging get
17328           done without the vc1 parser, such as happens in gstreamer 1.5.
17329           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17330
17331 2015-07-07 20:57:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17332
17333         * gst/vaapi/gstvaapi.c:
17334           Marking rank of vaapidecodebin as GST_RANK_MARGINAL for now.
17335           Unfortunately vaapidecodebin element is not seems to be stable
17336           enough for autoplugging ahead of vaapidecode.
17337           Lowering the rank for now (cosidering the immediate 0.6 release).
17338           See this: https://bugzilla.gnome.org/show_bug.cgi?id=749554
17339           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17340
17341 2015-07-07 13:32:18 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17342
17343         * gst-libs/gst/vaapi/Makefile.am:
17344           build: Add missing CFLAGS to Makefile.am
17345
17346 2015-07-03 15:07:02 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17347
17348         * gst-libs/gst/vaapi/gstvaapifilter.c:
17349           gstvaapifilter: Only register STE property if it supported by corresponding VA library
17350           Fix the regression introduced in commit eb465fb.
17351           VAProcFilterSkinToneEnhancement is avaialbe from VA >= 0.36.
17352           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17353
17354 2015-07-02 17:49:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17355
17356         * gst/vaapi/gstvaapipostproc.c:
17357           vaapipostproc: no format convert on GL tex upload meta
17358           When GL texture upload meta is negotiated, vaapipostproc shall not modify the
17359           color format of the buffer.
17360           https://bugzilla.gnome.org/show_bug.cgi?id=748184
17361
17362 2015-07-03 12:42:09 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17363
17364         * gst-libs/gst/vaapi/gstvaapifilter.c:
17365           gstvaapifilter: Add guard for VAProcFilterSkinToneEnhancement
17366           VAProcFilterSkinToneEnhancement is avaialbe from VA >= 0.36.
17367           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17368
17369 2015-07-02 21:57:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17370
17371         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
17372           encoder:h265: Fix the check for packed-header support
17373           Use VA_ENC_PACKED_HEADER_* definition for checking.
17374           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17375
17376 2015-07-02 21:37:56 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17377
17378         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
17379           encoder:h264: Fix the check for packed-header support
17380           Use VA_ENC_PACKED_HEADER_* definition for checking.
17381           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17382
17383 2015-07-02 21:00:14 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17384
17385         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
17386           encoder: h264: submit SEI buffering_period() and picture_timing() messages for CBR mode
17387           One buffering_period() SEI message shall be present in every IDR access unit
17388           when NalHrdBpPresentFlag is inferred to be equal to 1. This is the case when we
17389           use a non-CQP mode, e.g. CBR. In other words, when
17390           nal_hrd_parameters_present_flag is set to 1.
17391           One picture_timing() SEI messages shall be present in every access unit
17392           if CpbDpbDelaysPresentFlag is equal to 1 or pic_struct_present_flag is equal to 1
17393           https://bugzilla.gnome.org/show_bug.cgi?id=722734
17394           https://bugzilla.gnome.org/show_bug.cgi?id=751831
17395           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17396
17397 2015-07-01 14:16:50 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17398
17399         * gst/vaapi/gstvaapidecodebin.c:
17400           vaapidecodebin: notify if vpp is disabled
17401           When the system is aware that VPP is not available by the VA driver,
17402           it would be useful to notify to the user that the disable-vpp property
17403           has changed.
17404           https://bugzilla.gnome.org/show_bug.cgi?id=749554
17405
17406 2015-07-01 14:17:17 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17407
17408         * gst/vaapi/gstvaapidecodebin.c:
17409         * gst/vaapi/gstvaapidecodebin.h:
17410           vaapidecodebin: enable vpp if it is available
17411           Instead of creating and adding VPP into the bin at setup, we wait until
17412           we are sure the VA driver supports it. We know that when the VA video
17413           context is received by the bin. Afterwards, it is decided to instanciate
17414           and link the VPP or not.
17415           This is more efficient and safer than waiting the VPP to fail and then
17416           disable it.
17417           https://bugzilla.gnome.org/show_bug.cgi?id=749554
17418
17419 2015-07-02 12:29:32 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17420
17421         * tests/test-display.c:
17422         * tests/test-windows.c:
17423           tests: Fix compilation while enabling egl as the only renderer in build
17424           Include missing header files gstvaapidisplay_egl.h and gstvaapiwindow_egl.h.
17425
17426 2015-07-02 10:45:50 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17427
17428         * configure.ac:
17429           configure: fix the build while enabling egl as the only renderer
17430
17431 2015-07-02 10:25:25 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17432
17433         * configure.ac:
17434           libs: Bump library major version
17435
17436 2015-06-30 09:44:18 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17437
17438         * gst/vaapi/gstvaapi.c:
17439         * gst/vaapi/gstvaapidecodebin.c:
17440         * gst/vaapi/gstvaapiencode.c:
17441         * gst/vaapi/gstvaapiencode_jpeg.c:
17442         * gst/vaapi/gstvaapipluginbase.c:
17443         * gst/vaapi/gstvaapipluginutil.c:
17444         * gst/vaapi/gstvaapipostproc.c:
17445         * gst/vaapi/gstvaapivideobufferpool.c:
17446         * gst/vaapi/gstvaapivideocontext.c:
17447         * gst/vaapi/gstvaapivideomemory.c:
17448         * gst/vaapi/gstvaapivideometa.c:
17449           gst/vaapi: Switch to upstreram like indentation.
17450           gst-indent for all gst/vaapi/*.c source files
17451
17452 2015-06-30 09:35:37 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17453
17454         * gst/vaapi/gstvaapidecodebin.c:
17455         * gst/vaapi/gstvaapidecodebin.h:
17456           vaapidecodebin: Add property to disable VPP
17457           Adding a new propery "disable-vpp", enabling it will prevent
17458           the insertion of vaapipostproc child element.
17459           This is helpful in debugging, specifically to narrow-down the
17460           vaapidecodebin/vaapipostproc related negotiation issues.
17461           No support for run-time disabling for now.
17462           https://bugzilla.gnome.org/show_bug.cgi?id=745901
17463
17464 2015-06-29 13:35:59 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17465
17466         * gst/vaapi/gstvaapipostproc.c:
17467           vaapipostproc: Fix wrong selection of passthrough mode.
17468           The Current code path is falling back to passthorugh mode if there is no
17469           vpp property set by the user explictily. But we should not use the
17470           passthrough mode if the negotiated src pad caps have a differnt color space
17471           format than sink pad caps (Even though the user didn't set the format property
17472           explicitly).
17473           https://bugzilla.gnome.org/show_bug.cgi?id=748184
17474           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17475
17476 2015-06-29 13:20:28 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17477
17478         * gst/vaapi/gstvaapipostproc.c:
17479           vaapipostproc: prevent advanced-deinterlacing of non-native video formats.
17480           This is a workaround to deal with the va-intel-driver for non-native
17481           formats while doing advanced deinterlacing. The format of reference surfaces must
17482           be same as the format used by the driver internally for motion adaptive
17483           deinterlacing and motion compensated deinterlacing.
17484           A permanent solution could be to do the color space conversion internally
17485           for reference surfaces.
17486           https://bugzilla.gnome.org/show_bug.cgi?id=730925
17487           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17488
17489 2015-06-29 13:06:30 +0300  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
17490
17491         * gst/vaapi/gstvaapisink.c:
17492           Work around ABBA deadlock between vaapisink and vaapipostproc
17493           vaapisink takes the display lock, then does a gst_buffer_replace which can
17494           take the lock on the gst_vaapi_video_pool.
17495           vaapipostproc asks the gst_vaapi_video_pool for a new surface. This takes
17496           the lock on the gst_vaapi_video_pool; if you're unlucky, there are no free
17497           surfaces, which means that gst_vaapi_surface_create is
17498           called. gst_vaapi_surface_create takes the display lock.
17499           If vaapisink and vaapipostproc are in different threads, and this happens,
17500           you get a deadlock. vaapisink holds the display lock, and wants the
17501           gst_vaapi_video_pool lock. vaapipostproc holds the gst_vaapi_video_pool lock
17502           and wants the display lock.
17503           Work around this by releasing the display lock in vaapisink around the
17504           gst_buffer_replace.
17505           https://bugzilla.gnome.org/show_bug.cgi?id=738249
17506           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
17507           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17508
17509 2015-04-29 16:34:07 +0200  Jacobo Aragunde Pérez <jaragunde@igalia.com>
17510
17511         * gst/vaapi/gstvaapidecodebin.c:
17512         * gst/vaapi/gstvaapidecodebin.h:
17513           vaapidecodebin: expose deinterlace-method property from inner vaapipostproc
17514           https://bugzilla.gnome.org/show_bug.cgi?id=745901
17515
17516 2015-05-19 11:24:10 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17517
17518         * gst/vaapi/gstvaapipostproc.c:
17519           vaapipostproc: log negotiated caps
17520
17521 2015-05-18 14:30:22 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17522
17523         * gst/vaapi/gstvaapipostproc.c:
17524           vaapipostproc: remove useless debug message
17525
17526 2015-02-12 12:31:57 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
17527
17528         * gst/vaapi/gstvaapidecode.c:
17529           vaapidecode: log negotiated src/sink caps
17530
17531 2015-05-07 15:57:26 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17532
17533         * gst/vaapi/gstvaapisink.c:
17534           vaapisink: error handling if rendering fails
17535           This patch enhance the code path when an error is found when rendering a
17536           buffer.
17537           If the video meta doesn't contain a surface proxy or a surface, a warning
17538           message is printed.
17539           If the rendering backend fails, a error message is posted in the bus.
17540           https://bugzilla.gnome.org/show_bug.cgi?id=749382
17541
17542 2015-06-18 14:55:12 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17543
17544         * gst/vaapi/gstvaapisink.c:
17545           vaapisink: Fix the conditional pad template creation.
17546
17547 2015-06-18 13:19:26 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17548
17549         * tests/Makefile.am:
17550           build: Don't build simple-encoder test program if there is no VA Encoding support
17551           This will fix the build error against older VA-APIs <= 0.32
17552
17553 2015-06-18 12:20:37 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17554
17555         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
17556         * gst-libs/gst/vaapi/gstvaapicompat.h:
17557           Fix build error for older VA-API versions
17558           Provide guards for VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM and
17559           VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME which are only availble from
17560           VA >= 0.36.
17561
17562 2015-06-17 14:20:37 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17563
17564         * gst/vaapi/gstvaapisink.c:
17565           vaapisink: Fix the capsfeature advertisement in padtemplate
17566           This fixes the regression introduced in 64acc74.
17567           If a pad supports multiple set of capsfeatures, it needs to add
17568           multiple equal structures with different feature sets to the caps.
17569           Because caps structures with the same name but with a non-equal
17570           set of caps features are not compatible.
17571           Without this patch, playbin will autoplug xvimagesink instead of vaapisink.
17572           https://bugzilla.gnome.org/show_bug.cgi?id=750095
17573
17574 2015-06-17 12:41:28 +0300  Adrian Cox <adrian@humboldt.co.uk>
17575
17576         * gst/vaapi/gstvaapisink.c:
17577           vaapisink: Expose the overlay capability for compatibility with dvbsuboverlay.
17578           https://bugzilla.gnome.org/show_bug.cgi?id=750095
17579           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17580           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17581
17582 2015-06-17 09:53:29 +0300  Olivier Crete <olivier.crete@collabora.com>
17583
17584         * gst/vaapi/gstvaapipluginbase.c:
17585           vaapipluginbase: Override downstream allocation reply if no pool
17586           If the downstream replied without a pool, then override it.
17587           https://bugzilla.gnome.org/show_bug.cgi?id=748559
17588
17589 2015-06-09 15:15:31 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17590
17591         * gst/vaapi/gstvaapipostproc.c:
17592         * gst/vaapi/gstvaapipostproc.h:
17593           vaapipostproc: add color balance interface
17594           https://bugzilla.gnome.org/show_bug.cgi?id=720376
17595
17596 2015-05-22 18:13:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17597
17598         * gst-libs/gst/vaapi/gstvaapifilter.c:
17599         * gst-libs/gst/vaapi/gstvaapifilter.h:
17600         * gst/vaapi/gstvaapipostproc.c:
17601         * gst/vaapi/gstvaapipostproc.h:
17602           vaapipostproc: add skin tone enhancement
17603           Added the 'skin-tone-enhancement' property to vaapostproc.
17604           https://bugzilla.gnome.org/show_bug.cgi?id=744088
17605
17606 2015-05-20 18:02:37 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17607
17608         * docs/reference/libs/libs-docs.xml.in:
17609           doc: add VA-API reference in freedesktop
17610
17611 2015-06-04 19:03:44 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17612
17613         * patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch:
17614         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
17615         * patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch:
17616           patches/videoparsers: rebase all the h264parse patches
17617           In order to avoid the creation of .orig files and break the distcheck target
17618
17619 2015-06-04 18:29:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17620
17621         * ext/libvpx/Makefile.am:
17622           build: don't build in parallel libvpx
17623           This fixes the distcheck -j XX target.
17624
17625 2015-06-02 08:52:53 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17626
17627         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
17628           encoder: jpeg: Fix the packed header generation
17629           This is a work-around to satisfy the va-intel-driver.
17630           Normalize the quality factor and scale QM values (only for packed header
17631           generation) similar to what VA-Intel driver is doing . Otherwise the
17632           generated packed headers will be wrong, since the driver itself is
17633           scaling the QM values using the normalized quality factor.
17634           https://bugzilla.gnome.org/show_bug.cgi?id=748335
17635           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17636
17637 2015-06-02 11:46:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17638
17639         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17640           decoder: h264: fix uninitialized variables in avcC mode.
17641           Fix uninitialized variables when decoding SPS and PPS NAL units from
17642           "codec-data" buffers. This is particularly important when seeking ops
17643           are involved, and the new persistent states are used more often.
17644           https://bugzilla.gnome.org/show_bug.cgi?id=750094
17645
17646 2015-06-01 18:39:18 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17647
17648         * gst/vaapi/gstvaapidecode.c:
17649           vaapidecode: remove unneeded casting
17650           And a code-style fix
17651
17652 2015-05-21 19:38:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17653
17654         * gst/vaapi/gstvaapidecode.c:
17655           vaapidecode: calculate decoding latency
17656           This is a naïve approach to the calculation of the VA-API decoding latency. It
17657           takes into consideration when the frame-rate has some insane value.
17658           https://bugzilla.gnome.org/show_bug.cgi?id=740419
17659
17660 2015-05-21 23:16:14 +1000  Jan Schmidt <jan@centricular.com>
17661
17662         * configure.ac:
17663           configure: Compiling against libgstgl requires libgstvideo
17664           Fix detection of the GstGL helper headers in uninstalled
17665           builds.
17666
17667 2015-05-28 10:52:48 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17668
17669         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
17670           encoder: hevc: Fix the size over-flow for encoded buffer.
17671           The approximation of 6 times compression ratio migh not
17672           work in all cases. Especially when enabling I frames.
17673           Provide large enough size for coded-buffer creation.
17674
17675 2015-05-28 10:43:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17676
17677         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
17678           encoder: vp8: Fix the size over-flow for encoded buffer.
17679           The approximation of 4 times compression ratio will not
17680           work in all cases. Especially when enabling I frames.
17681           Provide large enough size for coded-buffer creation.
17682
17683 2015-05-28 05:43:49 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17684
17685         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
17686           encoder: hevc:  fix bug in multi slice encoding.
17687           This is a work-around for satisfying the VA-Intel driver.
17688           The driver only support slices begin from CTU row start address.
17689           Multi-Slice encoding also requires a fix in va-intel-driver:
17690           http://lists.freedesktop.org/archives/libva/2015-May/003351.html
17691           https://bugzilla.gnome.org/show_bug.cgi?id=749854
17692           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17693
17694 2015-03-12 22:57:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17695
17696         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17697           decoder: h264: add initial support for loss of pictures.
17698           Implement decoding process for gaps in frame_num (8.5.2). This
17699           also somewhat supports unintentional loss of pictures.
17700           https://bugzilla.gnome.org/show_bug.cgi?id=745048
17701           https://bugzilla.gnome.org/show_bug.cgi?id=703921
17702           Original-patch-by: Wind Yuan <feng.yuan@intel.com>
17703           [fixed derivation of POC, ensured clone is valid for reference,
17704           actually fixed detection of gaps in FrameNum by PrevRefFrameNum]
17705           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17706
17707 2015-05-22 11:42:52 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17708
17709         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17710           decoder: h264: add support for missing first field.
17711           Try to identify missing first fields too, thus disregarding any
17712           intermediate gaps in frames. We also assume that we keep the same
17713           field sequence, i.e. if previous frames were in top-field-first
17714           (TFF) order, then so are subsequent frames.
17715           Note that insertion of dummy first fields need to operate in two
17716           steps: (i) create the original first field that the current field
17717           will inherit from, and (ii) submit that field into the DPB prior
17718           to initializing the current (other) field POC values but after any
17719           reference flag was set. i.e. copy reference flags from the child
17720           (other field) to the parent (first field).
17721           https://bugzilla.gnome.org/show_bug.cgi?id=745048
17722
17723 2015-05-07 14:00:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17724
17725         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17726           decoder: h264: add support for missing second field.
17727           Interlaced H.264 video frames always have two fields to decode and
17728           display. However, in some cases, e.g. packet loss, one of the field
17729           can be missing. This perturbs the reference picture marking process,
17730           whereby the number of references available in DPB no longer matches
17731           the expected value.
17732           This patch adds initial support for missing field within a decoded
17733           frame. The current strategy taken is to find out the nearest field,
17734           by POC value, and with the same parity.
17735           https://bugzilla.gnome.org/show_bug.cgi?id=745048
17736
17737 2015-05-22 17:06:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17738
17739         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17740           decoder: h264: improve tracking of "top-field-first" flag.
17741           Try to maintain a "top-field-first" (TFF) flag, even if the H.264 standard
17742           does not mandate it. This will be useful for tracking missing fields, and
17743           also for more correct _split_fields() implementation for frames in the DPB.
17744
17745 2015-05-05 11:56:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17746
17747         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17748           decoder: h264: skip all pictures prior the first I-frame.
17749           Don't try to decode pictures until the first I-frame is received within
17750           the currently active sequence. There is no point is decoding and then
17751           displaying frames with artifacts.
17752
17753 2015-05-12 15:36:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17754
17755         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17756           decoder: h264: fix processing of EOSEQ NAL.
17757           Fix decoding of end_of_seq() NAL unit so that to not submit the current
17758           picture for decoding again. This is pretty vintage code that dates back
17759           before the existing of the whole decoder units machinery.
17760           One issue that could be arising if that code was kept is that we could
17761           have submitted a picture, and subsequently a GstVideoCodec frame, twice.
17762           Once without the decode_only flag set, and once with that flag set. The
17763           end result is that the GstVideoDecoder would release the codec frame
17764           twice, thus releasing stale data.
17765           In short, the piece of code that is removed by this patch is for once
17766           completely obsolete for a while, and secondly error-prone in corner
17767           cases.
17768
17769 2013-02-28 15:26:36 +0800  Wind Yuan <feng.yuan@intel.com>
17770
17771         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
17772         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17773         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
17774         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
17775           decoder: add utility function to clone picture objects.
17776           https://bugzilla.gnome.org/show_bug.cgi?id=703921
17777           Signed-off-by: Wind Yuan <feng.yuan@intel.com>
17778           [added cosmetic changes, fixed propagation of "one-field" flag to
17779           children, fixed per-codec clone modes (h264)]
17780           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17781
17782 2015-05-27 23:49:18 +0300  Alban Browaeys <prahal@yahoo.com>
17783
17784         * gst/vaapi/Makefile.am:
17785           build: don't compile HEVC encoder if not supported
17786           Fix:
17787           (gst-plugin-scanner:16681): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so: undefined symbol: gst_vaapi_encoder_h265_get_default_properties
17788           https://bugzilla.gnome.org/show_bug.cgi?id=749954
17789           Signed-off-by: Alban Browaeys <prahal@yahoo.com>
17790           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17791
17792 2015-05-27 23:43:16 +0300  Alban Browaeys <prahal@yahoo.com>
17793
17794         * gst-libs/gst/vaapi/gstvaapicompat.h:
17795         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17796           HEVC: decode: add missing va_dec_hevc header
17797           Signed-off-by: Alban Browaeys <prahal@yahoo.com>
17798           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17799           https://bugzilla.gnome.org/show_bug.cgi?id=749953
17800
17801 2015-05-26 13:28:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
17802
17803         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
17804           mpeg2: fix PTS cache for GOP start.
17805           If the GOP temporal sequence number (TSN) is interpolated from a valid
17806           PTS, then we need to compensate that PTS corresponding to the start of
17807           GOP with the next picture to be decoded, which shall be an I-frame,
17808           based on its sequence number.
17809           https://bugzilla.gnome.org/show_bug.cgi?id=748676
17810
17811 2015-05-27 10:49:56 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17812
17813         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
17814           mpeg2: avoid crash when seeking with debug logs
17815           Move down the debug message when the state of the decoder is verified
17816           so the slice header is not NULL.
17817
17818 2014-12-17 00:41:10 +1100  Jan Schmidt <jan@centricular.com>
17819
17820         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
17821           mpeg2: Avoid crashes and warnings on re-opened decoder after a seek
17822           Reset state and add some checks for safe state to avoid a crash and
17823           a warning after the decoder is destroyed/recreated during a seek.
17824
17825 2015-05-26 10:21:59 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17826
17827         * patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch:
17828         * patches/videoparsers/series.frag:
17829           patches/videoparsers: Rebase the patch on top of gst-vaapi-branch commit 20ee952
17830           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17831
17832 2015-05-26 10:03:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17833
17834         * ext/codecparsers:
17835           codecparsers: Update to gst-vaapi-branch commit 20ee952
17836           b7dded3: h264parse: don't consider unknown stream-format as avc
17837           5110ad9: h264parse: fix up handling of input caps corner cases
17838           e51db3e: h264parse: Remove dead code
17839           3d739d0: codecparser: h265: Fix the number of tile rows/columns parsing
17840           8482957: h265parse: Fix profile, tier and level setting in caps
17841           4649acb: h265parse: Fix the memory freeing of stored VPS nals
17842           f2beeb7: h265parse: Fix source caps to report cropped dimensions
17843           6886a31: h264parse: Fix profile and level setting in caps
17844           5286c1a: h264parse: Consider SEI NALU as "HEADER" packets
17845           eb97854: videoparsers: h264: bit-exact sync with upstream, minor changes here and there
17846           53074fc: build: Upgrade GStreamer dependency to 1.0
17847           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17848
17849 2015-05-26 06:01:10 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17850
17851         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17852           HEVC: decode: Replace clip3 implementation with glib CLAMP macro
17853           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17854
17855 2015-05-26 05:33:33 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17856
17857         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
17858           HEVC: decode: Update Cropping Rectangle
17859           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17860
17861 2015-05-25 11:58:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17862
17863         * gst/vaapi/Makefile.am:
17864         * gst/vaapi/gstvaapi.c:
17865         * gst/vaapi/gstvaapiencode_h265.c:
17866         * gst/vaapi/gstvaapiencode_h265.h:
17867           HEVC_Encode: Add HEVC(h265) Encoder plugin
17868           https://bugzilla.gnome.org/show_bug.cgi?id=748874
17869           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17870
17871 2015-05-25 11:38:34 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17872
17873         * gst-libs/gst/vaapi/Makefile.am:
17874         * gst-libs/gst/vaapi/gstvaapiencoder_h265.c:
17875         * gst-libs/gst/vaapi/gstvaapiencoder_h265.h:
17876           HEVC_Encode: Add HEVC(h265) encoder to core libgstvaapi
17877           https://bugzilla.gnome.org/show_bug.cgi?id=748874
17878           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17879
17880 2015-05-25 11:26:14 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17881
17882         * configure.ac:
17883           HEVC_Encode: build: Check availability of VA APIs for H265 encoding.
17884           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17885           https://bugzilla.gnome.org/show_bug.cgi?id=748874
17886
17887 2015-05-25 10:58:52 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17888
17889         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
17890         * gst-libs/gst/vaapi/gstvaapiutils_h265.h:
17891           gstvaapiutils_h265: Add H265 Tier specific utility functions
17892           -- New API: gst_vaapi_utils_h265_get_tier_from_string()
17893           -- New API: gst_vaapi_utils_h265_get_tier_string()
17894           https://bugzilla.gnome.org/show_bug.cgi?id=748874
17895           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
17896
17897 2015-05-19 10:57:42 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17898
17899         * docs/reference/plugins/Makefile.am:
17900           doc: conditional linking for scanner
17901           Add x11 library only if it is enabled.
17902           https://bugzilla.gnome.org/show_bug.cgi?id=749018
17903
17904 2015-05-19 10:37:13 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17905
17906         * docs/reference/plugins/plugins.types:
17907           doc: fix scanner compilation warning
17908           https://bugzilla.gnome.org/show_bug.cgi?id=749018
17909
17910 2015-05-06 16:19:23 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17911
17912         * docs/reference/libs/libs-docs.xml.in:
17913         * docs/reference/libs/libs-sections.txt:
17914           doc: update sections and symbols
17915           https://bugzilla.gnome.org/show_bug.cgi?id=749018
17916
17917 2015-05-13 10:38:24 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17918
17919         * .gitignore:
17920         * Makefile.am:
17921         * debian.upstream/Makefile.am:
17922         * docs/Makefile.am:
17923         * docs/reference/Makefile.am:
17924         * docs/reference/libs/Makefile.am:
17925         * docs/reference/plugins/Makefile.am:
17926         * ext/Makefile.am:
17927         * ext/libvpx/Makefile.am:
17928         * git.mk:
17929         * gst-libs/Makefile.am:
17930         * gst-libs/gst/Makefile.am:
17931         * gst-libs/gst/base/Makefile.am:
17932         * gst-libs/gst/codecparsers/Makefile.am:
17933         * gst-libs/gst/vaapi/Makefile.am:
17934         * gst/Makefile.am:
17935         * gst/vaapi/Makefile.am:
17936         * patches/Makefile.am:
17937         * patches/videoparsers/Makefile.am:
17938         * pkgconfig/Makefile.am:
17939         * tests/Makefile.am:
17940           build: use git.mk
17941           This patch handles dinamically the gitignore files with git.mk[1].
17942           Removed the automake variable MAINTAINERCLANFILES in most of the
17943           Makefile.am files since now it is handled by the top one.
17944           1. https://github.com/behdad/git.mk/blob/master/git.mk
17945           https://bugzilla.gnome.org/show_bug.cgi?id=749321
17946
17947 2015-05-07 11:28:15 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17948
17949         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
17950           wayland: sync() when destroy()
17951           Before pushing a the new frame, the render() method calls sync() to flush the
17952           pending frames. Nonetheless, the last pushed frame never gets rendered, leading
17953           to a memory leak too.
17954           This patch calls sync() in the destroy() to flush the pending frames before
17955           destroying the window.
17956           Also a is_cancelled flag is added. This flag tells to not flush the event
17957           queue again since the method failed previously or were cancelled by the user.
17958           https://bugzilla.gnome.org/show_bug.cgi?id=749078
17959
17960 2015-05-07 15:55:40 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
17961
17962         * gst-libs/gst/vaapi/gstvaapiwindow.c:
17963         * gst-libs/gst/vaapi/gstvaapiwindow.h:
17964         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
17965         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
17966         * gst/vaapi/gstvaapisink.c:
17967           vaapisink: implement unlock/unlock_stop for wayland
17968           Otherwise wl_display_dispatch_queue() might prevent the pipeline from
17969           shutting down. This can happen e.g. if the wayland compositor exits while
17970           the pipeline is running.
17971           Changes:
17972           * renamed unlock()/unlock_stop() to unblock()/unblock_cancel() in gstvaapiwindow
17973           * splitted the patch removing wl_display_dispatch_queue()
17974           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17975           https://bugzilla.gnome.org/show_bug.cgi?id=747492
17976           https://bugzilla.gnome.org/show_bug.cgi?id=749078
17977
17978 2015-05-07 12:33:34 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17979
17980         * configure.ac:
17981         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
17982           wayland: wl_display_dispatch_queue() can block forever.
17983           wl_display_dispatch_queue() might prevent the pipeline from shutting
17984           down. This can happen e.g. if the wayland compositor exits while the
17985           pipeline is running.
17986           This patch replaces it with these steps:
17987           - With wl_display_prepare_read() all threads announce their intention
17988           to read.
17989           - wl_display_read_events() is thread save. On threads reads, the other
17990           wait for it to finish.
17991           - With wl_display_dispatch_queue_pending() each thread dispatches its
17992           own events.
17993           wl_display_dispatch_queue_pending() was defined since wayland 1.0.2
17994           Original-patch-by: Michael Olbrich <m.olbrich@pengutronix.de>
17995           * stripped out the unlock() unlock_stop() logic
17996           * stripped out the poll handling
17997           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
17998           https://bugzilla.gnome.org/show_bug.cgi?id=749078
17999           https://bugzilla.gnome.org/show_bug.cgi?id=747492
18000
18001 2015-05-07 18:30:33 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18002
18003         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
18004           wayland: rename frame for last_frame
18005           Since frame in the private data means the last frame sent, it would
18006           semantically better use last_frame.
18007           Also, this patch makes use of g_atomic_pointer_{compare_and_exchange, set}()
18008           functions.
18009           https://bugzilla.gnome.org/show_bug.cgi?id=749078
18010
18011 2015-05-07 11:18:12 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18012
18013         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
18014           wayland: use a counter as sync flag
18015           Wayland window has a pointer to the last pushed frame and use it to set the
18016           flag for stopping the queue dispatch loop. This may lead to memory leaks,
18017           since we are not keeping track of all the queued frames structures.
18018           This patch removes the last pushed frame pointer and change the binary flag
18019           for an atomic counter, keeping track of number of queued frames and use it for
18020           the queue dispatch loop.
18021           https://bugzilla.gnome.org/show_bug.cgi?id=749078
18022
18023 2015-05-07 10:36:17 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18024
18025         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
18026           wayland: decouple wl_buffer from frame
18027           This patch takes out the wayland's buffer from the the frame structure. The
18028           buffer is queued to wayland and destroyed in the "release" callback. The
18029           frame is freed in the surface's "done" callback.
18030           In this way a buffer may be leaked but not the whole frame structure.
18031           - surface 'done' callback is used to throttle the rendering operation and to
18032           unallocate the frame, but not the buffer.
18033           - buffer 'release' callback is used to destroy wl_buffer.
18034           Original-patch-by: Zhao Halley <halley.zhao@intel.com>
18035           * code rebase
18036           * kept the the event_queue for buffer's proxy
18037           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18038           https://bugzilla.gnome.org/show_bug.cgi?id=749078
18039
18040 2015-05-14 16:22:36 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18041
18042         * gst/vaapi/gstvaapisink.c:
18043           vaapisink: fix indentation
18044
18045 2015-05-13 11:54:01 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18046
18047         * debian.upstream/Makefile.am:
18048         * ext/libvpx/Makefile.am:
18049         * gst-libs/gst/vaapi/Makefile.am:
18050         * gst/vaapi/Makefile.am:
18051         * tests/Makefile.am:
18052           build: fix make distcheck
18053           This patch fixes several issues found when running the `make distcheck`
18054           target:
18055           - In commit c561b8da, the update of gstcompat.h in Makefile.am was
18056           forgotten.
18057           - In commit c5756a91 add the simple_encoder_source_h in EXTRA_DIST was
18058           forgotten.
18059           - vpx.build.stamp is not generated at all, only vpx.configure.stamp.
18060           - The make target distcleancheck failed because some autogenerated files
18061           were not handled with the DISTCLEANFILES variable.
18062           Note: `make distcheck -jXX` is not currently supported.
18063
18064 2015-05-13 13:28:17 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18065
18066         * patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch:
18067         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
18068         * patches/videoparsers/0004-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch:
18069           h264parse: update patches with upstream
18070           These patches didn't applied cleanly, breaking the `make distcleancheck`
18071           target. Re-sync'ed the patches against the current git's submodule.
18072
18073 2015-05-12 16:04:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18074
18075         * tests/simple-encoder.c:
18076           tests: simple-encoder: fix build warnings on 64-bit platforms.
18077           Add a cosmetic change to replace VAAPI buffer with VA buffer and most
18078           importantly fix warnings spitted out during build on 64-bit platforms.
18079           ../../tests/simple-encoder.c:211:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘gssize’ [-Wformat=]
18080           g_warning ("Invalid VAAPI buffer size (%d)", size);
18081           ^
18082           ../../tests/simple-encoder.c:217:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘gssize’ [-Wformat=]
18083           g_warning ("Failed to create output buffer of size %d", size);
18084           ^
18085
18086 2015-05-08 15:54:09 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18087
18088         * gst/vaapi/gstvaapipluginbase.c:
18089         * gst/vaapi/gstvaapipluginutil.c:
18090         * gst/vaapi/gstvaapipluginutil.h:
18091         * gst/vaapi/gstvaapivideocontext.h:
18092           plugins: remove gstreamer-0.10 crumbs
18093           GstVideoContext was used in gstreamer-0.10, which is not supported anymore.
18094           Still, its definition was still in the code. This patch removes it.
18095           https://bugzilla.gnome.org/show_bug.cgi?id=749113
18096
18097 2015-05-05 13:08:25 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18098
18099         * tests/Makefile.am:
18100         * tests/simple-encoder.c:
18101         * tests/y4mreader.c:
18102         * tests/y4mreader.h:
18103           tests: add simple-encoder program
18104           This patch adds a simple-encoder test program that uses libgstvaapi for video
18105           encoding to elementary (raw) streams. Input stream is raw YUV in the Y4M
18106           format. That can be from a regular file or standard input when the input
18107           filename is "-".
18108           Usage: simple-encoder [options]* <source>
18109           Options:
18110           --output|-o     output file name
18111           --codec|-c      codec to use for video encoding
18112           --bitrate|-b    desired bitrate (kbps)
18113           By default, and as an initial patch, the encoded stream shall conform to the
18114           minimally supported profile. That is "Constrained Baseline Profile" for H.264
18115           and "Simple Profile" for MPEG-2. Though, those are the defaults to be
18116           generated by libgstvaapi.
18117           You can find Y4M sample files here http://samples.mplayerhq.hu/yuv4mpeg2/
18118           Original-patch-by: Changzhi Wei <changzhix.wei@intel.com>
18119           * general code clean-up
18120           * removed the yuv reader thread
18121           * re-wrote the y4m file parser
18122           * updated used API fixed some wrong usage
18123           * fixed a lot of memory leaks
18124           * added the bitrate setting
18125           * keep fps' numerator and denominator
18126           * simplified the thread control
18127           * removed custom logging and use glib
18128           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18129           https://bugzilla.gnome.org/show_bug.cgi?id=719528
18130
18131 2015-05-05 13:02:19 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18132
18133         * gst-libs/gst/vaapi/gstvaapiencoder.h:
18134           libs: trivial documentation fix
18135           GST_VAAPI_ENCODER_STATUS_NO_SURFACE and GST_VAAPI_ENCODER_STATUS_NO_BUFFER
18136           are not errors, so they do not have the ERROR namespace.
18137           This patch fixes this typo in documentation.
18138
18139 2015-02-15 15:01:03 +0000  Simon Farnsworth <simon@farnz.org.uk>
18140
18141         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
18142           window: Correct prototype to match implementation
18143           On s390x, guintptr and GstVaapiID are not compatible types. The
18144           implementation of gst_vaapi_window_new_internal() and all its callers
18145           seem to assume that its third argument is a GstVaapiID, while the
18146           header gives it guintptr type.
18147           https://bugzilla.gnome.org/show_bug.cgi?id=744559
18148
18149 2015-05-04 14:24:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18150
18151         * gst/vaapi/gstvaapidecode.c:
18152         * gst/vaapi/gstvaapidecodebin.c:
18153           vaapidecode: add guards for disabled codecs.
18154           Fix link when building plugin elements without HEVC support. e.g. don't
18155           try to call into gst_vaapi_decoder_h265_set_alignment() if there is no
18156           support HEVC enabled in libgstvaapi.
18157           Also, drop disabled codecs from static template caps. Add the missing
18158           HEVC static template caps into vaapidecodebin too.
18159
18160 2015-04-30 13:29:48 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18161
18162         * configure.ac:
18163         * gst-libs/gst/vaapi/glibcompat.h:
18164           build: upgrade glib dependency to 2.32
18165           Since bug #745728 was fixed the oldest supported version of GStreamer is
18166           1.2. That GStreamer release requires glib 2.32, so we can upgrade our
18167           requirement too.
18168           This patch changes the required version of glib in configure.ac and removes
18169           the hacks in glibcompat.h
18170           https://bugzilla.gnome.org/show_bug.cgi?id=748698
18171
18172 2015-04-30 13:21:08 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18173
18174         * gst/vaapi/gstvaapipluginbase.c:
18175           plugins: check if the pool config is already set
18176           In commit 97b768, a regression for GStreamer 1.2 was introduced:
18177           GStreamer 1.2 doesn't check, in gst_buffer_pool_set_config() if the
18178           config option is already set. This patch adds an inline function to
18179           first verify if the option is not in the pool config berfore add it.
18180
18181 2015-04-29 12:39:50 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18182
18183         * gst/vaapi/gstvaapipostproc.c:
18184           vaapipostproc: tune up a couple of log messages
18185           In order to reduce the noise, the query type log was downgrade from INFO to
18186           DEBUG, and the shared display address log message is assigned to the object.
18187
18188 2015-04-29 12:27:43 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18189
18190         * gst/vaapi/gstvaapipluginbase.c:
18191           plugins: check gst_buffer_pool_set_config()
18192           Check the return value of gst_buffer_pool_set_config(). If it fails an error
18193           message is posted in the bus.
18194
18195 2015-04-29 12:24:52 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18196
18197         * gst/vaapi/gstvaapipluginbase.c:
18198           plugins: more specific log message
18199           Be more specific in the log message about the reason of creating a new pool.
18200
18201 2015-04-29 12:22:29 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18202
18203         * gst/vaapi/gstvaapipluginbase.c:
18204           plugins: delete unused variable
18205           need_pool is a boolean variable extracted from the allocation query, but it is
18206           not used afterwards.
18207
18208 2015-04-27 19:21:12 -0400  Olivier Crete <olivier.crete@collabora.com>
18209
18210         * gst/vaapi/gstvaapipluginbase.c:
18211           vaapipluginbase: Update the pool if there was no pool in the downstream reply
18212           Fix regression introduced by bd866479, the query after decide_allocation()
18213           always needs a pool in the first slot.
18214           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18215           https://bugzilla.gnome.org/show_bug.cgi?id=748559
18216
18217 2015-04-27 20:50:19 -0400  Olivier Crete <olivier.crete@collabora.com>
18218
18219         * gst/vaapi/gstvaapivideobufferpool.c:
18220           videopool: Free members before chaining up finalize
18221           The finalize function in GObject frees the object memory, so
18222           everything else needs to have been freed before.
18223           https://bugzilla.gnome.org/show_bug.cgi?id=748563
18224
18225 2015-04-27 20:31:50 -0400  Olivier Crete <olivier.crete@collabora.com>
18226
18227         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
18228           wayland: don't leak the registry proxy
18229           Release the registry proxy when closing the display.
18230           https://bugzilla.gnome.org/show_bug.cgi?id=748564
18231
18232 2015-04-21 17:17:06 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18233
18234         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
18235           wayland: refactor _sync() method and rename callback
18236           This patch only intends to improve readability: in the method
18237           gst_vaapi_window_wayland_sync() the if/do instructions are squashed into a
18238           single while loop.
18239           Also renames the frame_redraw_callback() callback into frame_done_callback(),
18240           which is a bit more aligned to Wayland API.
18241
18242 2015-02-03 16:52:06 +0100  Michael Olbrich <m.olbrich@pengutronix.de>
18243
18244         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
18245           wayland: free frame in buffer release callback
18246           The Wayland compositor may still use the buffer when the frame done
18247           callback is called.
18248           This patch destroys the frame (which contains the buffer) until the
18249           release callback is called. The draw termination callback only controls
18250           the display queue dispatching.
18251           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18252           https://bugzilla.gnome.org/show_bug.cgi?id=747492
18253
18254 2015-04-21 10:00:36 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18255
18256         * gst/vaapi/gstvaapidecode.c:
18257           vaapidecode: refactor gst_vaapidecode_internal_flush()
18258           This a cosmetic refactor: gst_vaapidecode_internal_flush() removes its only
18259           label; gst_vaapidecode_finish() is more readable and gst_vaapidecode_purge()
18260           shares the same error message of gst_vaapidecode_internal_flush() when flush
18261           fails.
18262
18263 2015-04-20 13:27:27 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18264
18265         * gst/vaapi/gstvaapidecode.c:
18266           vaapidecode: refactor gst_vaapidecode_destroy()
18267           Add the method gst_vaapidecode_purge(). This method releases the
18268           flushed frames from the decoder.
18269           This new method add more readablity to gst_vaapidecode_destroy()
18270
18271 2015-04-16 12:53:18 -0400  Olivier Crete <olivier.crete@collabora.com>
18272
18273         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
18274         * gst/vaapi/gstvaapidecode.c:
18275           vaapidecode: Tell the base class about released frames on close
18276           The base class needs to be informed about frames that were still queued
18277           in the decoder on release, otherwise they are leaked.
18278           https://bugzilla.gnome.org/show_bug.cgi?id=747999
18279
18280 2015-04-19 11:19:03 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18281
18282         * gst/vaapi/gstvaapidecode.c:
18283           vaapidecode: reduce logging noise
18284           When a frame is rejected by downstream, the message is logged twice. This
18285           patch removes one of those logging messages.
18286           Also, the reject of a frame doesn't mean an alarming error. This patch demotes
18287           the log message from error to info.
18288
18289 2015-04-16 20:18:13 -0400  Olivier Crete <olivier.crete@collabora.com>
18290
18291         * gst/vaapi/gstvaapidecode.c:
18292           vaapidecode: Use the GstVideoDecoder error reporting function
18293           This way, the decoder won't stop on the first decoding error,
18294           in most cases it can recover after some glitchiness.
18295           https://bugzilla.gnome.org/show_bug.cgi?id=744620
18296
18297 2015-04-17 19:10:35 +0000  Olivier Crete <olivier.crete@collabora.com>
18298
18299         * gst/vaapi/gstvaapipluginbase.c:
18300           vaapipluginbase: The allocation query can return without a pool
18301           It is possible to return the min/max/size without actually providing
18302           a pool. This way the source knows how many buffers downstream needs.
18303           https://bugzilla.gnome.org/show_bug.cgi?id=748076
18304
18305 2015-04-17 16:45:22 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18306
18307         * ext/Makefile.am:
18308         * gst/vaapi/Makefile.am:
18309         * gst/vaapi/gstvaapiparse.c:
18310         * gst/vaapi/gstvaapiparse.h:
18311         * patches/videoparsers/0001-h265parse-include-gstvaapiparse.h.patch:
18312         * patches/videoparsers/series.frag:
18313           plugins: Add h265 videoparser element "vaapiparse_h265"
18314           This is a mirror of h265parse element in upstream gst-plugins-bad.
18315           There could be additional patches but all should go to upstream.
18316           This is for making development faster.
18317           Note: vaapiparse_h265 will get build only for GStreamer version >= 1.4
18318
18319 2015-04-17 15:44:04 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18320
18321         * ext/codecparsers:
18322           codecparsers: Update to gst-vaapi-branch commit 43a0368
18323           45f1c28: codecparser: h265: Fix nal unit size checking
18324           f25987b: codecparser: h265: Calculate crop rectangle dimensions
18325           639573a: codecparser: h265: Fix parsing multiple SEI messages in a single SEI Nal
18326           4c8ec41: Add h265 videoparser plugin source files
18327
18328 2015-04-17 10:10:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18329
18330         * autogen.sh:
18331           autogen: drop videoutils submodule.
18332
18333 2015-04-17 10:36:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18334
18335         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
18336           decoder: hevc: cosmetics.
18337           Mostly coding style updates. Avoid integer signess inconsistencies.
18338           Optimize dpb_find_lowest_poc() to align with original h264's decoder.
18339
18340 2015-04-16 14:13:59 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18341
18342         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
18343           decoder: hevc: Add Support for tiled video decoding
18344           Based up on the value of uniform_spacing_flag in Picture Parameter Set,
18345           the tile column width and tile row height should be calculated.
18346           Equations: 6-1, 6-2
18347           Tiled video Descriptions: 7.3.2.3, 7.4.3.3
18348
18349 2015-04-16 14:13:21 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18350
18351         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
18352           decoder: hevc: Fix decoding when there are RASL pictures present.
18353           -- Set NoRaslOutputFlag based on EOS and EOB Nal units
18354           -- Fix PicOutputFlag setting for RASL picture
18355           -- Fix prev_poc_lsb/prev_poc_msb calculation
18356           -- Drop the RASL frames if NoRaslOutputFlag is TRUE for the associated IRAP picture
18357           -- Fixed couple of crashes and added cosmetics
18358
18359 2015-04-14 10:54:54 +0100  Martin Sherburn <martin.sherburn@datapath.co.uk>
18360
18361         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
18362           display: drm: fix race condition setting device type
18363           There is a race condition where g_drm_device_type can be left set to
18364           DRM_DEVICE_RENDERNODES when it shouldn't.
18365           If thread 1 comes in and falls into the last else statement setting up both
18366           RENDERNODES and LEGACY types. And begins to process the first type (RENDERNODES),
18367           it sets g_drm_device_type = RENDERNODES.
18368           Now when thread 2 comes in and sees g_drm_device_type is RENDERNODES, it queues
18369           up that type to be tried but then encounters the lock and has to wait until the
18370           first thread finishes. Once the lock is acquired it will then proceed to ONLY try
18371           RENDERNODES and fail it. But it doesn't try LEGACY. And from then on, all future
18372           attempts will only try RENDERNODES.
18373           So to avoid this situation I have simply moved the acquisition of the lock higher
18374           up in the attached patch.
18375           https://bugzilla.gnome.org/show_bug.cgi?id=747914
18376
18377 2015-04-15 15:26:12 -0400  Olivier Crete <olivier.crete@collabora.com>
18378
18379         * gst/vaapi/gstvaapipostproc.c:
18380           vaapipostproc: Don't create filter on caps query
18381           The problem with this is that creating the filter causes the display to
18382           be selected, and the caps query happens while linking the element. So,
18383           if the downstream or upstream element is using a specific display
18384           object, it won't be propagated correctly to the postproc as it already
18385           has a display at this point.
18386           https://bugzilla.gnome.org/show_bug.cgi?id=747945
18387
18388 2015-04-15 15:20:17 -0400  Olivier Crete <olivier.crete@collabora.com>
18389
18390         * gst-libs/gst/vaapi/gstvaapivideopool.c:
18391           videopool: Release lock while allocating new object
18392           The video pool can be accessed with the display lock held, for example,
18393           when releasing a buffer from inside vaapisink_render, but allocating
18394           a new object can may also take the display lock. Which means a possible
18395           deadlock.
18396           https://bugzilla.gnome.org/show_bug.cgi?id=747944
18397
18398 2015-04-15 17:26:43 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18399
18400         * gst/vaapi/gstvaapisink.c:
18401           vaapisink: use GstVideoSink vmethod show_frame()
18402           vaapisink inherits from GstVideoSink, in order to use its functionality (such
18403           as ::show-preroll-frame property), we should use its vmethod show_frame(),
18404           rather than call ourselves render() and preroll().
18405
18406 2015-04-15 18:16:47 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18407
18408         * gst/vaapi/gstvaapisink.c:
18409         * gst/vaapi/gstvaapisink.h:
18410           vaapisink: add 'handoff' signal
18411           This patch adds the signal ::handoff and the property signal-handoffs. If the
18412           property is set TRUE, the signal ::handoff is emitted just after the buffer is
18413           rendered.
18414           Based on Zhao Halley <halley.zhao@intel.com>
18415           https://bugzilla.gnome.org/show_bug.cgi?id=747905
18416
18417 2015-04-14 10:17:16 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18418
18419         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
18420           HEVC: silence the compiler
18421           Fixed a couple of clang complains.
18422
18423 2015-02-02 16:42:43 +0100  Michael Olbrich <m.olbrich@pengutronix.de>
18424
18425         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
18426           wayland: destroy vpp buffer pool on resize
18427           Otherwise the old buffers with the old size are used.
18428           https://bugzilla.gnome.org/show_bug.cgi?id=747491
18429
18430 2015-04-14 10:08:47 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18431
18432         * configure.ac:
18433         * gst-libs/gst/vaapi/Makefile.am:
18434           build: don't compile HEVC if not supported
18435           HEVC decoding was added recently libva-1.5.
18436           This patch avoids HEVC decoding support in libgstvaapi if it is not available
18437           in the installed libva.
18438           https://bugzilla.gnome.org/show_bug.cgi?id=747831
18439
18440 2015-04-13 16:04:59 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18441
18442         * gst/vaapi/gstvaapidecode.c:
18443           vaapidecode: Update Author name in plugin metadata
18444
18445 2015-04-13 15:43:30 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18446
18447         * gst/vaapi/gstvaapidecode.c:
18448           plugins: Add HEVC decoder
18449           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18450
18451 2015-04-13 15:41:45 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18452
18453         * gst-libs/gst/vaapi/Makefile.am:
18454         * gst-libs/gst/vaapi/gstvaapidecoder_h265.c:
18455         * gst-libs/gst/vaapi/gstvaapidecoder_h265.h:
18456           HEVC: Add HEVC(h265) decoder to core libgstvaapi
18457           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18458
18459 2015-04-13 14:53:46 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18460
18461         * gst-libs/gst/vaapi/Makefile.am:
18462         * gst-libs/gst/vaapi/gstvaapiutils_h265.c:
18463         * gst-libs/gst/vaapi/gstvaapiutils_h265.h:
18464         * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h:
18465           HEVC: Add codec utility methods to core libgstvaapi
18466           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18467
18468 2015-04-13 14:52:53 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18469
18470         * gst-libs/gst/vaapi/gstvaapiprofile.c:
18471         * gst-libs/gst/vaapi/gstvaapiprofile.h:
18472           HEVC: gstvaapiprofile: Add profile definitions
18473           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18474
18475 2015-04-13 14:52:14 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18476
18477         * configure.ac:
18478           HEVC: build: Check availability of h265 decoder APIs
18479           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18480
18481 2015-04-13 14:51:51 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18482
18483         * configure.ac:
18484         * ext/Makefile.am:
18485         * gst-libs/gst/codecparsers/Makefile.am:
18486           HEVC: Allow to build h265 codecparser internally
18487           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18488
18489 2015-04-08 18:05:20 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18490
18491         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
18492         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
18493         * gst-libs/gst/vaapi/gstvaapisurface.c:
18494           guard buffer export API if not available
18495           The support for buffer exports in VA-API was added in version 0.36. These
18496           interfaces are for interop with EGL, OpenCL, etc.
18497           GStreamer-VAAPI uses it for a dmabuf memory allocator. Though, gstreamer-vaapi
18498           has to support VA-API versions ranging from 0.30.4, which doesn't support it.
18499           This patch guards all the buffer exports handling (and dmabuf allocator) if
18500           the detected VA-API version is below 0.36.
18501           https://bugzilla.gnome.org/show_bug.cgi?id=746405
18502
18503 2015-04-13 11:29:35 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18504
18505         * ext/codecparsers:
18506           codecparsers: Update to gst-vaapi-branch commit 9bc72b0
18507           767bf22: codecparsers: h265: add helpers to convert quantization matrices
18508           71c8e93: codecparser: h265: skip byte alignment bits while parsing slice header
18509           3bf0355: codecparsre: h265: Fix the NumDeltaPocs calculation
18510           10e2087: codecparser: h265: Fix the NumPocTotalCurr calculatio
18511           2d753b8: codecparser: h265: Fix nal size calculation for EOS and EOB
18512
18513 2014-12-11 12:02:38 +0100  Michael Olbrich <m.olbrich@pengutronix.de>
18514
18515         * gst/vaapi/gstvaapidecode.c:
18516           vaapidecode: unref video codec frame twice
18517           We get one reference when the frame is passed to decode_handle_frame()
18518           and create another one in gst_vaapi_decoder_push_frame().
18519           Usually the frame is handled in gst_vaapidecode_push_decoded_frame().
18520           Here the frame is always released twice:
18521           gst_video_decoder_finish_frame() + gst_video_codec_frame_unref() or
18522           gst_video_decoder_drop_frame() + gst_video_codec_frame_unref().
18523           In gst_vaapidecode_reset_full() both references to the frame must be
18524           released as well.
18525           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18526           https://bugzilla.gnome.org/show_bug.cgi?id=743226
18527
18528 2015-04-08 18:20:34 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18529
18530         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
18531           libs: remove unused variables
18532           clang reports these unused variables. Let's get rid of them.
18533           This patch is a missing part of commit c82e5173
18534           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18535
18536 2015-04-03 20:38:07 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18537
18538         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
18539           decoder: mpeg4: remove an spurious comparison
18540           The member size in GstMpeg4Packet is gsize which is unsigned, which cannot be
18541           less than zero. Hence this pre-condition test is a no-op. This patch removes
18542           that code.
18543           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18544
18545 2015-04-03 20:33:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18546
18547         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
18548           encoder: h264: casts slice_param->slice_type
18549           slice_type in slice_param is defined as (char *), but it is compared against a
18550           signed integer. clang complains about this comparison.
18551           This patch casts the variable.
18552           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18553
18554 2015-04-03 20:31:47 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18555
18556         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
18557           encoder: avoid GstVaapiCodedBuffer redefinition
18558           The symbol GstVaapiCodedBuffer is already defined in
18559           gst-libs/gst/vaapi/gstvaapicodedbuffer.h which is loaded, at the end, by
18560           gstvaapiencoder_objects.h. Clang complains about the symbol re-definition.
18561           This patch removes that redefinition.
18562           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18563
18564 2015-04-03 20:28:22 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18565
18566         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
18567         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
18568           libs: remove unused variables
18569           clang reports these unused variables. Let's get rid of them.
18570           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18571
18572 2015-04-03 20:27:24 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18573
18574         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
18575           encoder: mpeg2: use fabsf() instead of abs()
18576           The member value in frame_rate_tab is float, the result of the abs() function
18577           should be float too. But abs() only manages integers.
18578           This patch replaces abs() with fabsf() to handle correctly the possible floats
18579           values.
18580           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18581
18582 2015-04-03 20:02:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18583
18584         * gst-libs/gst/vaapi/gstvaapidecoder.c:
18585         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
18586         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
18587         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
18588         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
18589           decoder: cast GST_VAAPI_DECODER_STATUS_DROP_FRAME
18590           Since GST_VAAPI_DECODER_STATUS_DROP_FRAME is not part of the enum
18591           GstVaapiDecoderStatus, we need to cast it to avoid compiler complains.
18592           https://bugzilla.gnome.org/show_bug.cgi?id=747312
18593
18594 2015-04-04 00:40:29 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18595
18596         * README:
18597           Update README
18598
18599 2015-04-04 00:06:56 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18600
18601         * .gitmodules:
18602         * README:
18603           Changing source code download links from https://gitorious  to https://github
18604           -- gitmodules: Change gstreamer-codecparsers submodule source download link
18605           -- README: Change the gstreamer-vaapi webpage link
18606
18607 2015-04-03 23:30:24 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18608
18609         * ext/codecparsers:
18610           codecparsers: update to gst-vaapi-branch commit 1f792e4
18611           87f4a7e: bytereader: add gst_byte_reader_peek_sub_reader() and _get_sub_reader()
18612           7d8ba7a: bytereader: use unchecked inline variant for get_remaining in more places
18613           2528ea6: bytereader: add gst_byte_reader_masked_scan_uint32_peek
18614           2b92a67: h264parse: reset the parser information when caps changes
18615           05eee86: codecparsers: Indent file
18616           e27a38b: codecparsers: Add READ_UE_MAX macro
18617           2036471: Constify some static arrays everywhere
18618
18619 2015-04-03 17:45:08 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18620
18621         * gst/vaapi/gstvaapivideoconverter_glx.c:
18622         * gst/vaapi/gstvaapivideoconverter_x11.c:
18623           Remove the gstvaapivideoconverter_*.c source files missed in commit 51b1e4a
18624
18625 2015-04-03 17:09:08 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18626
18627         * gst/vaapi/gstvaapidecode.c:
18628         * gst/vaapi/gstvaapidecodebin.c:
18629         * gst/vaapi/gstvaapiencode_h264.c:
18630         * gst/vaapi/gstvaapiencode_jpeg.c:
18631         * gst/vaapi/gstvaapiencode_mpeg2.c:
18632         * gst/vaapi/gstvaapiencode_vp8.c:
18633         * gst/vaapi/gstvaapipluginbase.c:
18634         * gst/vaapi/gstvaapipluginutil.c:
18635         * gst/vaapi/gstvaapipluginutil.h:
18636         * gst/vaapi/gstvaapipostproc.c:
18637         * gst/vaapi/gstvaapisink.c:
18638         * gst/vaapi/gstvaapivideobuffer.c:
18639         * gst/vaapi/gstvaapivideobufferpool.c:
18640         * gst/vaapi/gstvaapivideocontext.c:
18641         * gst/vaapi/gstvaapivideocontext.h:
18642         * gst/vaapi/gstvaapivideoconverter_glx.h:
18643         * gst/vaapi/gstvaapivideoconverter_x11.h:
18644         * gst/vaapi/gstvaapivideomemory.h:
18645         * gst/vaapi/gstvaapivideometa_texture.c:
18646           Removal of gstreamer-1.0 support
18647           The support for GStreamer 1.0 has been obsoleted in 0.5.10 release.
18648           GStreamer 1.2 is the a minimal requirement for building the gstreamer-vaapi.
18649           This patch removes all the pre-processor conditional code compilation guarded
18650           for gstreamer-1.0.
18651           Thus, all the video converters were removed too.
18652           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18653           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18654           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18655
18656 2015-04-03 17:08:30 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18657
18658         * gst-libs/gst/vaapi/gstcompat.h:
18659         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
18660         * gst-libs/gst/vaapi/gstvaapiprofile.c:
18661         * gst-libs/gst/vaapi/sysdeps.h:
18662         * gst/vaapi/gstcompat.h:
18663         * gst/vaapi/gstvaapi.c:
18664         * gst/vaapi/gstvaapidecode.c:
18665         * gst/vaapi/gstvaapidecodebin.c:
18666         * gst/vaapi/gstvaapiencode.c:
18667         * gst/vaapi/gstvaapiencode_h264.c:
18668         * gst/vaapi/gstvaapiencode_jpeg.c:
18669         * gst/vaapi/gstvaapiencode_mpeg2.c:
18670         * gst/vaapi/gstvaapiencode_vp8.c:
18671         * gst/vaapi/gstvaapiparse.c:
18672         * gst/vaapi/gstvaapipluginbase.c:
18673         * gst/vaapi/gstvaapipluginutil.c:
18674         * gst/vaapi/gstvaapipostproc.c:
18675         * gst/vaapi/gstvaapisink.c:
18676         * gst/vaapi/gstvaapiuploader.c:
18677         * gst/vaapi/gstvaapivideobuffer.c:
18678         * gst/vaapi/gstvaapivideobufferpool.c:
18679         * gst/vaapi/gstvaapivideocontext.c:
18680         * gst/vaapi/gstvaapivideoconverter_glx.c:
18681         * gst/vaapi/gstvaapivideoconverter_x11.c:
18682         * gst/vaapi/gstvaapivideomemory.c:
18683         * gst/vaapi/gstvaapivideometa.c:
18684         * gst/vaapi/gstvaapivideometa_texture.c:
18685         * tests/codec.c:
18686           update and move gstcompat.h
18687           The purpose of gstcompat.h is to couple the API differences among
18688           gstreamer-1.0 and gstreamer-0.10. Since gstreamer-0.10 is obsolete, the code
18689           in this compatibility layer shall be removed.
18690           Nevertheless, the gstcompat.h header should be kept, if new incompatibilites
18691           appear in the future, but it shall live in gst/vaapi, not in gst-libs.
18692           This patch removes the crumbs defined gstcompat.h and moves it to gst/vaapi.
18693           In order to avoid layer violations, gstcompat.h includes sysdeps.h and all
18694           the includes in gst/vaapi of sysdeps.h are replaced with gstcompat.h
18695           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18696           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18697           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18698
18699 2015-04-03 17:05:45 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18700
18701         * configure.ac:
18702         * gst/vaapi/Makefile.am:
18703           autotools: remove gstreamer-1.0 support
18704           This patch only removes the support of gstreamer-1.0 in the autotools
18705           scripts. No other files are touched.
18706           In the automake file all the converters were deprecated.
18707           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18708           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18709           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18710
18711 2015-04-03 17:03:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18712
18713         * .gitmodules:
18714         * ext/Makefile.am:
18715         * ext/videoutils:
18716           Remove the gstreamer-videoutils submodule
18717
18718 2015-04-03 17:01:45 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18719
18720         * configure.ac:
18721         * gst-libs/gst/Makefile.am:
18722         * gst-libs/gst/vaapi/Makefile.am:
18723         * gst-libs/gst/video/Makefile.am:
18724         * gst/vaapi/Makefile.am:
18725         * tests/Makefile.am:
18726           Remove libgstvaapi-videoutils.so
18727           This library was intended to add the base classes for video decoders which
18728           where not included in gstreamer-0.10.
18729           Since the support of gstreamer-0.10 is deprecated those classes are not
18730           required, thus the whole library is removed.
18731           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18732           https://bugzilla.gnome.org/show_bug.cgi?id=732666
18733           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18734
18735 2015-04-03 16:55:43 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18736
18737         * configure.ac:
18738         * gst-libs/gst/vaapi/gstvaapicontext_overlay.c:
18739         * gst-libs/gst/vaapi/gstvaapiutils.c:
18740         * tests/test-subpicture.c:
18741           Remove HAVE_GST_VIDEO_OVERLAY_HWCAPS macro
18742           This macro guarded the use of HAVE_GST_VIDEO_OVERLAY_HWCAPS, which was not
18743           defined before gstreamer 0.10.35. Since the support of gstreamer-0.10 is
18744           deprecated these guards are not required.
18745           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18746           https://bugzilla.gnome.org/show_bug.cgi?id=732666
18747           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18748
18749 2015-04-03 16:55:27 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18750
18751         * gst-libs/gst/vaapi/gstcompat.h:
18752         * gst-libs/gst/vaapi/gstvaapicontext_overlay.c:
18753         * gst-libs/gst/vaapi/gstvaapidecoder.c:
18754         * gst-libs/gst/vaapi/gstvaapiimage.c:
18755         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
18756         * gst-libs/gst/vaapi/video-format.c:
18757         * gst-libs/gst/vaapi/video-format.h:
18758         * gst/vaapi/gstvaapi.c:
18759         * gst/vaapi/gstvaapidecode.c:
18760         * gst/vaapi/gstvaapidecodebin.c:
18761         * gst/vaapi/gstvaapidownload.c:
18762         * gst/vaapi/gstvaapidownload.h:
18763         * gst/vaapi/gstvaapiencode.c:
18764         * gst/vaapi/gstvaapiencode_h264.c:
18765         * gst/vaapi/gstvaapiencode_jpeg.c:
18766         * gst/vaapi/gstvaapiencode_mpeg2.c:
18767         * gst/vaapi/gstvaapiencode_vp8.c:
18768         * gst/vaapi/gstvaapiparse.c:
18769         * gst/vaapi/gstvaapipluginbase.c:
18770         * gst/vaapi/gstvaapipluginbase.h:
18771         * gst/vaapi/gstvaapipluginutil.c:
18772         * gst/vaapi/gstvaapipluginutil.h:
18773         * gst/vaapi/gstvaapipostproc.c:
18774         * gst/vaapi/gstvaapisink.c:
18775         * gst/vaapi/gstvaapiupload.c:
18776         * gst/vaapi/gstvaapiupload.h:
18777         * gst/vaapi/gstvaapiuploader.c:
18778         * gst/vaapi/gstvaapivideobuffer.c:
18779         * gst/vaapi/gstvaapivideoconverter_glx.c:
18780         * gst/vaapi/gstvaapivideoconverter_x11.c:
18781         * gst/vaapi/gstvaapivideometa.c:
18782         * gst/vaapi/gstvaapivideometa.h:
18783         * tests/test-filter.c:
18784         * tests/test-subpicture.c:
18785           Removal of gstreamer-0.10 support
18786           This patch removes all the pre-processor conditional code compilation guarded
18787           for gstreamer-0.10.
18788           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18789           https://bugzilla.gnome.org/show_bug.cgi?id=732666
18790           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18791
18792 2015-04-03 16:54:54 +0300  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18793
18794         * configure.ac:
18795         * debian.upstream/control.in:
18796         * gst-libs/gst/video/Makefile.am:
18797         * gst/vaapi/Makefile.am:
18798           autotools: remove gstreamer-0.10 support
18799           This patch only removes the support of gstreamer-0.10 in the autotools
18800           scripts. No other files are touched.
18801           The configuration parameter --gstreamer-api was deleted since now it is always
18802           auto-detected.
18803           The verification of vmethod query in GstBaseSinkClass was removed since it was
18804           added in gstreamer 0.10.35. The same case for GstVideoOverlayComposition and
18805           its format flags.
18806           The precious variable GST_PLUGIN_PATH was removed, while GST_PLUGIN_PATH_1_0
18807           remained.
18808           The automake files were changed accordingly.
18809           Removed, in debian/control, the vaapiupload and vaapidownload descriptions.
18810           https://bugzilla.gnome.org/show_bug.cgi?id=732666
18811           https://bugzilla.gnome.org/show_bug.cgi?id=745728
18812           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18813
18814 2015-03-16 23:38:18 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18815
18816         * gst/vaapi/gstvaapidecode.c:
18817           vaapidecode: add drain() vmethod
18818           In GStremer v1.6 a new vmethod drain() was added in GstVideoDecoder
18819           class. This patch implements this new method.
18820           https://bugzilla.gnome.org/show_bug.cgi?id=742922
18821           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18822           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18823
18824 2015-03-16 23:37:29 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18825
18826         * gst/vaapi/gstvaapidecode.c:
18827           vaapidecode: remove vmethod reset()
18828           Since in bug #745728 the support for GStreamer 1.0 is going to be dropped,
18829           this patch removes the method reset() which was deprecated in GStreamer 1.2.
18830           https://bugzilla.gnome.org/show_bug.cgi?id=742922
18831           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18832           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18833
18834 2015-03-16 23:36:33 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18835
18836         * gst/vaapi/gstvaapidecode.c:
18837           vaapidecode: handle flush() vmethod
18838           Since GStreamer 1.2 the vmethod reset() in GstVideoDecoderClass was deprecated
18839           and flush() was added.
18840           This patch set the vmethod flush() if the installed GStreamer version is 1.2 or
18841           superior. Otherwise, reset() is set.
18842           v2: 1) In order to avoid symbol collision, the old method gst_vaapidecode_flush()
18843           was renamed to gst_vaapidecode_internal_flush().
18844           2) The new vmethod flush() always do a hard full reset.
18845           v3: 1) Call gst_vaapidecode_internal_flush() first in flush() vmethod, in order to
18846           gather all collected data with  gst_video_decoder_have_frame()
18847           https://bugzilla.gnome.org/show_bug.cgi?id=742922
18848           Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18849           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18850
18851 2015-03-16 23:10:53 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18852
18853         * gst/vaapi/gstvaapidecode.c:
18854           vaapidecode: call the correct query function
18855           In commit 2f8c115 (vaapidecode: use the query virtual methods in 1.4)
18856           a bug was introduced: when calling the parent's query function of the
18857           src pad, the one of the sink pad is called instead. This patch fixes
18858           this issue.
18859           https://bugzilla.gnome.org/show_bug.cgi?id=746248
18860
18861 2015-03-15 00:36:45 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18862
18863         * .gitmodules:
18864           gitmodules: Use https:// url instead of git:// for submodules.
18865           Gitorious is failing to clone repositories over git:// url.
18866
18867 2015-03-14 22:12:19 +0200  Julien Isorce <j.isorce@samsung.com>
18868
18869         * gst-libs/gst/vaapi/gstvaapidisplay.c:
18870           vaapidisplay: mark X11 display as compatible with EGL
18871           GST_GL_WINDOW=x11 GST_GL_API=gles2 GST_GL_PLATFORM=egl
18872           gst-launch-1.0 ... ! vaapidecode ! glimagesink
18873           https://bugzilla.gnome.org/show_bug.cgi?id=745902
18874           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18875
18876 2015-03-06 15:20:01 +0200  Olivier Crete <olivier.crete@collabora.com>
18877
18878         * gst/vaapi/gstvaapidecode.c:
18879           vaapidecode: Don't crash if a buffer outlives the decoder
18880           Sometimes, for example, when switching video streams but keeping
18881           the same sink, the surface will be released after the decoder is
18882           stopped and replaced. This caused a crash because the release
18883           callback was called on an invalid pointer.
18884           The patch adding an additional reference to the decoder object in the buffer.
18885           https://bugzilla.gnome.org/show_bug.cgi?id=745189
18886           Signed-off-by: Olivier Crete <olivier.crete@collabora.com>
18887           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18888
18889 2015-03-06 14:31:21 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18890
18891         * gst/vaapi/gstvaapidecode.c:
18892           vaapidecode: clean-ups (indentation, drop unused variables)
18893
18894 2015-03-06 14:09:22 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18895
18896         * gst/vaapi/gstvaapidecode.c:
18897           vaapidecode: use the query virtual methods in 1.4
18898           GstVideoDecoder, the base class of vaapidecode, added support for
18899           pad queries as virtual methods. This patch enables the use of that
18900           support, while keeping support for lower versions of gstreamer.
18901           This patch is important because GstVideoDecoder takes care of other
18902           queries that might be important in the pipeline managing.
18903           v2: 1) rebase to current master
18904           2) fix indentation with gst-indent
18905           3) simplify the patch layout
18906           4) fix the context query
18907           5) initialise the filter to NULL
18908           6) improve the query log message for gst-1.2
18909           https://bugzilla.gnome.org/show_bug.cgi?id=744406
18910
18911 2015-03-06 12:16:17 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
18912
18913         * gst/vaapi/gstvaapipostproc.c:
18914         * gst/vaapi/gstvaapipostproc.h:
18915           vaapipostproc: always activate buffer pool
18916           The vaapipostproc has a proxy flag to know if the the buffer pool is
18917           already active. But this fails in some situations where it is needed
18918           to renegotiate the buffer pool.
18919           This patch removes that flag so the renegotiation is done whenever is
18920           required.
18921           https://bugzilla.gnome.org/show_bug.cgi?id=745535
18922
18923 2015-03-02 17:04:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18924
18925         * gst/vaapi/gstvaapisink.c:
18926           vaapisink: fix minor memory leak in debug mode.
18927           The gst_video_colorimetry_to_string() function returns a newly created
18928           string that represents the GstVideoColorimetry value. So, that needs
18929           to be released after usage, in e.g. GST_DEBUG().
18930
18931 2015-03-03 12:37:41 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18932
18933         * gst/vaapi/gstvaapidecodebin.h:
18934           vaapidecodebin: Avoid usage of "__" prefix in macro names
18935           Avoiding "__" prefix usage in Header File Guards as per
18936           C standard recommendation.
18937
18938 2015-03-03 12:31:11 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18939
18940         * gst/vaapi/gstvaapi.c:
18941           plugins: Disable vaapidecodebin for GStreamer < 1.4
18942           There are autoplugging issues in GStreamer-1.2.
18943           Lets disable vaapidecodebin untill we get some workarounds for this.
18944
18945 2015-03-02 15:19:40 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18946
18947         * gst/vaapi/Makefile.am:
18948         * gst/vaapi/gstvaapi.c:
18949         * gst/vaapi/gstvaapidecodebin.c:
18950         * gst/vaapi/gstvaapidecodebin.h:
18951           plugins: Add a vaapidecodebin element
18952           Add a "vaapidecodebin" element to vaapi plugins.
18953           Child Elements: "vaapidecode ! queue ! vaapipostproc"
18954           The Reasons for implementing a new bin element:
18955           -- Help to Autoplug Hardware Accelerated Video Postprocessing element in playbin
18956           with out any dependency to upstream gstreamer.
18957           This is to overcome the *unacceptable* delay in upstream gstreamer to get new
18958           features in. Eg: https://bugzilla.gnome.org/show_bug.cgi?id=687182.
18959           Also customers using older gstreamer versions (1.2 and 1.4) will get the
18960           benefit of autoplugging, hardware accelerated deinterlacing support etc.
18961           -- Help to maintain a single thread implementation in vaapidecode.
18962           This will result a dead-lock free vaapidecode in most of the cases.
18963           More details here: https://bugzilla.gnome.org/show_bug.cgi?id=742605
18964           https://bugzilla.gnome.org/show_bug.cgi?id=745216
18965
18966 2015-03-02 14:59:16 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18967
18968         * gst/vaapi/gstvaapidecode.c:
18969           vaapidecode: re-indent (gst-indent) gstvaapidecode.c
18970
18971 2015-03-02 14:46:38 +0200  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
18972
18973         * gst/vaapi/gstvaapidecode.c:
18974         * gst/vaapi/gstvaapidecode.h:
18975           vaapidecode: Switch back to Single thread implementation
18976           Because the decoder uses the thread from handle_frame() to decode a frame,
18977           the src pad task creates an unsolveable AB-BA deadlock between
18978           handle_frame() waiting for a free surface and decode_loop() pushing
18979           decoded frames out.
18980           Instead, have handle_frame() take responsibility for pushing surfaces,
18981           and remove the deadlock completely. If you need a separate thread
18982           downstream, you can insert a queue between vaapidecode and its downstream
18983           to get one.
18984           Another justification for the single thread implementation is,
18985           there are two many point of locking in gstreamer-vaapi's current
18986           implementation which can lead to deadlocks.
18987           https://bugzilla.gnome.org/show_bug.cgi?id=742605
18988           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
18989           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
18990           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
18991
18992 2015-03-02 13:28:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
18993
18994         * gst/vaapi/gstvaapipluginbase.c:
18995           plugins: fix detection of upstream v4l2src element.
18996           Improve check for upstream element that requires DMABUF buffer pool,
18997           e.g. v4l2src element. In particular, make sure to traverse through
18998           any additional capsfilter for instance.
18999           Note: the traversal to the top-most upstream element could be made
19000           more generic, but we are insofar only interested in supporting pipes
19001           similar to v4l2src or v4l2src ! capsfilter, e.g. with an explicit
19002           specification for a desired video camera format, or resolution.
19003
19004 2015-03-02 11:12:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19005
19006         * gst/vaapi/gstvaapivideomemory.c:
19007           plugins: fix allocation of DMABUF memory.
19008           The dmabuf allocator would close the DMABUF handle passed in the init
19009           function gst_dmabuf_allocator_alloc(). So, we need to dup() it so that
19010           to avoid a double close, ultimately in the underlying driver that owns
19011           the DMABUF handle.
19012
19013 2015-02-26 12:28:02 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
19014
19015         * gst/vaapi/gstvaapidecode.c:
19016           vaapidecode: keep src caps and output state in sync
19017           vaapidecode keeps an output state that use the format
19018           GST_VIDEO_FORMAT_ENCODED, while it crafts a different src caps
19019           for a correct negotiation.
19020           I don't see the rational behind this decoupling, it looks like
19021           unnecessary complexity. This patch simplify this logic keeping
19022           in sync the output state and the src caps.
19023           This patch improves the readability of the function
19024           gst_vaapidecode_update_src_caps() and simplify its logic. Also,
19025           the patch validates if the buffer pool has the configuration for
19026           the GL texture upload meta, in order to set the caps feature
19027           meta:GLTextureUpload. Otherwise, the I420 format is set back.
19028           https://bugzilla.gnome.org/show_bug.cgi?id=744618
19029           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
19030           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19031
19032 2015-02-26 12:26:54 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
19033
19034         * gst/vaapi/gstvaapidecode.c:
19035           vaapidecode: upload meta only if feature and allocation
19036           When vaapidecode finishes the decoding of a frame and pushes it,
19037           if, in the decide_allocation() method, it is determined if the
19038           next element supports the GL texture upload meta feature, the
19039           decoder adds the buffer's meta.
19040           Nonetheless, in the same spirit of the commit 71d3ce4d, the
19041           determination if the next element supports the GL texture upload
19042           meta needs to check both the preferred caps feature *and* if the
19043           allocation query request the API type.
19044           This patch, first removes the unused variable need_pool, and
19045           determines the attribute has_texture_upload_meta using the
19046           preferred caps feature *and* the allocation query.
19047           Also, the feature passed to GstVaapPluginBase is not longer
19048           determined by has_texture_upload_meta, but by the computed
19049           preferred one.
19050           https://bugzilla.gnome.org/show_bug.cgi?id=744618
19051           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
19052           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19053
19054 2015-02-26 12:24:55 +0200  Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
19055
19056         * gst/vaapi/gstvaapidecode.c:
19057         * gst/vaapi/gstvaapidecode.h:
19058         * gst/vaapi/gstvaapipluginutil.c:
19059         * gst/vaapi/gstvaapipluginutil.h:
19060           vaapidecode: delayed src caps negotiation
19061           Currently the src caps are set immediately after the sink caps are set, but in
19062           that moment the pipeline might not fully constructed and the video sink has
19063           not negotiated its supported caps and features. As a consequence, in many cases
19064           of playback, the least optimized caps feature is forced. This is partially the
19065           responsible of bug #744039.
19066           Also, vaapidecode doesn't attend the reconfigure events from downstream,
19067           which is a problem too, since the video sink can be changed with different
19068           caps features.
19069           This patch delays the src caps, setting them until the first frame arrives to
19070           the decoder, assuming until that very moment the whole pipeline is already
19071           negotiated. Particularly, it checks if the src pad needs to be reconfigured,
19072           as a consequence of a reconfiguration event from downstream.
19073           A key part of this patch is the new GstVaapiCapsFeature
19074           GST_VAAPI_CAPS_FEATURE_NOT_NEGOTIATED, which is returned when the src pad
19075           doesn't have a peer yet. Also, for a better report of the caps allowed
19076           through the src pad and its peer, this patch uses gst_pad_get_allowed_caps()
19077           instead of gst_pad_peer_query_caps() when looking for the preferred feature.
19078           v3: move the input_state unref to close(), since videodecoder resets at
19079           some events such as navigation.
19080           v4: a) the state_changed() callback replaces the input_state if the media
19081           changed, so this case is also handled.
19082           b) since the parameter ref_state in gst_vaapidecode_update_src_caps() is
19083           always the input_state, the parameter were removed.
19084           c) there were a lot of repeated code handling the input_state, so I
19085           refactored it with the function gst_vaapi_decode_input_state_replace().
19086           https://bugzilla.gnome.org/show_bug.cgi?id=744618
19087           Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
19088           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19089
19090 2015-02-24 17:14:33 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19091
19092         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
19093         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
19094           encoder: h264: add support for more than 2 views
19095           Add support for H.264 MVC Multiview High profile encoding with
19096           more than 2 views. All views within the same accesss unit are
19097           provided in increasing order of view order index (VOIdx).
19098           Upto 10 view are supported for now.
19099           A new property "view-ids" has been provided for the plugins to
19100           set the view ids (which is an array of guint values) to be used
19101           for mvc encoding.
19102           https://bugzilla.gnome.org/show_bug.cgi?id=732453
19103
19104 2015-02-23 16:55:36 +0100  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
19105
19106         * gst/vaapi/gstvaapipluginbase.c:
19107           plugins: upload meta only if feature and allocation
19108           Working on bug #743687, I realized that vaapidecode always adds to its buffer
19109           pool the config option GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META if
19110           the decide_allocation()'s query has GST_VIDEO_GL_TEXTURE_UPLOAD_META_API_TYPE.
19111           Nevertheless, there are occasions where the query has the API type, but the
19112           last negotiated caps don't have the feature meta:GstVideoGLTextureUploadMeta.
19113           Under this contradiction, vaapidecode adds the GLTextureUploadMeta API to its
19114           buffer pool configuration, and adds its buffer's meta to each output buffer,
19115           even if the negotiated caps feature is memory:SystemMemory with I420 color
19116           format.
19117           This kind of output buffers chokes ClutterAutoVideosSink, since it uses a map
19118           that relates caps <-> GL upload method. If it receives a buffer with color
19119           format I420, it assumes that it doesn't have a texture upload meta, because
19120           only those with RGB color format has it. Our buffers, with I420 format, say
19121           that they have the upload meta too. In that case the mapped method is a dummy
19122           one which does nothing. I reported this issue in bug #744039 (the patch,
19123           obviously, was rejected).
19124           This patch workarounds the problem: the buffer pool's configuration option
19125           GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META is set if and only if the
19126           query has the GST_VIDEO_GL_TEXTURE_UPLOAD_META_API_TYPE *and* the negotiated
19127           caps feature is meta:GstVideoGLTextureUploadMeta.
19128           I have tested these patches with gst-master (1.5), gst-1.4 and gst-1.2 and
19129           in all they seem to work correctly.
19130           https://bugzilla.gnome.org/show_bug.cgi?id=744618
19131           [adapted to fit current EGL changes]
19132           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19133
19134 2015-02-20 15:13:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19135
19136         * gst-libs/gst/vaapi/gstvaapitexture.c:
19137         * gst-libs/gst/vaapi/gstvaapitexture.h:
19138         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
19139         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
19140         * gst/vaapi/gstvaapivideometa_texture.c:
19141           plugins: add support for GstVideoGLTextureOrientation.
19142           Add support for GstVideoGLTextureOrientation modes. In particular,
19143           add orientation flags to the GstVaapiTexture wrapper and the GLX
19144           implementations. Default mode is that texture memory is laid out
19145           with top lines first, left row first. Flags indicate whether the
19146           X or Y axis need to be inverted.
19147
19148 2015-02-09 21:09:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19149
19150         * gst/vaapi/gstvaapidecode.c:
19151         * gst/vaapi/gstvaapipluginbase.c:
19152         * gst/vaapi/gstvaapipluginutil.c:
19153         * gst/vaapi/gstvaapipluginutil.h:
19154         * gst/vaapi/gstvaapipostproc.c:
19155         * gst/vaapi/gstvaapivideometa_texture.c:
19156           plugins: add support for BGRA textures.
19157           Some frameworks (EFL) expect BGRA textures for storage. However,
19158           adding support for that broadly into GStreamer framework  implies
19159           two kinds of hacks: (i) libgstgl helpers currently do not support
19160           BGRA textures correctly, (ii) we need to better parse downstream
19161           suggested caps and intersect them with what the VA plugin elements
19162           can offer to them for GL texturing.
19163
19164 2015-01-23 09:31:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19165
19166         * gst/vaapi/gstvaapipluginutil.c:
19167           plugins: fix support for Wayland/EGL running alongside X11.
19168           When multiple display servers are available, the glimagesink element
19169           (from GStreamer 1.4) may not be able to derive a global display in
19170           Wayland. Rather, a "window"-specific display is created. In this case,
19171           the GstGLDisplay handle available through GstGLContext is invalid.
19172           So, try to improve heuristics for display server characterisation in
19173           those particular situations.
19174
19175 2015-02-20 15:29:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19176
19177         * configure.ac:
19178         * gst/vaapi/Makefile.am:
19179         * gst/vaapi/gstvaapidecode.c:
19180         * gst/vaapi/gstvaapipluginbase.c:
19181         * gst/vaapi/gstvaapipluginutil.c:
19182         * gst/vaapi/gstvaapivideobufferpool.c:
19183         * gst/vaapi/gstvaapivideometa_texture.c:
19184           plugins: add initial support for EGL.
19185           Add initial support for EGL through GstVideoGLTextureUploadMeta.
19186           Fix gst_vaapi_ensure_display() to allocate a GstVaapiDisplay off the
19187           downstream supplied GstGLContext configuration, i.e. use its native
19188           display handle to create a GstVaapiDisplay of type X11 or Wayland ;
19189           and use the desired OpenGL API to allocate the GstVaapiDisplayEGL
19190           wrapper.
19191           https://bugzilla.gnome.org/show_bug.cgi?id=741079
19192
19193 2014-12-09 11:46:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19194
19195         * gst/vaapi/gstvaapivideometa_texture.c:
19196           plugins: track video texture size changes.
19197           Sync video texture sizes to GstVideoGLTextureUploadMeta private date,
19198           i.e. GstVaapiVideoMetaTexture, on a regular basis. In particular, we
19199           now update the texture size from the GstVideoMeta, if any, or reset
19200           to some defaults otherwise.
19201
19202 2014-12-03 15:45:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19203
19204         * gst/vaapi/gstvaapipluginbase.c:
19205         * gst/vaapi/gstvaapipluginbase.h:
19206         * gst/vaapi/gstvaapipluginutil.c:
19207           plugins: ensure VA display matches GL context expectations.
19208           If a GstGLContext is supplied by the downstream element, then make
19209           sure that the VA plugin element gets a compatible display to what
19210           is requested by the GL context. e.g. re-allocate a VA/GLX display
19211           when a GLX context is provided by the downstream element.
19212
19213 2014-12-03 14:14:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19214
19215         * configure.ac:
19216         * gst/vaapi/Makefile.am:
19217         * gst/vaapi/gstvaapipluginbase.c:
19218         * gst/vaapi/gstvaapipluginbase.h:
19219           plugins: record downstream GstGLContext.
19220           Record GL context supplied by downstream elements. This can be useful,
19221           and further needed, to enforce run-time check that the GL context is
19222           compatible for use by libgstvaapi. e.g. check that we don't create a
19223           VA/GLX display for EGL/X11 contexts.
19224           https://bugzilla.gnome.org/show_bug.cgi?id=725643
19225           Original-path-by: Matthew Waters <ystreet00@gmail.com>
19226
19227 2014-12-01 14:52:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19228
19229         * tests/Makefile.am:
19230         * tests/output.c:
19231           egl: update tests.
19232           Add initial support for EGL to tests. The new EGL backend can be selected
19233           through the --egl command line option. The OpenGL|ES version can further
19234           be selected with the --gles-version command line option, where the default
19235           of 0 means "desktop" OpenGL.
19236
19237 2015-01-27 16:21:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19238
19239         * gst-libs/gst/vaapi/Makefile.am:
19240         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
19241         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
19242         * gst-libs/gst/vaapi/gstvaapiutils_egl.h:
19243         * gst-libs/gst/vaapi/gstvaapiwindow_egl.c:
19244         * gst-libs/gst/vaapi/gstvaapiwindow_egl.h:
19245           egl: add windowing support.
19246           This provides for some basic EGL window abstraction.
19247
19248 2015-01-24 08:29:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19249
19250         * gst-libs/gst/vaapi/Makefile.am:
19251         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
19252         * gst-libs/gst/vaapi/gstvaapitexture_egl.c:
19253         * gst-libs/gst/vaapi/gstvaapitexture_egl.h:
19254           egl: add texture abstraction.
19255           Add GstVaapiTextureEGL abstraction that can create its own GL texture,
19256           or import a foreign allocated one, while still allowing updates from a
19257           VA surface.
19258
19259 2014-12-09 18:14:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19260
19261         * gst-libs/gst/vaapi/Makefile.am:
19262         * gst-libs/gst/vaapi/gstvaapisurface_egl.c:
19263         * gst-libs/gst/vaapi/gstvaapisurface_egl.h:
19264           egl: allow for EGLImage imports into VA Surfaces.
19265           Add helpers to import EGLImage objects into VA surfaces. There are
19266           two operational modes: (i) gst_vaapi_surface_new_from_egl_image(),
19267           which allows for implicit conversion from EGLImage to a VA surface
19268           in native video format, and (ii) gst_vaapi_surface_new_with_egl_image(),
19269           which exactly wraps the source EGLImage, typically in RGBA format
19270           with linear storage.
19271           Note: in case of (i), the EGLImage can be disposed right after the
19272           VA surface creation call, unlike in (ii) where the user shall ensure
19273           that the EGLImage is live until the associated VA surface is no longer
19274           needed.
19275           https://bugzilla.gnome.org/show_bug.cgi?id=743847
19276
19277 2015-02-20 15:27:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19278
19279         * configure.ac:
19280         * gst-libs/gst/vaapi/Makefile.am:
19281         * gst-libs/gst/vaapi/egl_compat.h:
19282         * gst-libs/gst/vaapi/egl_vtable.h:
19283         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19284         * gst-libs/gst/vaapi/gstvaapidisplay.h:
19285         * gst-libs/gst/vaapi/gstvaapidisplay_egl.c:
19286         * gst-libs/gst/vaapi/gstvaapidisplay_egl.h:
19287         * gst-libs/gst/vaapi/gstvaapidisplay_egl_priv.h:
19288         * gst-libs/gst/vaapi/gstvaapiutils_egl.c:
19289         * gst-libs/gst/vaapi/gstvaapiutils_egl.h:
19290         * gst-libs/gst/vaapi/ogl_compat.h:
19291           Add initial support for EGL.
19292           Add initial support for EGL to libgstvaapi core library. The target
19293           display server and the desired OpenGL API can be programmatically
19294           selected at run-time.
19295           A comprehensive set of EGL utilities are provided to support those
19296           dynamic selection needs, but also most importantly to ensure that
19297           the GL command stream is executed from within a single thread.
19298           https://bugzilla.gnome.org/show_bug.cgi?id=743846
19299
19300 2015-01-30 21:38:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19301
19302         * gst-libs/gst/vaapi/gstvaapivalue.c:
19303           libs: initialize GValues in a thread-safe manner.
19304
19305 2015-01-30 21:35:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19306
19307         * gst-libs/gst/vaapi/gstvaapivalue.c:
19308           libs: re-indent all GValue related source code.
19309
19310 2015-01-22 22:45:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19311
19312         * gst/vaapi/gstvaapidecode.c:
19313           vaapidecode: partially revert 0777f35.
19314           Reset the VA decoder after updating the base plugin caps, and most
19315           importantly, after GstVideoDecoder negotiation. The reason behind
19316           this is that the negotiation could trigger a last decide_allocation()
19317           where we could actually derive a new GstVaapiDisplay to use from the
19318           downstream element. e.g. GLX backend.
19319
19320 2015-02-19 13:37:09 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19321
19322         * gst/vaapi/gstvaapidecode.c:
19323           vaapidecode: Caps query should return the list of all supported caps.
19324           Query caps filtering should be always done on top of allowed caps instead
19325           of existing fixed caps on a particular pad.
19326           This fixes the mvc stream decoding when there is a base view(high profile)
19327           and non-base view(stereo-high profile).
19328
19329 2015-02-18 13:36:16 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
19330
19331         * gst/vaapi/gstvaapidecode.c:
19332           vaapidecode: intersect filter from query caps
19333           According to documentation[1] when receiving a GST_QUERY_CAPS
19334           the return value should be all formats that this elements supports,
19335           taking into account limitations of peer elements further downstream
19336           or upstream, sorted by order of preference, highest preference first.
19337           This patch add those limitations intersecting with the received
19338           filter in the query. Also takes into account the already negotiated
19339           caps. Also adds the processing of the query on the SRC pad.
19340           1. http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-nego-getcaps.html
19341           https://bugzilla.gnome.org/show_bug.cgi?id=744406
19342
19343 2015-02-18 11:46:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
19344
19345         * gst-libs/gst/vaapi/Makefile.am:
19346         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
19347         * gst-libs/gst/vaapi/gstvaapidecoder.c:
19348         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
19349         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19350         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
19351         * gst/vaapi/gstvaapivideomemory.c:
19352           Fix compiler warnings
19353           This patch fixes some warnings that gcc 4.9 reports.
19354           https://bugzilla.gnome.org/show_bug.cgi?id=744411
19355
19356 2015-02-18 11:22:21 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
19357
19358         * gst/vaapi/gstvaapidecode.c:
19359           vaapidecode: Use GST_DEBUG_FUNCPTR for gst_vaapidecode_query()
19360           Hence the function name is shown in the gst-inspect-1.0 information
19361           rather than the memory address.
19362           https://bugzilla.gnome.org/show_bug.cgi?id=744330
19363
19364 2015-02-18 11:21:35 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
19365
19366         * gst/vaapi/gstvaapidecode.c:
19367           vaapidecode: log flow error name
19368           https://bugzilla.gnome.org/show_bug.cgi?id=744387
19369
19370 2015-02-18 11:20:42 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
19371
19372         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
19373           VC1: decoder: Ignore VC1 user BDU's
19374           Don't return error if the processed BDU is a user one, just ignore them.
19375           https://bugzilla.gnome.org/show_bug.cgi?id=741237
19376           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19377
19378 2015-02-18 11:19:26 +0200  Olivier Crete <olivier.crete@collabora.com>
19379
19380         * gst/vaapi/gstvaapidecode.c:
19381         * gst/vaapi/gstvaapipluginbase.c:
19382           vaapidecode: Emit error GstMessage when returning a GST_FLOW_ERROR
19383           This is required in GStreamer, elements should never return
19384           GST_FLOW_ERROR without posting an ERROR message on the bus.
19385           https://bugzilla.gnome.org/show_bug.cgi?id=744620
19386
19387 2015-02-13 13:45:32 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19388
19389         * gst/vaapi/Makefile.am:
19390         * gst/vaapi/gstvaapi.c:
19391         * gst/vaapi/gstvaapiencode_vp8.c:
19392         * gst/vaapi/gstvaapiencode_vp8.h:
19393           plugins: Add VP8 Encoder
19394
19395 2015-02-13 13:42:04 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19396
19397         * gst-libs/gst/vaapi/Makefile.am:
19398         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.c:
19399         * gst-libs/gst/vaapi/gstvaapiencoder_vp8.h:
19400           Add VP8 Encoder to core libgstvaapi.
19401
19402 2015-02-13 13:40:19 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19403
19404         * configure.ac:
19405           configure: Add Check for VP8 Encoding API
19406
19407 2015-02-10 11:40:16 +0200  Lim Siew Hoon <siew.hoon.lim@intel.com>
19408
19409         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
19410           decoder: vc1: Rounding control handling for VC1 simple and Main profile
19411           Added rounding control handling for VC1 simple and Main profile
19412           based on VC1 standard spec: section 8.3.7
19413           https://bugzilla.gnome.org/show_bug.cgi?id=743958
19414           Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
19415           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19416
19417 2015-02-06 12:10:51 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19418
19419         * gst/vaapi/Makefile.am:
19420           build: fix make dist when certain conditionals not met.
19421           Fix typo which was preventing the inclusion of jpeg encoder
19422           source files from make dist (when there is no jpeg encoder
19423           API support in libva).
19424
19425 2015-02-05 13:08:53 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19426
19427         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
19428           encoder: jpeg: Fix the sampling factor calculation for ENCODED format.
19429           If the incoming raw video format is GST_VIDEO_FORMAT_ENCODED,
19430           use native YUV420 format (which is i420) as default.
19431
19432 2015-02-05 12:13:38 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19433
19434         * gst-libs/gst/vaapi/gstvaapiencoder.c:
19435           encoder: Only support YUV420 native format as input for now
19436           Practically we should be able to support more formats, for eg:
19437           JPEG Encoder can support YUV422, RGBA and all.
19438           But this is causing more issues which need proper fix here and there.
19439
19440 2015-02-04 18:34:59 +0200  Olivier Crete <olivier.crete@collabora.com>
19441
19442         * gst-libs/gst/vaapi/gstvaapidecoder.h:
19443         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
19444         * gst/vaapi/gstvaapidecode.c:
19445           vaapidecode: Check the condition after taking the lock
19446           Otherwise the condition could become true before the lock
19447           is taken and the g_cond_signal() could be called
19448           before the g_cond_wait(), so the g_cond_wait() is never
19449           awoken.
19450           https://bugzilla.gnome.org/show_bug.cgi?id=740645
19451
19452 2015-02-04 11:18:29 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19453
19454         * gst/vaapi/Makefile.am:
19455         * gst/vaapi/gstvaapi.c:
19456         * gst/vaapi/gstvaapiencode_jpeg.c:
19457         * gst/vaapi/gstvaapiencode_jpeg.h:
19458           plugins: Add JPEG encoder element
19459
19460 2015-02-04 11:17:58 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19461
19462         * gst-libs/gst/vaapi/gstvaapicontext.c:
19463           gstvaapicontext: Add VAConfigAttribValEncJPEG to the attribute list using for VAConfig creation.
19464
19465 2015-02-04 11:17:27 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19466
19467         * gst-libs/gst/vaapi/gstvaapicontext.c:
19468           gstvaapicontext: Don't use the unsupported Ratecontrol attributes for vaCreateConfig
19469           Don't add the VAConfigAttribRateControl to the attribute list using
19470           for the vaCreateConfig if it is not supported by the driver.
19471
19472 2015-02-04 11:17:06 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19473
19474         * gst-libs/gst/vaapi/gstvaapiencoder.c:
19475           gstvaapiencoder: Use hardcoded packed_raw_data flag for JPEG Encoding
19476
19477 2015-02-04 11:16:37 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19478
19479         * gst-libs/gst/vaapi/gstvaapiencoder.c:
19480           gstvaapiencoder: Fix crash when handling rate control mask
19481           Having a ratecontrol_mask equal to zero is not a bug, but the driver
19482           might not be supporting any kind of rate control mechanisms.
19483           Eg: JPEG Encoding
19484
19485 2015-02-04 11:16:05 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19486
19487         * gst-libs/gst/vaapi/Makefile.am:
19488         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c:
19489         * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.h:
19490           encoder: Add JPEG Encoder
19491
19492 2015-02-04 11:15:38 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19493
19494         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
19495         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
19496           encoder_objects: Add QuantizationMatrix and JPEGHuffmanTable
19497
19498 2015-02-04 11:15:00 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19499
19500         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19501         * gst-libs/gst/vaapi/gstvaapiencoder.c:
19502         * gst-libs/gst/vaapi/gstvaapiprofile.c:
19503         * gst-libs/gst/vaapi/gstvaapiprofile.h:
19504           Encode: Add support for Picture level Entrypoint
19505           This is useful for JPEG encoding which is utilizing picture level
19506           entrypoint instead of slice level entrypoint like h264,mpeg2 etc.
19507
19508 2015-02-04 11:14:15 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19509
19510         * configure.ac:
19511           configure: Add Check for JPEG encoding API
19512
19513 2015-02-03 13:08:53 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19514
19515         * AUTHORS:
19516           AUTHORS: Updates
19517
19518 2015-02-03 13:08:01 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19519
19520         * configure.ac:
19521           Bump version for development.
19522
19523 === release 0.5.10 ===
19524
19525 2015-02-03 10:00:42 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19526
19527         * configure.ac:
19528           0.5.10
19529
19530 2015-02-03 10:00:23 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19531
19532         * NEWS:
19533           NEWS: Updates
19534
19535 2015-02-02 11:43:58 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19536
19537         * gst/vaapi/gstvaapivideometa_texture.c:
19538           Fix compilation error if there is no GL/gl.h header file installed
19539
19540 2015-01-28 18:09:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19541
19542         * gst/vaapi/gstvaapivideomemory.h:
19543           plugins: drop leftover declaration.
19544           GstVaapiVideoMemory quark is not needed any more, and the actual
19545           implementation was already removed bfore the merge. i.e. this is
19546           an oversight for a hunk that was not meant to be pushed.
19547
19548 2015-01-26 18:30:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19549
19550         * gst/vaapi/gstvaapipluginbase.c:
19551         * gst/vaapi/gstvaapivideobufferpool.c:
19552         * gst/vaapi/gstvaapivideobufferpool.h:
19553         * gst/vaapi/gstvaapivideomemory.c:
19554         * gst/vaapi/gstvaapivideomemory.h:
19555           plugins: add support for dma_buf exports (v4l2src).
19556           Allow v4l2src element to connected to vaapipostproc or vaapisink when
19557           "io-mode" is set to "dmabuf-import". In practice, this is a more likely
19558           operational mode with uvcvideo. Supporting v4lsrc with "io-mode" set
19559           to "dmabuf" could work, but with more demanding driver or kernel reqs.
19560           Note: with GStreamer 1.4, v4l2src (gst-plugins-good) needs to be built
19561           with --without-libv4l2.
19562           https://bugzilla.gnome.org/show_bug.cgi?id=743635
19563
19564 2014-01-23 05:00:09 -0500  Wind Yuan <feng.yuan@intel.com>
19565
19566         * configure.ac:
19567         * gst/vaapi/Makefile.am:
19568         * gst/vaapi/gstvaapipluginbase.c:
19569           plugins: add support for dma_buf imports.
19570           Allow imports of v4l2 buffers into VA surfaces for further operation
19571           with vaapi plugins, e.g. vaapipostproc or vaapiencode_* elements.
19572           https://bugzilla.gnome.org/show_bug.cgi?id=735362
19573           [fixed memory leaks, ported to new dma_buf infrastructure, cleanups]
19574           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19575
19576 2014-09-15 15:27:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19577
19578         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
19579         * gst-libs/gst/vaapi/gstvaapisurface_drm.h:
19580           surface: add support for GEM buffer imports.
19581           Add support for GEM buffer imports. This is useful for VA/EGL interop
19582           with legacy Mesa implementations, or when it is desired or required to
19583           support outbound textures for instance.
19584           https://bugzilla.gnome.org/show_bug.cgi?id=736718
19585
19586 2014-09-15 15:25:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19587
19588         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
19589         * gst-libs/gst/vaapi/gstvaapisurface_drm.h:
19590           surface: add support for dma_buf imports.
19591           Add new gst_vaapi_surface_new_with_dma_buf_handle() helper function
19592           to allow for creating VA surfaces from a foreign DRM PRIME fd. The
19593           resulting VA surface owns the supplied buffer handle.
19594           https://bugzilla.gnome.org/show_bug.cgi?id=735362
19595
19596 2015-01-27 11:19:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19597
19598         * gst-libs/gst/vaapi/gstvaapisurface.c:
19599         * gst-libs/gst/vaapi/gstvaapisurface.h:
19600         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
19601           surface: add initial support for foreign buffer imports.
19602           Add gst_vaapi_surface_new_from_buffer_proxy() helper function to
19603           create a VA surface from an external buffer provided throug the
19604           new GstVaapiBufferProxy object.
19605
19606 2014-09-15 13:47:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19607
19608         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
19609         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
19610         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
19611         * gst-libs/gst/vaapi/gstvaapisurface_drm.h:
19612           surface: add support for GEM buffer exports.
19613           Add support for GEM buffer exports. This will only work with VA drivers
19614           based off libdrm, e.g. the Intel HD Graphics VA driver. This is needed
19615           to support interop with EGL and the "Desktop" GL specification. Indeed,
19616           the EXT_image_dma_buf_import extension is not going to be supported in
19617           Desktop GL, due to the lack of support for GL_TEXTURE_EXTERNAL_OES targets
19618           there.
19619           This is useful for implementing VA/EGL interop with legacy Mesa stacks,
19620           in Desktop OpenGL context.
19621           https://bugzilla.gnome.org/show_bug.cgi?id=736717
19622
19623 2014-09-15 11:48:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19624
19625         * gst-libs/gst/vaapi/Makefile.am:
19626         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
19627         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
19628         * gst-libs/gst/vaapi/gstvaapisurface_drm.c:
19629         * gst-libs/gst/vaapi/gstvaapisurface_drm.h:
19630           surface: add support for dma_buf exports.
19631           Use the new VA buffer export APIs to allow for a VA surface to be
19632           exposed as a plain PRIME fd. This is in view to simplifying interop
19633           with EGL or OpenCL for instance.
19634           https://bugzilla.gnome.org/show_bug.cgi?id=735364
19635
19636 2014-09-15 10:58:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19637
19638         * gst-libs/gst/vaapi/Makefile.am:
19639         * gst-libs/gst/vaapi/gstvaapibufferproxy.c:
19640         * gst-libs/gst/vaapi/gstvaapibufferproxy.h:
19641         * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h:
19642           Add abstraction for exported VA buffers.
19643           The VA buffer export APIs work for a particular lifetime starting from
19644           vaAcquireBufferHandle() and ending with vaReleaseBufferHandle(). As such,
19645           it could be much more convenient to support implicit releases by simply
19646           having a refcount reaching zero.
19647           https://bugzilla.gnome.org/show_bug.cgi?id=736721
19648
19649 2015-01-28 18:25:09 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19650
19651         * gst-libs/gst/vaapi/Makefile.am:
19652           Add missing header file to Makefile
19653           Add gstvaapitexture_glx.h to Makefile.am
19654
19655 2015-01-27 11:44:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19656
19657         * gst-libs/gst/vaapi/gstvaapicontext.c:
19658         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
19659         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
19660         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
19661         * gst/vaapi/gstvaapipostproc.c:
19662         * gst/vaapi/gstvaapiuploader.c:
19663         * gst/vaapi/gstvaapivideobufferpool.c:
19664         * gst/vaapi/gstvaapivideomemory.c:
19665         * gst/vaapi/gstvaapivideomemory.h:
19666         * tests/test-surfaces.c:
19667           videopool: add optional flags for surface pool allocation.
19668           Reword surface pool allocation helpers so that to allow for a simple
19669           form, e.g. gst_vaapi_surface_pool_new(format, width, height); and a
19670           somewhat more elaborated/flexible form with optional allocation flags
19671           and precise GstVideoInfo specification.
19672           This is an API/ABI change, and SONAME version needs to be bumped.
19673
19674 2015-01-26 23:21:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19675
19676         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
19677         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
19678         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
19679         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
19680         * gst-libs/gst/vaapi/gstvaapivideopool.c:
19681         * gst-libs/gst/vaapi/gstvaapivideopool.h:
19682         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
19683           videopool: re-indent all GstVaapiVideoPool related source code.
19684
19685 2014-12-10 20:13:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19686
19687         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
19688         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
19689           window: add toplevel display indirection for visualid and colormap.
19690           Add GstVaapiDisplay::get_{visual_id,colormap}() helpers to help determine
19691           the best suitable window visual id and colormap. This is an indirection in
19692           view to supporting EGL and custom/generic replacements.
19693
19694 2014-12-10 19:58:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19695
19696         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
19697         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
19698         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
19699         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
19700           window: add toplevel API to determine the colormap.
19701           Add GstVaapiWindowClass::get_colormap() hook to help determine the
19702           currently active colormap bound to the supplied window, or actually
19703           create it if it does not already exist yet.
19704
19705 2014-12-10 19:36:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19706
19707         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
19708         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
19709         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
19710         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
19711         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
19712         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
19713           window: add toplevel API to determine a visual id.
19714           Add GstVaapiWindowClass::get_visual_id() function hook to help find
19715           the best suitable visual id for the supplied window. While doing so,
19716           also simplify the process by which an X11 window is created with a
19717           desired Visual, i.e. now use a visual id instead of a Visual object.
19718
19719 2014-12-10 18:12:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19720
19721         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
19722         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
19723         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
19724         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
19725         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
19726         * gst-libs/gst/vaapi/gstvaapiwindow.c:
19727         * gst-libs/gst/vaapi/gstvaapiwindow.h:
19728         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
19729         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
19730         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
19731         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
19732         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
19733           window: add generic helper to create windows.
19734           Add a new generic helper function gst_vaapi_window_new() to create
19735           a window without having the caller to check for the display type
19736           himself. i.e. internally, there is now a GstVaapiDisplayClass hook
19737           to create windows, and the actual backend implementation fills it in.
19738           Add new generic helper functions gst_vaapi_texture_new_wrapped()
19739           This is a simplification in view to supporting EGL.
19740
19741 2014-12-03 11:39:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19742
19743         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19744         * gst-libs/gst/vaapi/gstvaapidisplay.h:
19745         * gst-libs/gst/vaapi/gstvaapitexture.c:
19746         * gst/vaapi/gstvaapivideometa_texture.c:
19747           display: add utility function to check for OpenGL rendering.
19748           Add gst_vaapi_display_has_opengl() helper function to help determining
19749           whether the display can support OpenGL context to be bound to it, i.e.
19750           if the class is of type GST_VAAPI_DISPLAY_TYPE_GLX.
19751
19752 2014-12-10 18:02:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19753
19754         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19755         * gst-libs/gst/vaapi/gstvaapidisplay.h:
19756         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
19757         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
19758         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
19759         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
19760         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
19761         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
19762         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
19763         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
19764         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
19765         * gst/vaapi/gstvaapipluginutil.c:
19766         * gst/vaapi/gstvaapivideobuffer.c:
19767         * gst/vaapi/gstvaapivideometa_texture.c:
19768           display: refine the meaning of display type.
19769           Make gst_vaapi_display_get_display_type() return the actual VA display
19770           type. Conversely, add a gst_vaapi_display_get_class_type() function to
19771           return the type of the GstVaapiDisplay instance. The former is used to
19772           identify the display server onto which the application is running, and
19773           the latter to identify the original object class.
19774
19775 2014-12-02 11:23:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19776
19777         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19778         * gst-libs/gst/vaapi/gstvaapidisplay.h:
19779         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
19780         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
19781         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
19782         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
19783           display: cosmetics (helper macros, new internal API names).
19784           Add more helper macros to the top-level GstVaapiDisplay interfaces.
19785           Rename a few others used internally for improved consistency.
19786
19787 2014-12-01 17:08:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19788
19789         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19790         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
19791         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
19792         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
19793         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
19794         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
19795         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
19796         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
19797           display: record native display object.
19798           Record the underlying native display instance into the toplevel
19799           GstVaapiDisplay object. This is useful for fast lookups to the
19800           underlying native display, e.g. for creating an EGL display.
19801
19802 2014-12-01 16:54:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19803
19804         * gst-libs/gst/vaapi/gstvaapidisplay.c:
19805         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
19806         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
19807           display: use a recursive mutex for the display cache.
19808           Use a recursive mutex for the display cache so that a 3rdparty display
19809           object could be initialized during the initialization of the parent
19810           display.
19811
19812 2014-12-04 14:36:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19813
19814         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
19815         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
19816         * gst-libs/gst/vaapi/gstvaapitexture.c:
19817         * gst-libs/gst/vaapi/gstvaapitexture.h:
19818         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
19819         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
19820           texture: add generic helper to create textures.
19821           Add new generic helper functions gst_vaapi_texture_new_wrapped()
19822           and gst_vaapi_texture_new() to create a texture without having
19823           the caller to uselessly check for the display type himself. i.e.
19824           internally, there is now a GstVaapiDisplayClass hook to create
19825           textures, and the actual backend implementation fills it in.
19826           This is a simplification in view to supporting EGL.
19827
19828 2014-10-23 17:44:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19829
19830         * gst-libs/gst/vaapi/Makefile.am:
19831         * gst-libs/gst/vaapi/gstvaapitexture.c:
19832         * gst-libs/gst/vaapi/gstvaapitexture.h:
19833         * gst-libs/gst/vaapi/gstvaapitexture_glx.c:
19834         * gst-libs/gst/vaapi/gstvaapitexture_glx.h:
19835         * gst-libs/gst/vaapi/gstvaapitexture_priv.h:
19836         * gst/vaapi/gstvaapivideoconverter_glx.c:
19837         * gst/vaapi/gstvaapivideometa_texture.c:
19838         * tests/test-textures.c:
19839           texture: move to core libgstvaapi base library.
19840           GstVaapiTexture is a generic abstraction that could be moved to the
19841           core libgstvaapi library. While doing this, no extra dependency needs
19842           to be added. This means that a GstVaapitextureClass is now available
19843           for any specific code that needs to be added, e.g. creation of the
19844           underlying GL texture objects, or backend dependent ways to upload
19845           a surface to the texture object.
19846           Generic OpenGL data types (GLuint, GLenum) are also replaced with a
19847           plain guint.
19848           https://bugzilla.gnome.org/show_bug.cgi?id=736715
19849
19850 2014-10-23 13:11:54 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19851
19852         * configure.ac:
19853         * gst-libs/gst/vaapi/Makefile.am:
19854         * gst-libs/gst/vaapi/gstvaapicompat.h:
19855         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
19856         * gst-libs/gst/vaapi/gstvaapitexture.c:
19857           texture: drop support for VA/GLX interfaces.
19858           The VA/GLX interfaces are obsolete. They used to exist for XvBA, and
19859           ease of use, but they had other caveats to deal with. It's now better
19860           to move on to legacy mode, whereby VA/GLX interop is two be provided
19861           through (i) X11 Pixmap, and (ii) other modern means of buffer sharing.
19862           https://bugzilla.gnome.org/show_bug.cgi?id=736711
19863
19864 2014-10-23 11:56:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19865
19866         * gst-libs/gst/vaapi/gstvaapitexture.c:
19867         * gst-libs/gst/vaapi/gstvaapitexture.h:
19868         * gst/vaapi/gstvaapivideoconverter_glx.c:
19869         * gst/vaapi/gstvaapivideometa_texture.c:
19870         * tests/test-textures.c:
19871           texture: add support for cropping rectangle during transfer.
19872           The gst_vaapi_texture_put_surface() function is missing a crop_rect
19873           argument that would be used during transfer for cropping the source
19874           surface to the desired dimensions.
19875           Note: from a user point-of-view, he should create the GstVaapiTexture
19876           object with the cropped size. That's the default behaviour in software
19877           decoding pipelines that we need to cope with.
19878           This is an API/ABI change, and SONAME version needs to be bumped.
19879           https://bugzilla.gnome.org/show_bug.cgi?id=736712
19880
19881 2014-10-23 11:22:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19882
19883         * gst-libs/gst/vaapi/gstvaapitexture.c:
19884         * gst-libs/gst/vaapi/gstvaapitexture.h:
19885           texture: re-indent all GstVaapiTexture related source code.
19886
19887 2015-01-27 11:16:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19888
19889         * gst-libs/gst/vaapi/gstvaapisurface.c:
19890         * gst-libs/gst/vaapi/gstvaapisurface.h:
19891           surface: add more fine-grained allocation helper.
19892           Add new gst_vaapi_surface_new_full() helper function that allocates
19893           VA surface from a GstVideoInfo template in argument. Additional flags
19894           may include ways to
19895           - allocate linear storage (GST_VAAPI_SURFACE_ALLOC_FLAG_LINEAR_STORAGE) ;
19896           - allocate with fixed strides (GST_VAPI_SURFACE_ALLOC_FLAG_FIXED_STRIDES) ;
19897           - allocate with fixed offsets (GST_VAAPI_SURFACE_ALLOC_FLAG_FIXED_OFFSETS).
19898
19899 2014-09-15 14:57:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19900
19901         * gst-libs/gst/vaapi/gstvaapisurface.c:
19902         * gst-libs/gst/vaapi/gstvaapisurface.h:
19903         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
19904           surface: re-indent all GstVaapiSurface related source code.
19905
19906 2015-01-23 16:44:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19907
19908         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
19909         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
19910           surfaceproxy: add helper to create a wrapped surface object.
19911           Add new gst_vaapi_surface_proxy_new() helper to wrap a surface into
19912           a proxy. The main use case for that is to convey additional information
19913           at the proxy level that would not be suitable to the plain surface.
19914
19915 2015-01-23 16:37:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19916
19917         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
19918         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
19919         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
19920           surfaceproxy: re-indent all GstVaapiSurfaceProxy related source code.
19921
19922 2015-01-27 18:02:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19923
19924         * configure.ac:
19925           libs: bump library major version.
19926
19927 2014-12-04 14:36:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19928
19929         * gst-libs/gst/vaapi/gstvaapitypes.h:
19930           libs: re-introduce a GST_VAAPI_ID_INVALID value.
19931           Re-introduce a GST_VAAPI_ID_INVALID value that represents
19932           a non-zero and invalid id. This is useful to have a value
19933           that is still invalid for cases where zero could actually
19934           be a valid value.
19935
19936 2014-12-02 16:51:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19937
19938         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
19939         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
19940           libs: expose GstVaapiMiniObject APIs to all backends.
19941           Make it possible to have all libgstvaapi backends (libs) access to a
19942           common GstVaapiMiniObject API and implementation. This is a minor step
19943           towards full exposure when needed, but restrict it to libgstvaapi at
19944           this time.
19945
19946 2014-12-02 14:15:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
19947
19948         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
19949         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
19950         * gst-libs/gst/vaapi/gstvaapiobject.c:
19951         * gst-libs/gst/vaapi/gstvaapiobject.h:
19952         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
19953           libs: re-indent all GstVaapiObject related source code.
19954           Re-indent and provide additional minor cosmetical changes to the
19955           GstVaapiMiniObject and GstVaapiObject source files.
19956
19957 2015-01-27 16:25:21 +0200  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
19958
19959         * gst/vaapi/gstvaapipluginutil.c:
19960           pluginutil: Fix clearing of subtitle overlay
19961           dvbsuboverlay signals no subtitles present by not setting
19962           GstVideoOverlayCompositionMeta on a buffer.
19963           Detect this, and remove subtitles whenever we have no overlay composition to
19964           hand.
19965           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
19966
19967 2015-01-27 16:06:02 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
19968
19969         * gst/vaapi/gstvaapipostproc.c:
19970           vaapipostproc: clear state on stop
19971           Otherwise restarting may fail because the state of vaapipluginbase and
19972           vaapipostproc don't match. e.g. gst_vaapipostproc_set_caps() will skip
19973           initailization and not call gst_vaapi_plugin_base_set_caps()
19974
19975 2015-01-27 14:50:12 +0200  Michael Olbrich <m.olbrich@pengutronix.de>
19976
19977         * gst/vaapi/gstvaapidecode.c:
19978           vaapidecode: don't print an error message for GST_FLOW_FLUSHING
19979
19980 2015-01-27 12:38:45 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19981
19982         * gst-libs/gst/vaapi/gstvaapiencoder.c:
19983           gstvaapiencoder: Fix the negotiation issue with _ENCODED format handling
19984           Don't error out for the video format GST_VIDEO_FORMAT_ENCODED with in gstvaapiencoder,
19985           since the vaaapi context creation (gstvaapicontext.c) can still use the
19986           default chroma type which is YUV420.
19987           https://bugzilla.gnome.org/show_bug.cgi?id=743567
19988           https://bugzilla.gnome.org/show_bug.cgi?id=743035
19989
19990 2015-01-21 18:31:22 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19991
19992         * patches/videoparsers/0003-h264parse-add-initial-support-for-MVC-NAL-units.patch:
19993         * patches/videoparsers/series.frag:
19994           h264parse: drop patches merged upstream.
19995           0003-h264parse-add-initial-support-for-MVC-NAL-units.patch
19996
19997 2015-01-21 18:26:12 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
19998
19999         * ext/codecparsers:
20000           codecparsers: update to gst-vaapi-branch commit d3b5c1b
20001           8194cac: h264parse: parse SPS subset
20002           64b7f52: h264parse: expose stereo-high profile
20003           774360a: h264parse: add initial support for MVC NAL units
20004           258478f: h264parser: fix stack smashing
20005
20006 2015-01-19 11:30:12 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20007
20008         * gst/vaapi/gstvaapivideometa_texture.c:
20009           Fix compilation error if there is no GL/gl.h header file installed
20010
20011 2015-01-15 16:23:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20012
20013         * gst/vaapi/gstvaapidecode.c:
20014           vaapidecode: commit updated srcpad caps to base plugin.
20015           Make sure that the GstVaapiPluginBase instance receives the new src
20016           pad caps whenever they get updated from within the GstVaapiDecoder
20017           decode routines.
20018           This also ensures that downstream elements receive correctly sized
20019           SW decoded buffers if needed.
20020           https://bugs.tizen.org/jira/browse/TC-114
20021
20022 2015-01-15 16:19:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20023
20024         * gst/vaapi/gstvaapidecode.c:
20025           vaapidecode: always reset decoder on ::set_format().
20026           Split GstVideoDecoder::set_format() handler to first update the sink
20027           pad caps and reset the active VA decoder instance based on those, and
20028           then update the src pad caps whenever possible, e.g. when the caps
20029           specify a valid video resolution.
20030
20031 2015-01-15 16:14:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20032
20033         * gst/vaapi/gstvaapivideomemory.c:
20034           vaapivideomemory: don't crash when trying to allocate 0x0 images.
20035           In some occasions, a buffer pool is created for pre-initialization
20036           purposes regardless of whether a valid image size is available or
20037           not. However, during actual decode stage, the vaapidecode element
20038           is expected to update the srcpad caps with the new dimensions, thus
20039           also triggering a reset of the underlying bufferpool.
20040
20041 2015-01-15 00:00:16 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20042
20043         * ext/codecparsers:
20044           codecparsers: update to gst-vaapi-branch commit 191cb2f
20045           347605a: h264parse: expose compatible profiles to downstream
20046           d1ea97e: h264parse: Fix periodic SPS/PPS sending work after a seek
20047           24a3126: Revert "h264parse: expose compatible profiles to downstream"
20048           8661740: h264parse: expose compatible profiles to downstream
20049           8b7ef3f: codecparsers: fix some compiler warnings
20050
20051 2014-11-27 12:11:03 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20052
20053         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
20054           encoder: h264: Fix the period between I/P frames
20055           If the key-frame period is set as one, then ip_period shuld be zero
20056           https://bugzilla.gnome.org/show_bug.cgi?id=734992
20057
20058 2014-11-27 11:21:03 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20059
20060         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
20061           encoder: h264: Provide intra_idr_period value for VAEncSequenceParameterBufferH264
20062           https://bugzilla.gnome.org/show_bug.cgi?id=734993
20063
20064 2014-11-27 11:14:50 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20065
20066         * gst/vaapi/gstvaapisink.c:
20067           vaapisink: Protect the X11 API invokations with proper locking
20068           https://bugzilla.gnome.org/show_bug.cgi?id=739808
20069
20070 2014-11-27 11:13:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20071
20072         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
20073           encoder: h264: fix pixel-aspect-ratio in encoded stream.
20074           Really report sample aspect ratio (SAR) as present, and make it match
20075           what we have obtained from the user as pixel-aspect-ratio (PAR). i.e.
20076           really make sure VUI parameter aspect_ratio_info_present_flag is set
20077           to TRUE and that the indication from aspect_ratio_idc is Extended_SAR.
20078           This is a leftover from git commit a12662f.
20079           https://bugzilla.gnome.org/show_bug.cgi?id=740360
20080
20081 2014-11-25 11:46:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20082
20083         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
20084           decoder: mpeg4: fix uninitialized variables.
20085           Fix gst_vaapi_decoder_mpeg4_parse() to initialize the packet type to
20086           GST_MPEG4_USER_DATA so that a parse error would result in skipping
20087           that packet. Also fix gst_vaapi_decoder_mpeg4_decode_codec_data() to
20088           initialize status to GST_VAAPI_DECODER_STATUS_SUCCESS.
20089
20090 2014-11-25 11:41:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20091
20092         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
20093           encoder: h264: fix profile limits.
20094           Fix ensure_profile_limits() to lower profile to the desired limits,
20095           only if the latter are actually known and the profile needed to be
20096           changed to fit.
20097
20098 2014-11-24 15:14:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20099
20100         * gst/vaapi/gstvaapipostproc.c:
20101           vaapipostproc: fix out caps for GLMemory.
20102           If the best downstream capsfeature turns out to be GLMemory, then make
20103           sure to propagate RGBA video format in caps to that element. This fixes
20104           the following pipeline: ... ! vaapipostproc ! glimagesink.
20105
20106 2014-11-24 14:25:33 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20107
20108         * gst/vaapi/gstvaapipostproc.c:
20109           vaapipostproc: fix check for compatible src pad capsfilters.
20110           When an explicit output video format is selected, from an src pad
20111           capsfilter, make sure that the downstream element actually supports
20112           that format. In particular, fix crash with the following pipelines:
20113           ... ! vaapipostproc ! video/x-raw,format=XXX ! xvimagesink ; where
20114           XXX is a format not supported by xvimagesink.
20115           While doing so, also reduce the set of src pad filter caps to the
20116           actual set of allowed src pad caps.
20117
20118 2014-11-24 14:10:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20119
20120         * gst/vaapi/gstvaapipostproc.c:
20121         * gst/vaapi/gstvaapipostproc.h:
20122         * gst/vaapi/gstvaapiuploader.c:
20123         * gst/vaapi/gstvaapiuploader.h:
20124           plugins: re-indent all video processing related source code.
20125
20126 2014-11-24 13:20:33 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20127
20128         * gst/vaapi/gstvaapivideomemory.c:
20129           plugins: further fixes to the new "current" storage tracker.
20130           The ensure_surface() and ensure_image() functions shall only relate
20131           to the underlying backing store. The actual current flags are to be
20132           updated only through ensure_{surface,image}_is_current() or very other
20133           particular cases in GstMemory hooks.
20134
20135 2014-11-21 15:43:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20136
20137         * gst/vaapi/gstvaapivideomemory.c:
20138           plugins: fix "current" video memory flags.
20139           If the surface proxy is updated into the GstVaapiVideoMemory, then
20140           it is assumed it is the most current representation of the current
20141           video frame. Likewise, make a few more arrangements to have the
20142           "current " flags set more consistently.
20143
20144 2014-11-21 15:23:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20145
20146         * gst/vaapi/gstvaapivideomemory.c:
20147         * gst/vaapi/gstvaapivideomemory.h:
20148         * gst/vaapi/gstvaapivideometa.c:
20149           plugins: ensure VA surface is current prior to using it.
20150           When interacting with SW elements, the buffers and underlying video
20151           memory could be mapped as read/write. However, we need to use those
20152           buffers again as plain VA surfaces, we have to make sure the VA image
20153           is thus committed back to VA surface memory.
20154           This fixes pipelines involving avdec_* and vaapi{postproc,sink}.
20155
20156 2013-07-12 06:34:15 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
20157
20158         * gst/vaapi/gstvaapivideomemory.c:
20159           plugins: enable memory maps for read & write.
20160           Hence vaapisink can display buffers decoded by gst-libav, or HW decoded
20161           buffers can be further processed in-place, e.g. with a textoverlay.
20162           https://bugzilla.gnome.org/show_bug.cgi?id=704078
20163           [ported to current git master branch, amended commit message]
20164           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20165
20166 2014-11-18 14:57:02 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20167
20168         * gst/vaapi/gstvaapidecode.c:
20169         * gst/vaapi/gstvaapipluginutil.c:
20170         * gst/vaapi/gstvaapipluginutil.h:
20171         * gst/vaapi/gstvaapipostproc.c:
20172           plugins: preserve framerate when updating src caps video format.
20173           In the current implementation, gst_video_info_set_format() would reset
20174           the whole GstVideoInfo structure first, prior to setting video format
20175           and size. So, coleteral information like framerate or pixel-aspect-
20176           ratio are lost.
20177           Provide and use a unique gst_video_info_change_format() for overcome
20178           this issue, i.e. only have it change the format and video size, and
20179           copy over the rest of the fields.
20180           https://bugzilla.gnome.org/show_bug.cgi?id=734665
20181
20182 2014-11-18 14:07:57 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20183
20184         * gst/vaapi/gstvaapi.c:
20185           vaapidecode: increase the rank to GST_RANK_PRIMARY + 1
20186           This is for helping decodebin to autoplug the vaapidecode element.
20187           Decodebin is selecting decoder elements only based on rank and caps.
20188           Without overriding the autoplug-* signals there is no way to autoplug
20189           HW decoders inside decodebin. An easier soulution is to raise the
20190           rank of vaapidecode, so that it gets selected first.
20191           https://bugzilla.gnome.org/show_bug.cgi?id=739332
20192
20193 2014-11-12 07:46:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20194
20195         * gst-libs/gst/vaapi/gstvaapiprofile.c:
20196         * gst/vaapi/gstvaapidecode.c:
20197           vaapidecode: only expose supported profiles when needed.
20198           JPEG and VP8 codecs do not really support the concept of "profile". So,
20199           don't try to expose any set that wouldn't be supported by jpegparse, or
20200           ivfparse for instance.
20201           https://bugzilla.gnome.org/show_bug.cgi?id=739713
20202           https://bugzilla.gnome.org/show_bug.cgi?id=739714
20203
20204 2014-11-13 15:13:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20205
20206         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
20207         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
20208         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
20209         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
20210           decoder: h264: add initial support for repeat-first-field (RFF) flag.
20211           Use the SEI pic_timing() message to track and propagate down the repeat
20212           first field (RFF) flag. This is only initial support as there is one
20213           other condition that could induce the RFF flag, which is not handled
20214           yet.
20215
20216 2014-11-13 15:05:19 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20217
20218         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
20219           decoder: h264: fix picture ordering count type 0 with previous MMCO5.
20220           Fix the decoding process for picture order count type 0 when the previous
20221           picture had a memory_management_control_operation = 5. In particular, fix
20222           the actual variable type for prev_pic_structure to hold the full bits of
20223           the picture structure.
20224           In practice, this used to work though, due to the underlying type used to
20225           express a gboolean.
20226
20227 2014-11-13 15:00:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20228
20229         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
20230           decoder: h264: fix detection of top-field-first (TFF) flag.
20231           Use the SEI pic_timing() message to track the pic_struct variable when
20232           present, or infer it from the regular slice header flags field_pic_flag
20233           and bottom_field_flag. This fixes temporal sequence ordering when the
20234           output pictures are to be displayed.
20235           https://bugzilla.gnome.org/show_bug.cgi?id=739291
20236
20237 2014-11-14 09:54:02 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20238
20239         * ext/codecparsers:
20240           codecparsers: update to gst-vaapi-branch commit 3d05d9f.
20241           1241840 h264: fix derivation of MaxPicNum variable
20242           3bd718e h264: fix GstH264ParserResult documentation typo
20243           b021609 h264parse: set the HEADER flag on buffers containing SPS or PPS
20244           b08e4be h264parse: don't unnecesarily set src_caps
20245
20246 2014-11-03 19:20:43 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20247
20248         * gst/vaapi/gstvaapipostproc.c:
20249           vaapipostproc: Add string representation of VPP functions to ElementFactoy Klass
20250           Added the same Klass specifications used in other upstream
20251           video postprocessing elements like videoconvert, videoscale,
20252           videobalance and deinterlace.
20253           An example use case is for this is to help the playsink
20254           to autoplug the hardware accelerated deinterlacer.
20255
20256 2014-11-03 19:19:20 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20257
20258         * gst/vaapi/gstvaapipostproc.c:
20259           vaapipostproc: Tweak the output video format setting to enable the autoplugging
20260           This is a workaround until auto-plugging is fixed when
20261           format=ENCODED + memory:VASurface caps feature are provided.
20262           Use the downstream negotiated video format as the output video format
20263           if the user didn't ask for the colorspace conversion explicitly.
20264           Usecase: This will help to connect elements like videoscale, videorate etc
20265           to vaapipostproc.
20266           https://bugzilla.gnome.org/show_bug.cgi?id=739443
20267
20268 2014-10-29 17:30:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20269
20270         * gst/vaapi/gstvaapipostproc.c:
20271         * gst/vaapi/gstvaapipostproc.h:
20272           vaapipostproc: allow user defined scaling mode.
20273           Add new "scale-method" property to expose the scaling mode to use during
20274           video processing. Note that this is only a hint, and the actual behaviour
20275           may differ from implementation (VA driver) to implementation.
20276
20277 2014-10-29 16:57:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20278
20279         * gst-libs/gst/vaapi/gstvaapifilter.c:
20280         * gst-libs/gst/vaapi/gstvaapifilter.h:
20281         * gst-libs/gst/vaapi/gstvaapiutils.c:
20282         * gst-libs/gst/vaapi/gstvaapiutils.h:
20283           filter: add initial support for high quality scaling.
20284           Add support for video scaling options in VPP pipelines. Only the
20285           DEFAULT mode is bound to exist. Others might be folded into that
20286           mode.
20287
20288 2014-10-29 16:35:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20289
20290         * gst-libs/gst/vaapi/gstvaapifilter.c:
20291         * gst-libs/gst/vaapi/gstvaapifilter.h:
20292           filter: re-indent all GstVaapiFilter related source code.
20293
20294 2014-10-29 15:45:50 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20295
20296         * ext/codecparsers:
20297           codecparsers: update to gst-vaapi-branch commit f9d3bde.
20298           2218b02 h264parse: expose parsed profile and level to downstream
20299           3dbfab4 h264parse: return flushing if we get chained while being set to READY
20300           d40fa8b h264: fix frame packing SEI parsing
20301           32d40be h264: Use proper bit_reader api while parsing buffering_period SEI
20302           b3e022e h264: initialize some fields of pic_timing structure
20303           a70661d vc1: fix expected level in sequence-layer parsing unit test
20304           6cee88d vc1: fix level values for simple/main profile
20305           356c189 vc1: add unit test for sequence-layer parsing
20306           ab9f641 vc1: take care of endianness when parsing sequence-layer
20307           8dc8e35 mpeg4: fix vlc table used for sprite trajectory
20308
20309 2014-10-29 15:46:47 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20310
20311         * gst/vaapi/gstvaapidecode.c:
20312           vaapidecode: Expose the supported profiles as caps to upstream
20313           This will allows the playbin to fallback to Software Decoder
20314           if the Hardware Decoder does not support a particular profile.
20315           https://bugzilla.gnome.org/show_bug.cgi?id=730997
20316
20317 2014-10-29 15:46:12 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20318
20319         * gst/vaapi/gstvaapiencode.c:
20320         * gst/vaapi/gstvaapiencode.h:
20321         * gst/vaapi/gstvaapiencode_h264.c:
20322           encode: Attach the codec-data to out caps only based on negotiated caps
20323           Attach the codec_data to out_caps only if downstream needed.
20324           For eg: h264 encoder doesn't need to stuff codec_data to the
20325           src caps if the negotiated caps has a stream format of byte-stream.
20326           https://bugzilla.gnome.org/show_bug.cgi?id=734902
20327
20328 2014-10-29 15:45:44 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20329
20330         * configure.ac:
20331           configure: echoing installation prefix path
20332
20333 2014-09-24 10:14:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20334
20335         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
20336           display: add support for DRM Render-Nodes.
20337           Add support for DRM Render-Nodes. This is a new feature that appeared
20338           in kernel 3.12 for experimentation purposes, but was later declared
20339           stable enough in kernel 3.15 for getting enabled by default.
20340           This allows headless usages without authentication at all, i.e. usages
20341           through plain ssh connections is possible.
20342
20343 2014-09-24 13:44:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20344
20345         * gst/vaapi/gstvaapisink.c:
20346           vaapisink: clean-ups (indentation, drop unused variables).
20347
20348 2014-09-24 13:39:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20349
20350         * configure.ac:
20351         * gst/vaapi/gstvaapisink.c:
20352           vaapisink: fix GstNavigation "key-press" / "key-release" events.
20353           Fix arguments to XkbKeycodeToKeysym() for converting an X11 keycode
20354           to a KeySym. In particular, there is no such Window argument. Also
20355           make sure to check for, and use, the correct <X11/XKBlib.h> header
20356           where that new function is defined. Otherwise, default to the older
20357           XKeycodeToKeysym() function.
20358
20359 2014-09-24 13:23:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20360
20361         * gst/vaapi/gstvaapisink.c:
20362           vaapisink: fix GstNavigation "mouse-move" event.
20363           Really use the motion event coordinates to propagate the "mouse-move"
20364           event to upper layer, instead of those from a button event. Those are
20365           technically the same though.
20366
20367 2014-09-16 14:25:40 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20368
20369         * gst/vaapi/gstvaapisink.c:
20370           vaapisink: implement the GstNavigation interface
20371           This is useful for things like DVD menus, where key/mouse events
20372           would need to be forwarded from the upstream sink element.
20373           https://bugzilla.gnome.org/show_bug.cgi?id=711479
20374
20375 2014-03-13 18:38:33 +0000  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
20376
20377         * gst/vaapi/gstvaapipluginbase.c:
20378           vaapipostproc: fix deinterlacing from non VA memory buffers.
20379           When we copy a buffer because we're moving it into VA-API memory, we
20380           need to copy flags. Otherwise, interlaced YUV buffers from a capture
20381           source (e.g. V4L2) don't get flagged as interlaced.
20382           https://bugzilla.gnome.org/show_bug.cgi?id=726270
20383           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
20384           [reversed order of gst_buffer_copy_into() flags to match <1.0 code]
20385           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20386
20387 2014-08-22 15:22:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20388
20389         * gst/vaapi/gstvaapipostproc.c:
20390           vaapipostproc: add support for GLTextureUploadMeta output.
20391           This allows for vaapipostproc to be chained to the glimagesink element
20392           for instance.
20393           https://bugzilla.gnome.org/show_bug.cgi?id=735231
20394
20395 2014-08-22 15:22:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20396
20397         * gst/vaapi/gstvaapipluginutil.c:
20398         * gst/vaapi/gstvaapipluginutil.h:
20399         * gst/vaapi/gstvaapipostproc.c:
20400           vaapipostproc: add support for "download" capability.
20401           Allow implicit conversions to raw video formats, while still keeping
20402           VA surfaces underneath. This allows for chaining the vaapipostproc
20403           element to a software-only element that takes care of maps/unmaps.
20404           e.g. xvimagesink.
20405           https://bugzilla.gnome.org/show_bug.cgi?id=720174
20406
20407 2014-08-22 18:10:54 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20408
20409         * gst/vaapi/gstvaapipostproc.c:
20410         * gst/vaapi/gstvaapipostproc.h:
20411           vaapipostproc: use pooled vaapi video meta.
20412           Use pooled GstVaapiVideoMeta information, i.e. always allocate that on
20413           video buffer allocation. Also optimize copy of additional metadata info
20414           into the resulting video buffer: only copy the video cropping info and
20415           the source surface proxy.
20416           https://bugzilla.gnome.org/show_bug.cgi?id=720311
20417           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20418           [fixed proxy leak, fixed double free on error, optimized meta copy]
20419           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20420
20421 2014-08-22 15:17:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20422
20423         * gst/vaapi/gstvaapipostproc.c:
20424           vaapipostproc: fix passthrough mode.
20425           If no explicit output surface format is supplied try to keep the one
20426           supplied through the sink pad caps. This avoids a useless copy, even
20427           if things are kept in GPU memory.
20428           This is a performance regression from git commit dfa70b9.
20429
20430 2014-07-05 21:00:34 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20431
20432         * gst/vaapi/gstvaapipostproc.c:
20433         * gst/vaapi/gstvaapipostproc.h:
20434           vaapipostproc: fix output buffer to have a GstVaapiVideoMemory.
20435           https://bugzilla.gnome.org/show_bug.cgi?id=720311
20436           [used new infrastructure through base decide_allocation() impl]
20437           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20438
20439 2014-08-22 11:13:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20440
20441         * gst/vaapi/gstvaapipostproc.c:
20442           vaapipostproc: enable advanced deinterlacing with same format.
20443           If only advanced deinterlacing is requested, i.e. deinterlacing is
20444           the only active algorithm to apply with source and output surface
20445           formats being the same, then make sure to enable VPP processing.
20446           Otherwise, allow fallback to bob-deinterlacing with simple rendering
20447           flags alteration.
20448
20449 2014-08-21 15:04:20 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20450
20451         * gst/vaapi/gstvaapivideomemory.c:
20452           vaapivideomemory: avoid NULL pointer unref if GstVaapiImage creation failed.
20453           https://bugzilla.gnome.org/show_bug.cgi?id=735156
20454
20455 2014-08-22 13:25:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20456
20457         * gst/vaapi/gstvaapipluginbase.c:
20458         * gst/vaapi/gstvaapipluginutil.c:
20459           plugins: fix memory leaks.
20460
20461 2014-08-21 14:10:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20462
20463         * gst/vaapi/gstvaapidecode.c:
20464         * gst/vaapi/gstvaapipluginbase.c:
20465         * gst/vaapi/gstvaapipluginbase.h:
20466           plugins: factor out decide_allocation() hook.
20467           Add a default decide_allocation() hook to GstVaapiPluginBase. The caps
20468           feature argument can be used to force a bufferpool with a specific kind
20469           of memory.
20470
20471 2014-08-21 11:12:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20472
20473         * gst/vaapi/gstvaapivideobufferpool.c:
20474         * gst/vaapi/gstvaapivideobufferpool.h:
20475         * gst/vaapi/gstvaapivideomemory.c:
20476           plugins: allow bufferpool to not allocate vaapi video meta.
20477           Add GST_VAAPI_VIDEO_BUFFER_POOL_ACQUIRE_FLAG_NO_ALLOC params flag that
20478           can be used to disable early allocations of vaapi video metas on buffers,
20479           thus delagating that to the bufferpool user.
20480
20481 2014-08-21 10:45:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20482
20483         * gst/vaapi/gstvaapivideobuffer.c:
20484         * gst/vaapi/gstvaapivideobuffer.h:
20485         * gst/vaapi/gstvaapivideobufferpool.c:
20486         * gst/vaapi/gstvaapivideobufferpool.h:
20487         * gst/vaapi/gstvaapivideocontext.c:
20488         * gst/vaapi/gstvaapivideocontext.h:
20489         * gst/vaapi/gstvaapivideoconverter_glx.c:
20490         * gst/vaapi/gstvaapivideoconverter_glx.h:
20491         * gst/vaapi/gstvaapivideoconverter_x11.c:
20492         * gst/vaapi/gstvaapivideoconverter_x11.h:
20493         * gst/vaapi/gstvaapivideomemory.c:
20494         * gst/vaapi/gstvaapivideomemory.h:
20495         * gst/vaapi/gstvaapivideometa.c:
20496         * gst/vaapi/gstvaapivideometa.h:
20497         * gst/vaapi/gstvaapivideometa_texture.c:
20498         * gst/vaapi/gstvaapivideometa_texture.h:
20499           plugins: re-indent all GstVaapiVideo* related source code.
20500
20501 2014-08-22 15:12:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20502
20503         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
20504           surfaceproxy: fix copy to propagate view_id.
20505           Fix gst_vaapi_surface_proxy_copy() to copy the view-id element, thus
20506           fixing random frames skipped when vaapipostproc element is used in
20507           passthrough mode. In that mode, GstMemory is copied, thus including
20508           the underlying GstVaapiVideoMeta and associated GstVaapiSurfaceProxy.
20509
20510 2014-08-20 16:38:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20511
20512         * gst/vaapi/gstvaapipostproc.c:
20513           vaapipostproc: fix detection of output surface format changes.
20514           Default to I420 format for output surfaces so that to match the usual
20515           GStreamer pipelines. Though, internally, we could still opt for NV12
20516           surface formats, i.e. default format=ENCODED is a hint for that, thus
20517           delegating the decision to the VA driver.
20518
20519 2014-08-20 10:59:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20520
20521         * gst/vaapi/gstvaapipostproc.c:
20522           vaapipostproc: fix construction of allowed sink pad caps.
20523           Fix construction of the set of caps allowed on the sink pad to filter
20524           out unsupported raw video caps with GStreamer >= 1.2.
20525
20526 2014-08-20 10:37:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20527
20528         * gst/vaapi/gstvaapipostproc.c:
20529         * gst/vaapi/gstvaapipostproc.h:
20530           vaapipostproc: improve heuristics for detecting native VA surfaces.
20531           Use the new gst_caps_has_vaapi_surface() helper function to detect
20532           whether the sink pad caps contain native VA surfaces, or not, i.e.
20533           no raw video caps.
20534           Also rename is_raw_yuv to get_va_surfaces to make the variable more
20535           explicit as we just want a way to differentiate raw video caps from
20536           VA surfaces actually.
20537
20538 2014-08-12 18:33:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20539
20540         * gst/vaapi/gstvaapipostproc.c:
20541           vaapipostproc: disable discontinuity detection code.
20542           The "discontinuity" tracking code, whereby lost frames are tentatively
20543           detected, is inoperant if the sink pad buffer timestamps are not right
20544           to begin with.
20545           This is a temporary workaround until the following bug is fixed:
20546           https://bugzilla.gnome.org/show_bug.cgi?id=734386
20547
20548 2014-08-07 14:57:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20549
20550         * gst/vaapi/gstvaapipostproc.c:
20551           vaapipostproc: fix heuristic for detecting discontinuity.
20552           In order to make the discontinuity detection code useful, we need to
20553           detect the lost frames in the history as early as the previous frame.
20554           This is because some VA implementations only support one reference
20555           frame for advanced deinterlacing.
20556           In practice, turn the condition for detecting new frame that is beyond
20557           the previous frame from field_duration*2 to field_duration*3, i.e.
20558           nothing received for the past frame and a half because of possible
20559           rounding errors when calculating the field-duration either in this
20560           element (vaapipostproc), or from the upstream element (parser element).
20561           This is a regression introduced with commit faefd62.
20562           https://bugzilla.gnome.org/show_bug.cgi?id=734135
20563
20564 2014-08-20 11:43:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20565
20566         * gst/vaapi/gstvaapipluginbase.c:
20567         * gst/vaapi/gstvaapipluginbase.h:
20568           plugins: fix detection of raw video caps.
20569           Use the new gst_caps_has_vaapi_surface() helper function to better
20570           detect raw video caps, and in particular those from RGB colorspace.
20571           https://bugzilla.gnome.org/show_bug.cgi?id=734665
20572
20573 2014-08-20 11:30:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20574
20575         * gst/vaapi/gstvaapipluginutil.c:
20576         * gst/vaapi/gstvaapipluginutil.h:
20577           plugins: add helper for detecting VA surfaces in caps.
20578           Introduce new gst_caps_has_vaapi_surface() helper function to detect
20579           whether the supplied caps has VA surfaces. With GStreamer >= 1.2, this
20580           implies a check for memory:VASurface caps features, and format=ENCODED
20581           for earlier versions of GStreamer.
20582
20583 2014-08-12 13:01:57 +0300  Sebastian Dröge <sebastian@centricular.com>
20584
20585         * gst/vaapi/gstvaapidecode.c:
20586           vaapidecode: start the decoder task again after finishing
20587           This allows the element to accept data again after draining without
20588           a hard reset or caps change happening in between.
20589           https://bugzilla.gnome.org/show_bug.cgi?id=734616
20590
20591 2014-08-12 13:00:03 +0300  Sebastian Dröge <sebastian@centricular.com>
20592
20593         * gst/vaapi/gstvaapidecode.c:
20594           vaapidecode: unlock condition variables before shutting down the element
20595           Otherwise threads might wait for them, causing the shutdown of the element
20596           to deadlock on the streaming thread.
20597           https://bugzilla.gnome.org/show_bug.cgi?id=734616
20598
20599 2014-08-11 17:15:24 +0300  Sebastian Dröge <sebastian@centricular.com>
20600
20601         * gst/vaapi/gstvaapidecode.c:
20602           vaapidecode: reset decoder_finish variable after stopping the decoder thread
20603           Otherwise the element is not usable again after draining/EOS.
20604           https://bugzilla.gnome.org/show_bug.cgi?id=734616
20605
20606 2014-08-11 17:14:53 +0300  Sebastian Dröge <sebastian@centricular.com>
20607
20608         * gst/vaapi/gstvaapidecode.c:
20609           vaapidecode: don't try flushing the decoder instance if we didn't create one yet
20610           This otherwise results in unnecessary error messages.
20611           https://bugzilla.gnome.org/show_bug.cgi?id=734616
20612
20613 2014-08-01 06:32:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20614
20615         * gst-libs/gst/vaapi/Makefile.am:
20616         * gst/vaapi/Makefile.am:
20617           build: fix with --no-undefined linker flags.
20618           https://bugzilla.gnome.org/show_bug.cgi?id=729352
20619
20620 2014-01-23 15:44:09 +0000  Changzhi Wei <changzhix.wei@intel.com>
20621
20622         * gst/vaapi/gstvaapisink.c:
20623         * gst/vaapi/gstvaapisink.h:
20624           vaapisink: add support for GstColorBalance interface.
20625           https://bugzilla.gnome.org/show_bug.cgi?id=722390
20626           [fixed channel names, simplified range factor, fixed memory leak]
20627           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20628
20629 2014-01-23 15:23:00 +0000  Changzhi Wei <changzhix.wei@intel.com>
20630
20631         * gst/vaapi/gstvaapisink.c:
20632         * gst/vaapi/gstvaapisink.h:
20633           vaapisink: add support for colorbalance adjustment.
20634           https://bugzilla.gnome.org/show_bug.cgi?id=722390
20635           [fixed and simplified tracking of colorbalance value changes]
20636           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20637
20638 2014-07-31 13:18:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20639
20640         * gst/vaapi/gstvaapisink.c:
20641           vaapisink: improve installation of properties.
20642           Simplify the creation and installation process of properties, by first
20643           accumulating them into a g_properties[] array, and next calling into
20644           g_object_class_install_properties().
20645           Also add missing docs and flags to some properties.
20646
20647 2014-07-31 10:48:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20648
20649         * gst/vaapi/gstvaapisink.c:
20650         * gst/vaapi/gstvaapisink.h:
20651           vaapisink: code clean-ups.
20652           Move code around in a more logical way. Introduce GST_VAAPISINK_CAST()
20653           helper macro and use it wherever we know the object is a GstBaseSink or
20654           any base class. Drop explicit initializers for values that have defaults
20655           set to zero.
20656
20657 2014-07-31 10:37:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20658
20659         * gst/vaapi/gstvaapisink.c:
20660         * gst/vaapi/gstvaapisink.h:
20661           vaapisink: re-indent all GstVaapiSink related source code.
20662
20663 2014-07-30 17:27:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20664
20665         * gst/vaapi/gstvaapisink.c:
20666         * gst/vaapi/gstvaapisink.h:
20667           vaapisink: introduce separate backends.
20668           Introduce new backends vtable so that to have clean separation between
20669           display dependent code and common base code. That's a "soft" separation,
20670           we don't really need dedicated objects.
20671           https://bugzilla.gnome.org/show_bug.cgi?id=722248
20672
20673 2014-07-30 16:47:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20674
20675         * gst/vaapi/gstvaapisink.c:
20676         * gst/vaapi/gstvaapisink.h:
20677           vaapisink: drop unused "synchronous" mode.
20678           Support for X11 "synchronous" mode was never implemented, and was only
20679           to be useful for debugging. Drop that altogether, that's not going to
20680           be useful in practice.
20681           https://bugzilla.gnome.org/show_bug.cgi?id=733985
20682
20683 2014-07-30 17:32:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20684
20685         * gst/vaapi/gstvaapisink.c:
20686         * gst/vaapi/gstvaapisink.h:
20687           vaapisink: drop unused variables.
20688           Drop obsolete, and now unused, video_buffer_pool and video_buffer_size
20689           variables. They got merged into the GstVaapiPluginBase object.
20690
20691 2014-07-30 16:35:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20692
20693         * gst/vaapi/gstvaapisink.c:
20694         * gst/vaapi/gstvaapisink.h:
20695           vaapisink: drop GLX rendering and fancy effects.
20696           Rendering with GLX in vaapisink is kind of useless nowadays, including
20697           OpenGL related fancy effects. Plain VA/GLX interfaces are also getting
20698           deprecated in favor of EGL, or more direct buffer sharing with actual
20699           GL textures.
20700           Should testing of interop with GLX be needed, one could still be using
20701           the modern cluttersink or glimagesink elements.
20702           https://bugzilla.gnome.org/show_bug.cgi?id=733984
20703
20704 2013-11-05 14:01:11 +0100  Holger Kaelberer <hk@getslash.de>
20705
20706         * gst/vaapi/gstvaapisink.c:
20707         * gst/vaapi/gstvaapisink.h:
20708           vaapisink: listen to window size changes on X11.
20709           Allow dynamic changes to the window, e.g. performed by the user, and
20710           make sure to refresh its contents, while preserving aspect ratio.
20711           In practice, Expose and ConfigureNotify events are tracked in X11
20712           display mode by default. This occurs in a separte event thread, and
20713           this is similar to what xvimagesink does. Any of those events will
20714           trigger a reconfiguration of the window "soft" size, subsequently
20715           the render-rect when necessary, and finally _expose() the result.
20716           The default of handle_events=true can be changed programatically via
20717           gst_x_overlay_handle_events().
20718           Thanks to Fabrice Bellet for rebasing the patch.
20719           https://bugzilla.gnome.org/show_bug.cgi?id=711478
20720           [dropped XInitThreads(), cleaned up the code a little]
20721           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20722
20723 2014-07-29 15:47:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20724
20725         * gst/vaapi/gstvaapidecode.c:
20726           vaapidecode: decode and output all pending frames on normal EOS.
20727           The gst_vaapidecode_decode_loop() function is called within a separate
20728           task to fetch and output all frames that were decoded so far. So, if
20729           the decoder_loop_status is forcibly set to EOS when _finish() is called,
20730           then we are bound to exist the task without submitting the pending
20731           frames.
20732           If the downstream element error'ed out, then the gst_pad_push() would
20733           propagate up an error and so we will get it right for cutting off
20734           _finish() early in that case.
20735           This is a regression from 6003596.
20736           https://bugzilla.gnome.org/show_bug.cgi?id=733897
20737
20738 2014-07-29 13:24:52 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20739
20740         * configure.ac:
20741           Bump version for development.
20742
20743 2014-07-29 10:31:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20744
20745         * AUTHORS:
20746           AUTHORS: updates.
20747
20748 2014-07-29 10:31:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20749
20750         * NEWS:
20751           NEWS: updates.
20752
20753 2014-07-29 16:22:01 +1000  Matthew Waters <ystreet00@gmail.com>
20754
20755         * gst/vaapi/gstvaapidecode.c:
20756           vaapidecode: properly return from decode loop on downstream errors.
20757           Fixes a hang/race on shutdown where _decode_loop() had already completed
20758           its execution and _finish() was waiting on a GCond for decode_loop()
20759           to complete.  Also fixes the possible race where _finish() is called
20760           but _decode_loop() endlessly returns before signalling completion
20761           iff the decoder instance returns GST_FLOW_OK.
20762           Found with: ... ! vaapidecode ! {glimagesink,cluttersink}
20763           https://bugzilla.gnome.org/show_bug.cgi?id=733897
20764           [factored out GST_VIDEO_DECODER_STREAM_UNLOCK() call]
20765           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20766
20767 2014-07-28 18:45:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20768
20769         * NEWS:
20770         * configure.ac:
20771           0.5.9.
20772
20773 2014-07-28 18:31:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20774
20775         * gst/vaapi/gstvaapisink.c:
20776           vaapisink: fix GstVideoOverlay::expose() implementation.
20777           Now that we always track the currently active video buffer, it is
20778           not necessary to automatically increase its reference since this is
20779           implicitly performed in ::show_frame() through the get_input_buffer()
20780           helper from GstVaapiPluginBase class.
20781           This is a regression from a26df80.
20782
20783 2014-07-28 18:00:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20784
20785         * gst/vaapi/gstvaapidecode.c:
20786         * gst/vaapi/gstvaapipluginutil.c:
20787           vaapidecode: simplify bufferpool configuration.
20788           Rework the logics behind the configuration of an adequate bufferpool,
20789           especially when OpenGL meta or additional capsfeatures are needed.
20790           Besides, for GStreamer >= 1.4, the first capsfeatures that gets matched,
20791           and that is not system memory, is now selected by default.
20792
20793 2014-07-28 16:43:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20794
20795         * gst/vaapi/gstvaapidecode.c:
20796           vaapidecode: fix auto-plugging of vaapisink element.
20797           Make sure to propagate memory:VASurface capsfeature to srcpad caps
20798           only for GStreamer >= 1.5 as the plug-in elements in GStreamer 1.4
20799           core currently miss additional patches available in 1.5-git (1.6).
20800           This is a temporary workaround.
20801
20802 2014-07-28 15:54:46 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
20803
20804         * configure.ac:
20805           configure: allow builds against GStreamer git (1.5.x).
20806           https://bugzilla.gnome.org/show_bug.cgi?id=733688
20807
20808 2014-07-28 14:20:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20809
20810         * configure.ac:
20811           configure: fix build with GStreamer 1.4.0 release.
20812
20813 2014-03-04 19:40:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20814
20815         * configure.ac:
20816         * debian.upstream/Makefile.am:
20817         * debian.upstream/control.in:
20818           debian: fix packaging for new naming scheme.
20819
20820 2014-07-28 11:52:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20821
20822         * NEWS:
20823           NEWS: updates.
20824
20825 2014-07-28 11:39:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20826
20827         * configure.ac:
20828           configure: mark support for GStreamer < 1.2 as deprecated.
20829           Supporting anything thing below GStreamer 1.2 is asking for trouble
20830           for keeping up with the required facilities to make efficient pipelines.
20831           Users are invited to upgrade to the very latest GStreamer 1.2.x release,
20832           at the minimum.
20833
20834 2014-07-28 11:35:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20835
20836         * configure.ac:
20837           configure: mark support for GStreamer 0.10 as obsolete.
20838           Support for GStreamer 0.10 is obsolete. i.e. it is no longer supported
20839           and may actually be removed altogether for a future release. There is
20840           no real point to maintain a build for such an ancient GStreamer version
20841           that is not even supported upstream.
20842
20843 2014-07-28 10:25:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20844
20845         * gst/vaapi/gstvaapisink.c:
20846         * gst/vaapi/gstvaapisink.h:
20847           vaapisink: allow a specific view component to be displayed.
20848           If a multiview stream is decoded, multiple view components are submitted
20849           as is downstream. It is the responsibility of the sink element to display
20850           the required view components. By default, always select the frame buffer
20851           that matches the view-id of the very first frame to be displayed.
20852           However, introduce a "view-id" property to allow the selection of a
20853           specific view component of interest to display.
20854
20855 2014-07-28 10:09:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20856
20857         * gst/vaapi/gstvaapisink.c:
20858           vaapisink: always keep the last displayed buffer around.
20859           Always record the VA surface that is currently being rendered, no matter
20860           the fact we are using texturedblit or overlay. That's because in some
20861           occasions, we need to refresh or resize the displayed contents based on
20862           new events. e.g. user-resized window.
20863           Besides, it's simpler to track the last video buffer in GstVaapiSink than
20864           through the base sink "last-sample".
20865
20866 2014-07-25 11:13:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20867
20868         * gst/vaapi/gstvaapipluginbase.c:
20869         * gst/vaapi/gstvaapipluginbase.h:
20870         * gst/vaapi/gstvaapipluginutil.c:
20871         * gst/vaapi/gstvaapisink.c:
20872           vaapisink: add support for "display-name" property.
20873           Add a "display-name" property to vaapisink so that the end user could
20874           select the desired output. Keep "display-name" in-line with the existing
20875           "display" (GstVaapiDisplayXXX type).
20876           So, for X11 or GLX, the "display-name" is the usual display name as we
20877           know for XOpenDisplay(); for Wayland, the "display-name" is the name used
20878           for wl_display_connect(); and for DRM, the "display-name" is actually the
20879           DRI device name.
20880           https://bugzilla.gnome.org/show_bug.cgi?id=722247
20881
20882 2014-07-25 17:29:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20883
20884         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
20885           window: make gst_vaapi_window_reconfigure() thread-safe.
20886           Ensure the X11 implementation for GstVaapiWindow::get_geometry() is
20887           thread-safe by default, so that upper layer users don't need to handle
20888           that explicitly.
20889
20890 2013-07-29 09:28:28 +0200  Holger Kaelberer <hk@getslash.de>
20891
20892         * gst-libs/gst/vaapi/gstvaapiwindow.c:
20893         * gst-libs/gst/vaapi/gstvaapiwindow.h:
20894           window: allow for updating size from current geometry.
20895           Add gst_vaapi_window_reconfigure() interface to force an update of
20896           the GstVaapiWindow "soft" size, based on the current geometry of the
20897           underlying native window.
20898           This can be useful for instance to synchronize the window size when
20899           the user changed it.
20900           Thanks to Fabrice Bellet for rebasing the patch.
20901           [changed interface to gst_vaapi_window_reconfigure()]
20902           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20903
20904 2014-07-25 16:53:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20905
20906         * gst-libs/gst/vaapi/gstvaapiwindow.c:
20907         * gst-libs/gst/vaapi/gstvaapiwindow.h:
20908         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
20909         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
20910         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
20911         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
20912         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
20913         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
20914         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
20915         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
20916         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
20917         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
20918           window: re-indent all GstVaapiWindow related source code.
20919
20920 2014-07-25 11:24:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20921
20922         * gst-libs/gst/vaapi/gstvaapidisplay.c:
20923         * gst-libs/gst/vaapi/gstvaapidisplay.h:
20924         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
20925           display: add interface to retrieve the display name.
20926           Add gst_vaapi_display_get_display_name() helper function to determine
20927           the name associated with the underlying native display. Note that for
20928           raw DRM backends, the display name is actually the device path.
20929
20930 2014-07-25 10:55:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20931
20932         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
20933           display: fix comparison of X11 display names.
20934           Make sure to not only compare display host names, but also the actual
20935           display number. The screen number does not need to be checked at this
20936           time.
20937
20938 2014-07-25 15:52:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20939
20940         * gst/vaapi/gstvaapidecode.c:
20941         * gst/vaapi/gstvaapivideobufferpool.c:
20942           vaapidecode: add support for VideoAlignment bufferpool option.
20943           Always add VideoAlignment bufferpool option if the downstream element
20944           expects its own pool to be used but does not offer it through a proper
20945           propose_allocation() implementation for instance, and that the ALLOCATION
20946           query does not expose the availability of the Video Meta API.
20947           This fixes propagation of video buffer stride information to Firefox.
20948
20949 2014-07-25 15:44:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20950
20951         * gst/vaapi/gstvaapivideomemory.c:
20952           vaapivideomemory: always prefer native VA surface formats.
20953           Make sure to always prefer native internal formats for the VA surfaces
20954           that get allocated. Also disable "direct-rendering" mode in this case.
20955           This is needed so that to make sure that anything that gets out of the
20956           decoder, or anything that gets into the encoder, is in native format
20957           for the hardware, and thus the driver doesn't need to perform implicit
20958           conversions in there. Interop with SW elements is still available with
20959           fast implementations of VA imaging APIs.
20960
20961 2014-07-24 11:58:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20962
20963         * gst/vaapi/gstvaapivideomemory.c:
20964           vaapivideomemory: disallow memory shares across buffers, use a copy.
20965           Forbid shares of GstMemory instances, and rather make copy of it. This
20966           effectively copies the GstMemory structure and enclosed metadata, but
20967           this does not copy the VA surface contents itself. It should though.
20968           This fixes preroll and makes sure to not download garbage for the first
20969           frame when a SW rendering sink is used.
20970
20971 2014-07-24 06:46:22 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20972
20973         * gst/vaapi/gstvaapivideomemory.c:
20974         * gst/vaapi/gstvaapivideomemory.h:
20975           vaapivideomemory: use an image pool to cache objects.
20976           Use an image pool to hold VA images to be used for downloads/uploads
20977           of contents for the associated surface.
20978           This is an optmization for size. So, instead of creating as many VA
20979           images as there are buffers (then VA surfaces) allocated, we only
20980           maintain a minimal set of live VA images, thus preserving memory
20981           resources.
20982
20983 2014-07-24 00:14:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20984
20985         * gst/vaapi/gstvaapivideomemory.c:
20986           vaapivideomemory: forbid R/W mappings if non direct-rendering mode.
20987           Disable read-write mappings if "direct-rendering" is not supported.
20988           Since the ordering of read and write operations is not specified,
20989           this would require to always download the VA surface on _map(), then
20990           commit the temporary VA image back to the VA surface on _unmap().
20991           Some SW decoding plug-in elements still use R/W mappings though.
20992           https://bugzilla.gnome.org/show_bug.cgi?id=733242
20993
20994 2014-07-23 23:49:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
20995
20996         * gst/vaapi/gstvaapivideomemory.c:
20997           vaapivideomemory: minor code clean-ups.
20998           Fix error messages introduced in the previous commit for the _map()
20999           imaplementation. Also use the new get_image_data() helper function
21000           to determine the base pixels data buffer from a GstVaapiImage when
21001           updating the video info structure from it.
21002
21003 2014-07-23 18:54:13 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21004
21005         * gst/vaapi/gstvaapivideomemory.c:
21006         * gst/vaapi/gstvaapivideomemory.h:
21007           vaapivideomemory: add support for raw pixels mappings.
21008           Allow raw pixels of the whole frame to be mapped read-only. i.e. in
21009           cases where the buffer pool is allocated without VideoMeta API, thus
21010           individual planes cannot be mapped.
21011           This is initial support for Firefox >= 30.
21012           https://bugzilla.gnome.org/show_bug.cgi?id=731886
21013
21014 2014-07-03 18:41:11 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21015
21016         * gst/vaapi/gstvaapivideomemory.c:
21017           vaapivideomemory: fix determination of the surface pool format.
21018           While creating the vaapi video allocator, make sure the associated
21019           surface pool has correct format instead of defaulting to NV12 video
21020           format even though there is no direct rendering support.
21021           https://bugzilla.gnome.org/show_bug.cgi?id=732691
21022
21023 2014-07-23 18:01:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21024
21025         * gst/vaapi/gstvaapivideomemory.c:
21026           vaapivideomemory: fix association of surface to proxy.
21027           Make sure to always update the VA surface pointer whenever the proxy
21028           changes. This used to only work when the VA surface is written to, in
21029           interop with SW element ("upload" feature), and this now fixes cases
21030           when the VA surface is needed for reading, in interop with SW element
21031           ("download" feature).
21032
21033 2014-07-23 10:23:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21034
21035         * gst/vaapi/gstvaapidecode.c:
21036         * gst/vaapi/gstvaapipluginutil.c:
21037         * gst/vaapi/gstvaapivideomemory.c:
21038           plugins: expose I420 format for interop with SW elements.
21039           Always expose I420 format by default when the VA surface could be
21040           mapped for interoperability with non harware accelerated elements.
21041           However, the default behaviour remains the auto-plugging of vaapi
21042           elements, down to the sink.
21043           Side effect: "direct-rendering" mode is also disabled most of the
21044           times as plain memcpy() from uncached speculative write combining
21045           memory is not going to be efficient enough.
21046
21047 2014-07-22 18:54:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21048
21049         * gst/vaapi/gstvaapidecode.c:
21050         * gst/vaapi/gstvaapivideomemory.c:
21051           plugins: allow download capability to vaapidecode element.
21052           Fix support for VA surface download capability in vaapidecode element
21053           for GStreamer >= 1.2. This is a fix to supporting libva-vdpau-driver,
21054           but also the libva-intel-driver while performing hardware accelerated
21055           conversions from the native VA surface format (NV12) to the desired
21056           output VA image format.
21057           For instance, this fixes pipelines involving vaapidecode ! xvimagesink.
21058           https://bugzilla.gnome.org/show_bug.cgi?id=733243
21059
21060 2014-07-17 01:51:36 +0200  Fabrice Bellet <fabrice@bellet.info>
21061
21062         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
21063           decoder: mpeg4: fix picture decoder return value for skipped frames.
21064           The picture decoder should return GST_VAAPI_DECODER_STATUS_DROP_FRAME
21065           when a frame should be skipped, so the stream processing is not stalled.
21066           https://bugzilla.gnome.org/show_bug.cgi?id=733324
21067
21068 2014-07-04 15:13:32 +1000  Jan Schmidt <jan@centricular.com>
21069
21070         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
21071           decoder: mpeg2: respect any input PTS provided for a frame.
21072           The timestamp generator in gstvaapidecoder_mpeg2.c always interpolated
21073           frame timestamps within a GOP, even when it's been fed input PTS for
21074           every frame.
21075           That leads to incorrect output timestamps in some situations - for example
21076           live playback where input timestamps have been scaled based on arrival time
21077           from the network and don't exactly match the framerate.
21078           https://bugzilla.gnome.org/show_bug.cgi?id=732719
21079
21080 2014-01-22 08:20:59 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21081
21082         * gst-libs/gst/vaapi/gstvaapiobject.c:
21083           GstVaapiObject: make gst_vaapi_object_new() more robust.
21084           Forbid GstVaapiObject to be created without an associated klass spec.
21085           It is mandatory that the subclass implements an adequate .finalize()
21086           hook, so it shall provide a valid GstVaapiObjectClass.
21087           https://bugzilla.gnome.org/show_bug.cgi?id=722757
21088           [made non-NULL klass argument to gst_vaapi_object_new() a requirement]
21089           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21090
21091 2014-01-21 15:43:57 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21092
21093         * gst-libs/gst/vaapi/gstvaapiobject.c:
21094           GstVaapiObject: initialize the derived object data with init() hook.
21095           Call the subclass .init() function in gst_vaapi_object_new(), if
21096           needed. The default behaviour is to zero initialize the subclass
21097           object data, then the .init() function can be used to initialize
21098           fields to non-default values, e.g. VA object ids to VA_INVALID_ID.
21099           Also fix the gst_vaapi_object_new() description, which was merely
21100           copied from GstVaapiMiniObject.
21101           https://bugzilla.gnome.org/show_bug.cgi?id=722757
21102           [changed to always zero initialize the subclass]
21103           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21104
21105 2014-06-13 21:45:04 +0100  Lionel Landwerlin <llandwerlin@gmail.com>
21106
21107         * gst/vaapi/gstvaapidecode.c:
21108           vaapidecode: make decoder work with playbin
21109           When playbin/decodebin builds the pipeline, it puts decoders and sinks
21110           into different bins and forwards the queries from bins to bins. So in
21111           the initials steps the pipeline is built iteratively by playbin and
21112           looks like this :
21113           [filesrc]
21114           [filesrc] -> [typefind]
21115           [filesrc] -> [typefind] -> [demuxer]
21116           [filesrc] -> [typefind] -> [demuxer] -> [decoder]
21117           At this point the decoder is asked for its SRC caps and it will make a
21118           choice based on what gst_pad_peer_query_caps() returns. The problem is
21119           that the caps returns at that point includes caps features like ANY,
21120           essentially because playbin can plug in additional elements like
21121           videoscale, videoconv or deinterlace.
21122           This patch adds a another call to
21123           gst_vaapi_find_preferred_caps_feature() when the decoder decides its
21124           allocation, to make sure we asks the downstream elements when the
21125           entire pipeline has been built.
21126           https://bugzilla.gnome.org/show_bug.cgi?id=731645
21127
21128 2014-06-27 11:57:11 +0100  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
21129
21130         * gst/vaapi/gstvaapipostproc.c:
21131           vaapipostproc: don't let tmp_rect go out of scope.
21132           A compiler change showed me that tmp_rect went out of scope before
21133           it was used. Move it to the beginning of the function instead.
21134           https://bugzilla.gnome.org/show_bug.cgi?id=726363
21135           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
21136           [added guards for GStreamer 0.10 builds]
21137           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21138
21139 2014-07-03 22:44:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21140
21141         * AUTHORS:
21142           AUTHORS: updates.
21143
21144 2014-07-03 22:34:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21145
21146         * README:
21147           README: updates.
21148           Drop references to deprecated plugins (vaapiupload, vaapidownload),
21149           mention that support for GStreamer 0.10 is deprecated, make overview
21150           more descriptive in certain aspects.
21151
21152 2014-07-03 22:21:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21153
21154         * NEWS:
21155           NEWS: updates.
21156
21157 2014-07-03 19:42:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21158
21159         * README:
21160         * configure.ac:
21161           build: mention that support for GStreamer 0.10 is deprecated.
21162
21163 2014-07-03 17:17:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21164
21165         * configure.ac:
21166         * gst/vaapi/gstvaapidecode.c:
21167           build: fix for GStreamer 0.10.
21168
21169 2014-07-03 18:01:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21170
21171         * patches/videoparsers/0002-h264parse-fix-build-with-GStreamer-1.2.patch:
21172         * patches/videoparsers/0002-h264parse-fix-build-with-older-GStreamer-1.x-stacks.patch:
21173         * patches/videoparsers/series.frag:
21174           build: fix for GStreamer 1.0.x.
21175
21176 2014-07-03 13:48:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21177
21178         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21179           decoder: h264: detect incorrectly paired fields in frames.
21180           When a DPB flush is required, e.g. at a natural and of stream or issued
21181           explicitly through an IDR, try to detect any frame left in the DPB that
21182           is interlaced but does not contain two decoded fields. In that case, mark
21183           the picture as having a single field only.
21184           This avoids a hang while decoding tv_cut.mkv.
21185
21186 2014-07-03 11:13:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21187
21188         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21189           decoder: h264: simplify the DPB output process.
21190           Simplify the dpb_output() function to exclusively rely on the frame store
21191           buffer to output, since this is now always provided. Besides, also fix
21192           cases where split fields would not be displayed.
21193           This is a regression from f48b1e0.
21194
21195 2014-07-01 17:20:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21196
21197         * patches/videoparsers/0003-h264parse-fix-and-optimize-NAL-collection-function.patch:
21198         * patches/videoparsers/0005-h264parse-introduce-new-state-tracking-variables.patch:
21199         * patches/videoparsers/0006-h264parse-improve-conditions-for-skipping-NAL-units.patch:
21200         * patches/videoparsers/0007-h264parse-fix-collection-of-access-units-to-preserve.patch:
21201         * patches/videoparsers/series.frag:
21202           h264parse: drop patches merged upstream.
21203           0003-h264parse-fix-and-optimize-NAL-collection-function.patch
21204           0005-h264parse-introduce-new-state-tracking-variables.patch
21205           0006-h264parse-improve-conditions-for-skipping-NAL-units.patch
21206           0007-h264parse-fix-collection-of-access-units-to-preserve.patch
21207
21208 2014-07-01 17:18:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21209
21210         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21211           decoder: h264: fix memory leak in PPS.
21212           Cope with latest changes from codecparsers/h264. It is now required
21213           to explicitly clear the GstH264PPS structure as it could contain
21214           additional allocations (slice_group_ids).
21215
21216 2014-07-01 17:13:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21217
21218         * ext/codecparsers:
21219           codecparsers: update to gst-vaapi-branch commit 2d53b69.
21220           c4ace00 h264parse: fix collection of access units to preserve config headers
21221           0f9f7c9 h264parse: improve conditions for skipping NAL units
21222           9ffb25c h264parse: introduce new state tracking variables
21223           64955d3 h264parse: fix and optimize NAL collection function
21224           13cd2a3 h264: clarifications and documentation fixes
21225           53e7dd1 h264: fix identification of EOSEQ and EOS NALs
21226           18f0de0 h264: fix memory leak in GstH264PPS
21227           fdcb54c h264: fix typo in GstH264VUIParams description
21228           fd4dae9 vp8: move up built-in range decoder private data
21229
21230 2014-06-30 19:01:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21231
21232         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
21233         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
21234         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
21235         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
21236           decoder: propagate MVC metadata ("view-id", head of multiview set).
21237           Add new GstVaapiSurfaceProxy flag FFB, which means "first frame in
21238           bundle", and really expresses the first view component of a multi
21239           view coded frame. e.g. in H.264 MVC, the surface proxy has flag FFB
21240           set if VOIdx = 0.
21241           Likewise, new API is exposed to retrieve the associated "view-id".
21242
21243 2014-06-30 18:46:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21244
21245         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
21246         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
21247           decoder: propagate "one-field" flags.
21248           Allow decoders to set the "one-field" attribute when the decoded frame
21249           genuinely has a single field, or if the second field was mis-decoded but
21250           we still want to display the first field.
21251
21252 2014-06-30 18:34:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21253
21254         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
21255           decoder: output decoded frames only once.
21256           Make sure to output the decoded picture, and push the associated
21257           GstVideoCodecFrame, only once. The frame fully represents what needs
21258           to be output, included for interlaced streams. Otherwise, the base
21259           GstVideoDecoder class would release the frame twice.
21260           Anyway, the general process is to output decoded frames only when
21261           they are complete. By complete, we mean a full frame was decoded or
21262           both fields of a frame were decoded.
21263
21264 2014-06-30 16:12:52 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21265
21266         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21267           decoder: h264: decode current picture earlier.
21268           Slightly optimize decoding process by submitting the current VA surface
21269           for decoding earlier to the hardware, and perform the reference picture
21270           marking process and DPB update process afterwards.
21271           This is a minor optimization to let the video decode engine kick in work
21272           earlier, thus improving parallel resources utilization.
21273
21274 2014-06-30 16:09:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21275
21276         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21277           decoder: h264: fix output of second field when first field is not in DPB.
21278           Fix decoding of interlaced streams where a first field (e.g. B-slice)
21279           was immediately output and the current decoded field is to be paired
21280           with that former frame, which is no longer in DPB.
21281           https://bugzilla.gnome.org/show_bug.cgi?id=701340
21282
21283 2014-06-30 11:06:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21284
21285         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21286           decoder: h264: slightly optimize the process to detect new pictures.
21287           Optimize the process to detect new pictures or start of new access
21288           units by checking if the previous NAL unit was the end of a picture,
21289           or the end of the previous access unit.
21290
21291 2014-06-13 15:42:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21292
21293         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21294           decoder: h264: handle access unit ("au") optimization.
21295           Optimize parsing when buffers are supplied with access unit alignment.
21296           This helps determining faster when the end of an access unit is reached.
21297
21298 2014-06-28 07:25:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21299
21300         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21301           decoder: h264: fix tracking of DPB size changes.
21302           Add support for MVC streams with multiple SPS and subset SPS headers
21303           emitted regularly, e.g. at around every I-frame. Track the maximum
21304           number of views in ensure_context() and really reset the DPB size to
21305           the expected value, always. i.e. even if it decreased. dpb_reset()
21306           only cares of ensuring the DPB allocation.
21307
21308 2014-06-27 20:44:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21309
21310         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21311           decoder: h264: fix the DPB compaction process.
21312           Fix the compaction process when the DPB is cleared for a specific
21313           view, i.e. fix the process of filling in the holes resulting from
21314           removing frame buffers matching the current picture.
21315
21316 2014-06-27 16:38:03 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21317
21318         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21319           encoder: h264: generate new SPS only when codec config changed.
21320           It is not necessary to periodically send SPS or subset SPS headers.
21321           This is up to the upper layer (e.g. transport layer) to decide on
21322           if/how to periodically submit those. For now, only generate new SPS
21323           or subset SPS headers when the codec config changed.
21324           Note: the upper layer could readily determine the config headers
21325           (SPS/PPS) through the gst_vaapi_encoder_h264_get_codec_data() function.
21326           https://bugzilla.gnome.org/show_bug.cgi?id=732083
21327           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21328
21329 2014-06-27 18:43:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21330
21331         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21332           encoder: h264: track encoder config changes.
21333           Track and report when encoder configuration changed. For now, this covers
21334           resolution, profile/level and bitrate changes.
21335
21336 2014-06-27 13:15:13 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21337
21338         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21339           encoder: h264: add pixel-aspect-ratio to VUI parameters.
21340           Report sample aspect ratio (SAR) as present, and make it match what
21341           we have obtained from the user as pixel-aspect-ratio (PAR). i.e. the
21342           VUI parameter aspect_ratio_info_present_flag now defaults to TRUE.
21343
21344 2014-06-27 00:49:34 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21345
21346         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21347           encoder: h264: fix number of anchor and non-anchor reference pictures.
21348           Set the value of num_anchor_refs_l0, num_anchor_refs_l1, num_non_anchor_refs_l0,
21349           and num_non_anchor_refs_l1 to zero since the inter-view prediction is not yet
21350           supported.
21351
21352 2014-06-27 10:37:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21353
21354         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21355           encoder: h264: fix timing_info_present_flag value in subset SPS.
21356           When the seq_parameter_set_data() syntax structure is present in a subset
21357           sequence parameter set and vui_parameters_present_flag is equal to 1, then
21358           timing_info_present_flag shall be equal to 0 (H.7.4.2.1.1).
21359
21360 2014-06-26 14:39:52 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21361
21362         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21363           encoder: h264: add cpbBrNalFactor values for MVC profiles.
21364
21365 2014-06-26 14:51:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21366
21367         * patches/videoparsers/0003-h264parse-add-initial-support-for-MVC-NAL-units.patch:
21368           h264parse: fix detection of access unit boundaries for MVC.
21369           The gst_h264_parse_collect_nal() function is a misnomer. In reality,
21370           this function is used to determine access unit boundaries, i.e. that
21371           is the key function for alignment=au output format generation.
21372
21373 2014-06-26 14:49:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21374
21375         * patches/videoparsers/0007-h264parse-fix-collection-of-access-units-to-preserve.patch:
21376         * patches/videoparsers/series.frag:
21377           h264parse: fix collection of access units to preserve config headers.
21378           Always use a GstAdapter when collecting access units (alignment="au")
21379           in either byte-stream or avcC format. This is required to properly
21380           preserve config headers like SPS and PPS when invalid or broken NAL
21381           units are subsequently parsed.
21382           More precisely, this fixes scenario like:
21383           <SPS> <PPS> <invalid-NAL> <slice>
21384           where we used to reset the output frame buffer when an invalid or
21385           broken NAL is parsed, i.e. SPS and PPS NAL units were lost, thus
21386           preventing the next slice unit to be decoded, should this also
21387           represent any valid data.
21388           https://bugzilla.gnome.org/show_bug.cgi?id=732203
21389
21390 2014-06-26 14:48:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21391
21392         * patches/videoparsers/0003-h264parse-add-initial-support-for-MVC-NAL-units.patch:
21393         * patches/videoparsers/0006-h264parse-improve-conditions-for-skipping-NAL-units.patch:
21394         * patches/videoparsers/series.frag:
21395           h264parse: improve conditions for skipping NAL units.
21396           Carefully track cases when skipping broken or invalid NAL units is
21397           necessary. In particular, always allow NAL units to be processed
21398           and let that gst_h264_parse_process_nal() function decide on whether
21399           the current NAL needs to be dropped or not.
21400           This fixes parsing of streams with SEI NAL buffering_period() message
21401           inserted between SPS and PPS, or SPS-Ext NAL following a traditional
21402           SPS NAL unit, among other cases too.
21403           Practical examples from the H.264 AVC conformance suite include
21404           alphaconformanceG, CVSE2_Sony_B, CVSE3_Sony_H, CVSEFDFT3_Sony_E
21405           when parsing in stream-format=byte-stream,alignment=au mode.
21406           https://bugzilla.gnome.org/show_bug.cgi?id=732203
21407
21408 2014-06-26 14:45:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21409
21410         * patches/videoparsers/0003-h264parse-add-initial-support-for-MVC-NAL-units.patch:
21411         * patches/videoparsers/0005-h264parse-introduce-new-state-tracking-variables.patch:
21412         * patches/videoparsers/series.frag:
21413           h264parse: introduce new state tracking variables.
21414           Improve parser state tracking by introducing new flags reflecting
21415           it: "got-sps", "got-pps" and "got-slice". This is an addition for
21416           robustness purposes.
21417           Older have_sps and have_pps variables are kept because they have
21418           a different meaning. i.e. they are used for deciding on when to
21419           submit updated caps or not, and rather mean "have new SPS/PPS to
21420           be submitted?"
21421
21422 2014-06-26 14:39:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21423
21424         * patches/videoparsers/0004-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch:
21425         * patches/videoparsers/series.frag:
21426           h264parse: default to byte-stream/nalu format (Annex B).
21427           Always default to stream-format=byte-stream,alignment=nalu if avcC
21428           format was not detected. This is the natural stream format specified
21429           in the standard (Annex.B): a series of NAL units prefixed with the
21430           usual start code.
21431           https://bugzilla.gnome.org/show_bug.cgi?id=732167
21432
21433 2014-06-26 14:37:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21434
21435         * patches/videoparsers/0003-h264parse-fix-and-optimize-NAL-collection-function.patch:
21436         * patches/videoparsers/series.frag:
21437           h264parse: fix and optimize NAL collection function.
21438           Use gst_h264_parser_identify_nalu_unchecked() to identify the next
21439           NAL unit. We don't want to parse the full NAL unit, but only the
21440           header bytes and possibly the first RBSP byte for identifying the
21441           first_mb_in_slice syntax element.
21442           Also fix check for failure when returning from that function. The
21443           only success condition for that is GST_H264_PARSER_OK, so use it.
21444           https://bugzilla.gnome.org/show_bug.cgi?id=732154
21445
21446 2014-06-26 11:39:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21447
21448         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21449           encoder: h264: fix NAL unit types in packed headers.
21450           Submit Prefix NAL headers (nal_unit_type = 14) before every packed
21451           slice header (nal_unit_type = 1 or 5) only for the base view. In non
21452           base views, a Coded Slice Extension NAL header (nal_unit_type = 20)
21453           is required, with an appropriate nal_unit_header_mvc_extension() in
21454           the NAL header bytes.
21455           https://bugzilla.gnome.org/show_bug.cgi?id=732083
21456
21457 2014-06-25 22:05:52 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21458
21459         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21460           encoder: h264: add missing field in packed Subset SPS header.
21461           Write the missing num_level_values_signalled_minus1 syntax element
21462           into the packed header for subset sequence parameter set.
21463           https://bugzilla.gnome.org/show_bug.cgi?id=732083
21464
21465 2014-06-25 22:26:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21466
21467         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21468           decoder: h264: fix marking of non-reference picture into DPB.
21469           Fix search for a picture in the DPB that has a lower POC value than
21470           the current picture. The dpb_find_lowest_poc() function will return
21471           a picture with the lowest POC in DPB and that is marked as "needed
21472           for output", but an additional check against the actual POC value
21473           of the current picture is needed.
21474           This is a regression from 1c46990.
21475           https://bugzilla.gnome.org/show_bug.cgi?id=732130
21476
21477 2014-06-19 17:08:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21478
21479         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21480           decoder: h264: fix DPB clear when no decoding actually started.
21481           Fix dpb_clear() to clear previous frame buffers only if they actually
21482           exist to begin with. If the decoder bailed out early, e.g. when it
21483           does not support a specific profile, that array of previous frames
21484           might not be allocated beforehand.
21485
21486 2014-02-06 08:30:10 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21487
21488         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21489         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
21490         * gst/vaapi/gstvaapidecode.c:
21491           decoder: h264: add support for NALU "alignment" optimization.
21492           We can avoid scanning for start codes again if the bitstream is fed
21493           in NALU chunks. Currently, we always scan for start codes, and keep
21494           track of remaining bits in a GstAdapter, even if, in practice, we
21495           are likely receiving one GstBuffer per NAL unit. i.e. h264parse with
21496           "nal" alignment.
21497           https://bugzilla.gnome.org/show_bug.cgi?id=723284
21498           [use gst_adapter_available_fast() to determine the top buffer size]
21499           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21500
21501 2014-06-18 18:53:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21502
21503         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21504           decoder: h264: fix caps to report interlace-mode accordingly.
21505           The `vaapipostproc' element could never determine if the H.264 stream
21506           was interlaced, and thus always assumed it to be progressive. Fix the
21507           H.264 decoder to report interlace-mode accordingly, thus allowing the
21508           vaapipostproc element to automatically enable deinterlacing.
21509
21510 2014-06-19 13:35:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21511
21512         * gst/vaapi/gstvaapipostproc.c:
21513           vaapipostproc: don't crash with dynamic framerate (0/1).
21514           Avoid reaching an assert if dynamic framerates (0/1) are used. One
21515           way to solve this problem is to just stick field_duration to zero.
21516           However, this means that, in presence of interlaced streams, the
21517           very first field will never be displayed if precise presentation
21518           timestamps are honoured.
21519           https://bugzilla.gnome.org/show_bug.cgi?id=729604
21520
21521 2014-02-07 12:27:50 +0000  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
21522
21523         * gst/vaapi/gstvaapipostproc.c:
21524           vaapipostproc: create filter surface pool if it does not exist yet.
21525           ensure_srcpad_buffer_pool() tries to avoid unnecessarily deleting and
21526           recreating filter_pool. Unfortunately, this also meant it didn't create
21527           it if it did not exist.
21528           Fix it to always create the buffer pool if it does not exist.
21529           https://bugzilla.gnome.org/show_bug.cgi?id=723834
21530           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
21531
21532 2013-12-12 10:01:13 +0800  Zhao, Halley <halley.zhao@intel.com>
21533
21534         * gst/vaapi/gstvaapipostproc.c:
21535           vaapipostproc: reset deinterlacer state when there is a discontinuity.
21536           Reset deinterlacer state, i.e. past reference frames used for advanced
21537           deinterlacing, when there is some discontinuity detected in the course
21538           of processing source buffers.
21539           This fixes support for advanced deinterlacing when a seek occurred.
21540           https://bugzilla.gnome.org/show_bug.cgi?id=720375
21541           [fixed type of pts_diff variable, fetch previous buffer PTS from the
21542           history buffer, reduce heuristic for detecting discontinuity]
21543           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21544
21545 2014-06-18 16:16:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21546
21547         * gst/vaapi/gstvaapipostproc.c:
21548           vaapipostproc: add support for crop regions in VPP mode.
21549           Apply video cropping regions stored in GstVideoCropMeta, or in older
21550           GstVaapiSurfaceProxy representation, to VPP pipelines. In non-VPP modes,
21551           the crop meta are already propagated to the output buffers.
21552           https://bugzilla.gnome.org/show_bug.cgi?id=720730
21553
21554 2014-03-14 17:49:40 +0000  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
21555
21556         * gst/vaapi/gstvaapipostproc.c:
21557           vaapipostproc: make deinterlace-mode behave as expected.
21558           deinterlace-mode didn't behave in the way you'd expect if you have
21559           past experience of the deinterlace element. There were two bugs:
21560           1. "auto" mode wouldn't deinterlace "interleaved" buffers, only "mixed".
21561           2. "force" mode wouldn't deinterlace "mixed" buffers flagged as progressive.
21562           Fix these up, and add assertions and error messages to detect cases that
21563           aren't handled.
21564           https://bugzilla.gnome.org/show_bug.cgi?id=726361
21565           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
21566           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21567
21568 2014-01-15 16:36:29 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
21569
21570         * gst/vaapi/gstvaapidecode.c:
21571           vaapidecode: do not discard video info props when the format changed.
21572           gst_video_info_set_format() does not preserve video info properties. In
21573           order to keep important information in the caps such as interlace mode,
21574           framerate, pixel aspect ratio, ... we need to manually copy back those
21575           properties after setting the new video format.
21576           https://bugzilla.gnome.org/show_bug.cgi?id=722276
21577
21578 2014-02-23 01:43:39 +1100  Matthew Waters <ystreet00@gmail.com>
21579
21580         * gst/vaapi/gstvaapidecode.c:
21581           vaapidecode: plug a memory leak.
21582           It can happen that there is a pool provided that does not advertise
21583           the vappivideometa. We should unref that pool before using our own.
21584           Discovered with vaapidecode ! {glimagesink,cluttersink}
21585           https://bugzilla.gnome.org/show_bug.cgi?id=724957
21586           [fixed compilation by adding the missing semi-colon]
21587           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21588
21589 2014-06-18 13:47:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21590
21591         * gst/vaapi/gstvaapidecode.c:
21592           vaapidecode: parse source data until a frame is obtained.
21593           Parse any pending data until a complete frame is obtained. This is a
21594           memory optimization to avoid expansion of video packets stuffed into
21595           the GstAdapter, and a fix to EOS condition to detect there is actually
21596           pending data that needs to be decoded, and subsequently output.
21597           https://bugzilla.gnome.org/show_bug.cgi?id=731831
21598
21599 2014-06-05 15:32:29 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21600
21601         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21602           encoder: h264: fix multiple slices support in packed headers mode.
21603           Handle packedi slice headers and packed raw data on a per-slice basis,
21604           which is necessary for multi slice encoding.
21605
21606 2014-06-05 15:30:38 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21607
21608         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
21609         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
21610           encoder: add infrastructure for per-slice handling of packed headers.
21611           The packed slice header and packed raw data need to be paired with
21612           the submission of VAEncSliceHeaderParameterBuffer. So handle them
21613           on a per-slice basis insted of a per-picture basis.
21614           [removed useless initializer]
21615           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21616
21617 2014-03-07 17:40:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21618
21619         * gst/vaapi/gstvaapisink.c:
21620           vaapisink: fix initialization with "drm" display type.
21621           Force early initializatin of the GstVaapiDisplay so that to make sure
21622           that the sink element display object is presented first to upstream
21623           elements, as it will be correctly featuring the requested display type
21624           by the user.
21625           Otherwise, we might end up in situations where a VA/X11 display is
21626           initialized in vaapidecode, then we try VA/DRM display in vaapisink
21627           (as requested by the "display" property), but this would cause a failure
21628           because we cannot acquire a DRM display that was previously acquired
21629           through another backend (e.g. VA/X11).
21630
21631 2014-03-07 17:38:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21632
21633         * gst/vaapi/gstvaapipluginbase.c:
21634           plugins: fix initialization with foreign context.
21635           When a new display is settled through GstElement::set_context() (>= 1.2),
21636           or GstVideoContext::set_context() (<= 1.0), then we shall also update the
21637           associated display type.
21638
21639 2014-04-28 17:44:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21640
21641         * Makefile.am:
21642         * configure.ac:
21643         * ext/Makefile.am:
21644         * gst/vaapi/Makefile.am:
21645         * gst/vaapi/gstvaapiparse.c:
21646         * gst/vaapi/gstvaapiparse.h:
21647         * patches/Makefile.am:
21648         * patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch:
21649         * patches/videoparsers/0002-h264parse-fix-build-with-GStreamer-1.2.patch:
21650         * patches/videoparsers/0003-h264parse-add-initial-support-for-MVC-NAL-units.patch:
21651         * patches/videoparsers/Makefile.am:
21652         * patches/videoparsers/series.frag:
21653           plugins: add built-in video parsers as "vaapiparse" element.
21654           The built-in video parsers elements are built into a single DSO named
21655           libgstvaapi_parse.so. The various video parsers could be accessed as
21656           vaapiparse_CODEC.
21657           For now, this only includes a modified version of h264parse so that to
21658           support H.264 MVC encoded streams.
21659
21660 2014-06-13 11:36:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21661
21662         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21663           decoder: h264: cope with new gst_h264_quant_matrix_*() interfaces.
21664           New gst_h264_quant_matrix_*_get_raster_from_zigzag() were renamed
21665           from gst_h264_video_quant_matrix_*_get_raster_from_zigzag().
21666
21667 2014-06-13 11:34:07 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21668
21669         * ext/codecparsers:
21670           codecparsers: update to gst-vaapi-branch commit d6325ac.
21671           7d8d045 h264parse: use new gst_h264_video_calculate_framerate()
21672           d2f965a h264parse: set field_pic_flag when parsing a slice header
21673           24c15b8 Import h264parse
21674           a9283e5 bytereader: Use concistant derefence method
21675           a8252c6 bytereader: Use pointer instead of index access
21676           b1bebfc Import GstBitReader and GstByteReader
21677           2f58788 h264: recognize SVC NAL units
21678           4335da5 h264: fix SPS copy code for MVC
21679           cf9b6dc h264: fix quantization matrix conversion routine names
21680           b11ce2a h264: add gst_h264_video_calculate_framerate()
21681           126dc6f add C++ guards for MPEG-4 and VP8 parsers
21682
21683 2014-06-10 18:30:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21684
21685         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21686           decoder: h264: factor out DPB pruning for MVC.
21687           Factor out the removal process of unused inter-view only reference
21688           pictures from the DPB, prior to the possible insertion of the current
21689           picture.
21690           Ideally, the compiler could still opt for generating two loops. But
21691           at least, the code is now clearer for maintenance.
21692
21693 2014-06-10 17:42:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21694
21695         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21696           decoder: h264: clean-ups.
21697           Fix GST_VAAPI_PICTURE_IS_{INTER_VIEW,ANCHOR}() definitions to use
21698           the base GST_VAAPI_PICTURE_FLAG_IS_SET() macro.
21699
21700 2014-06-10 16:07:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21701
21702         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21703           decoder: h264: improve pruning of unused MVC inter-view frames.
21704           Improve process for the removal of pictures from DPB before possible
21705           insertion of the current picture (C.4.4) for H.264 MVC inter-view only
21706           reference components. In particular, handle cases where picture to be
21707           inserted is not the last one of the access unit and if it was already
21708           output and is no longer marked as used for reference, including for
21709           decoding next view components within the same access unit.
21710
21711 2014-06-03 17:36:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21712
21713         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21714           decoder: h264: improve DPB bumping process for MVC.
21715           While invoking the DPB bumping process in presence of many views,
21716           it could be necessary to output previous pictures that are ready,
21717           in a whole. i.e. emitting all view components from the very first
21718           view order index zero to the very last one in its original access
21719           unit; and not starting from the view order index of the picture
21720           that caused the DPB bumping process to be invoked.
21721           As a reminder, the maximum number of frames in DPB for MultiView
21722           High profile with more than 2 views is not necessarily a multiple
21723           of the number of views.
21724           This fixes decoding of MVCNV-4.264.
21725
21726 2014-06-06 17:56:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21727
21728         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21729           decoder: h264: fix inter-view references array growth.
21730           Let the utility layer handle dynamic growth of the inter-view pictures
21731           array. By definition, setting a new size to the array will effectively
21732           grow the array, but would also fill in the newly created elements with
21733           empty entries (NULL), thus also increasing the reported length, which
21734           is not correct.
21735
21736 2014-06-03 17:36:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21737
21738         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21739           decoder: h264: reduce ReferenceFrames entries to the essential set.
21740           When decoding Multiview High profile streams with a large number of
21741           views, it is not possible to make the VAPictureParameterBufferH264.
21742           ReferenceFrames[] array hold the complete DPB, with all possibly
21743           active pictures to be used for inter-view prediction in the current
21744           access unit.
21745           So reduce the scope of the ReferenceFrames[] array to only include
21746           the set of reference pictures that are going to be used for decoding
21747           the current picture. Basically, this is a union of all RefPicListX[]
21748           array, for all slices constituting the decoded picture.
21749
21750 2014-06-04 19:10:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21751
21752         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21753           decoder: h264: fix MVC inter-view prediction process.
21754           The inter-view reference components and inter-view only reference
21755           components that are included in the reference picture lists shall
21756           be considered as not being marked as "used for short-term reference"
21757           or "used for long-term reference". This means that reference flags
21758           should all be removed from VAPictureH264.flags.
21759           This fixes decoding of MVCNV-2.264.
21760
21761 2014-06-04 19:03:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21762
21763         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21764           decoder: h264: fix detection of profile changes for MVC.
21765           If the VA driver exposes ad-hoc H.264 MVC profiles, then we have to
21766           be careful to detect profiles changes and not reset the underlying
21767           VA context erroneously. In MVC situations, we could indeed get a
21768           profile_idc change for every SPS that gets activated, alternatively
21769           (base-view -> non-base view -> base-view, etc.).
21770           An improved fix would be to characterize the exact profile to use
21771           once and for all when SPS NAL units are parsed. This would also
21772           allow for fallbacks to a base-view decoding only mode.
21773
21774 2014-06-03 14:30:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21775
21776         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21777           encoder: h264: drop extraneous definitions.
21778           Re-use definitions from the codecparser headers instead of duplicating
21779           them here again. That covers NALU definitions and slice types.
21780
21781 2014-04-01 11:26:04 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21782
21783         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21784           encoder: h264: remove unnecessary calcualtion of max_pic_order_cnt.
21785           https://bugzilla.gnome.org/show_bug.cgi?id=727418
21786
21787 2014-04-01 14:23:56 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21788
21789         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21790           encoder: h264: don't allow CABAC with Extended profile.
21791           The H.264 specification does not support CABAC entropy coding for the
21792           Extended profile.
21793           https://bugzilla.gnome.org/show_bug.cgi?id=727418
21794
21795 2014-05-07 00:12:39 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21796
21797         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21798           encoder: h264: use packed headers mode for MVC encoding.
21799           Exclusively use VA drivers that support raw packed headers for encoding.
21800           i.e. simply submit packed headers Subset SPS and Prefix NAL units. This
21801           provides for better compatibility accross the various VA drivers and HW
21802           generations since no particular API is needed beyond what readily exists.
21803
21804 2014-05-07 00:09:45 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21805
21806         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21807           encoder: h264: add support for packed slice headers.
21808           https://bugzilla.gnome.org/show_bug.cgi?id=722905
21809
21810 2014-05-07 00:09:19 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21811
21812         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21813           encoder: h264: store subset sps to generate the codec-data
21814           Store the SubsetSPS nal unit which we need for MVC specific
21815           codec_data generation.
21816
21817 2014-05-07 00:08:33 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21818
21819         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21820           encoder: h264: fix MVC pipeline hang while encoding with B-frames.
21821           Since we are encoding each view independently from each other, we
21822           need a higher number of pre-allocated surfaces to be used as the
21823           reconstructed frames. For Stereo High profile encoding, this means
21824           to effectively double the number of frames to be stored in the DPB.
21825
21826 2014-02-17 15:51:43 +0800  Li Xiaowei <xiaowei.a.li@intel.com>
21827
21828         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21829         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
21830         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
21831         * gst/vaapi/gstvaapiencode_h264.c:
21832           encoder: h264: add initial support for H.264 Stereo High profile.
21833           Add initial support for Subset SPS, Prefix NAL and Slice Extension NAL
21834           for non-base-view streams encoding, and the usual SPS, PPS and Slice
21835           NALs for base-view encoding.
21836           The H.264 Stereo High profile encoding mode will be turned on when the
21837           "num-views" parameter is set to 2. The source (raw) YUV frames will be
21838           considered as Left/Right view, alternatively.
21839           Each of the two views has its own frames reordering pool and reference
21840           frames list management system. Inter-view references are not supported
21841           yet, so the views are encoded independently from each other.
21842           Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
21843           [limited to Stereo High profile per the definition of MAX_NUM_VIEWS]
21844           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21845
21846 2014-02-17 11:10:26 +0800  Li Xiaowei <xiaowei.a.li@intel.com>
21847
21848         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21849           encoder: h264: wrap pools for refs and frames reordering.
21850           Create structures to maintain the reference frames list (RefPool) and
21851           frames reordering (ReorderPool) logic.
21852           This is a prerequisite for H.264 MVC support.
21853           Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
21854
21855 2014-02-14 15:33:15 +0800  Li Xiaowei <xiaowei.a.li@intel.com>
21856
21857         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
21858           encoder: h264: add provisional support for subset SPS headers.
21859           Add provisions to write subset SPS headers to the bitstream in view
21860           to supporting the H.264 MVC specification.
21861           This assumes the libva "staging" branch is in use.
21862           Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
21863
21864 2013-12-18 13:47:32 +0800  Li Xiaowei <xiaowei.a.li@intel.com>
21865
21866         * gst-libs/gst/vaapi/gstvaapiprofile.c:
21867         * gst-libs/gst/vaapi/gstvaapiutils.c:
21868           utils: add H.264 MVC profiles.
21869           Add "MultiView High" and "Stereo High" definitions.
21870           Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
21871           [require VA-API >= 0.35.2 for MVC profiles]
21872           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21873
21874 2014-06-02 16:25:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21875
21876         * gst-libs/gst/vaapi/gstvaapiprofile.c:
21877         * gst-libs/gst/vaapi/gstvaapiutils.c:
21878           utils: only enable VP8 profiles for newer VA-API versions.
21879           VP8 decoding API appeared in VA-API >= 0.35.0. So, disable mappings
21880           involving VP8 codec on earlier versions of the API.
21881
21882 2014-05-22 10:04:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21883
21884         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21885           decoder: h264: compute view ids only once per slice.
21886           Optimize lookups of view ids / view order indices by caching the result
21887           of the calculatiosn right into the GstVaapiParserInfoH264 struct. This
21888           terribly simplifies is_new_access_unit() and find_first_field() functions.
21889
21890 2014-05-21 17:57:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21891
21892         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21893           decoder: h264: add support for MVC interlaced streams.
21894           Fix support for MVC Stereo High profile streams with interlaced frames.
21895           Also improve the detection logic of the first field.
21896
21897 2014-05-20 18:08:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21898
21899         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21900           decoder: h264: add MVC profiles compatibility logic.
21901           Add safe fallbacks for MVC profiles:
21902           - all MultiView High profile streams with 2 views at most can be decoded
21903           with a Stereo High profile compliant decoder ;
21904           - all Stereo High profile streams with only progressive views can be
21905           decoded with a MultiView High profile compliant decoder ;
21906           - all drivers that support slice-level decoding could normally support
21907           MVC profiles when the DPB holds at most 16 frames.
21908
21909 2014-05-02 14:58:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21910
21911         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21912         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
21913         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
21914           decoder: h264: add initial support for MVC.
21915           https://bugzilla.gnome.org/show_bug.cgi?id=721772
21916
21917 2014-05-01 19:16:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21918
21919         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21920           decoder: h264: dynamically allocate the DPB.
21921           Dynamically allocate the Decoded Picture Buffer (DPB) and add provisions
21922           for supporting the MVC allocation requirements.
21923
21924 2014-05-01 19:33:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21925
21926         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21927           decoder: h264: fix detection of access unit boundaries.
21928           In order to have a stricter conforming implementation, we need to carefully
21929           detect access unit boundaries. Additional operations could be necessary to
21930           perform at those boundaries.
21931
21932 2013-03-13 11:44:38 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21933
21934         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21935           decoder: h264: detect the first VCL NAL unit of a picture for MVC.
21936           Detect the first VCL NAL unit of a picture for MVC, based on the
21937           view_id as per H.7.4.1.2.4. Note that we only need to detect new
21938           view components.
21939           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21940
21941 2013-10-31 19:32:55 +0800  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
21942
21943         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21944           decoder: h264: properly handle Prefix NAL units.
21945           Always cache the previous NAL unit so that we could check whether
21946           there is a Prefix NAL unit immediately preceding the current slice
21947           or IDR NAL unit. In that case, the NAL unit metadata is copied into
21948           the current NAL unit. Otherwise, some default values are inferred,
21949           tentatively. e.g. view_id shall be set to 0 and inter_view_flag to 1.
21950           [infer default values for slice if previous NAL was not a Prefix]
21951           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21952
21953 2013-02-28 15:59:55 +0800  Xiaowei Li <xiaowei.a.li@intel.com>
21954
21955         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21956           decoder: h264: add support for MVC base views.
21957           Allow decoding for base views of MVC encoded streams. For now, just skip
21958           the slice extension and prefix NAL units, and skip non-base view frames.
21959           Signed-off-by: Xiaowei Li <xiaowei.a.li@intel.com>
21960           [fixed memory leak, improved check for MVC NAL units]
21961           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21962
21963 2014-05-04 14:49:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21964
21965         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21966           decoder: h264: simplify storage of decoded picture into DPB.
21967           Factor out process by which the decoded picture with the lowest POC
21968           is found, and possibly output. Likewise, the storage and marking of
21969           a reference decoded, or non-reference decoded picture, into the DPB
21970           could also be simplified as they mostly share the same operations.
21971
21972 2014-05-02 22:40:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21973
21974         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
21975           decoder: h264: minor clean-ups.
21976           Make init_picture_ref_lists() more consistent with other functions
21977           related to the reference marking process by supplying the current
21978           picture as argument.
21979
21980 2014-05-20 11:36:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21981
21982         * gst-libs/gst/vaapi/gstvaapidisplay.c:
21983         * gst-libs/gst/vaapi/gstvaapidisplay.h:
21984         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
21985           display: add utility function to query VA driver name.
21986           Add gst_vaapi_display_get_vendor_string() helper function to query
21987           the underlying VA driver name. The display object owns the resulting
21988           string, so it shall not be deallocated.
21989           That function is thread-safe. It could be used for debugging purposes,
21990           for instance.
21991
21992 2014-03-07 14:50:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
21993
21994         * gst-libs/gst/vaapi/gstvaapidisplay.c:
21995         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
21996         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
21997         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
21998         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
21999         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
22000         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
22001           display: make cache maintenance really MT-safe.
22002           Make sure to initialize one GstVaapiDisplay at a time, even in threaded
22003           environments. This makes sure the display cache is also consistent
22004           during the whole display creation process. In the former implementation,
22005           there were risks that display cache got updated in another thread.
22006
22007 2014-05-03 15:56:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22008
22009         * gst-libs/gst/vaapi/gstvaapicontext.c:
22010           context: allow dynamic growth of VA surfaces pool.
22011           Add support for dynamic growth of the VA surfaces pool. For decoding,
22012           this implies the recreation of the underlying VA context, as per the
22013           requirement from VA-API. Besides, only increases are supported, not
22014           shrinks.
22015
22016 2014-05-03 15:47:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22017
22018         * gst-libs/gst/vaapi/gstvaapicontext.c:
22019           context: reset VA context if VA surfaces set changed.
22020           It is a requirement from VA-API specification that the VA context got
22021           from vaCreateContext(), for decoding purposes, binds the supplied set
22022           of VA surfaces. This means that if the set of VA surfaces is to be
22023           changed for the current decode session, then the VA context needs to
22024           be recreated with the new set of VA surfaces.
22025
22026 2014-05-12 19:23:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22027
22028         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22029           decoder: h264: fix assignment of LongTermFrameIdx.
22030           Complement fix committed as e95a42e.
22031           The H.264 AVC standard has to say: if the field is part of a reference
22032           frame or a complementary reference field pair, and the other field of
22033           the same reference frame or complementary reference field pair is also
22034           marked as "used for long-term reference", the reference frame or
22035           complementary reference field pair is also marked as "used for long-term
22036           reference" and assigned LongTermFrameIdx equal to long_term_frame_idx.
22037           This fixes decoding of MR9_BT_B in strict mode.
22038           https://bugs.freedesktop.org/show_bug.cgi?id=64624
22039           https://bugzilla.gnome.org/show_bug.cgi?id=724518
22040
22041 2014-05-10 06:23:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22042
22043         * gst-libs/gst/vaapi/gstvaapicontext.c:
22044         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22045         * gst-libs/gst/vaapi/gstvaapiutils.c:
22046         * gst-libs/gst/vaapi/gstvaapiutils.h:
22047           decoder: h264: properly support grayscale formats.
22048           Request the correct chroma format for decoding grayscale streams.
22049           i.e. make lookups of the VA chroma format more generic, thus possibly
22050           supporting more formats in the future.
22051           This means that, if a VA driver doesn't support grayscale formats,
22052           it is now going to fail. We cannot safely assume that maybe grayscale
22053           was implemented on top of some YUV 4:2:0 with the chroma components
22054           all set to 0x80.
22055
22056 2014-02-06 11:14:09 +0000  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
22057
22058         * gst-libs/gst/vaapi/gstvaapifilter.c:
22059         * gst-libs/gst/vaapi/gstvaapifilter.h:
22060         * tests/test-filter.c:
22061           build: fix source file modes.
22062           A few source files are marked executable in error - fix them
22063           https://bugzilla.gnome.org/show_bug.cgi?id=723748
22064           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
22065
22066 2014-04-29 13:22:47 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
22067
22068         * configure.ac:
22069         * gst-libs/gst/vaapi/Makefile.am:
22070         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22071         * gst/vaapi/gstvaapidecode.c:
22072           build: fix conditional compilation of VP8 decoder.
22073           https://bugzilla.gnome.org/show_bug.cgi?id=729170
22074           [added check for VASliceParameterBufferBase fields]
22075           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22076
22077 2014-04-27 08:55:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22078
22079         * gst-libs/gst/codecparsers/Makefile.am:
22080           build: fix make dist for codecparsers.
22081
22082 2014-04-28 09:42:13 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22083
22084         * ext/codecparsers:
22085           codecparsers: update to gst-vaapi-branch commit eaa3f7e.
22086           h264: fix parsing of slice groups for map type = 2
22087
22088 2014-04-26 22:35:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22089
22090         * ext/codecparsers:
22091           codecparsers: update to gst-vaapi branch commit f44edfc.
22092           h264: fix derivation of default scaling lists
22093
22094 2013-05-24 19:00:54 +0800  Cong Zhong <congx.zhong@intel.com>
22095
22096         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22097           decoder: h264: fix long-term reference picture marking process.
22098           Fix reference picture marking process with memory_management_control_op
22099           set to 3 and 6, i.e. assign LongTermFrameIdx to a short-term reference
22100           picture, or the current picture.
22101           This fixes decoding of FRExt_MMCO4_Sony_B.
22102           https://bugs.freedesktop.org/show_bug.cgi?id=64624
22103           https://bugzilla.gnome.org/show_bug.cgi?id=724518
22104           [squashed, edited to use GST_VAAPI_PICTURE_IS_COMPLETE() macro]
22105           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22106
22107 2014-04-26 20:21:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22108
22109         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22110           decoder: h264: fix initialization of RefPicLists for multiple slices.
22111           The initialization of reference picture lists (8.2.4.2) applies to all
22112           slices. So, the RefPicList0/1 lists need to be constructed prior to
22113           each slice submission to the HW decoder.
22114           This fixes decoding of video sequences where frames are encoded with
22115           multiple slices of different types, e.g. 4 slices in this order I, P,
22116           I, and P. More precisely, CABAST3_Sony_E and CABASTBR3_Sony_B.
22117           https://bugzilla.gnome.org/show_bug.cgi?id=724518
22118
22119 2013-06-04 15:01:46 +0800  Zhong Cong <congx.zhong@intel.com>
22120
22121         * ext/codecparsers:
22122         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22123           decoder: h264: skip SPS extension and auxiliary slice NALs.
22124           When NAL units of type 13 (SPS extension) or type 19 (auxiliary slice)
22125           are present in a video, decoders shall perform the (optional) decoding
22126           process specified for these NAL units or shall ignore them (7.4.1).
22127           Implement option 2 (skip) for now, as alpha composition is not
22128           supported yet during the decoding process.
22129           This fixes decoding of the primary coded video in alphaconformanceG.
22130           https://bugzilla.gnome.org/show_bug.cgi?id=703928
22131           https://bugzilla.gnome.org/show_bug.cgi?id=728869
22132           https://bugzilla.gnome.org/show_bug.cgi?id=724518
22133           [skip NAL units earlier, i.e. at parsing time]
22134           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22135
22136 2013-03-07 11:32:20 +0800  Li Xiaowei <xiaowei.a.li@intel.com>
22137
22138         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22139           decoder: h264: fix slice data bit offset with MVC NAL units.
22140           When MVC slice NAL units (coded slice extension and prefix NAL) are
22141           present, the number of NAL header bytes is 3, not 1 as usual.
22142           Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
22143           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22144
22145 2014-04-25 19:11:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22146
22147         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22148           decoder: h264: fix activation of picture and sequence parameters.
22149           At the time the first VCL NAL unit of a primary coded picture is found,
22150           and if that NAL unit was parsed to be an SPS or PPS, then the entries
22151           in the parser may have been overriden. This means that, when the picture
22152           is to be decoded, slice_hdr->pps could point to an invalid (the next)
22153           PPS entry.
22154           So, one way to solve this problem is to not use the parser PPS and
22155           SPS info but rather maintain our own activation chain in the decoder.
22156           https://bugzilla.gnome.org/show_bug.cgi?id=724519
22157           https://bugzilla.gnome.org/show_bug.cgi?id=724518
22158
22159 2014-04-25 16:24:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22160
22161         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22162           decoder: h264: retain SEI messages until the end of frame.
22163           Retain the SEI messages that were parsed from the access unit until we
22164           have completely decoded the current frame. This is done so that we can
22165           peek at that data whenever necessary during decoding. e.g. for exposing
22166           3D stereoscopic information at a later stage.
22167
22168 2014-04-25 14:23:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22169
22170         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22171           decoder: h264: add support for grayscale encoded clips.
22172           Fix support for grayscale encoded video clips, and possibly others if
22173           the underlying driver supports the non-YUV 4:2:0 formats. i.e. defer
22174           the decision that a surface with the desired chroma format is not
22175           supported to the actual VA driver implementation.
22176           https://bugzilla.gnome.org/show_bug.cgi?id=728144
22177
22178 2014-04-25 14:16:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22179
22180         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22181         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
22182         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
22183         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
22184         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
22185         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22186           decoder: default to YUV 4:2:0 VA surfaces.
22187           Cope with context changes to support non-YUV 4:2:0 VA surfaces. Still,
22188           make sure all codecs use YUV 4:2:0 output format for now, by default.
22189
22190 2014-04-25 13:57:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22191
22192         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22193         * gst-libs/gst/vaapi/gstvaapidecoder.h:
22194         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
22195           decoder: re-indent GstVaapiDecoder base object.
22196
22197 2014-04-25 13:47:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22198
22199         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22200           encoder: derive chroma type from video format.
22201           Cope with previous VA context change to derive the correct surface chroma
22202           type from the input video format.
22203
22204 2014-04-25 13:45:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22205
22206         * gst-libs/gst/vaapi/gstvaapicontext.c:
22207         * gst-libs/gst/vaapi/gstvaapicontext.h:
22208           context: add support for non-YUV 4:2:0 formats.
22209           Don't force allocation of VA surfaces in YUV 4:2:0 format. Rather, allow
22210           for the upper layer to specify the desired chroma type. If the chroma
22211           type field is not set (or yields zero), then YUV 4:2:0 format is used
22212           by default.
22213
22214 2014-04-22 19:53:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22215
22216         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22217           vp8: fix per-segment deblocking filter level in relative mode.
22218           Fix possible bug when a per-segment deblocking filter level value
22219           needs to be set in non-absolute mode, i.e. when the loop filter update
22220           value is negative in delta mode.
22221           Also clamp the resulting filter level value to 0..63 range.
22222
22223 2014-04-22 17:25:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22224
22225         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22226           vp8: fix check for disabling the loop filter (again).
22227           Improve condition to disable the loop filter. The previous heuristic
22228           used to check all filter levels, for all segments. It turns out that
22229           only the base filter_level value defined in the frame header needs
22230           to be checked.
22231           This fixes 00-comprehensive-013.
22232
22233 2014-04-21 18:02:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22234
22235         * gst-libs/gst/codecparsers/Makefile.am:
22236         * gst/vaapi/Makefile.am:
22237           build: fix make dist with certain conditionals not met.
22238           Fix generation of source tarballs when certain conditionals are not
22239           met. e.g. always include all buildable codecparsers sources in the
22240           distribution tarball, fix plug-in element sources set to include X11
22241           and encoder bits.
22242
22243 2014-04-21 17:34:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22244
22245         * ext/Makefile.am:
22246           build: add missing files for GStreamer 0.10.
22247           Add missing GstVideoEncoder implementation files to fix build with ancient
22248           GStreamer 0.10 stack.
22249           https://bugzilla.gnome.org/show_bug.cgi?id=723964
22250
22251 2014-04-19 10:17:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22252
22253         * ext/Makefile.am:
22254           build: add missing files for VP8 bitstream parser.
22255           Fix make dist for building the VP8 bitstream parser.
22256
22257 2014-04-21 17:49:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22258
22259         * configure.ac:
22260         * ext/libvpx/Makefile.am:
22261         * gst-libs/gst/codecparsers/Makefile.am:
22262           vp8: allow compilation without the built-in libvpx.
22263           The built-in libvpx serves multiple purposes, among which the most
22264           important ones could be: track the most up-to-date, and optimized,
22265           range decoder; allow for future hybrid implementations (non-VLD);
22266           and have a completely independent range decoder implementation.
22267
22268 2014-04-21 17:28:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22269
22270         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22271           vp8: propagate PTS from demux frame.
22272           gst_adapter_prev_pts() is forbidden within libgstvaapi. Besides, the demuxer
22273           or parser would already have determined the PTS from a previous stage.
22274
22275 2014-04-19 07:49:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22276
22277         * Makefile.am:
22278         * debian.upstream/libgstvaapi.install.in:
22279         * ext/libvpx/Makefile.am:
22280         * ext/libvpx/sources.frag:
22281         * gst-libs/gst/codecparsers/Makefile.am:
22282           vp8: fix compilation with built-in libvpx.
22283           Apply correct patch from fd.o #722760 to fix several issues: update the
22284           license terms to LGPLv2.1+, fix dependencies to built-in libvpx and fix
22285           make dist.
22286
22287 2014-02-13 21:17:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22288
22289         * .gitmodules:
22290         * autogen.sh:
22291         * configure.ac:
22292         * ext/Makefile.am:
22293         * ext/libvpx/Makefile.am:
22294         * ext/libvpx/gstlibvpx.c:
22295         * ext/libvpx/gstlibvpx.h:
22296         * ext/libvpx/libgstcodecparsers_vpx.vers:
22297         * ext/libvpx/sources.frag:
22298         * ext/libvpx/upstream:
22299         * gst-libs/gst/codecparsers/Makefile.am:
22300         * gst-libs/gst/codecparsers/gstvaapilibvpx.c:
22301           vp8: use range decoder from libvpx.
22302           Add libvpx submodule that tracks the upstream version 1.3.0. This is
22303           needed to build a libgstcodecparsers_vpx.so library with all symbols
22304           placed into the GSTREAMER namespace.
22305
22306 2014-04-04 19:17:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22307
22308         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22309           vp8: fix check for disabling the loop filter.
22310
22311 2013-12-27 07:18:24 +0800  Zhao, Halley <halley.zhao@intel.com>
22312
22313         * configure.ac:
22314         * ext/Makefile.am:
22315         * gst-libs/gst/codecparsers/Makefile.am:
22316         * gst-libs/gst/vaapi/Makefile.am:
22317         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
22318         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
22319         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
22320         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
22321         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c:
22322         * gst-libs/gst/vaapi/gstvaapidecoder_vp8.h:
22323         * gst-libs/gst/vaapi/gstvaapiprofile.c:
22324         * gst-libs/gst/vaapi/gstvaapiprofile.h:
22325         * gst/vaapi/gstvaapidecode.c:
22326           Add initial VP8 decoder.
22327           https://bugzilla.gnome.org/show_bug.cgi?id=722761
22328           [complete overhaul, fixed support for resolution changes]
22329           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22330
22331 2014-03-21 15:15:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22332
22333         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22334           decoder: h264: cope with new gst_h264_parser_parse_sei() interface.
22335           The gst_h264_parse_parse_sei() function now returns an array of SEI
22336           messages, instead of a single SEI message. Reason: it is allowed to
22337           have several SEI messages packed into a single SEI NAL unit, instead
22338           of multiple NAL units.
22339
22340 2014-04-18 19:36:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22341
22342         * ext/codecparsers:
22343           codecparsers: update to gst-vaapi-branch commit a454f86.
22344           b2eb5f6 vp8: rename dboolhuff symbols
22345           b74a881 vp8: add GStreamer native utilities
22346           2940ac6 add VP8 bitstream parser
22347
22348 2014-04-18 19:16:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22349
22350         * ext/codecparsers:
22351           codecparsers: update to gst-vaapi-branch commit d459bc5.
22352           d459bc5 h264: set framerate even for interlaced videos
22353           c78b82c h264: add support for Recovery Point SEI message
22354           7693bac h264: add support for Frame Packing Arrangement SEI message
22355           31fafa7 h264: add support for Stereo Video Information SEI message
22356           8b113a6 h264: parse seq_parameter_set_mvc_extension()
22357           040f9b8 h264: parse MVC syntax elements
22358           cc18ef3 h264: add nal_reader_skip_long() helper
22359           7e76a48 h264: fix slice_header() parsing for MVC
22360           caf46d8 h264: add gst_h264_parse_nalu_header() helper
22361           f75074e h264: add gst_h264_parse_sps_data() helper
22362           798c397 h264: clean-up gst_h264_parser_parse_sei_message()
22363           4e36737 h264: fix skipping of unsupported SEI messages
22364           5300766 h264: fix SEI buffering_period() parsing
22365
22366 2014-03-21 15:09:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22367
22368         * ext/codecparsers:
22369         * gst-libs/gst/codecparsers/Makefile.am:
22370           codecparsers: update to gst-vaapi-branch commit 8fadf40.
22371           8fadf40 h264: Fix multiple SEI messages in one SEI RBSP parsing.
22372           644825f h265: remove trailling 0x00 bytes as the spec doesn't allow them
22373           95f9f0f h264: remove trailling 0x00 bytes as the spec doesn't allow them
22374           766007b h265: Initialize pointer correctly that is never assigned but freed in error cases
22375           8ec5816 h265: Fix segfault when parsing HRD parameter
22376           5b1730f h265: Fix segfault when parsing VPS
22377           983b7f7 h265: prevent to overrun chroma_weight_l0_flag
22378           7ba641d h265: Fix debug output
22379           d9f9f9b h264: not all startcodes should have 3-byte 0 prefix
22380
22381 2014-02-04 18:35:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22382
22383         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22384           decoder: h264: fix robustness patch for bytestream format.
22385           Fix parser and decoder state to sync at the right locations. This is
22386           because we could reset the parser state, while the decoder state was
22387           not copied yet, e.g. when parsing several NAL units from multiple frames
22388           whereas the current frame was not decoded yet.
22389           This is a regression brought in by commit 6fe5496.
22390
22391 2014-02-18 06:56:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22392
22393         * configure.ac:
22394         * pkgconfig/Makefile.am:
22395         * pkgconfig/gstreamer-vaapi-drm.pc.in:
22396         * pkgconfig/gstreamer-vaapi-glx.pc.in:
22397         * pkgconfig/gstreamer-vaapi-wayland.pc.in:
22398         * pkgconfig/gstreamer-vaapi-x11.pc.in:
22399           build: fix pkgconfig file names (again).
22400           It turns out it is more convenient to have only pkgconfig files named
22401           after the installed GStreamer API version (1.0) instead of using all
22402           possible subsequent names from that (1.0, 1.2, 1.4). i.e. they conflict
22403           altogether anyway, so align pkgconfig file names to that.
22404
22405 2014-02-07 09:43:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22406
22407         * debian.upstream/libgstvaapi-dev.install.in:
22408         * gst-libs/gst/vaapi/Makefile.am:
22409         * pkgconfig/gstreamer-vaapi.pc.in:
22410           build: fix packaging for GStreamer 1.2.
22411           Fix gstreamer-vaapi includedir for GStreamer 1.2 setups. i.e. use
22412           the pkgconfig version (1.0) instead of the intended API version (1.2).
22413           libgstvaapi1.0-dev and libgstvaapi1.2-dev packages will now conflict,
22414           as would core GStreamer 1.0 and GStreamer 1.2 dev packages anyway.
22415
22416 2014-01-24 11:27:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22417
22418         * configure.ac:
22419           Bump version for development.
22420
22421 2014-01-24 10:55:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22422
22423         * debian.upstream/control.in:
22424           debian: fix trailing whitespace in description.
22425
22426 2014-01-23 23:24:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22427
22428         * debian.upstream/control.in:
22429         * debian.upstream/copyright:
22430           debian: fix package description.
22431           Try to improve package description for the compiled plug-in elements
22432           available in there. e.g. only display vaapidownload and vaapiupload
22433           for GStreamer 0.10 builds, display vaapiencode_* elements when VA
22434           encoding is enabled, etc.
22435           Also increase the copyright notice date.
22436
22437 2014-01-23 22:47:19 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22438
22439         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22440           build: fix warnings on 64-bit platforms.
22441
22442 2014-01-23 22:44:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22443
22444         * gst-libs/gst/vaapi/gstvaapicontext.c:
22445         * gst-libs/gst/vaapi/gstvaapiutils.c:
22446           build: fix for older versions of VA-API (< 0.34.0).
22447           Fix build with older versions of VA-API (< 0.34.0), or versions without
22448           good enough headers for encoding support for instance.
22449
22450 2014-01-23 19:36:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22451
22452         * NEWS:
22453         * configure.ac:
22454           0.5.8.
22455
22456 2014-01-23 19:32:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22457
22458         * README:
22459           README: updates.
22460           VA-API up to 0.34.0 is actually supported. Mention new video encoding
22461           support. Update copyright years, list of supported Intel HD Graphics
22462           hardware.
22463
22464 2014-01-23 19:18:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22465
22466         * NEWS:
22467           NEWS: updates.
22468
22469 2014-01-20 14:16:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22470
22471         * tests/test-filter.c:
22472           tests: test-filter: fix "deinterlace" option parse.
22473           Default to GST_VAAPI_DEINTERLACE_METHOD_NONE if no "deinterlace" option
22474           string was provided, i.e. if it remained set to NULL.
22475
22476 2014-01-23 18:41:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22477
22478         * gst-libs/gst/vaapi/Makefile.am:
22479         * gst-libs/gst/vaapi/gstvaapicontext.c:
22480         * gst-libs/gst/vaapi/gstvaapicontext.h:
22481         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22482         * gst-libs/gst/vaapi/gstvaapiutils_core.c:
22483         * gst-libs/gst/vaapi/gstvaapiutils_core.h:
22484           libs: factor out usages of vaGetConfigAttributes().
22485           Add gst_vaapi_get_config_attribute() helper function that takes a
22486           GstVaapiDisplay and the rest of the arguments with VA types. The aim
22487           is to have thread-safe VA helpers by default.
22488
22489 2014-01-23 17:41:02 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22490
22491         * gst-libs/gst/vaapi/gstvaapiutils.c:
22492         * gst-libs/gst/vaapi/gstvaapiutils.h:
22493         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
22494         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
22495         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
22496         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
22497         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
22498         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h:
22499         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h:
22500         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
22501         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
22502           libs: re-indent all source code related to VA utilities.
22503
22504 2014-01-23 17:06:08 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22505
22506         * gst-libs/gst/vaapi/libgstvaapi_priv_check.h:
22507           libs: add missing file (libgstvaapi_priv_check.h).
22508
22509 2014-01-23 15:13:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22510
22511         * gst-libs/gst/vaapi/gstvaapicontext.c:
22512         * gst-libs/gst/vaapi/gstvaapicontext.h:
22513         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22514         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22515         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
22516         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
22517           encoder: notify the encoder of the submitted packed headers.
22518           Make sure to configure the encoder with the set of packed headers we
22519           intend to generate and submit. i.e. make selection of packed headers
22520           to submit more robust.
22521
22522 2014-01-23 15:10:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22523
22524         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22525         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22526         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
22527         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
22528           encoder: fix and factor out check for supported rate-control modes.
22529           Cache the first compatible GstVaapiProfile found if the encoder is not
22530           configured yet. Next, factor out the code to check for the supported
22531           rate-control modes by moving out vaGetConfigAttributes() to a separate
22532           function, while also making sure that the attribute type is actually
22533           supported by the encoder.
22534           Also fix the default set of supported rate control modes to not the
22535           "none" variant. It's totally useless to expose it at this point.
22536
22537 2014-01-23 14:01:33 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22538
22539         * gst-libs/gst/vaapi/gstvaapicontext.c:
22540         * gst-libs/gst/vaapi/gstvaapicontext.h:
22541         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22542           context: move rate-control mode to encoder specific config.
22543           Move usage-specific config out of the common GstVaapiContextInfo.
22544           Create a specialized config for encoding and move rate-control mode
22545           to there.
22546
22547 2014-01-23 13:30:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22548
22549         * gst-libs/gst/vaapi/gstvaapicontext.c:
22550         * gst-libs/gst/vaapi/gstvaapicontext.h:
22551         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22552         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22553           context: introduce concept of usage.
22554           Introduce GstVaapiContextUsage so that to explicitly determine the
22555           usage of a VA context. This is useful in view to simplifying the
22556           creation of VA context for VPP too.
22557
22558 2014-01-23 11:44:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22559
22560         * gst-libs/gst/vaapi/gstvaapicontext.c:
22561           context: fix get_attribute() value result.
22562           Unknown attributes, or attributes that are not supported for the given
22563           profile/entrypoint pair have a return value of VA_ATTRIB_NOT_SUPPORTED.
22564           So, return failure in this case.
22565
22566 2014-01-23 10:59:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22567
22568         * gst-libs/gst/vaapi/Makefile.am:
22569         * gst-libs/gst/vaapi/gstvaapicontext.c:
22570         * gst-libs/gst/vaapi/gstvaapicontext.h:
22571         * gst-libs/gst/vaapi/gstvaapicontext_overlay.c:
22572         * gst-libs/gst/vaapi/gstvaapicontext_overlay.h:
22573         * gst-libs/gst/vaapi/gstvaapisurface.c:
22574           context: move overlay composition to separate files.
22575           Move GstVideoOverlayComposition handling to separate source files.
22576           This helps keeing GstVaapiContext core implementation to the bare
22577           minimal, i.e. simpy helpers to create a VA context and handle pool
22578           of associated VA surfaces.
22579
22580 2014-01-23 09:41:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22581
22582         * gst-libs/gst/vaapi/gstvaapicontext.c:
22583         * gst-libs/gst/vaapi/gstvaapicontext.h:
22584         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22585         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22586           context: clean-ups. Strip down APIs.
22587           Improve documentation and debug messages. Clean-up APIs, i.e. strip
22588           them down to the minimal set of interfaces. They are private, so no
22589           need expose getters for instance.
22590
22591 2014-01-23 09:27:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22592
22593         * gst-libs/gst/vaapi/gstvaapicontext.c:
22594         * gst-libs/gst/vaapi/gstvaapicontext.h:
22595           context: re-indent all GstVaapiContext related source code.
22596
22597 2014-01-23 10:20:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22598
22599         * gst-libs/gst/vaapi/Makefile.am:
22600         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
22601         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
22602         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
22603         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
22604         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
22605         * gst-libs/gst/vaapi/gstvaapipixmap_priv.h:
22606         * gst-libs/gst/vaapi/gstvaapiutils.h:
22607         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
22608         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
22609         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h:
22610         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
22611         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
22612           libs: check that private headers remain private.
22613           Make sure that libgstvaapi private headers remain internally used to
22614           build libgstvaapi libraries only. All header dependencies were reviewed
22615           and checks for IN_LIBGSTVAAPI definition were added accordingly.
22616           Also rename GST_VAAPI_CORE definition to IN_LIBGSTVAAPI_CORE to keep
22617           consistency.
22618
22619 2014-01-22 19:04:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22620
22621         * configure.ac:
22622           Bump library major version.
22623           Bump the library major version due to API/ABI changes that occurred in
22624           the imaging API. In particular, GstVaapiDisplay interfaces no longer
22625           expose any GstCaps but provide GArray based ones e.g. to determine the
22626           set of supported decode/encode profiles.
22627
22628 2014-01-22 18:54:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22629
22630         * gst-libs/gst/vaapi/glibcompat.h:
22631         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
22632         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
22633         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.c:
22634         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.h:
22635         * gst-libs/gst/vaapi/gstvaapicontext.c:
22636         * gst-libs/gst/vaapi/gstvaapicontext.h:
22637         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22638         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
22639         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
22640         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
22641         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
22642         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22643         * gst-libs/gst/vaapi/gstvaapiencoder.h:
22644         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22645         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
22646         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
22647         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
22648         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
22649         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
22650         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
22651         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
22652         * gst-libs/gst/vaapi/gstvaapifilter.c:
22653         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
22654         * gst-libs/gst/vaapi/gstvaapisurface.c:
22655         * gst-libs/gst/vaapi/gstvaapisurface.h:
22656         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
22657         * gst-libs/gst/vaapi/gstvaapitypes.h:
22658         * gst-libs/gst/vaapi/gstvaapiutils.c:
22659         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
22660         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
22661         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
22662         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.c:
22663         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h:
22664         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h:
22665         * gst-libs/gst/vaapi/gstvaapivalue.c:
22666         * gst-libs/gst/vaapi/gstvaapivalue.h:
22667         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
22668         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
22669         * gst/vaapi/gstvaapidecode.c:
22670         * gst/vaapi/gstvaapiencode.c:
22671         * gst/vaapi/gstvaapiencode.h:
22672         * gst/vaapi/gstvaapiencode_h264.c:
22673         * gst/vaapi/gstvaapiencode_h264.h:
22674         * gst/vaapi/gstvaapiencode_mpeg2.c:
22675         * gst/vaapi/gstvaapiencode_mpeg2.h:
22676         * gst/vaapi/gstvaapipluginbase.c:
22677         * gst/vaapi/gstvaapipluginutil.c:
22678         * gst/vaapi/gstvaapipluginutil.h:
22679         * gst/vaapi/gstvaapipostproc.c:
22680         * gst/vaapi/gstvaapipostproc.h:
22681         * gst/vaapi/gstvaapisink.c:
22682         * gst/vaapi/gstvaapisink.h:
22683         * gst/vaapi/gstvaapivideometa_texture.c:
22684         * tests/simple-decoder.c:
22685           legal: update copyright notice dates.
22686
22687 2014-01-22 18:49:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22688
22689         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22690         * gst-libs/gst/vaapi/gstvaapiencoder.h:
22691         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22692         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
22693         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
22694         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
22695         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
22696         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
22697         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
22698         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
22699         * gst/vaapi/gstvaapiencode.c:
22700         * gst/vaapi/gstvaapiencode.h:
22701         * gst/vaapi/gstvaapiencode_h264.c:
22702         * gst/vaapi/gstvaapiencode_h264.h:
22703         * gst/vaapi/gstvaapiencode_mpeg2.c:
22704         * gst/vaapi/gstvaapiencode_mpeg2.h:
22705           legal: add per-file authorship information.
22706
22707 2014-01-22 18:11:26 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22708
22709         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22710         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
22711           decoder: fix video codec frame number in standalone mode.
22712           Set a valid GstVideoCodecFrame.system_frame_number when decoding a
22713           stream in standalone mode. While we are at it, improve the debugging
22714           messages to also include that frame number.
22715
22716 2014-01-17 16:56:53 +0800  Wind Yuan <feng.yuan@intel.com>
22717
22718         * gst-libs/gst/vaapi/gstvaapidecoder.c:
22719         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
22720           decoder: fix crash on invalid pointer for GST_DEBUG().
22721           When decoding failed, or that the frame was dropped, the associated
22722           surface proxy is not guaranteed to be present. Thus, the GST_DEBUG()
22723           message needs to check whether the proxy is actually present or not.
22724           https://bugzilla.gnome.org/show_bug.cgi?id=722403
22725           [fixed gst_vaapi_surface_proxy_get_surface_id() to return VA_INVALID_ID]
22726           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22727
22728 2014-01-22 17:07:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22729
22730         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22731           encoder: h264: disable NAL HRD parameters for now.
22732           Don't emit NAL HRD parameters for now in the SPS headers because the
22733           SEI buffering_period() and picture_timing() messages are not handled
22734           yet. Some additional changes are necessary to get it right.
22735           https://bugzilla.gnome.org/show_bug.cgi?id=722734
22736
22737 2014-01-21 19:04:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22738
22739         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22740         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
22741         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
22742         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
22743           encoder: h264: fix default CPB buffer size.
22744           Fix default CPB buffer size to something more reasonable (1500 ms)
22745           and that still fits the level limits. This is a non configurable
22746           property for now. The initial CPB removal delay is also fixed to
22747           750 ms.
22748           https://bugzilla.gnome.org/show_bug.cgi?id=722087
22749
22750 2014-01-22 14:43:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22751
22752         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22753           encoder: h264: fix bitrate encoding for HRD conformance.
22754           Round down the calculated, or supplied, bitrate (kbps) into a multiple
22755           of the HRD bitrate scale factor. Use a bitrate scale factor of 64 so
22756           that to have less losses in precision. Likewise, don't round up because
22757           that could be a strict constraint imposed by the user.
22758
22759 2014-01-22 11:25:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22760
22761         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22762           encoder: h264: fix level lookup constraints wrt. bitrate.
22763           Fix the level calculation involving bitrate limits. Since we are
22764           targetting NAL HRD conformance, the check against MaxBR from the
22765           Table A-1 limits shall involve cpbBrNalFactor depending on the
22766           active profile.
22767
22768 2014-01-21 18:01:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22769
22770         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22771           encoder: h264: submit sequence parameter only once.
22772           Submit sequence parameter buffers only once, or when the bitstream
22773           was reconfigured in a way that requires such. Always submit packed
22774           sequence parameter buffers at I-frame period, if the VA driver needs
22775           those.
22776           https://bugzilla.gnome.org/show_bug.cgi?id=722737
22777
22778 2014-01-21 18:35:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22779
22780         * gst-libs/gst/vaapi/gstvaapicontext.c:
22781         * gst-libs/gst/vaapi/gstvaapicontext.h:
22782         * gst-libs/gst/vaapi/gstvaapiencoder.c:
22783         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22784         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
22785           encoder: h264: only submit packed headers when required.
22786           Make sure to submit the packed headers only if the underlying VA driver
22787           requires those. Currently, only handle packed sequence and picture
22788           headers.
22789           https://bugzilla.gnome.org/show_bug.cgi?id=722737
22790
22791 2014-01-21 17:35:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22792
22793         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22794           encoder: h264: fix ip_period value in sequence parameter.
22795           The VAEncSequenceParameterBuffer.ip_period value reprents the distance
22796           between the I-frame and the next P-frame. So, this also accounts for
22797           any additional B-frame in the middle of it.
22798           This fixes rate control heuristics for certain VA drivers.
22799           https://bugzilla.gnome.org/show_bug.cgi?id=722735
22800
22801 2014-01-21 17:04:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22802
22803         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22804           encoder: h264: fix level when bitrate is automatically computed.
22805           Fix level characterisation when the bitrate is automatically computed
22806           from the active coding tools. i.e. ensure the bitrate once the profile
22807           is completely characterized but before the level calculation process.
22808
22809 2014-01-21 16:05:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22810
22811         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22812           encoder: h264: clean-ups.
22813           Document and rename a few functions here and there. Drop code that
22814           caps num_bframes variable in reset_properties() since they shall
22815           have been checked beforehand, during properties initialization.
22816
22817 2014-01-21 15:28:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22818
22819         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22820           encoder: h264: clean-up bitwriter related utilities.
22821           Clean-up GstBitWriter related utility functions and simplify notations.
22822           While we are at it, also make bitstream writing more robust should an
22823           overflow occur. We could later optimize for writing headers capped to
22824           their maximum possible size by using the _unchecked() helper variants.
22825
22826 2014-01-21 15:23:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22827
22828         * gst-libs/gst/vaapi/Makefile.am:
22829         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22830         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
22831           encoder: h264: completely remove private headers.
22832           Drop private header since it was originally used to expose internals
22833           to the plugin element. The proper interface is now the properties API,
22834           thus rendering private headers totally obsolete.
22835
22836 2014-01-15 15:54:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22837
22838         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22839           encoder: h264: fix PPS header packing with profile < high.
22840           Fix PPS header packing when profile is below High since 8x8 transform
22841           mode and scaling lists are High Profile features.
22842
22843 2014-01-15 15:46:19 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22844
22845         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22846           encoder: h264: always emit VUI parameters for framerate.
22847           Always emit VUI parameters for timing_info, which includes framerate
22848           information.
22849
22850 2014-01-15 15:10:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22851
22852         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
22853           encoder: h264: really fix frame cropping rectangle calculation.
22854           Make frame cropping rectangle calculation future proof, i.e. exactly
22855           follow the specification (7-18) to (7-21), and subsampling definitions
22856           from Table 6-1.
22857           https://bugzilla.gnome.org/show_bug.cgi?id=722089
22858           https://bugzilla.gnome.org/show_bug.cgi?id=722238
22859
22860 2014-01-15 12:09:14 +0100  Holger Kaelberer <hk@getslash.de>
22861
22862         * gst/vaapi/gstvaapisink.c:
22863         * gst/vaapi/gstvaapisink.h:
22864           vaapisink: set csc render flags from sinkpad caps.
22865           This maps GstVideoColorimetry information in vaapisink's sinkpad caps
22866           to GST_VAAPI_COLOR_STANDARD_* flags, if per-buffer information was not
22867           available.
22868           https://bugzilla.gnome.org/show_bug.cgi?id=722255
22869           [factored out code, added SMPTE240M, handle per-buffer flags]
22870           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22871
22872 2012-03-28 15:05:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22873
22874         * gst-libs/gst/vaapi/gstvaapisurface.h:
22875         * gst-libs/gst/vaapi/gstvaapiutils.c:
22876         * gst/vaapi/gstvaapipostproc.c:
22877           surface: rework render flags.
22878           Pack render flags per category and provide more flags into the color
22879           standard category. In particular, cover for SMPTE-240M.
22880
22881 2013-12-13 04:14:41 +0800  Zhao, Halley <halley.zhao@intel.com>
22882
22883         * gst-libs/gst/vaapi/gstvaapifilter.c:
22884         * gst/vaapi/gstvaapipostproc.c:
22885         * gst/vaapi/gstvaapipostproc.h:
22886           vaapipostproc: add support for colorbalance filters.
22887           Add support for hue, saturation, brightness and constrat adjustments.
22888           Also fix cap info local copy to match the really expected cap subtype
22889           of interest.
22890           https://bugzilla.gnome.org/show_bug.cgi?id=720376
22891           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22892
22893 2013-12-12 08:38:12 +0800  Zhao, Halley <halley.zhao@intel.com>
22894
22895         * gst/vaapi/gstvaapipostproc.c:
22896           vaapipostproc: fix support for "sharpen" filter.
22897           Fix copy/paste error when submitting the "sharpen" value to the
22898           GstVaapiFilter instance.
22899           https://bugzilla.gnome.org/show_bug.cgi?id=720375
22900           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22901
22902 2013-12-20 12:05:42 +0000  Lionel Landwerlin <llandwerlin@gmail.com>
22903
22904         * configure.ac:
22905         * pkgconfig/gstreamer-vaapi-drm.pc.in:
22906         * pkgconfig/gstreamer-vaapi-glx.pc.in:
22907         * pkgconfig/gstreamer-vaapi-wayland.pc.in:
22908         * pkgconfig/gstreamer-vaapi-x11.pc.in:
22909         * pkgconfig/gstreamer-vaapi.pc.in:
22910           pkgconfig: plugin dir should use PKG version not API version.
22911           Fix the pluginsdir and includedir variables in the generated pkgconfig
22912           (.pc) files. The location needs to be built with the PKG version in
22913           mind instead of the API version.
22914           While we are at it, also fix the PKG version for GStreamer >= 1.3.
22915           https://bugzilla.gnome.org/show_bug.cgi?id=720820
22916           [additional fixes for includedir and pkg requirements]
22917           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22918
22919 2014-01-15 10:05:45 +0100  Holger Kaelberer <hk@getslash.de>
22920
22921         * gst/vaapi/gstvaapisink.c:
22922           vaapisink: fix display initialization in GstVideoOverlay implementation.
22923           When gst_vaapisink_video_overlay_set_window_handle() is called early,
22924           before the pipeline has been set to PLAYING, the display has not yet
22925           been initialized and _PLUGIN_BASE_DISPLAY_TYPE() is not yet
22926           up-to-date. For this reason the foreign XID is not attached.
22927           Now _ensure_display() is called earlier.
22928           https://bugzilla.gnome.org/show_bug.cgi?id=722244
22929           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22930
22931 2013-10-09 13:47:54 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
22932
22933         * gst/vaapi/gstvaapisink.c:
22934           vaapisink: expose the raw video formats in static caps template.
22935           Expose all raw video formats in the static caps template since the
22936           vaapisink is supporting raw data. We will get the exact set of formats
22937           supported by the driver dynamically through the _get_caps() routine.
22938           https://bugzilla.gnome.org/show_bug.cgi?id=703271
22939           https://bugzilla.gnome.org/show_bug.cgi?id=720737
22940           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22941
22942 2013-12-11 18:08:26 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
22943
22944         * gst/vaapi/gstvaapidecode.c:
22945           vaapidecode: query downstream caps features like GLTextureUploadMeta.
22946           Fix vaapidecode to correctly report caps features downstream, when
22947           a custom pipeline is built manually.
22948           https://bugzilla.gnome.org/show_bug.cgi?id=719372
22949           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22950
22951 2013-12-17 15:27:10 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
22952
22953         * gst/vaapi/gstvaapidecode.c:
22954           vaapidecode: add system memory caps to template caps.
22955           Since vaapidecode provides buffer that can be mapped as regular memory,
22956           those caps should be added to the template caps. That only applies to
22957           GStreamer >= 1.2.
22958           https://bugzilla.gnome.org/show_bug.cgi?id=720608
22959           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22960
22961 2013-12-17 10:26:03 +0800  Wind Yuan <feng.yuan@intel.com>
22962
22963         * gst/vaapi/gstvaapidecode.c:
22964           vaapidecode: fix hang on SIGINT.
22965           vaapidecode hangs when pipeline is stopped without any EOS, e.g. when
22966           <Ctrl>+C is pressed, thus causing the srcpad task to keep running and
22967           locked. This fixes a deadlock on state change from PAUSED to READY.
22968           https://bugzilla.gnome.org/show_bug.cgi?id=720584
22969           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22970
22971 2013-12-17 04:23:42 -0500  Wind Yuan <feng.yuan@intel.com>
22972
22973         * gst/vaapi/gstvaapiencode.c:
22974           vaapiencode: fix possible hang on SIGINT.
22975           vaapiencode might hang when the pipeline is stopped without any EOS,
22976           e.g. when <Ctrl>+C is pressed, thus causing the srcpad task to keep
22977           running and locked. This fixes a possible deadlock on state change
22978           from PAUSED to READY.
22979           https://bugzilla.gnome.org/show_bug.cgi?id=720584
22980           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22981
22982 2014-01-14 16:33:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22983
22984         * gst/vaapi/gstvaapiencode.c:
22985           vaapiencode: fix typo in error message.
22986           Fix incomplete error message in gst_vaapiencode_push_frame().
22987
22988 2014-01-14 19:08:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
22989
22990         * gst/vaapi/gstvaapipluginutil.c:
22991         * gst/vaapi/gstvaapipluginutil.h:
22992           plugins: add helpers to create video caps with features.
22993           Add gst_vaapi_video_format_new_template_caps_with_features() helper
22994           function to add the supplied caps feature string on GStreamer >= 1.2.
22995           Add gst_vaapi_find_preferred_caps_feature() helper function to discover
22996           the "best" caps feature to use for the supplied pad. In practice, we
22997           will always favor memory:VASurface first, then meta:GLTextureUploadMeta,
22998           and finally the system memory caps.
22999           https://bugzilla.gnome.org/show_bug.cgi?id=719372
23000
23001 2014-01-09 11:54:11 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
23002
23003         * gst/vaapi/gstvaapivideometa_texture.c:
23004           plugins: don't apply overlay composition in GLTextureUpload function.
23005           The GLTextureUpload function is not in charge of doing the overlay
23006           composition if any.
23007           https://bugzilla.gnome.org/show_bug.cgi?id=721859
23008           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23009
23010 2014-01-14 13:47:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23011
23012         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
23013           encoder: re-order submission of VA objects.
23014           Change the submission order of VA objects so that to make that process
23015           more logical. i.e. submit sequence parameter first, if any; next the
23016           packed headers associated to sequece, picture or slices; and finally
23017           the actual picture and associated slices.
23018
23019 2014-01-14 12:01:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23020
23021         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23022         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23023         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23024         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
23025         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
23026           encoder: clean-up objects.
23027           Various clean-ups to improve consistency and readability: rename some
23028           variables, drop unused macro definitions, drop initialization of vars
23029           that are zero-initialized from the base class, drop un-necessary casts,
23030           allocate GPtrArrays with a destroy function.
23031
23032 2014-01-13 13:41:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23033
23034         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23035           encoder: h264: fix frame cropping rectangle calculation.
23036           Fix frame cropping rectangle calculation to handle horizontal resolutions
23037           that don't match a multiple of 16 pixels, but also the vertical resolution
23038           that was incorrectly computed for progressive sequences too.
23039           https://bugzilla.gnome.org/show_bug.cgi?id=722089
23040
23041 2014-01-13 11:49:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23042
23043         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23044           encoder: h264: improve automatic bitrate calculation.
23045           For non "Constant-QP" modes, we could provide more reasonable heuristics
23046           for the target bitrate. In general, 48 bits per macroblock with all the
23047           useful coding tools enable looks safe enough. Then, this rate is raised
23048           by +10% to +15% for each coding tool that is disabled.
23049           https://bugzilla.gnome.org/show_bug.cgi?id=719699
23050
23051 2014-01-13 11:11:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23052
23053         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23054           encoder: h264: support "high-compression" tuning option.
23055           Add support for "high-compression" tuning option. First, determine the
23056           largest supported profile by the hardware. Next, check any target limit
23057           set by the user. Then, enable each individual coding tool based on the
23058           resulting profile_idc value to use.
23059           https://bugzilla.gnome.org/show_bug.cgi?id=719696
23060
23061 2014-01-12 22:24:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23062
23063         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23064         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23065         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23066         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23067         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
23068         * gst/vaapi/gstvaapiencode_h264.c:
23069           encoder: h264: allow target decoder constraints.
23070           Allow user to precise the largest profile to use for encoding due
23071           to target decoder constraints. For instance, if CABAC entropy coding
23072           mode is requested by "constrained-baseline" profile only is desired,
23073           then an error is returned during codec configuration.
23074           Also make sure that the suitable profile we derived actually matches
23075           what the HW can cope with.
23076           https://bugzilla.gnome.org/show_bug.cgi?id=719694
23077
23078 2014-01-12 22:14:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23079
23080         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23081           encoder: h264: refine size of coded buffer.
23082           Refine the heuristic to determine the maximum size of a coded buffer
23083           to account for the exact number of slices. set_context_info() is the
23084           last step during codec reconfiguration, no additional change is done
23085           afterwards, so re-using the num_slices field here is fine.
23086           https://bugzilla.gnome.org/show_bug.cgi?id=719953
23087
23088 2013-12-13 17:36:08 +0800  Wind Yuan <feng.yuan@intel.com>
23089
23090         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23091         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23092         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23093           encoder: h264: expose more coding tools.
23094           Add new H.264 coding tools to improve compression:
23095           - "cabac": enable CABAC entropy coding (default: FALSE);
23096           - "dct8x8": enable spatial transform 8x8 (default: FALSE).
23097           https://bugzilla.gnome.org/show_bug.cgi?id=719693
23098           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23099
23100 2014-01-10 18:18:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23101
23102         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23103         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23104         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23105           encoder: h264: derive profile and level from active coding tools.
23106           Automatically derive the minimum profile and level to be used for
23107           encoding, based on the activated coding tools. The encoder will
23108           be trying to generate a bitstream that has the best chances to be
23109           decoded on most platforms by default.
23110           Also change the default profile to "constrained-baseline" so that
23111           to ensure maximum compatibility when the stream is decoded.
23112           https://bugzilla.gnome.org/show_bug.cgi?id=719691
23113
23114 2014-01-10 17:02:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23115
23116         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23117         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23118         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23119           encoder: h264: fix hardware profile lookup.
23120           Fix lookup for a suitable HW profile, as to be used by the underlying
23121           hardware, based on heuristics that lead to characterize the SW profile,
23122           i.e. the one used by the SW level encoding logic.
23123           Also fix constraint_set0_flag (A.2.1) and constraint_set1_flag (A.2.2)
23124           as they should respectively match the baseline and main profile.
23125           https://bugzilla.gnome.org/show_bug.cgi?id=719827
23126
23127 2014-01-10 14:46:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23128
23129         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23130         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23131         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23132           encoder: h264: support only the byte-stream format.
23133           The libgstvaapi core encoders are meant to support raw bitstreams only.
23134           Henceforth, we are always producing a stream in "byte-stream" format.
23135           However, the "codec-data" buffer which holds SPS and PPS headers is
23136           always available. The "lengthSizeMinusOne" field is always set to 3
23137           so that in-place "byte-stream" format to "avc" format conversion could
23138           be performed.
23139
23140 2014-01-10 14:05:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23141
23142         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23143         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23144         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23145         * gst/vaapi/gstvaapiencode_h264.c:
23146           encoder: h264: clean-ups.
23147           Various clean-ups to improve consistency and readability: rename some
23148           variables, drop unused macro definitions, drop initialization of vars
23149           that are zero-initialized from the base class, drop un-necessary casts.
23150
23151 2014-01-13 17:11:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23152
23153         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23154           encoder: mpeg2: fix hardware profile lookup.
23155           Fix lookup for a suitable HW profile, as to be used by the underlying
23156           hardware, based on heuristics that lead to characterize the SW profile,
23157           i.e. the one used by the SW level encoding logic.
23158
23159 2014-01-13 16:56:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23160
23161         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23162         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
23163           encoder: mpeg2: derive profile and level from active coding tools.
23164           Automatically derive the minimum profile and level to be used for
23165           encoding, based on the activated coding tools. Improve lookup for
23166           the best suitable level with the new MPEG-2 helper functions.
23167           Also change the default profile to "simple" so that to ensure maximum
23168           compatibility when the stream is decoded.
23169           https://bugzilla.gnome.org/show_bug.cgi?id=719703
23170
23171 2014-01-13 14:41:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23172
23173         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23174         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
23175         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
23176           encoder: mpeg2: clean-ups.
23177           Various clean-ups to improve consistency and readability: drop unused
23178           macro definitions, drop initialization of vars that are zero-initialized
23179           from the base class, drop un-necessary casts.
23180
23181 2014-01-13 10:48:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23182
23183         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23184         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23185         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23186         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23187         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23188           encoder: add tuning options API.
23189           Add encoder "tune" option to override the default behaviour that is to
23190           favor maximum decoder compatibility at the expense of lower compression
23191           ratios.
23192           Expected tuning options to be developed are:
23193           - "high-compression": improve compression, target best-in-class decoders;
23194           - "low-latency": tune for low-latency decoding;
23195           - "low-power": tune for encoding in low power / resources conditions.
23196
23197 2014-01-12 23:17:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23198
23199         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23200         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23201           encoder: fix bitrate units to match kbps.
23202           Bitrate is expressed in kilobits per second (kbps). So, this exactly
23203           means in multiple of 1000 bits, not 1024 bits.
23204           https://bugzilla.gnome.org/show_bug.cgi?id=722086
23205
23206 2014-01-12 21:57:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23207
23208         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23209         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
23210         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23211           encoder: clean-ups.
23212           Drop obsolete and unused macros. Add a few doc comments. Slightly
23213           improve indentation of a few leftovers.
23214
23215 2014-01-12 18:52:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23216
23217         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23218         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23219         * gst-libs/gst/vaapi/gstvaapivalue.c:
23220         * gst-libs/gst/vaapi/gstvaapivalue.h:
23221           encoder: filter out the supported set of rate-control properties.
23222           Only expose the exact static set of supported rate-control properties
23223           to the upper layer. For instance, if the GstVaapiEncoderXXX class does
23224           only support CQP rate control, then only add it the the exposed enum
23225           type.
23226           Add helper macros and functions to build a GType for an enum subset.
23227
23228 2014-01-10 13:23:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23229
23230         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23231         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23232         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23233         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23234         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23235         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23236         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
23237         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
23238         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23239           encoder: add keyframe period API.
23240           Add gst_vaapi_encoder_set_keyframe_period() interface to allow the
23241           user control the maximum distance between two keyframes. This new
23242           property can only be set prior to gst_vaapi_encoder_set_codec_state().
23243           A value of zero for "keyframe-period" gets it re-evaluated to the
23244           actual framerate during encoder reconfiguration.
23245
23246 2014-01-10 12:01:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23247
23248         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23249         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23250         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23251         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23252           encoder: improve codec reconfiguration.
23253           Improve codec reconfiguration to be performed only through a single
23254           function. That is, remove the _set_context_info() hook as subclass
23255           should not alter the parent GstVaapiContextInfo itself. Besides, the
23256           VA context is constructed only at the final stages of reconfigure().
23257
23258 2014-01-10 11:30:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23259
23260         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.c:
23261         * gst-libs/gst/vaapi/gstvaapicodedbufferpool.h:
23262         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23263           encoder: fix possible memory leak of coded buffer pools.
23264           Fix gst_vaapi_encoder_reconfigure_internal() to re-/allocate the coded
23265           buffer pool only if the coded buffer size actually changed.
23266
23267 2014-01-10 10:54:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23268
23269         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23270         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23271         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23272         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23273         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23274         * gst/vaapi/gstvaapiencode.c:
23275         * gst/vaapi/gstvaapiencode.h:
23276           encoder: add video codec-state API.
23277           Add interface to communicate the encoder resolution and related info
23278           like framerate, interlaced vs. progressive, etc. This new interface
23279           supersedes gst_vaapi_encoder_set_format() and doesn't use any GstCaps
23280           but rather use GstVideoCodecState.
23281           Note that gst_vaapi_encoder_set_codec_state() is also a synchronization
23282           point for codec config. This means that the encoder is reconfigured
23283           there to match the latest properties.
23284
23285 2014-01-13 17:18:42 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23286
23287         * gst/vaapi/gstvaapiencode.c:
23288           vaapiencode: don't crash on NULL encoder on _finish().
23289           Don't try to destroy an encoder, in GstVideoEncoder::finish() handler,
23290           if it was not created in the first place. Return "not-negotiated" error
23291           since this means we did not even reach GstVideoEncoder::set_format(),
23292           where the encoder could have been created.
23293           This fixes a crash when the vaapiencode_* plug-in elements get deallocated
23294           and that we failed to negotiate either pad.
23295           https://bugzilla.gnome.org/show_bug.cgi?id=719704
23296
23297 2014-01-09 18:20:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23298
23299         * gst/vaapi/gstvaapiencode.c:
23300         * gst/vaapi/gstvaapiencode.h:
23301         * gst/vaapi/gstvaapiencode_h264.c:
23302           vaapiencode: use more GstVaapiPluginBase facilities.
23303           Avoid duplication of pad references or query functions since they are
23304           provided through the GstVaapiPluginBase object.
23305
23306 2014-01-09 18:10:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23307
23308         * gst/vaapi/gstvaapiencode.c:
23309         * gst/vaapi/gstvaapiencode.h:
23310         * gst/vaapi/gstvaapiencode_h264.c:
23311         * gst/vaapi/gstvaapiencode_h264.h:
23312         * gst/vaapi/gstvaapiencode_mpeg2.c:
23313           vaapiencode: fix negotiation process of output caps.
23314           The specified caps in gst_video_encoder_set_output_state() function
23315           arguments should not contain any resolution, pixel-aspect-ratio,
23316           framerate, codec-data et al. Those rather should be set through the
23317           returned GstVideoCodecState. This means that output caps creation
23318           could be delayed until before gst_video_encoder_finish_frame() is
23319           called.
23320           This greatly simplifies the GstVideoEncoder::set_format() callback
23321           by the way.
23322
23323 2014-01-08 18:56:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23324
23325         * gst/vaapi/gstvaapiencode.c:
23326           vaapiencode: make GstVaapiEncode an abstract type.
23327           Make base GstVaapiEncode class an abstract type so that we cannot
23328           create an instance from it without going through any of the codec
23329           specific derived class.
23330
23331 2014-01-09 10:09:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23332
23333         * gst/vaapi/gstvaapiencode.c:
23334         * gst/vaapi/gstvaapiencode.h:
23335         * gst/vaapi/gstvaapiencode_h264.c:
23336         * gst/vaapi/gstvaapiencode_mpeg2.c:
23337           vaapiencode: rename a few member functions.
23338           Rename a few member functions to make them more consistent:
23339           - alloc_encoder(): now reduced to allocate the encoder object only;
23340           - alloc_buffer(): allocate buffer from srcpad, and copy bitstream.
23341
23342 2014-01-08 18:36:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23343
23344         * gst/vaapi/gstvaapiencode.c:
23345         * gst/vaapi/gstvaapiencode.h:
23346         * gst/vaapi/gstvaapiencode_h264.c:
23347         * gst/vaapi/gstvaapiencode_h264.h:
23348         * gst/vaapi/gstvaapiencode_mpeg2.c:
23349           vaapiencode: update for new properties API.
23350           Update MPEG-2 and H.264 encode elements to cope with the new core
23351           libgstvaapi properties API. i.e. all configurable properties are now
23352           directly handled at the GstVaapiEncoder level.
23353           Besides, this also makes sure to not use or modify the GstVaapiEncoder
23354           private definitions directly. Private data need to remain private.
23355           https://bugzilla.gnome.org/show_bug.cgi?id=719529
23356
23357 2014-01-06 17:46:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23358
23359         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23360         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23361         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23362         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23363         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23364         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
23365         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23366           encoder: add properties API.
23367           Add interface to communicate configurable properties to the encoder.
23368           This covers both the common ones (rate-control, bitrate), and the
23369           codec specific properties.
23370           https://bugzilla.gnome.org/show_bug.cgi?id=719529
23371
23372 2014-01-06 18:01:33 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23373
23374         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23375         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23376         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23377         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23378         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23379         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
23380         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23381         * gst/vaapi/gstvaapiencode.c:
23382         * gst/vaapi/gstvaapiencode_h264.c:
23383         * gst/vaapi/gstvaapiencode_mpeg2.c:
23384           encoder: add bitrate API.
23385           Add gst_vaapi_encoder_set_bitrate() interface to allow the user control
23386           the bitrate for encoding. Currently, changing this parameter is only
23387           valid before the first frame is encoded. Should the value be modified
23388           afterwards, then GST_VAAPI_ENCODER_STATUS_ERROR_OPERATION_FAILED is
23389           returned.
23390           https://bugzilla.gnome.org/show_bug.cgi?id=719529
23391
23392 2014-01-06 15:10:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23393
23394         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23395         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23396         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23397         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23398         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
23399         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23400         * gst-libs/gst/vaapi/gstvaapitypes.h:
23401         * gst/vaapi/gstvaapiencode.c:
23402         * gst/vaapi/gstvaapiencode.h:
23403         * gst/vaapi/gstvaapiencode_h264.c:
23404         * gst/vaapi/gstvaapiencode_mpeg2.c:
23405           encoder: add rate control API.
23406           Add gst_vaapi_encoder_set_rate_control() interface to request a new
23407           rate control mode for encoding. Changing the rate control mode is
23408           only valid prior to encoding the very first frame. Afterwards, an
23409           error ("operation-failed") is issued.
23410           https://bugzilla.gnome.org/show_bug.cgi?id=719529
23411
23412 2014-01-03 16:57:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23413
23414         * gst/vaapi/gstvaapiencode.c:
23415         * gst/vaapi/gstvaapiencode_h264.c:
23416         * gst/vaapi/gstvaapiencode_mpeg2.c:
23417           vaapiencode: fix indentation.
23418
23419 2014-01-03 16:57:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23420
23421         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23422         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23423         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23424         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
23425         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
23426         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23427         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
23428         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23429         * gst/vaapi/gstvaapiencode.h:
23430           encoder: fix indentation.
23431
23432 2014-01-13 16:20:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23433
23434         * gst-libs/gst/vaapi/Makefile.am:
23435         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.c:
23436         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h:
23437         * gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h:
23438           utils: add new MPEG-2 helper functions.
23439           Add various helper functions to convert profile, level, chroma formats
23440           from gstreamer-vaapi world and the MPEG-2 specification world.
23441
23442 2014-01-10 19:49:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23443
23444         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23445           utils: h264: don't use fatal asserts.
23446           Replace g_assert() with a g_debug() so that to not make the program
23447           abort when an unsupported value is supplied.
23448
23449 2014-01-10 19:37:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23450
23451         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23452         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
23453           utils: h264: add helpers for profile and level string mappings.
23454           Add profile and level helper functions to convert to/from strings.
23455
23456 2014-01-10 18:27:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23457
23458         * gst-libs/gst/vaapi/Makefile.am:
23459         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
23460         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23461         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
23462         * gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h:
23463           utils: h264: expose levels in public header.
23464           Instal <gst/vaapi/gstvaapiutils_h264.h> header but only expose the
23465           H.264 levels in there. The additional helper functions are meant
23466           to be private for now.
23467
23468 2014-01-09 09:27:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23469
23470         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
23471         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
23472         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
23473         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
23474           codec: add helper macros to maintain object refcount.
23475           Add gst_vaapi_mini_object_{ref,unref,replace}() helper macros so that
23476           to avoid explicit casts to GstVaapiMiniObject in all caller sites.
23477
23478 2014-01-09 09:30:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23479
23480         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
23481         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
23482           codec: re-indent decoder objects.
23483
23484 2014-01-09 09:10:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23485
23486         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
23487         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
23488           codec: re-indent base codec objects.
23489
23490 2014-01-03 12:49:05 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
23491
23492         * gst/vaapi/gstvaapipluginbase.c:
23493           plugins: do not free debug category in finalize method.
23494           Fixes a crash when multiple vaapidecode elements are finalized since
23495           the debug category is created once in the class init method.
23496           This is a regression from git commit 7e58d60.
23497           https://bugzilla.gnome.org/show_bug.cgi?id=721390
23498           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23499
23500 2014-01-02 11:35:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23501
23502         * gst-libs/gst/vaapi/glibcompat.h:
23503         * tests/simple-decoder.c:
23504           tests: simple-decoder: don't use deprecated g_thread_create().
23505           Use g_thread_try_new() instead of the deprecated g_thread_create()
23506           function. Provide compatibility glue for any GLib version < 2.31.2.
23507
23508 2014-01-02 11:17:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23509
23510         * gst-libs/gst/vaapi/gstvaapidecoder.c:
23511         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
23512         * gst-libs/gst/vaapi/gstvaapisurface.c:
23513         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
23514         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
23515         * gst/vaapi/gstvaapiencode.c:
23516           Fix printf()-like formats.
23517           Fix formts for various GST_DEBUG et al. invocations. More precisely,
23518           make size_t arguments use the %zu format specifier accordingly; force
23519           XID formats to be a 32-bit unsigned integer; and fix the format used
23520           for gst_vaapi_create_surface_with_format() error cases since we have
23521           been using strings nowadays.
23522
23523 2013-12-21 07:38:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23524
23525         * gst-libs/gst/vaapi/video-format.c:
23526         * gst-libs/gst/vaapi/video-format.h:
23527           utils: format: drop unused helper functions.
23528           The following helper functions are no longer used, thus are removed:
23529           - gst_vaapi_video_format_from_structure()
23530           - gst_vaapi_video_format_from_caps()
23531           - gst_vaapi_video_format_to_caps()
23532
23533 2013-12-21 07:29:50 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23534
23535         * gst-libs/gst/vaapi/video-format.c:
23536         * gst-libs/gst/vaapi/video-format.h:
23537           utils: re-indent GstVideoFormat related helpers.
23538
23539 2013-12-21 08:27:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23540
23541         * gst/vaapi/gstvaapidownload.c:
23542           download: use GstVideoInfo facilities to build output caps.
23543           Use standard GstVideoInfo related functions to build the output caps,
23544           thus directly preserving additional fields as needed, instead of
23545           manually copying them over through gst_vaapi_append_surface_caps().
23546           Also ensure that the input caps are fixated first.
23547
23548 2013-12-21 10:41:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23549
23550         * gst/vaapi/gstvaapidownload.c:
23551         * gst/vaapi/gstvaapipluginutil.c:
23552         * gst/vaapi/gstvaapipluginutil.h:
23553         * gst/vaapi/gstvaapiuploader.c:
23554           plugins: factor out construction of template caps.
23555           Add new helper functions to build video template caps.
23556           - gst_vaapi_video_format_new_template_caps():
23557           create GstCaps with size, frame rate and PAR to full range
23558           - gst_vaapi_video_format_new_template_caps_from_list():
23559           try to create a "simplified" list from the supplied formats
23560
23561 2013-12-21 06:41:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23562
23563         * gst/vaapi/gstvaapipluginutil.c:
23564         * gst/vaapi/gstvaapipluginutil.h:
23565         * gst/vaapi/gstvaapipostproc.c:
23566           plugins: factor out construction of GValue from GstVideoFormat.
23567           Add new helper functions to build GValues from GstVideoFormat:
23568           - gst_vaapi_value_set_format():
23569           build a GValue from the supplied video format
23570           - gst_vaapi_value_set_format_list():
23571           build a GValue list from the supplied array of video formats
23572
23573 2013-12-21 06:22:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23574
23575         * gst/vaapi/gstvaapipluginutil.c:
23576         * gst/vaapi/gstvaapipluginutil.h:
23577         * gst/vaapi/gstvaapivideocontext.c:
23578         * gst/vaapi/gstvaapivideocontext.h:
23579           plugins: re-indent common and video context creation utils.
23580
23581 2013-12-20 15:31:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23582
23583         * gst-libs/gst/vaapi/gstvaapidisplay.c:
23584         * gst-libs/gst/vaapi/gstvaapidisplay.h:
23585         * gst/vaapi/gstvaapidecode.c:
23586         * tests/test-display.c:
23587           display: don't use GstCaps for decode or encode profiles list.
23588           Replace gst_vaapi_display_get_{decode,encode}_caps() APIs with more
23589           more convenient APIs that return an array of GstVaapiProfile instead
23590           of GstCaps: gst_vaapi_display_get_{decode,encode}_profiles().
23591
23592 2013-12-20 15:15:05 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23593
23594         * gst-libs/gst/vaapi/gstvaapidisplay.c:
23595         * gst-libs/gst/vaapi/gstvaapidisplay.h:
23596         * gst/vaapi/gstvaapidownload.c:
23597         * gst/vaapi/gstvaapiuploader.c:
23598         * tests/test-display.c:
23599           display: don't use GstCaps for image or subpicture formats list.
23600           Replace gst_vaapi_display_get_{image,subpicture}_caps() APIs, that
23601           returned GstCaps, with more convenient APIs that return an array of
23602           GstVideoFormat: gst_vaapi_display_get_{image,subpicture}_formats().
23603
23604 2013-12-20 14:01:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23605
23606         * gst-libs/gst/vaapi/gstvaapidisplay.c:
23607         * gst-libs/gst/vaapi/gstvaapidisplay.h:
23608         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
23609           display: allocate queried resources on-demand.
23610           Allocate the set of decoders or encoders on-demand, when they are
23611           queried. Likewise for VA display attributes, image and subpicture
23612           formats.
23613
23614 2013-12-20 13:27:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23615
23616         * gst-libs/gst/vaapi/gstvaapidisplay.c:
23617         * gst-libs/gst/vaapi/gstvaapidisplay.h:
23618         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
23619         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
23620         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
23621         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
23622         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
23623         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
23624         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
23625         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
23626         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
23627         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
23628         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
23629         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
23630         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
23631         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
23632         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
23633           display: re-indent all GstVaapiDisplay related source code.
23634
23635 2013-12-20 16:04:19 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23636
23637         * gst-libs/gst/vaapi/gstvaapiprofile.c:
23638         * gst-libs/gst/vaapi/gstvaapiprofile.h:
23639           utils: add helper functions to get codec or profile name.
23640
23641 2013-12-20 17:08:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23642
23643         * gst/vaapi/gstvaapipostproc.c:
23644         * gst/vaapi/gstvaapipostproc.h:
23645         * gst/vaapi/gstvaapiuploader.c:
23646           plugins: fix permissions for certain files.
23647           Drop the execute bit for gstvaapiuploader.c and gstvaapipostproc.[ch]
23648           files.
23649
23650 2013-12-12 17:01:29 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
23651
23652         * gst/vaapi/gstvaapivideometa_texture.c:
23653           plugins: implement GLTextureUploadMeta user data copy.
23654           Makes the copies of a buffer reference their own GLTextureUploadMeta
23655           user data and prevent the original buffer accessing already freed
23656           memory if its copies has been released and freed.
23657           https://bugzilla.gnome.org/show_bug.cgi?id=720336
23658           [Propagate the original meta texture to the copy too]
23659           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23660
23661 2013-12-17 18:52:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23662
23663         * gst/vaapi/gstvaapiencode.c:
23664         * gst/vaapi/gstvaapiencode.h:
23665         * gst/vaapi/gstvaapipluginbase.c:
23666         * gst/vaapi/gstvaapipluginbase.h:
23667         * gst/vaapi/gstvaapipostproc.c:
23668         * gst/vaapi/gstvaapipostproc.h:
23669         * gst/vaapi/gstvaapisink.c:
23670         * gst/vaapi/gstvaapisink.h:
23671           plugins: factor out support for raw YUV buffers on sink pads.
23672           Factor out propose_allocation() hooks, creation of video buffer pool
23673           for the sink pad, conversion from raw YUV buffers to VA surface backed
23674           buffers. Update vaapidecode, vaapiencode and vaapipostproc to cope
23675           with the new GstVaapiPluginBase abilities.
23676
23677 2013-12-17 18:46:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23678
23679         * gst-libs/gst/vaapi/gstcompat.h:
23680         * gst/vaapi/gstvaapidecode.c:
23681         * gst/vaapi/gstvaapidecode.h:
23682         * gst/vaapi/gstvaapidownload.c:
23683         * gst/vaapi/gstvaapipluginbase.c:
23684         * gst/vaapi/gstvaapipluginbase.h:
23685         * gst/vaapi/gstvaapipostproc.c:
23686         * gst/vaapi/gstvaapipostproc.h:
23687         * gst/vaapi/gstvaapisink.c:
23688         * gst/vaapi/gstvaapiupload.c:
23689           plugins: factor out pad caps.
23690
23691 2013-12-13 16:03:08 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23692
23693         * gst/vaapi/gstvaapidecode.c:
23694         * gst/vaapi/gstvaapidownload.c:
23695         * gst/vaapi/gstvaapiencode.c:
23696         * gst/vaapi/gstvaapipluginbase.c:
23697         * gst/vaapi/gstvaapipostproc.c:
23698         * gst/vaapi/gstvaapisink.c:
23699         * gst/vaapi/gstvaapiupload.c:
23700           plugins: factor out video context sharing code.
23701
23702 2013-12-13 13:24:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23703
23704         * gst/vaapi/gstvaapidecode.c:
23705         * gst/vaapi/gstvaapidownload.c:
23706         * gst/vaapi/gstvaapiencode.c:
23707         * gst/vaapi/gstvaapipluginbase.c:
23708         * gst/vaapi/gstvaapipluginbase.h:
23709         * gst/vaapi/gstvaapipostproc.c:
23710         * gst/vaapi/gstvaapisink.c:
23711         * gst/vaapi/gstvaapiupload.c:
23712           plugins: factor out GstImplementsInterface.
23713
23714 2013-12-13 12:00:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23715
23716         * gst-libs/gst/vaapi/gstvaapidisplay.c:
23717         * gst-libs/gst/vaapi/gstvaapidisplay.h:
23718         * gst/vaapi/gstvaapipluginbase.c:
23719         * gst/vaapi/gstvaapipluginutil.c:
23720           plugins: check type of display obtained from neighbours.
23721           Fix display creation code to check that any display obtained from a
23722           neighbour actually has the type we expect. Note: if display type is
23723           set to "any", we can then accept any VA display type.
23724
23725 2013-12-13 11:52:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23726
23727         * gst/vaapi/gstvaapidecode.c:
23728         * gst/vaapi/gstvaapidownload.c:
23729         * gst/vaapi/gstvaapiencode.c:
23730         * gst/vaapi/gstvaapipluginbase.c:
23731         * gst/vaapi/gstvaapipluginbase.h:
23732         * gst/vaapi/gstvaapipluginutil.c:
23733         * gst/vaapi/gstvaapipluginutil.h:
23734         * gst/vaapi/gstvaapipostproc.c:
23735         * gst/vaapi/gstvaapisink.c:
23736         * gst/vaapi/gstvaapisink.h:
23737         * gst/vaapi/gstvaapiupload.c:
23738           plugins: factor out display creation process.
23739           Move common VA display creation code to GstVaapiPluginBase, with the
23740           default display type remaining "any". Also add a "display-changed"
23741           hook so that subclasses could perform additional tasks when/if the
23742           VA display changed, due to a new display type request for instance.
23743           All plug-ins are updated to cope with the new internal APIs.
23744
23745 2013-12-13 10:24:26 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23746
23747         * gst/vaapi/Makefile.am:
23748         * gst/vaapi/gstvaapidecode.c:
23749         * gst/vaapi/gstvaapidecode.h:
23750         * gst/vaapi/gstvaapidownload.c:
23751         * gst/vaapi/gstvaapidownload.h:
23752         * gst/vaapi/gstvaapiencode.c:
23753         * gst/vaapi/gstvaapiencode.h:
23754         * gst/vaapi/gstvaapipluginbase.c:
23755         * gst/vaapi/gstvaapipluginbase.h:
23756         * gst/vaapi/gstvaapipostproc.c:
23757         * gst/vaapi/gstvaapipostproc.h:
23758         * gst/vaapi/gstvaapisink.c:
23759         * gst/vaapi/gstvaapisink.h:
23760         * gst/vaapi/gstvaapiupload.c:
23761         * gst/vaapi/gstvaapiupload.h:
23762           plugins: add new base object, store display in there.
23763           Introduce a new GstVaapiPluginBase object that will contain all common
23764           data structures and perform all common tasks. First step is to have a
23765           single place to hold VA displays.
23766           While we are at it, also make sure to store and subsequently release
23767           the appropriate debug category for the subclasses.
23768
23769 2013-12-11 14:04:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23770
23771         * gst-libs/gst/vaapi/gstvaapiobject.h:
23772         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
23773         * gst/vaapi/gstvaapivideometa_texture.c:
23774         * gst/vaapi/gstvaapivideometa_texture.h:
23775           plugins: fix GLTextureUploadMeta to work with different texture ids.
23776           The GLTextureUploadMeta implementation assumed that for each upload()
23777           sequence, the supplied texture id is always the same as the one that
23778           was previously cached into the underlying GstVaapiTexture. Cope with
23779           any texture id change the expense to recreate the underlying VA/GLX
23780           resources.
23781           https://bugzilla.gnome.org/show_bug.cgi?id=719643
23782
23783 2013-12-11 13:25:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23784
23785         * gst/vaapi/gstvaapidecode.c:
23786         * gst/vaapi/gstvaapivideobufferpool.c:
23787         * gst/vaapi/gstvaapivideometa_texture.c:
23788           plugins: allow builds without GLX enabled for GStreamer 1.2.
23789           Don't try to build GLTextureUploadMeta related code if GLX is not
23790           enabled during GStreamer >= 1.2 builds.
23791
23792 2013-11-20 17:20:07 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
23793
23794         * gst/vaapi/gstvaapidecode.c:
23795         * gst/vaapi/gstvaapivideobufferpool.c:
23796         * gst/vaapi/gstvaapivideobufferpool.h:
23797         * gst/vaapi/gstvaapivideometa_texture.c:
23798         * gst/vaapi/gstvaapivideometa_texture.h:
23799           plugins: request GLTextureUpload meta on buffers in the buffer pool.
23800           Requesting the GLTextureUpload meta on buffers in the bufferpool
23801           prevents such metas from being de-allocated when buffers are released
23802           in the sink.
23803           This is particulary useful in terms of performance when using the
23804           GLTextureUploadMeta API since the GstVaapiTexture associated with
23805           the target texture is stored in the meta.
23806           https://bugzilla.gnome.org/show_bug.cgi?id=712558
23807           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23808
23809 2013-12-11 10:51:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23810
23811         * gst/vaapi/gstvaapivideometa_texture.c:
23812           plugins: robustify GstVideoGLTextureUploadMeta implementation.
23813           Make GstVideoGLTextureUploadMeta::upload() implementation more robust
23814           when the GstVaapiTexture associated with the supplied texture id could
23815           not be created.
23816
23817 2013-12-10 16:14:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23818
23819         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
23820           h264: improve robustness when packets are missing.
23821           Improve robustness when some expected packets where not received yet
23822           or that were not correctly decoded. For example, don't try to decode
23823           a picture if there was no valid frame headers parsed so far.
23824           https://bugs.freedesktop.org/show_bug.cgi?id=57902
23825
23826 2013-12-10 14:20:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23827
23828         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
23829           decoder: h264: fix decoding of BA3_SVA_C.264.
23830           Conformance test Base_Ext_Main_profiles/BA3_SVA_C.264 complys with
23831           extended profile specifications. However, the SPS header has the
23832           constraint_set1_flag syntax element set to 1. This means that, if
23833           a Main profile compliant decoder is available, then it should be
23834           able to decode this stream.
23835           This changes makes it possible to fall-back from Extended profile
23836           to Main profile if constraint_set1_flag is set to 1.
23837           https://bugzilla.gnome.org/show_bug.cgi?id=720190
23838
23839 2013-12-10 11:13:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23840
23841         * gst-libs/gst/vaapi/gstvaapiprofile.h:
23842         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23843           utils: h264: add more profiles.
23844           Add extended profile (A.2.3), high 4:2:2 profile (A.2.6), high 4:2:2
23845           profiles (A.2.7, A.2.10), scalable profiles (G.10.1.1, G.10.1.2) and
23846           multiview profiles (H.10.1.1, H.10.1.2).
23847           Document "Constrained Baseline" and "High 10" profiles.
23848
23849 2013-12-10 15:21:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23850
23851         * ext/codecparsers:
23852           codecparsers: update to gst-vaapi-branch commit e7d0e18.
23853           e7d0e18 h264: complete set of NAL unit types
23854
23855 2013-12-06 15:08:26 +0800  Wind Yuan <feng.yuan@intel.com>
23856
23857         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
23858         * gst-libs/gst/vaapi/gstvaapiprofile.c:
23859           decoder: h264: add support for constrained baseline profile.
23860           Recognize streams marked as conforming to the "Constrained Baseline
23861           Profile". If VA driver supports that as is, fine. Otherwise, fallback
23862           to baseline, main or high profile.
23863           Constrained Baseline Profile conveys coding tools that are common
23864           to baseline profile and main profile.
23865           https://bugzilla.gnome.org/show_bug.cgi?id=719947
23866           [Added fallbacks to main and high profiles]
23867           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23868
23869 2013-12-09 12:46:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23870
23871         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
23872           decoder: h264: fix decoding of scaling lists.
23873           The GStreamer codecparser layer now parses the scaling lists in zigzag
23874           scan order, as expected, so that to match the original bitstream layout
23875           and specification. However, further convert the scaling lists into
23876           raster scan order to fit the existing practice in most VA drivers.
23877           https://bugzilla.gnome.org/show_bug.cgi?id=706406
23878
23879 2013-12-09 12:07:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23880
23881         * ext/codecparsers:
23882           codecparsers: update to gst-vaapi-branch commit 177c73b.
23883           a7e3255 add H.265 (HEVC) bitstream parser
23884           177c73b h264: fix picture level scaling lists derivation (rule B)
23885           14733f1 h264: fix parsing of VCL HRD parameters
23886           59a0b47 h264: store quantization matrices in zig-zag order
23887           ffb6e26 h264: add helpers to convert quantization matrices
23888           c78a504 mpeg2: also initialize debug category in parse_sequence_header()
23889           719d1b0 mpeg2: turn internal consistency check into a g_assert()
23890           5241d8e all: remove some unused functions
23891           18eb312 all: fix for GST_DISABLE_GST_DEBUG
23892           963c04a all: make warnings more meaningful
23893
23894 2013-12-06 19:05:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23895
23896         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
23897         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23898         * gst-libs/gst/vaapi/gstvaapiutils_h264.h:
23899           utils: add helpers for H.264 levels.
23900           - gst_vaapi_utils_h264_get_level():
23901           Returns GstVaapiLevelH264 from H.264 level_idc value
23902           - gst_vaapi_utils_h264_get_level_idc():
23903           Returns H.264 level_idc value from GstVaapiLevelH264
23904           - gst_vaapi_utils_h264_get_level_limits():
23905           Returns level limits as specified in Table A-1 of the H.264 standard
23906           - gst_vaapi_utils_h264_get_level_limits_table():
23907           Returns the Table A-1 specification
23908
23909 2013-12-06 17:34:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23910
23911         * gst-libs/gst/vaapi/gstvaapiprofile.c:
23912         * gst-libs/gst/vaapi/gstvaapiprofile.h:
23913         * gst-libs/gst/vaapi/gstvaapiutils_h264.c:
23914           utils: add new H.264 profiles.
23915           Add "Constrained Baseline Profile" and "High 10 Profile" definitions
23916           and helper functiions.
23917
23918 2013-12-06 17:21:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23919
23920           utils: add new H.264 helper functions.
23921           * Profiles:
23922           - gst_vaapi_utils_h264_get_profile():
23923           Returns GstVaapiProfile from H.264 profile_idc value
23924           - gst_vaapi_utils_h264_get_profile_idc():
23925           Returns H.264 profile_idc value from GstVaapiProfile
23926           * Chroma formats:
23927           - gst_vaapi_utils_h264_get_chroma_type():
23928           Returns GstVaapiChromaType from H.264 chroma_format_idc value
23929           - gst_vaapi_utils_h264_get_chroma_format_idc():
23930           Returns H.264 chroma_format_idc value from GstVaapiChromaType
23931
23932 2013-12-03 11:05:17 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
23933
23934         * gst-libs/gst/base/Makefile.am:
23935         * gst-libs/gst/vaapi/Makefile.am:
23936           Fix missing files in distribution tarball.
23937           https://bugzilla.gnome.org/show_bug.cgi?id=719776
23938           [Additional fixes and clean-ups]
23939           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23940
23941 2013-12-05 18:13:54 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23942
23943         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23944         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23945           encoder: fix computation of max coded buffer size (again).
23946           The previous fix was only valid to express the maximum size of the
23947           macroblock layer, i.e. without any headers. Now, also account for
23948           the slice headers and top picture header, but also any other header
23949           we might stuff into the VA coded buffer, e.g. sequence headers.
23950
23951 2013-12-04 19:10:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23952
23953         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23954         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23955         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23956           encoder: fix computation of max coded buffer size.
23957           Fix coded buffer size for each codec. A generic issue was that the
23958           number of macroblocks was incorrectly computed. The second issue was
23959           specific to MPEG-2 were the max number of bits per macroblock, and
23960           as defined by the standard, was incorrectly mapped to the (lower)
23961           H.264 requirement. i.e. 4608 bits vs. 3200 bits limit.
23962
23963 2013-12-04 18:48:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23964
23965         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23966         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23967         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23968         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23969           encoder: simplify VA context initialization process.
23970           Change get_context_info() into a set_context_info() function that
23971           initializes common defaults into the base class, thus allowing the
23972           subclasses to specialize the context info further on.
23973           The set_context_info() hook is also the location where additional
23974           context specific data could be initialized. At this point, we are
23975           guaranteed to have valid video resolution size and framerate. i.e.
23976           gst_vaapi_encoder_set_format() was called beforehand.
23977
23978 2013-11-26 14:38:23 +0800  Wind Yuan <feng.yuan@intel.com>
23979
23980         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23981           encoder: fix mpeg2 compilation error.
23982           https://bugzilla.gnome.org/show_bug.cgi?id=719746
23983           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23984
23985 2013-12-04 17:55:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
23986
23987         * gst-libs/gst/vaapi/gstvaapiencoder.c:
23988         * gst-libs/gst/vaapi/gstvaapiencoder.h:
23989         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
23990         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
23991         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
23992         * gst/vaapi/gstvaapiencode.c:
23993           encoder: clean-ups and document public APIs.
23994           Clean public APIs up so that to better align with the decoder APIs.
23995           Most importantly, gst_vaapi_encoder_get_buffer() is changed to only
23996           return the VA coded buffer proxy. Also provide useful documentation
23997           for the public APIs.
23998
23999 2013-12-04 17:05:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24000
24001         * gst-libs/gst/vaapi/gstvaapiencoder.c:
24002         * gst-libs/gst/vaapi/gstvaapiencoder.h:
24003         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
24004           encoder: avoid extra allocations of GstVaapiEncoderSyncPic objects.
24005           Kill GstVaapiEncoderSyncPic objects that are internally and temporarily
24006           allocated. Rather, associate a GstVaapiEncPicture to a coded buffer
24007           through GstVaapiCodedBufferProxy user-data facility.
24008           Besides, use a GAsyncQueue to maintain a thread-safe queue object of
24009           coded buffers.
24010           Partial fix for the following report:
24011           https://bugzilla.gnome.org/show_bug.cgi?id=719530
24012
24013 2013-12-03 17:04:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24014
24015         * gst-libs/gst/vaapi/gstvaapiencoder.c:
24016         * gst-libs/gst/vaapi/gstvaapiencoder.h:
24017         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
24018         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
24019         * gst/vaapi/gstvaapiencode.c:
24020           encoder: refactor status codes.
24021           Drop obsolete or unused status codes. Align some status codes with the
24022           decoder counterparts.
24023
24024 2013-12-04 11:54:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24025
24026         * gst-libs/gst/vaapi/gstvaapiencoder.c:
24027         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
24028         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
24029         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
24030         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
24031         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
24032           encoder: fix subclassing process.
24033           Fix the GstVaapiEncoderClass parent class type. Make sure to validate
24034           subclass hooks as early as possible, i.e. in gst_vaapi_encoder_init(),
24035           thus avoiding useless run-time checks. Also simplify the subclass
24036           initialization process to be less error prone.
24037
24038 2013-12-03 16:11:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24039
24040           encoder: rework GstVaapiCodedBuffer and related proxy.
24041           Refactor the GstVaapiCodedBuffer APIs so that to more clearly separate
24042           public and private interfaces. Besides, the map/unmap APIs should not
24043           be exposed as is but appropriate accessors should be provided instead.
24044           * GstVaapiCodedBuffer: VA coded buffer abstraction
24045           - gst_vaapi_coded_buffer_get_size(): get coded buffer size.
24046           - gst_vaapi_coded_buffer_copy_into(): copy coded buffer into GstBuffer
24047           * GstVaapiCodedBufferPool: pool of VA coded buffer objects
24048           - gst_vaapi_coded_buffer_pool_new(): create a pool of coded buffers of
24049           the specified max size, and bound to the supplied encoder
24050           * GstVaapiCodedBufferProxy: pool-allocated VA coded buffer object proxy
24051           - gst_vaapi_coded_buffer_proxy_new_from_pool(): create coded buf from pool
24052           - gst_vaapi_coded_buffer_proxy_get_buffer(): get underlying coded buffer
24053           - gst_vaapi_coded_buffer_proxy_get_buffer_size(): get coded buffer size
24054           Rationale: more optimized transfer functions might be provided in the
24055           future, thus rendering the map/unmap mechanism obsolete or sub-optimal.
24056           https://bugzilla.gnome.org/show_bug.cgi?id=719775
24057
24058 2013-11-29 14:02:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24059
24060         * gst/vaapi/gstvaapidecode.c:
24061         * gst/vaapi/gstvaapiencode.c:
24062         * gst/vaapi/gstvaapipostproc.c:
24063         * gst/vaapi/gstvaapisink.c:
24064           plugins: fix reference leaks of VA display objects.
24065           Fix GstElement::set_context() implementation for all plug-in elements
24066           to avoid leaking an extra reference to the VA display, thus preventing
24067           correct cleanup of VA resources in GStreamer 1.2 builds.
24068
24069 2013-11-29 13:56:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24070
24071         * gst/vaapi/gstvaapipluginutil.c:
24072         * gst/vaapi/gstvaapivideocontext.c:
24073           plugins: simplify gst_vaapi_ensure_display().
24074           Return earlier if the creation of a VA display failed. Likewise, simplify
24075           gst_vaapi_video_context_propagate() now that we are guaranteed to have a
24076           valid VA display.
24077
24078 2013-11-28 19:08:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24079
24080         * gst/vaapi/gstvaapivideomemory.c:
24081           plugins: fix memory leaks through GstVideoMeta maps.
24082           When GstVideoMeta maps were used, the supporting functions incorrectly
24083           used gst_buffer_get_memory() instead of gst_buffer_peek_memory(), thus
24084           always increasing the associated GstMemory reference count and giving
24085           zero chance to actually release that, and subsequently the VA display.
24086
24087 2013-11-28 14:15:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24088
24089         * gst-libs/gst/vaapi/gstvaapifilter.c:
24090         * gst/vaapi/gstvaapiencode_h264.c:
24091         * gst/vaapi/gstvaapiencode_mpeg2.c:
24092         * gst/vaapi/gstvaapipostproc.c:
24093         * gst/vaapi/gstvaapisink.c:
24094         * gst/vaapi/gstvaapiuploader.c:
24095           plugins: use G_PARAM_STATIC_STRINGS.
24096           This avoids a few string copies during initialization.
24097
24098 2013-11-28 17:28:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24099
24100         * gst/vaapi/gstvaapivideometa.c:
24101           plugins: simplify VA video meta to only reference surface proxies.
24102           Simplify GstVaapiVideoMeta to only hold a surface proxy, which is
24103           now allocated from a surface pool. This also means that the local
24104           reference to the VA surface is also gone, as it could be extracted
24105           from the associated surface proxy.
24106
24107 2013-11-28 16:51:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24108
24109         * gst/vaapi/gstvaapivideobuffer.c:
24110         * gst/vaapi/gstvaapivideobuffer.h:
24111         * gst/vaapi/gstvaapivideometa.c:
24112         * gst/vaapi/gstvaapivideometa.h:
24113           plugins: drop obsolete functions.
24114           Drop the following functions that are not longer used:
24115           - gst_vaapi_video_buffer_new_with_surface()
24116           - gst_vaapi_video_meta_new_with_surface()
24117           - gst_vaapi_video_meta_set_surface()
24118           - gst_vaapi_video_meta_set_surface_from_pool()
24119
24120 2013-11-28 16:37:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24121
24122         * gst/vaapi/gstvaapivideometa.c:
24123           plugins: allow VA video meta to be allocated from surface proxy pools.
24124           Fix gst_vaapi_video_meta_new_from_pool() to allocate VA surface proxies
24125           from surface pools instead of plain VA surfaces. This is to simplify
24126           allocations now that surface proxies are created from a surface pool.
24127
24128 2013-11-28 17:25:05 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24129
24130         * docs/reference/libs/libs-sections.txt:
24131         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
24132         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
24133         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
24134           surfaceproxy: add copy function.
24135           Add gst_vaapi_surface_proxy_copy() function that creates a new surface
24136           proxy with the same information from the parent proxy, except that the
24137           user-defined destroy notify function is not copied over.
24138           The underlying VA surface is pushed back to the video pool only when
24139           the last reference to the parent surface proxy is released.
24140
24141 2013-11-28 15:56:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24142
24143         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
24144         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
24145         * gst/vaapi/gstvaapiencode.c:
24146           vaapiencode: optimize _handle_frame() to avoid extra allocation.
24147           Optimize gst_vaapiencode_handle_frame() to avoid extra memory allocation,
24148           and in particular the GstVaapiEncObjUserData object. i.e. directly use
24149           the VA surface proxy from the source buffer. This also makes the user
24150           data attached to the GstVideoCodecFrame more consistent between both
24151           the decoder and encoder plug-in elements.
24152
24153 2013-11-28 15:14:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24154
24155         * gst/vaapi/gstvaapiencode.c:
24156           vaapiencode: fix memory leaks in _push_frame() on error.
24157           Simplify gst_vaapiencode_push_frame(), while also removing the call
24158           to gst_video_encoder_negotiate() since this is implicit in _finish()
24159           if caps changed. Also fixed memory leaks that occured on error.
24160
24161 2013-11-28 13:57:54 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24162
24163         * gst/vaapi/gstvaapiencode.c:
24164         * gst/vaapi/gstvaapiencode.h:
24165         * gst/vaapi/gstvaapiencode_h264.c:
24166         * gst/vaapi/gstvaapiencode_h264.h:
24167         * gst/vaapi/gstvaapiencode_mpeg2.c:
24168           vaapiencode: additional clean-ups.
24169           Constify pointers wherever possible. Drop unused variables, and use
24170           consistent variable names. Fix gst_vaapiencode_h264_allocate_buffer()
24171           to correctly report errors, especially when in-place conversion from
24172           bytestream to avcC format failed.
24173
24174 2013-11-28 13:26:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24175
24176         * gst/vaapi/gstvaapiencode.c:
24177         * gst/vaapi/gstvaapiencode.h:
24178         * gst/vaapi/gstvaapiencode_h264.c:
24179         * gst/vaapi/gstvaapiencode_h264.h:
24180         * gst/vaapi/gstvaapiencode_mpeg2.c:
24181         * gst/vaapi/gstvaapiencode_mpeg2.h:
24182           vaapiencode: move common properties to base class.
24183           Move "rate-control" mode and "bitrate" properties to the GstVaapiEncode
24184           base class. The actual range of supported rate control modes is currently
24185           implemented as a plug-in element hook. This ought to be determined from
24186           the GstVaapiEncoder object instead, i.e. from libgstvaapi.
24187
24188 2013-11-28 10:54:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24189
24190         * gst/vaapi/gstvaapiencode_h264.c:
24191         * gst/vaapi/gstvaapiencode_mpeg2.c:
24192           vaapiencode: fix plugin description and debug name.
24193           Align the plug-in debug category to its actual name. i.e. enable debug
24194           logs through vaapiencode_<CODEC> where <CODEC> is mpeg2, h264, etc. Fix
24195           the plug-in element description to make it more consistent with other
24196           VA-API plug-ins.
24197
24198 2013-11-27 16:27:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24199
24200         * configure.ac:
24201         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
24202         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
24203         * gst-libs/gst/video/Makefile.am:
24204         * gst/vaapi/gstvaapiencode.c:
24205         * gst/vaapi/gstvaapiencode.h:
24206         * gst/vaapi/gstvaapiencode_h264.c:
24207         * gst/vaapi/gstvaapiencode_mpeg2.c:
24208           vaapiencode: add initial support for GStreamer 0.10.
24209
24210 2013-11-27 16:25:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24211
24212         * gst-libs/gst/vaapi/gstcompat.h:
24213           libs: add more GstBuffer compat glue for GStreamer 0.10.
24214           Add gst_buffer_new_allocate() and gst_buffer_fill() implementations.
24215           Fix gst_buffer_new_wrapped_full() implementation to handle the destroy
24216           notify function.
24217
24218 2013-11-27 15:56:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24219
24220         * configure.ac:
24221         * gst-libs/gst/video/Makefile.am:
24222           libs: always use built-in videoutils for GStreamer 0.10.
24223           GStreamer 0.10.36 is the latest and ultimate version to be released
24224           from the GStreamer 0.10 branch. i.e. no further releases are to be
24225           made. So, we can safely enable the built-in videoutils replacement
24226           now that they are in sync with the 0.10 branch.
24227
24228 2013-11-27 15:47:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24229
24230         * ext/videoutils:
24231           videoutils: update to master commit d4a15a5.
24232           d4a15a5 video: fix compiler warning in header with C++11 / clang-3.1
24233           86096cc videodecoder: minor cosmetic changes to align a bit more with master
24234           b4b8b52 videodecoder: allow parse function to not use all data on adapter
24235           2145495 videodecoder: warn if frame list gets long
24236           36c3753 videodecoder: Also use the object lock to protect the output_state
24237           518c93d videodecoder: fix seeking again
24238           185fb63 video: Correct usage of the base class stream lock
24239           170e944 videodecoder: Expose _negotiate function
24240
24241 2013-11-26 12:06:07 +0000  Matthieu Bouron <matthieu.bouron@collabora.com>
24242
24243         * configure.ac:
24244         * gst-libs/gst/vaapi/Makefile.am:
24245         * tests/Makefile.am:
24246           Fix build with GStreamer >= 1.3.
24247           http://bugzilla.gnome.org/show_bug.cgi?id=715183
24248           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24249
24250 2013-11-26 17:56:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24251
24252         * configure.ac:
24253           configure: disable encoders with GStreamer 0.10.
24254           Don't try to build video encoders for GStreamer 0.10. Support code is
24255           not there yet, and probably will never for such an ancient version.
24256
24257 2013-11-26 17:26:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24258
24259         * gst/vaapi/gstvaapiencode.c:
24260           vaapiencode: fix error handling while allocating output buffers.
24261           Fix default GstVideoEncoder::allocate_buffer() implementation to properly
24262           unmap the coded buffer prior to returning an error.
24263
24264 2013-11-26 17:11:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24265
24266         * gst/vaapi/gstvaapiencode.c:
24267           vaapiencode: fix error handling in _finish() hook.
24268           Fix GstVideoEncoder::finish() implementation to really return possible
24269           errors instead of GST_FLOW_OK. That is, fix check for timeout status.
24270
24271 2013-11-26 16:34:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24272
24273         * gst/vaapi/gstvaapiencode.c:
24274         * gst/vaapi/gstvaapiencode.h:
24275         * gst/vaapi/gstvaapiencode_h264.c:
24276         * gst/vaapi/gstvaapiencode_h264.h:
24277         * gst/vaapi/gstvaapiencode_mpeg2.c:
24278         * gst/vaapi/gstvaapiencode_mpeg2.h:
24279           vaapiencode: minor clean-ups.
24280           Add a GST_VAAPIENCODE_CAST() helper to avoid run-time checks against
24281           the GObject type system. We are guaranteed to only deal with the same
24282           plug-in element object.
24283
24284 2013-11-26 15:31:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24285
24286         * gst/vaapi/gstvaapiencode.c:
24287         * gst/vaapi/gstvaapiencode_h264.c:
24288         * gst/vaapi/gstvaapiencode_mpeg2.c:
24289           vaapiencode: fix support for raw YUV sink buffers.
24290           Allow vaapiencode plug-in elements to encode from raw YUV buffers.
24291           The most efficient way to do so is to let the vaapiencode elements
24292           allocate a buffer pool, and subsequently buffers from it. This means
24293           that upstream elements are expected to honour downstream pools.
24294           If upstream elements insist on providing their own allocated buffers
24295           to the vaapiencode elements, then it possibly would be more efficient
24296           to insert a vaapipostproc element before the vaapiencode element.
24297           This is because vaapipostproc currently has better support than other
24298           elements for "foreign" raw YUV buffers.
24299
24300 2013-11-26 15:12:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24301
24302         * gst/vaapi/gstvaapiencode.c:
24303           vaapiencode: fix support for GStreamer 1.2.
24304
24305 2013-11-07 17:42:21 +0800  Wind Yuan <feng.yuan@intel.com>
24306
24307         * gst/vaapi/gstvaapiencode.c:
24308         * gst/vaapi/gstvaapiencode_h264.c:
24309         * gst/vaapi/gstvaapiencode_mpeg2.c:
24310           vaapiencode: initial port to GStreamer 1.2.
24311           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24312
24313 2013-11-20 16:21:32 +0800  XuGuangxin <guangxin.xu@intel.com>
24314
24315         * gst/vaapi/Makefile.am:
24316         * gst/vaapi/gstvaapi.c:
24317         * gst/vaapi/gstvaapiencode_mpeg2.c:
24318         * gst/vaapi/gstvaapiencode_mpeg2.h:
24319           plugins: add mpeg2 encoder element.
24320           Add GstVaapiEncodeMPEG2 element object. The actual plug-in element
24321           is called "vaapiencode_mpeg2".
24322           Valid properties:
24323           - rate-control: rate control mode (default: cqp - constant QP)
24324           - bitrate: desired bitrate in kbps (default: auto-calculated)
24325           - key-period: maximal distance between two key frames (default: 30)
24326           - max-bframes: number of B-frames between I and P (default: 2)
24327           - quantizer: constant quantizer (default: 8)
24328           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24329
24330 2013-07-29 16:02:56 +0800  Wind Yuan <feng.yuan@intel.com>
24331
24332         * gst/vaapi/Makefile.am:
24333         * gst/vaapi/gstvaapi.c:
24334         * gst/vaapi/gstvaapiencode_h264.c:
24335         * gst/vaapi/gstvaapiencode_h264.h:
24336           plugins: add h264 encoder element.
24337           Add GstVaapiEncodeH264 element object. The actual plug-in element
24338           is called "vaapiencode_h264".
24339           Valid properties:
24340           - rate-control: rate control mode (default: none)
24341           - bitrate: desired bitrate in kbps (default: auto-calculated)
24342           - key-period: maximal distance between two key frames (default: 30)
24343           - num-slices: number of slices per frame (default: 1)
24344           - max-bframes: number of B-frames between I and P (default: 0)
24345           - min-qp: minimal quantizer (default: 1)
24346           - init-qp: initial quantizer (default: 26)
24347           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24348
24349 2013-07-29 13:44:48 +0800  Wind Yuan <feng.yuan@intel.com>
24350
24351         * gst/vaapi/Makefile.am:
24352         * gst/vaapi/gstvaapiencode.c:
24353         * gst/vaapi/gstvaapiencode.h:
24354           plugins: add base encoder element.
24355           vaapiencode element is based on GstVideoEncoder APIs.
24356           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24357
24358 2013-11-20 16:20:15 +0800  XuGuangxin <guangxin.xu@intel.com>
24359
24360         * gst-libs/gst/vaapi/Makefile.am:
24361         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c:
24362         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.h:
24363         * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2_priv.h:
24364           encoder: add mpeg2 encoder.
24365           Add initial support for MPEG-2 encoding. I/P/B frames are supported.
24366           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24367
24368 2013-07-29 15:46:11 +0800  Wind Yuan <feng.yuan@intel.com>
24369
24370         * gst-libs/gst/vaapi/Makefile.am:
24371         * gst-libs/gst/vaapi/gstvaapiencoder_h264.c:
24372         * gst-libs/gst/vaapi/gstvaapiencoder_h264.h:
24373         * gst-libs/gst/vaapi/gstvaapiencoder_h264_priv.h:
24374           encoder: add h264 encoder.
24375           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24376
24377 2013-07-29 13:34:06 +0800  Wind Yuan <feng.yuan@intel.com>
24378
24379         * configure.ac:
24380         * gst-libs/gst/vaapi/Makefile.am:
24381         * gst-libs/gst/vaapi/gstvaapiencoder.c:
24382         * gst-libs/gst/vaapi/gstvaapiencoder.h:
24383         * gst-libs/gst/vaapi/gstvaapiencoder_objects.c:
24384         * gst-libs/gst/vaapi/gstvaapiencoder_objects.h:
24385         * gst-libs/gst/vaapi/gstvaapiencoder_priv.h:
24386           Add initial infrastructure for video encoding.
24387           Add initial API for video encoding: only basic interfaces and small
24388           encoder objects are implemented so far.
24389           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24390
24391 2013-07-29 15:41:23 +0800  Wind Yuan <feng.yuan@intel.com>
24392
24393         * configure.ac:
24394         * gst-libs/gst/Makefile.am:
24395         * gst-libs/gst/base/Makefile.am:
24396         * gst-libs/gst/base/gstbitwriter.c:
24397         * gst-libs/gst/base/gstbitwriter.h:
24398         * gst-libs/gst/vaapi/Makefile.am:
24399           libs: add generic bitstream writer.
24400           GstBitWriter provides a bit writer that can write any number of bits
24401           to a pre-allocated memory buffer. Helper functions are also provided
24402           to write any number of bits from 8, 16, 32 and 64 bit variables.
24403           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24404
24405 2013-07-12 22:07:59 +0800  Wind Yuan <feng.yuan@intel.com>
24406
24407         * gst-libs/gst/vaapi/gstvaapicontext.c:
24408         * gst-libs/gst/vaapi/gstvaapicontext.h:
24409           libs: add support for rate-control to GstVaapiContext.
24410           Extend GstVaapiContextInfo structure to hold the desired rate control
24411           mode for encoding purposes. For decoding purposes, this field is not
24412           used and it is initialized to GST_VAAPI_RATECONTROL_NONE.
24413           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24414
24415 2013-07-12 21:33:32 +0800  Wind Yuan <feng.yuan@intel.com>
24416
24417         * gst-libs/gst/vaapi/gstvaapitypes.h:
24418         * gst-libs/gst/vaapi/gstvaapiutils.c:
24419         * gst-libs/gst/vaapi/gstvaapiutils.h:
24420         * gst-libs/gst/vaapi/gstvaapivalue.c:
24421         * gst-libs/gst/vaapi/gstvaapivalue.h:
24422           libs: add rate-control attributes.
24423           Add GstVaapiRateControl types and GType values in view to supporting
24424           rate controls for encoding. This is meant to be used for instance in
24425           GstVaapiContext.
24426           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24427
24428 2013-11-22 11:56:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24429
24430         * configure.ac:
24431           Bump version for development.
24432
24433 2013-11-22 11:28:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24434
24435         * gst/vaapi/Makefile.am:
24436           build: fix for Wayland headers not in standard include dirs.
24437           Fix build when Wayland headers don't live in plain system include dirs
24438           like /usr/include but rather in /usr/include/wayland for instance.
24439           Original patch written by Dominique Leuenberger <dimstar@opensuse.org>
24440           https://bugzilla.gnome.org/show_bug.cgi?id=712282
24441
24442 2013-11-14 10:58:37 +0000  Ross Burton <ross.burton@intel.com>
24443
24444         * gst-libs/gst/vaapi/Makefile.am:
24445           build: link libgstvaapi-wayland against videoutils.
24446           This library is using symbols that don't exist in GStreamer 0.10 so
24447           it needs to link to built-in implementation (libgstvaapi-videoutils).
24448           https://bugzilla.gnome.org/show_bug.cgi?id=712282
24449           Signed-off-by: Ross Burton <ross.burton@intel.com>
24450           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24451
24452 2013-11-22 11:15:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24453
24454         * gst-libs/gst/vaapi/gstvaapifilter.c:
24455         * gst/vaapi/gstvaapipostproc.c:
24456           vaapostproc: fix memory leaks.
24457           Destroy VPP output surface pool on exit. Also avoid a possible crash
24458           in double-free situation caused by insufficiently reference counted
24459           array of formats returned during initialization.
24460
24461 2013-11-22 10:19:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24462
24463         * gst/vaapi/gstvaapipostproc.c:
24464         * gst/vaapi/gstvaapipostproc.h:
24465           vaapipostproc: fix and optimize advanced deinterlacing mode.
24466           Fix advanced deinterlacing modes with VPP to track only up to 2 past
24467           reference buffers. This used to be 3 past reference buffers but this
24468           doesn't fit with the existing decode pipeline that only has 4 extra
24469           scratch surfaces.
24470           Also optimize references tracking to be only enabled when needed, i.e.
24471           when advanced deinterlacing mode is used. This means that we don't
24472           need to track past references for basic bob or weave deinterlacing.
24473
24474 2013-11-22 10:04:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24475
24476         * gst/vaapi/gstvaapipostproc.c:
24477           vaapipostproc: fix "mixed" mode deinterlacing.
24478           In "mixed" interlaced streams, the buffer contains additional flags that
24479           specify whether the frame contained herein is interlaced or not. This means
24480           that we can alternatively get progressive or interlaced frames. Make sure
24481           to disable deinterlacing at the VPP level when the source buffer is no longer
24482           interlaced.
24483
24484 2013-11-22 09:49:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24485
24486         * gst/vaapi/gstvaapipostproc.c:
24487           vaapipostproc: fix memory leaks with advanced deinterlacing.
24488           Fix memory leaks with advanced deinterlacing, i.e. when we keep track
24489           of past buffers. Completely reset the deinterlace state, thus destroying
24490           any buffer currently held, on _start(), _stop() and _destroy().
24491
24492 2013-11-22 06:59:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24493
24494         * README:
24495           README: updates.
24496           - GStreamer 1.2 APIs are supported ;
24497           - Video Processing (VA/VPP) features.
24498
24499 2013-11-22 06:45:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24500
24501         * README:
24502           README: update for GStreamer >= 1.0.x and VPP features.
24503
24504 2013-11-22 06:37:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24505
24506         * gst-libs/gst/vaapi/glibcompat.h:
24507         * gst-libs/gst/vaapi/gstvaapicontext.h:
24508         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
24509         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
24510         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
24511         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
24512         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
24513         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
24514         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
24515         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
24516         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
24517         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
24518         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
24519         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
24520         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
24521         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
24522         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
24523         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
24524         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
24525         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
24526         * gst-libs/gst/vaapi/gstvaapiimage.c:
24527         * gst-libs/gst/vaapi/gstvaapiimage.h:
24528         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
24529         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
24530         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
24531         * gst-libs/gst/vaapi/gstvaapiobject.c:
24532         * gst-libs/gst/vaapi/gstvaapiobject.h:
24533         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
24534         * gst-libs/gst/vaapi/gstvaapiprofile.c:
24535         * gst-libs/gst/vaapi/gstvaapisurface.h:
24536         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
24537         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
24538         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
24539         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
24540         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
24541         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
24542         * gst-libs/gst/vaapi/gstvaapitexture.c:
24543         * gst-libs/gst/vaapi/gstvaapitexture.h:
24544         * gst-libs/gst/vaapi/gstvaapitypes.h:
24545         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
24546         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
24547         * gst-libs/gst/vaapi/gstvaapivalue.c:
24548         * gst-libs/gst/vaapi/gstvaapivalue.h:
24549         * gst-libs/gst/vaapi/gstvaapivideopool.c:
24550         * gst-libs/gst/vaapi/gstvaapivideopool.h:
24551         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
24552         * gst-libs/gst/vaapi/gstvaapiwindow.c:
24553         * gst-libs/gst/vaapi/gstvaapiwindow.h:
24554         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
24555         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
24556         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
24557         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
24558         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
24559         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
24560         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
24561         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
24562         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
24563         * gst/vaapi/gstvaapi.c:
24564         * gst/vaapi/gstvaapidecode.h:
24565         * gst/vaapi/gstvaapidownload.h:
24566         * gst/vaapi/gstvaapipluginutil.c:
24567         * gst/vaapi/gstvaapipluginutil.h:
24568         * gst/vaapi/gstvaapipostproc.h:
24569         * gst/vaapi/gstvaapisink.h:
24570         * gst/vaapi/gstvaapivideoconverter_glx.h:
24571         * tests/image.c:
24572         * tests/image.h:
24573         * tests/output.h:
24574         * tests/test-display.c:
24575         * tests/test-jpeg.c:
24576         * tests/test-jpeg.h:
24577         * tests/test-mpeg4.c:
24578         * tests/test-mpeg4.h:
24579         * tests/test-surfaces.c:
24580         * tests/test-windows.c:
24581           legal: update copyright notice dates.
24582
24583 2013-11-22 05:57:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24584
24585         * gst-libs/gst/vaapi/glibcompat.h:
24586         * gst-libs/gst/vaapi/gstcompat.h:
24587         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
24588         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
24589         * gst-libs/gst/vaapi/gstvaapicompat.h:
24590         * gst-libs/gst/vaapi/gstvaapicontext.c:
24591         * gst-libs/gst/vaapi/gstvaapicontext.h:
24592         * gst-libs/gst/vaapi/gstvaapidebug.h:
24593         * gst-libs/gst/vaapi/gstvaapidecoder.c:
24594         * gst-libs/gst/vaapi/gstvaapidecoder.h:
24595         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
24596         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
24597         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
24598         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
24599         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
24600         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
24601         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
24602         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
24603         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
24604         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
24605         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
24606         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
24607         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
24608         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
24609         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
24610         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
24611         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
24612         * gst-libs/gst/vaapi/gstvaapidisplay.c:
24613         * gst-libs/gst/vaapi/gstvaapidisplay.h:
24614         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
24615         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
24616         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
24617         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
24618         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
24619         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
24620         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
24621         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
24622         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
24623         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
24624         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
24625         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
24626         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
24627         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
24628         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
24629         * gst-libs/gst/vaapi/gstvaapifilter.c:
24630         * gst-libs/gst/vaapi/gstvaapifilter.h:
24631         * gst-libs/gst/vaapi/gstvaapiimage.c:
24632         * gst-libs/gst/vaapi/gstvaapiimage.h:
24633         * gst-libs/gst/vaapi/gstvaapiimage_priv.h:
24634         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
24635         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
24636         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
24637         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
24638         * gst-libs/gst/vaapi/gstvaapiobject.c:
24639         * gst-libs/gst/vaapi/gstvaapiobject.h:
24640         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
24641         * gst-libs/gst/vaapi/gstvaapiparser_frame.c:
24642         * gst-libs/gst/vaapi/gstvaapiparser_frame.h:
24643         * gst-libs/gst/vaapi/gstvaapipixmap.c:
24644         * gst-libs/gst/vaapi/gstvaapipixmap.h:
24645         * gst-libs/gst/vaapi/gstvaapipixmap_priv.h:
24646         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
24647         * gst-libs/gst/vaapi/gstvaapipixmap_x11.h:
24648         * gst-libs/gst/vaapi/gstvaapiprofile.c:
24649         * gst-libs/gst/vaapi/gstvaapiprofile.h:
24650         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
24651         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
24652         * gst-libs/gst/vaapi/gstvaapisurface.c:
24653         * gst-libs/gst/vaapi/gstvaapisurface.h:
24654         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
24655         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
24656         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
24657         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
24658         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
24659         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
24660         * gst-libs/gst/vaapi/gstvaapitexture.c:
24661         * gst-libs/gst/vaapi/gstvaapitexture.h:
24662         * gst-libs/gst/vaapi/gstvaapitypes.h:
24663         * gst-libs/gst/vaapi/gstvaapiutils.c:
24664         * gst-libs/gst/vaapi/gstvaapiutils.h:
24665         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
24666         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
24667         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
24668         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
24669         * gst-libs/gst/vaapi/gstvaapivalue.c:
24670         * gst-libs/gst/vaapi/gstvaapivalue.h:
24671         * gst-libs/gst/vaapi/gstvaapivideopool.c:
24672         * gst-libs/gst/vaapi/gstvaapivideopool.h:
24673         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
24674         * gst-libs/gst/vaapi/gstvaapiwindow.c:
24675         * gst-libs/gst/vaapi/gstvaapiwindow.h:
24676         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
24677         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
24678         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
24679         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
24680         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
24681         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
24682         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
24683         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
24684         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
24685         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
24686         * gst-libs/gst/vaapi/gstvaapiworkarounds.h:
24687         * gst-libs/gst/vaapi/sysdeps.h:
24688         * gst-libs/gst/vaapi/video-format.c:
24689         * gst-libs/gst/vaapi/video-format.h:
24690         * gst/vaapi/gstvaapi.c:
24691         * gst/vaapi/gstvaapidecode.c:
24692         * gst/vaapi/gstvaapidecode.h:
24693         * gst/vaapi/gstvaapidownload.c:
24694         * gst/vaapi/gstvaapidownload.h:
24695         * gst/vaapi/gstvaapipluginutil.c:
24696         * gst/vaapi/gstvaapipluginutil.h:
24697         * gst/vaapi/gstvaapipostproc.c:
24698         * gst/vaapi/gstvaapipostproc.h:
24699         * gst/vaapi/gstvaapisink.c:
24700         * gst/vaapi/gstvaapisink.h:
24701         * gst/vaapi/gstvaapiupload.c:
24702         * gst/vaapi/gstvaapiupload.h:
24703         * gst/vaapi/gstvaapiuploader.c:
24704         * gst/vaapi/gstvaapiuploader.h:
24705         * gst/vaapi/gstvaapivideobuffer.c:
24706         * gst/vaapi/gstvaapivideobuffer.h:
24707         * gst/vaapi/gstvaapivideobufferpool.c:
24708         * gst/vaapi/gstvaapivideobufferpool.h:
24709         * gst/vaapi/gstvaapivideocontext.c:
24710         * gst/vaapi/gstvaapivideocontext.h:
24711         * gst/vaapi/gstvaapivideoconverter_glx.c:
24712         * gst/vaapi/gstvaapivideoconverter_glx.h:
24713         * gst/vaapi/gstvaapivideoconverter_x11.c:
24714         * gst/vaapi/gstvaapivideoconverter_x11.h:
24715         * gst/vaapi/gstvaapivideomemory.c:
24716         * gst/vaapi/gstvaapivideomemory.h:
24717         * gst/vaapi/gstvaapivideometa.c:
24718         * gst/vaapi/gstvaapivideometa.h:
24719         * gst/vaapi/gstvaapivideometa_texture.c:
24720         * gst/vaapi/gstvaapivideometa_texture.h:
24721         * tests/codec.c:
24722         * tests/codec.h:
24723         * tests/decoder.c:
24724         * tests/decoder.h:
24725         * tests/image.c:
24726         * tests/image.h:
24727         * tests/output.c:
24728         * tests/output.h:
24729         * tests/simple-decoder.c:
24730         * tests/test-decode.c:
24731         * tests/test-decode.h:
24732         * tests/test-display.c:
24733         * tests/test-filter.c:
24734         * tests/test-h264.c:
24735         * tests/test-h264.h:
24736         * tests/test-jpeg.c:
24737         * tests/test-jpeg.h:
24738         * tests/test-mpeg2.c:
24739         * tests/test-mpeg2.h:
24740         * tests/test-mpeg4.c:
24741         * tests/test-mpeg4.h:
24742         * tests/test-surfaces.c:
24743         * tests/test-textures.c:
24744         * tests/test-vc1.c:
24745         * tests/test-vc1.h:
24746         * tests/test-windows.c:
24747           legal: add per-file authorship information.
24748           Credit original authors on a per-file basis as we cannot expect people
24749           to know all country-specific rules, or bother browsing through the git
24750           history.
24751
24752 2013-11-21 23:52:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24753
24754         * NEWS:
24755         * configure.ac:
24756           0.5.7.
24757
24758 2013-11-21 23:51:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24759
24760         * NEWS:
24761           NEWS: updates.
24762
24763 2013-11-21 23:17:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24764
24765         * gst-libs/gst/vaapi/gstvaapidecoder.h:
24766           decoder: don't include obsolete headers.
24767           The <gst/vaapi/gstvaapicontext.h> header was removed from the public
24768           set of APIs. So, don't make public headers (gstvaapidecoder.h) depend
24769           on private files.
24770
24771 2013-11-18 16:20:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24772
24773         * gst/vaapi/Makefile.am:
24774         * gst/vaapi/gstvaapi.c:
24775         * gst/vaapi/gstvaapipostproc.c:
24776           vaapipostproc: add initial support for GStreamer 1.2.
24777           Port vaapipostproc element to GStreamer 1.2. Support is quite minimal
24778           right now so that to cope with auto-plugging issues/regressions. e.g.
24779           this happens when the correct set of expected caps are being exposed.
24780           This means that, currently, the proposed caps are not fully accurate.
24781
24782 2013-11-01 10:22:17 +0800  Halley Zhao <halley.zhao@intel.com>
24783
24784         * gst/vaapi/gstvaapipostproc.c:
24785         * gst/vaapi/gstvaapipostproc.h:
24786           vaapipostproc: add support for denoise and sharpen filters.
24787           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24788
24789 2013-11-21 19:52:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24790
24791         * gst/vaapi/gstvaapipostproc.c:
24792         * gst/vaapi/gstvaapipostproc.h:
24793           vaapipostproc: add support for advanced deinterlacing.
24794           Add initial support for advanced deinterlacing. The history buffer
24795           size is arbitrarily set to 3 references for now.
24796
24797 2013-11-21 22:32:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24798
24799         * gst/vaapi/gstvaapipostproc.c:
24800           vaapipostproc: fix deinterlacing with VPP.
24801           Fix basic deinterlacing flags provided to gst_vaapi_set_deinterlacing()
24802           for the first field. Render flags were supplied instead of the actual
24803           deinterlacing flags (deint_flags).
24804
24805 2013-11-21 15:08:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24806
24807         * gst/vaapi/gstvaapipostproc.c:
24808           vaapipostproc: fix transform caps.
24809           Fix GstBaseTransform::transform_caps() implementation to always return
24810           the complete set of allowed sink pad caps (unfixated) even if the src
24811           pad caps we are getting are fixated. Rationale: there are just so many
24812           possible combinations, and it was wrong to provide a unique set anyway.
24813           As a side effect, this greatly simplifies the ability to derive src pad
24814           caps from fixated sink pad caps.
24815
24816 2013-11-01 10:31:13 +0800  Halley Zhao <halley.zhao@intel.com>
24817
24818         * docs/reference/libs/libs-sections.txt:
24819         * gst-libs/gst/vaapi/gstvaapifilter.c:
24820         * gst-libs/gst/vaapi/gstvaapifilter.h:
24821           filter: add helper to specify references for deinterlacing.
24822           Add gst_vaapi_fitler_set_deinterlacing_references() API to submit the
24823           list of surfaces used for forward or backward reference in advanced
24824           deinterlacing mode, e.g. Motion-Adaptive, Motion-Compensated.
24825           The list of surfaces used as deinterlacing references shall be live
24826           until the next call to gst_vaapi_filter_process().
24827           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24828
24829 2013-11-21 18:44:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24830
24831         * gst-libs/gst/vaapi/gstvaapifilter.c:
24832         * gst-libs/gst/vaapi/gstvaapifilter.h:
24833         * gst-libs/gst/vaapi/gstvaapiutils.c:
24834         * gst/vaapi/gstvaapipostproc.c:
24835         * tests/test-filter.c:
24836           filter: fix semantics of deinterlacing flags.
24837           Fix deinterlacing flags to make more sense. The TFF (top-field-first)
24838           flag is meant to specify the organization of reference frames used in
24839           advanced deinterlacing modes. Introduce the more explicit flag TOPFIELD
24840           to specify that the top-field of the supplied input surface is to be
24841           used for deinterlacing. Conversely, if not set, this means that the
24842           bottom field of the supplied input surface will be used instead.
24843
24844 2013-11-21 17:20:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24845
24846         * docs/reference/libs/libs-sections.txt:
24847         * gst-libs/gst/vaapi/gstvaapifilter.c:
24848         * gst-libs/gst/vaapi/gstvaapifilter.h:
24849           filter: add helpers to check for supported/active operation.
24850           Add a couple of helper functions:
24851           - gst_vaapi_filter_has_operation(): checks whether the VA driver
24852           advertises support for the supplied operation ;
24853           - gst_vaapi_filter_use_operation(): checks whether the supplied
24854           operation was already enabled to its non-default value.
24855
24856 2013-11-20 15:10:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24857
24858         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
24859           libs: fix GstVaapiSurfaceProxy destroy notify call site.
24860           The user-defined destroy notify function is meant to be called only when
24861           the surface proxy was fully released, i.e. once it actually released the
24862           VA surface back to the underlying pool.
24863
24864 2013-08-29 13:44:22 +0800  XuGuangxin <guangxin.xu@intel.com>
24865
24866         * gst-libs/gst/vaapi/gstvaapivideopool.c:
24867         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
24868           libs: make GstVaapiVideoPool thread-safe.
24869           https://bugzilla.gnome.org/show_bug.cgi?id=707108
24870           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24871
24872 2013-08-29 14:04:06 +0800  XuGuangxin <guangxin.xu@intel.com>
24873
24874         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
24875         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
24876           libs: robustify decoder objects and surface proxy initialization.
24877           Fix GstVaapiPicture, GstVaapiSlice and GstVaapiSurfaceProxy initialization
24878           sequences to have the expected default values set beforehand in case of an
24879           error raising up further during creation. i.e. make it possible to cleanly
24880           destroy those partially initialized objects.
24881           https://bugzilla.gnome.org/show_bug.cgi?id=707108
24882           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24883
24884 2013-11-21 11:01:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24885
24886         * gst/vaapi/gstvaapidecode.c:
24887           vaapidecode: fix decoder flush.
24888           There are situations where gst_video_decoder_flush() is called, and
24889           this subsequently produces a gst_video_decoder_reset() that kills the
24890           currently active GstVideoCodecFrame. This means that it no longer
24891           exists by the time we reach GstVideoDecoder::finish() callback, thus
24892           possibly resulting in a crash if we assumed spare data was still
24893           available for decode (current_frame_size > 0).
24894           Try to honour GstVideoDecoder::reset() behaviour from GStreamer 1.0
24895           that means a flush, thus performing the actual operations there like
24896           calling gst_video_decoder_have_frame() if pending data is available.
24897
24898 2013-11-20 19:21:05 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24899
24900         * gst/vaapi/gstvaapidecode.c:
24901         * gst/vaapi/gstvaapidecode.h:
24902           vaapidecode: fix dead-locks with decoder task.
24903           Review all interactions between the main video decoder stream thread
24904           and the decode task to derive a correct sequence of operations for
24905           decoding. Also avoid extra atomic operations that become implicit under
24906           the GstVideoDecoder stream lock.
24907
24908 2013-08-29 14:12:10 +0800  XuGuangxin <guangxin.xu@intel.com>
24909
24910         * gst/vaapi/gstvaapidecode.c:
24911           vaapidecode: fix hard reset for seek cases.
24912           Fix hard reset for seek cases by flushing the GstVaapiDecoder queue
24913           and completely purge any decoded output frame that may come out from
24914           it. At this stage, the GstVaapiDecoder shall be in a complete clean
24915           state to start decoding over new buffers.
24916           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24917
24918 2013-08-29 14:12:10 +0800  XuGuangxin <guangxin.xu@intel.com>
24919
24920         * gst/vaapi/gstvaapidecode.c:
24921         * gst/vaapi/gstvaapidecode.h:
24922           vaapidecode: drop decode timeout, always wait for a free surface.
24923           vaapidecode used to wait up to one second past the expected time of
24924           presentation for the last decoded frame. This is not realistic in
24925           practice when it comes to video pause/resume. Changed behaviour to
24926           unconditionnally wait for a free VA surface prior to continuing the
24927           decoding. The decode task will continue pushing the output frames to
24928           the downstream element while also reporting errors at the same time
24929           to the main thread.
24930           https://bugzilla.gnome.org/show_bug.cgi?id=707108
24931           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24932
24933 2013-11-20 10:56:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24934
24935         * gst/vaapi/gstvaapidecode.c:
24936           vaapidecode: fix srcpad caps for GStreamer 1.2.
24937           The srcpad caps exposed for GStreamer 1.2 were missing any useful info
24938           like framerate, pixel-aspect-ratio, interlace-mode et al. Not to mention
24939           that it relied on possibly un-initialized data. Fix srcpad caps to be
24940           initialized from a sanitized copy of GstVideoDecoder output state caps.
24941           Note: the correct way to expose the srcpad caps triggers an additional
24942           issue in core GStreamer auto-plugging capabilities as the correct caps
24943           to be exposed should be format=ENCODED with memory:VASurface caps feature
24944           at the minimum. In some situations, we could determine the underlying
24945           VA surface format, but this is not always possible. e.g. cases where it
24946           is not allowed to expose the underlying VA surface data, or when the
24947           VA driver implementation cannot actually provide such information.
24948
24949 2013-11-20 10:45:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24950
24951         * gst/vaapi/gstvaapidecode.c:
24952         * gst/vaapi/gstvaapisink.c:
24953           plugins: streamline VA formats exposed in caps to a realistic set.
24954           Currently, the decoder only supports YUV 4:2:0 output. So, expose the
24955           output formats for GStreamer 1.2 in caps to a realistic subset. This
24956           means NV12, I420 or YV12 but also ENCODED if we cannot determine the
24957           underlying VA surface format, or if it is actually not allowed to get
24958           access to the surface contents.
24959
24960 2013-11-20 10:37:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24961
24962         * gst/vaapi/gstvaapidecode.c:
24963         * gst/vaapi/gstvaapisink.c:
24964           plugins: expose the expected format for GstVideoGLTextureUploadMeta.
24965           Fix vaapidecode srcpad caps to only expose RGBA video format for the
24966           meta:GstVideoGLTextureUploadMeta feature. That's only what is supported
24967           so far. Besides, drop this meta from the vaapisink sinkpad caps since
24968           we really don't support that for rendering.
24969           https://bugzilla.gnome.org/show_bug.cgi?id=711828
24970
24971 2013-11-18 18:25:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
24972
24973         * configure.ac:
24974           configure: automatically detect GStreamer API version.
24975           Automatically detect GStreamer API version. The --with-gstreamer-api
24976           configure option now defaults to "autodetect" and configure then tries
24977           to derive the GStreamer API version from the highest version based on
24978           what pkg-config --modversion would report.
24979           https://bugzilla.gnome.org/show_bug.cgi?id=711657
24980
24981 2013-11-01 13:43:11 +0800  Wind Yuan <feng.yuan@intel.com>
24982
24983         * gst/vaapi/gstvaapipostproc.c:
24984           vaapipostproc: fix support for raw YUV data upload on GStreamer 1.0.
24985           Fix raw YUV data uploaded as in the following pipeline:
24986           $ gst-launch-1.0 filesrc video.yuv ! videoparse ! vaapipostproc ! vaapisink
24987           The main reason why it failed was that the videoparse element simply
24988           allocates GstBuffer with raw data chunk'ed off the sink pad without
24989           any prior knowledge of the actual frame info. i.e. it basically just
24990           calls gst_adapter_take_buffer().
24991           We could avoid the extra copy performed in vaapipostproc if the videoparse
24992           element was aware of the downstream pool and bothers copying line by
24993           line, for each plane. This means that, for a single frame per buffer,
24994           the optimizatin will be to allocate the video buffer downstream, map
24995           it, and copy each line that is coming through until we need to fills
24996           in the successive planes.
24997           Still, optimized raw YUV uploads already worked with the following:
24998           $ gst-launch-1.0 videotestsrc ! vaapipostproc ! vaapisink
24999           https://bugzilla.gnome.org/show_bug.cgi?id=711250
25000           [clean-ups, fixed error cases to unmap and unref outbuf]
25001           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25002
25003 2013-11-16 07:02:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25004
25005         * gst/vaapi/gstvaapipostproc.c:
25006           vaapipostproc: try to downgrade deinterlace-method when needed.
25007           If the currently selected deinterlacing method is not supported by the
25008           underlying hardware, then try to downgrade the method to a supported one.
25009           At the minimum, basic bob-deinterlacing shall always be supported.
25010
25011 2013-11-15 19:04:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25012
25013         * gst/vaapi/gstvaapipostproc.c:
25014           vaapipostproc: add initial support for deinterlacing with VPP.
25015           Allow basic bob-deinterlacing to work when VPP is enabled. Currently,
25016           this only covers bob-deinterlacing when the output pixel format is
25017           explicitly set.
25018
25019 2013-11-15 17:14:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25020
25021         * gst/vaapi/gstvaapipostproc.c:
25022           vaapipostproc: fix build on 64-bit platforms with GStreamer 0.10.
25023           The size argument for GstBaseTransform::transform_size() hook is a
25024           guint in GStreamer 0.10 APIs but a gsize in GStreamer >= 1.0.X APIs.
25025
25026 2013-10-18 18:08:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25027
25028         * gst/vaapi/gstvaapipostproc.c:
25029         * gst/vaapi/gstvaapipostproc.h:
25030           vaapipostproc: add initial support for scaling.
25031           Add initial support for basic scaling with size specified through the
25032           "width" and "height" properties. If either user-provided dimension is
25033           zero and "force-aspect-ratio" is set to true (the default), then the
25034           other dimension is scaled to preserve the aspect ratio.
25035
25036 2013-10-18 18:08:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25037
25038         * gst/vaapi/gstvaapipostproc.c:
25039         * gst/vaapi/gstvaapipostproc.h:
25040           vaapipostproc: add initial support for color conversion.
25041           If VPP is available, we always try to implicitly convert the source
25042           buffer to the "native" surface format for the underlying accelerator.
25043           This means that no optimization is performed yet to propagate raw YUV
25044           buffers to the downstream element as is, if VPP is available. i.e. it
25045           will always cause a color conversion.
25046
25047 2013-10-16 11:23:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25048
25049         * gst/vaapi/gstvaapipostproc.c:
25050           vaapipostproc: fix bug when user disabled deinterlacing.
25051           Fix pipeline error / hang when the user disabled deinterlacing through
25052           the deinterlace-mode=disabled property setting.
25053
25054 2013-10-16 11:20:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25055
25056         * gst/vaapi/gstvaapipostproc.c:
25057         * gst/vaapi/gstvaapipostproc.h:
25058           vaapipostproc: factor out operations to be applied into flags.
25059           Even if we only support deinterlacing for now, use flags to specify
25060           which filters are to be applied to each frame we receive in transform().
25061           This is preparatory work for integrating new filters.
25062
25063 2013-10-04 15:37:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25064
25065         * gst/vaapi/gstvaapipostproc.c:
25066         * gst/vaapi/gstvaapipostproc.h:
25067           vaapipostproc: add support for raw YUV video source buffers.
25068           Allow video processing from raw YUV buffers coming from the sink pad,
25069           while still producing a VA surface for the downstream elements.
25070
25071 2013-10-04 16:00:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25072
25073         * gst/vaapi/gstvaapipluginutil.c:
25074         * gst/vaapi/gstvaapipluginutil.h:
25075         * gst/vaapi/gstvaapipostproc.c:
25076           vaapipostproc: add support for "mixed" interlace mode.
25077           Add support for "mixed" interlace-mode, whereby the video frame buffer
25078           shall be deinterlaced only if its flags mention that's actually an
25079           interlaced frame buffer.
25080
25081 2013-10-03 19:04:07 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25082
25083         * gst-libs/gst/vaapi/gstcompat.h:
25084         * gst/vaapi/gstvaapipostproc.c:
25085         * gst/vaapi/gstvaapipostproc.h:
25086         * gst/vaapi/gstvaapivideobuffer.c:
25087         * gst/vaapi/gstvaapivideobuffer.h:
25088           vaapipostproc: rework plug-in element.
25089           Rewrite the vaapipostproc plug-in element so that it derives from
25090           GstBaseTransform, thus simplifying the caps negotiation process.
25091
25092 2013-10-09 17:25:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25093
25094         * gst/vaapi/gstvaapivideobufferpool.c:
25095         * gst/vaapi/gstvaapivideomemory.c:
25096         * gst/vaapi/gstvaapivideomemory.h:
25097           plugins: fix and optimize check for buffer pool allocator params.
25098           Reset the buffer pool allocator only if the config caps changed in a
25099           sensible way: format or resolution change. i.e. don't bother with
25100           other caps like colorimetry et al. as this doesn't affect the way to
25101           allocate VA surfaces or images.
25102
25103 2013-10-09 10:33:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25104
25105         * gst/vaapi/gstvaapivideomemory.c:
25106           plugins: enable memory maps for read & write with direct-rendering.
25107           Enable read and write mappings only if direct-rendering is supported.
25108           Otherwise, this means that we may need to download data from the VA
25109           surface first for correctness, even if the VA surface doesn't need to
25110           be read at all. i.e. sometimes, READWRITE mappings are meant for
25111           surfaces that are written to first, and read afterwards for further
25112           processing.
25113           https://bugzilla.gnome.org/show_bug.cgi?id=704078
25114
25115 2013-10-09 10:06:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25116
25117         * gst/vaapi/gstvaapivideomemory.c:
25118           plugins: fix check for direct-rendering support.
25119           Fix check for direct-rendering if the creation of VA surfaces with
25120           an explicit pixel format is not support, e.g. VA-API < 0.34.0, and
25121           that we tried to allocate a VA surface based on the corresponding
25122           chroma type. i.e. in that particular case, we have to make sure that
25123           the derived image has actually the expected format.
25124
25125 2013-10-09 09:47:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25126
25127         * gst/vaapi/gstvaapivideobufferpool.c:
25128         * gst/vaapi/gstvaapivideomemory.c:
25129         * gst/vaapi/gstvaapivideomemory.h:
25130           plugins: fix buffer pool reset_buffer() to reset memory resources.
25131           Fix GstVaapiVideoBufferPool::reset_buffer() to reset the underlying
25132           memory resources, and more particularly the VA surface proxy. Most
25133           importantly, the GstVaapiVideoMeta is retained. Cached surface in
25134           memory are released, thus triggering a new allocation the next time
25135           we need to map the buffer.
25136
25137 2013-10-09 09:33:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25138
25139         * gst/vaapi/gstvaapivideomemory.c:
25140         * gst/vaapi/gstvaapivideomemory.h:
25141           plugins: fix GstVaapiVideoMemory to allocate VA surface proxies.
25142           Make sure GstVaapiVideoMemory allocates VA surface proxies from a
25143           pool stored in the parent VA memory allocator.
25144           This fixes the following scenario:
25145           - VA video buffer 1 is allocated from a buffer pool
25146           - Another video buffer is created, and inherits info from buffer 1
25147           - Buffer 1 is released, thus pushing it back to the buffer pool
25148           - New buffer alloc request comes it, this yields buffer 1 back
25149           - At this stage, buffers 1 and 2 still share the same underlying VA
25150           surface, but buffer 2 was already submitted downstream for further
25151           processing, thus conflicting with additional processing we were
25152           about to perform on buffer 1.
25153           Maybe the core GstBufferPool implementation should have been fixed
25154           instead to actually make sure that the returned GstBuffer memory we
25155           found from the pool is writable?
25156
25157 2013-10-04 19:34:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25158
25159         * gst/vaapi/gstvaapiuploader.c:
25160           plugins: create a proxy for GstVaapiUploader allocated buffers.
25161           Always make sure to allocate a VA surface proxy for GstVaapiUploader
25162           allocated buffers, i.e. make gst_vaapi_uploader_get_buffer() allocate
25163           a proxy surface.
25164           This fixes cases where we want to retain the underlying surface longer,
25165           instead of releasing it back to the surface pool right away.
25166
25167 2013-10-04 19:30:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25168
25169         * gst/vaapi/gstvaapidecode.c:
25170         * gst/vaapi/gstvaapipluginutil.c:
25171         * gst/vaapi/gstvaapipluginutil.h:
25172         * gst/vaapi/gstvaapipostproc.c:
25173           plugins: add helper function to disable deinterlacing in caps.
25174           Add gst_caps_set_interlaced() helper function that would reset the
25175           interlace-mode field to "progressive" for GStreamer >= 1.0, or the
25176           interlaced field to "false" for GStreamer 0.10.
25177
25178 2013-10-01 18:26:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25179
25180         * gst-libs/gst/vaapi/gstvaapifilter.c:
25181           filter: fix memory leak of VPP operations.
25182           Fix ensure_operations() to release the VPP operations array if non
25183           NULL, prior to returning to the caller. The former function was also
25184           renamed to a more meaningful get_operations() since the caller owns
25185           the returned array that needs to be released.
25186
25187 2013-09-04 13:53:25 +0800  Zhao Halley <halley.zhao@intel.com>
25188
25189         * gst-libs/gst/vaapi/gstvaapifilter.c:
25190           filter: fix first-time operation lookup.
25191           Fix first-time operation lookup through find_operation() if the set
25192           of supported operations was not initially determined through the
25193           gst_vaapi_filter_get_operations() helper function.
25194           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25195
25196 2013-09-04 13:53:25 +0800  Zhao Halley <halley.zhao@intel.com>
25197
25198         * gst-libs/gst/vaapi/gstvaapifilter.c:
25199           filter: fix colorbalance related subtypes.
25200           Fix intiialization of GstVaapiFilterOpData for colorbalance related
25201           operations. In particular, fill in the va_subtype field accordingly.
25202           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25203
25204 2013-09-30 17:08:12 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25205
25206         * gst-libs/gst/vaapi/gstvaapifilter.c:
25207           filter: fix VA-API 0.34.0 symbol guards.
25208           VASurfaceAttrib and VAProcFilterParameterBufferType are symbols
25209           that need to be guarded for libva 0.34 and 0.33, respectively.
25210           https://bugzilla.gnome.org/show_bug.cgi?id=709102
25211           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25212
25213 2013-10-01 17:57:11 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25214
25215         * gst/vaapi/gstvaapidecode.c:
25216         * gst/vaapi/gstvaapipluginutil.c:
25217         * gst/vaapi/gstvaapisink.c:
25218           plugins: hanle the context query in any pad.
25219           Also this patch simplifies the code, since now the query is common for the
25220           decoder and the sink.
25221           https://bugzilla.gnome.org/show_bug.cgi?id=709200
25222
25223 2013-10-01 12:09:44 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25224
25225         * gst/vaapi/gstvaapivideocontext.c:
25226           plugins: query upstream element for a GstContext.
25227           Fix gst_vaapi_video_context_prepare() to also query upstream elements
25228           for a valid GstContext. Improve comments regarding the steps used to
25229           lookup or build that context, thus conforming to the GstContext API
25230           recommendations.
25231           https://bugzilla.gnome.org/show_bug.cgi?id=709112
25232           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25233
25234 2013-09-26 15:21:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25235
25236         * configure.ac:
25237         * debian.upstream/control.in:
25238           Fix detection and packaging of GStreamer 1.2.x builds.
25239           The GStreamer 1.2.x packages sticked to the naming convention for 1.0.x
25240           packages, i.e. -1.0 suffix. However, for gstreamer-vaapi packaging
25241           purposes, update the versioning to -1.2 suffix instead.
25242
25243 2013-07-15 13:41:00 +0200  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25244
25245         * gst/vaapi/Makefile.am:
25246         * gst/vaapi/gstvaapidecode.c:
25247         * gst/vaapi/gstvaapidecode.h:
25248         * gst/vaapi/gstvaapisink.c:
25249         * gst/vaapi/gstvaapivideometa_texture.c:
25250         * gst/vaapi/gstvaapivideometa_texture.h:
25251           plugins: add support for GstVideoGLTextureUploadMeta.
25252           If the allocation meta GST_VIDEO_GL_TEXTURE_UPLOAD_META_API_TYPE is
25253           requested, and more specifically under a GLX configuration, then add
25254           the GstVideoGLTextureUploadMeta to the output buffer.
25255           https://bugzilla.gnome.org/show_bug.cgi?id=703236
25256           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25257
25258 2013-07-04 11:03:52 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
25259
25260         * gst/vaapi/gstvaapidecode.c:
25261         * gst/vaapi/gstvaapisink.c:
25262         * gst/vaapi/gstvaapivideomemory.h:
25263           plugins: add support for GstCaps features.
25264           Move VA video buffer memory from "video/x-surface,type=vaapi" format,
25265           as expressed in caps, to the more standard use of caps features. i.e.
25266           add "memory:VASurface" feature attribute to the associated caps.
25267           https://bugzilla.gnome.org/show_bug.cgi?id=703271
25268           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25269
25270 2013-07-12 12:58:57 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25271
25272         * gst/vaapi/gstvaapidecode.c:
25273         * gst/vaapi/gstvaapisink.c:
25274           plugins: improve ::query() debugging messages.
25275           Fix gst_vaapidecode_query() to correctly display the query type name,
25276           instead of randomly displaying that we shared the underlying display.
25277           Also add debug info for the GstVaapiSink::query() handler, i.e. the
25278           supplied query type name actually.
25279           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25280
25281 2013-07-12 12:58:57 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25282
25283         * gst/vaapi/gstvaapidecode.c:
25284         * gst/vaapi/gstvaapisink.c:
25285           plugins: add support for GstContext API.
25286           Add support for the new GstContext API from GStreamer 1.2.x.
25287           - implement the GstElement::set_context() hook ;
25288           - reply to the `context' query from downstream elements.
25289           https://bugzilla.gnome.org/show_bug.cgi?id=703235
25290           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25291
25292 2013-05-22 12:07:52 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25293
25294         * gst/vaapi/Makefile.am:
25295         * gst/vaapi/gstvaapipluginutil.c:
25296         * gst/vaapi/gstvaapivideocontext.c:
25297         * gst/vaapi/gstvaapivideocontext.h:
25298           plugins: add compat layer for GstVideoContext.
25299           Add thin compatibility layer for the deprecated GstVideoContext API.
25300           For GStreamer API >= 1.2, this involves the following two functions:
25301           - gst_vaapi_video_context_prepare(): queries if a context is already
25302           set in the pipeline ;
25303           - gst_vaapi_video_context_propagate(): propagates the newly-created
25304           context to the rest of the pipeline.
25305           https://bugzilla.gnome.org/show_bug.cgi?id=703235
25306           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25307
25308 2013-05-21 12:42:39 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
25309
25310         * configure.ac:
25311         * gst/vaapi/Makefile.am:
25312         * gst/vaapi/gstvaapi.c:
25313         * gst/vaapi/gstvaapidecode.c:
25314         * gst/vaapi/gstvaapipluginutil.c:
25315         * gst/vaapi/gstvaapisink.c:
25316         * gst/vaapi/gstvaapivideobuffer.c:
25317           plugins: initial port to GStreamer 1.2.
25318           Port vaapidecode and vaapisink plugins to GStreamer API >= 1.2. This
25319           is rather minimalistic so that to test the basic functionality.
25320           Disable vaapipostproc plugin for now as further polishing is needed.
25321           Also disable GstVideoContext interface support since this API is now
25322           gone in 1.2.x. This is preparatory work for GstContext support.
25323           https://bugzilla.gnome.org/show_bug.cgi?id=703235
25324           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25325
25326 2013-09-24 16:21:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25327
25328         * tests/simple-decoder.c:
25329           tests: simple-decoder: fix for non-X11 backends.
25330           Don't try to create pixmaps if we have not requested that feature. This
25331           fixes execution for non-X11 backends, and most specifically DRM video
25332           output mode.
25333
25334 2013-09-24 16:22:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25335
25336         * ext/codecparsers:
25337           codecparsers: update to gst-vaapi-branch commit b33bd32.
25338           b33bd32 jpeg: fix and optimize scan for next marker code
25339
25340 2013-09-23 19:14:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25341
25342         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25343           jpeg: fix calculation of MCU count.
25344           Fix calculation of MCU count for image sizes that are not a multiple
25345           of 8 pixels in either dimension, but also for non-common sampling
25346           factors like 4:2:2 in non-interleaved mode.
25347
25348 2013-09-23 16:49:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25349
25350         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25351         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
25352         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
25353           jpeg: add support for multiscan images.
25354           Add support for images with multiple scans per frame. The Huffman table
25355           can be updated before SOS, and thus possibly requiring multiple uploads
25356           of Huffman tables to the VA driver. So, the latter must be able to cope
25357           with multiple VA buffers of type 'huffman-table' and with the correct
25358           sequential order.
25359
25360 2013-09-23 11:41:52 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25361
25362         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25363           jpeg: improve robustness when packets are missing.
25364           Improve robustness when some expected packets where not received yet
25365           or that were not correctly decoded. For example, don't try to decode
25366           a picture if there was no valid frame headers.
25367
25368 2013-09-20 16:46:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25369
25370         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25371           jpeg: minor clean-ups.
25372           Improve debugging and error messages. Rename a few variables to fit the
25373           existing naming conventions. Change some fatal asserts to non-fatal
25374           error codes.
25375
25376 2013-09-20 10:12:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25377
25378         * gst-libs/gst/vaapi/gstvaapidecoder.c:
25379         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25380         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
25381           jpeg: rework and optimize parser.
25382           Split the input buffer data into decoder units that represent a JPEG
25383           segment. Handle scan decoder unit specifically so that it can include
25384           both the scan header (SOS) but also any other ECS or RSTi segment.
25385           That way, we parse the input buffer stream only once at the gst-vaapi
25386           level instead of (i) in gst_vaapi_decoder_jpeg_parse() to split the
25387           stream into frames SOI .. EOI and (ii) in decode_buffer() to further
25388           determine segment boundaries and decode them.
25389           In practice, this is a +15 to +25% performance improvement.
25390
25391 2013-09-17 14:29:54 +0800  Junfeng Xu <jun.feng.xu@intel.com>
25392
25393         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25394           jpeg: handle comment segments.
25395           Fix decode_buffer() function to gracefully skip comment (COM) segments.
25396           This fixes decoding of streams generated by certain cameras, e.g. like
25397           the Logitech Pro C920.
25398           https://bugzilla.gnome.org/show_bug.cgi?id=708208
25399           Signed-off-by: Junfeng Xu <jun.feng.xu@intel.com>
25400
25401 2013-09-18 17:59:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25402
25403         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25404           jpeg: fix determination of image bounds.
25405           Look for the exact image bounds characterised by the <SOI> and <EOI>
25406           markers. Use the gst_jpeg_parse() codec parser utility function to
25407           optimize the lookup for the next marker segment.
25408           https://bugzilla.gnome.org/show_bug.cgi?id=707447
25409
25410 2013-09-10 15:46:09 +0800  Junfeng Xu <jun.feng.xu@intel.com>
25411
25412         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25413           jpeg: fix calculation of offset to next marker segment.
25414           Fix calculation of the offset to the next marker segment since the
25415           correction of the codecparser part to match the API specification.
25416           i.e. the GstJpegMarkerSegment.size field represents the size in bytes
25417           of the segment minus any marker prefix.
25418           https://bugzilla.gnome.org/show_bug.cgi?id=707447
25419           Signed-off-by: Junfeng Xu <jun.feng.xu@intel.com>
25420
25421 2013-09-20 18:30:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25422
25423         * ext/codecparsers:
25424           codecparsers: update to gst-vaapi-branch commit 23c7dde.
25425           23c7dde jpeg: fix calculation of segment size
25426
25427 2013-08-31 16:00:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25428
25429         * configure.ac:
25430           Bump version for development.
25431
25432 2013-08-31 15:47:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25433
25434         * NEWS:
25435         * configure.ac:
25436           0.5.6.
25437
25438 2013-08-31 15:46:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25439
25440         * NEWS:
25441           NEWS: updates.
25442
25443 2013-08-15 17:59:37 +0800  Wind Yuan <feng.yuan@intel.com>
25444
25445         * configure.ac:
25446         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
25447           configure: fix detection of VA/JPEG decoding API.
25448           Fix detection of VA/JPEG decoding API with non-standard libva packages.
25449           More precisely, some packages were shipping with a <va/va.h> header that
25450           did not include <va/va_dec_jpeg.h>.
25451           https://bugzilla.gnome.org/show_bug.cgi?id=706055
25452           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25453
25454 2013-04-18 19:49:42 +0800  Zhao Halley <halley.zhao@intel.com>
25455
25456         * gst/vaapi/gstvaapisink.c:
25457           vaapisink: ensure the uploader is setup for upstream allocated buffers.
25458           In GStreamer 0.10 builds, make sure that the GstVaapiUploader helper
25459           is setup in case upstream elements allocate buffers themselves without
25460           honouring our GstVaapiSink::bufer_alloc() hook.
25461           In particular, this fixes support for OGG video streams with WebKit.
25462           https://bugzilla.gnome.org/show_bug.cgi?id=703934
25463           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25464
25465 2013-08-29 19:07:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25466
25467         * gst/vaapi/gstvaapisink.c:
25468           vaapisink: simplify get_render_buffer() for GStreamer 0.10 builds.
25469           Implement and use gst_vaapisink_get_render_buffer() for GStreamer 0.10
25470           builds as well.
25471
25472 2013-08-29 18:34:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25473
25474         * gst/vaapi/gstvaapisink.c:
25475         * gst/vaapi/gstvaapisink.h:
25476           vaapisink: handle raw buffers not created from VA video buffer pool.
25477           Handle raw video buffers that were not created from a VA video buffer
25478           pool. Use the generic GstVideo API to copy buffers in GStreamer 1.0.x
25479           builds instead of the GstVaapiUploader.
25480           https://bugs.freedesktop.org/show_bug.cgi?id=55818
25481
25482 2013-08-29 19:33:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25483
25484         * gst/vaapi/gstvaapidecode.c:
25485           vaapidecode: remove extraneous size information from allowed caps.
25486           Fix _getcaps() implementation to not report codecs with size information
25487           filled in the returned caps. That's totally useless nowadays. Ideally,
25488           this is a hint to insert a video parser element, thus allowing future
25489           optimizations, but this is not a strict requirement for gstreamer-vaapi,
25490           which is able to parse the elementary bitstreams itself.
25491           https://bugzilla.gnome.org/show_bug.cgi?id=704734
25492
25493 2013-07-30 14:05:39 +0800  Guangxin.Xu <Guangxin.Xu@intel.com>
25494
25495         * gst/vaapi/gstvaapidecode.c:
25496         * gst/vaapi/gstvaapidecode.h:
25497           vaapidecode: submit the last frame from output adapter to decoder.
25498           If there is no frame delimiter at the end of the stream, e.g. no
25499           end-of-stream or end-of-sequence marker, and that the current frame
25500           was fully parsed correctly, then assume that last frame is complete
25501           and submit it to the decoder.
25502           https://bugzilla.gnome.org/show_bug.cgi?id=705123
25503           Signed-off-by: Guangxin.Xu <Guangxin.Xu@intel.com>
25504           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25505
25506 2013-08-29 11:55:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25507
25508         * gst/vaapi/gstvaapidecode.c:
25509         * gst/vaapi/gstvaapidecode.h:
25510           vaapidecode: push all decoded frames from within the task.
25511           Make sure to push all decoded frames from the task so that the unlying
25512           VA surfaces could all be rendered from the same thread.
25513
25514 2013-08-27 18:24:12 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25515
25516         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
25517           wayland: render the raw surface if VPP failed.
25518           As a last resort, if video processing capabilities (VPP) are not available,
25519           or they did not produce anything conclusive enough, then try to fallback to
25520           the original rendering code path whereby the whole VA surface is rendered
25521           as is, no matter of video cropping or deinterlacing requests.
25522           Note: under those conditions, the visual outcome won't be correct but at
25523           least, something gets displayed instead of bailing out.
25524
25525 2013-08-27 18:20:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25526
25527         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
25528           wayland: add supporting for video processing.
25529           Try to use VA/VPP processing capabilities to handle video cropping and
25530           additional rendering flags that may not be directly supported by the
25531           underlying hardware when exposing a suitable Wayland buffer for the
25532           supplied VA surface. e.g. deinterlacing, different color primaries than
25533           BT.601, etc.
25534
25535 2013-08-27 16:26:22 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25536
25537         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
25538           wayland: add new frame redraw infrastructure.
25539           Update the frame redraw infrastructure with a new FrameState stucture
25540           holds all the necessary information used to display the next pending
25541           surface.
25542           While we are at it, delay the sync operation down to when it is actually
25543           needed. That way, we keep performing additional tasks meanwhile.
25544
25545 2013-08-27 18:06:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25546
25547         * docs/reference/libs/libs-sections.txt:
25548         * gst-libs/gst/vaapi/gstvaapifilter.c:
25549         * gst-libs/gst/vaapi/gstvaapifilter.h:
25550           filter: allow specification of render target regions.
25551           Add support for rendering the source surface to a particular region within
25552           the supplied target surface. The default background color is black.
25553
25554 2013-08-26 17:14:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25555
25556         * gst/vaapi/gstvaapivideobuffer.c:
25557           decode: fix creation of GLX video buffers for GStreamer 0.10.
25558           Fix creation of GstVaapiVideoBuffer objects (i) to have that type for real;
25559           and (ii) to correctly extract the GstSurfaceConverter from the video buffer
25560           object meta.
25561           This fixes support for cluttersink with GStreamer 0.10 builds.
25562
25563 2013-08-26 16:15:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25564
25565         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
25566           mpeg2: disable video cropping as picture_display_extension() is missing.
25567           Disable video cropping in MPEG-2 codec because it is partially implemented
25568           and actually because nobody implements it that way, and the standard spec
25569           does not specify the display process either anyway.
25570           Most notably, there are two possible use cases for sequence_display_extension()
25571           horizontal_display_size & vertical_display_size: (i) guesstimating the
25572           pixel-aspect-ratio, or (ii) implement some kind of span & scan process
25573           in conjunction with picture_display_extension() information.
25574           https://bugzilla.gnome.org/show_bug.cgi?id=704848
25575
25576 2013-08-16 16:58:58 +0100  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
25577
25578         * gst/vaapi/gstvaapisink.c:
25579         * gst/vaapi/gstvaapisink.h:
25580           vaapisink: allow scaling to ignore aspect ratio.
25581           Other GStreamer sinks, like xvimagesink, have a force-aspect-ratio property,
25582           which allows you to say that you don't want the sink to respect aspect
25583           ratio. Add the same property to vaapisink.
25584           http://lists.freedesktop.org/archives/libva/2012-September/001298.html
25585           Signed-off-by: Simon Farnsworth <simon.farnsworth at onelan.co.uk>
25586
25587 2013-05-14 15:19:04 +0800  Wind Yuan <feng.yuan@intel.com>
25588
25589         * gst/vaapi/gstvaapisink.c:
25590           vaapisink: fix memory leak of GstVaapiUploader instance.
25591           Make sure gst_vaapisink_ensure_uploader() checks for the existence
25592           of a former GstVaapiUploader instance prior to forcibly creating a
25593           new one.
25594           https://bugzilla.gnome.org/show_bug.cgi?id=703980
25595
25596 2013-07-31 16:49:20 +0800  Guangxin.Xu <Guangxin.Xu@intel.com>
25597
25598         * gst/vaapi/gstvaapisink.c:
25599           vaapisink: fix get_caps() implementation for GStreamer 1.0.
25600           Fix GstBaseSink::get_caps() implementation for GStreamer 1.0.X builds
25601           by honouring the filter caps argument. More precisely, this fixes the
25602           following pipeline: gst-launch-1.0 videotestsrc ! vaapisink
25603           https://bugzilla.gnome.org/show_bug.cgi?id=705192
25604           Signed-off-by: Guangxin.Xu <Guangxin.Xu@intel.com>
25605           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25606
25607 2013-08-26 11:31:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25608
25609         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
25610           mpeg4: fix double definition of GstVaapiDecoderMpeg4Class.
25611           This fixes the following issue:
25612           CC     libgstvaapi_0.10_la-gstvaapidecoder_mpeg4.lo
25613           gstvaapidecoder_mpeg4.c:113: error: redefinition of typedef
25614           'GstVaapiDecoderMpeg4Class'
25615           gstvaapidecoder_mpeg4.c:44: note: previous declaration of
25616           'GstVaapiDecoderMpeg4Class' was here
25617           make[5]: *** [libgstvaapi_0.10_la-gstvaapidecoder_mpeg4.lo] Error 1
25618           make[5]: Leaving directory
25619           `/builddir/build/BUILD/gstreamer-vaapi-0.5.5.1/gst-libs/gst/vaapi'
25620           https://bugzilla.gnome.org/show_bug.cgi?id=705148
25621
25622 2013-07-30 15:59:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25623
25624         * tests/test-filter.c:
25625           tests: filter: add support for deinterlacing.
25626           Add --deinterlace option to enable deinterlacing through explicit VA/VPP
25627           deinterlacing filter. However, if --deinterlace option is not set but the
25628           --deinterlace-flags option is set with "top-field-first", then the very
25629           basic bob deinterlacing filter is set through VA/VPP proc pipeline flags.
25630
25631 2013-07-17 17:29:41 +0800  Zhao Halley <halley.zhao@intel.com>
25632
25633         * tests/test-filter.c:
25634           tests: filter: add support for denoising and sharpening.
25635           Add --denoise option to enable noise reduction with the level specified
25636           as the option value (float). Likewise, add --sharpen option to enable
25637           sharpening.
25638           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25639
25640 2013-07-24 14:31:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25641
25642         * tests/test-filter.c:
25643           tests: filter: add support for frame cropping.
25644           Add support for frame cropping through the --crop-rect|-c argument.
25645           The format used is either <WIDTH> 'x' <HEIGHT>, with origin at (0,0) ;
25646           or full specification with '('? <X> ',' <Y> ')'? <WIDTH> 'x' <HEIGHT>.
25647
25648 2013-07-23 18:00:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25649
25650         * tests/test-filter.c:
25651           tests: filter: dump supported operations and formats.
25652
25653 2013-07-08 16:54:55 +0800  Zhao Halley <halley.zhao@intel.com>
25654
25655         * tests/Makefile.am:
25656         * tests/test-filter.c:
25657           tests: add initial test for video processing.
25658           Add minimal test case for video processing: scaling and color format
25659           conversion.
25660           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25661
25662 2013-07-29 09:23:50 +0800  Zhao Halley <halley.zhao@intel.com>
25663
25664         * docs/reference/libs/libs-sections.txt:
25665         * gst-libs/gst/vaapi/gstvaapifilter.c:
25666         * gst-libs/gst/vaapi/gstvaapifilter.h:
25667         * gst-libs/gst/vaapi/gstvaapiutils.c:
25668         * gst-libs/gst/vaapi/gstvaapiutils.h:
25669         * gst/vaapi/gstvaapipostproc.c:
25670         * gst/vaapi/gstvaapipostproc.h:
25671           filter: add initial support for deinterlacing.
25672           Add basic deinterlacing support, i.e. bob-deinterlacing whereby only
25673           the selected field from the input surface is kept for the target surface.
25674           Setting gst_vaapi_filter_set_deinterlacing() method argument to
25675           GST_VAAPI_DEINTERLACE_METHOD_NONE means to disable deinterlacing.
25676           Also move GstVaapiDeinterlaceMethod definition from vaapipostproc plug-in
25677           to libgstvaapi core library.
25678           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25679
25680 2013-07-17 17:40:41 +0800  Zhao Halley <halley.zhao@intel.com>
25681
25682         * docs/reference/libs/libs-sections.txt:
25683         * gst-libs/gst/vaapi/gstvaapifilter.c:
25684         * gst-libs/gst/vaapi/gstvaapifilter.h:
25685           filter: add support for color balance adjustment.
25686           Add ProcAmp (color balance) adjustments for hue, saturation, brightness
25687           and contrast. The respective range for each filter shall be the same as
25688           for the VA display attributes.
25689           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25690
25691 2013-07-17 17:37:16 +0800  Zhao Halley <halley.zhao@intel.com>
25692
25693         * docs/reference/libs/libs-sections.txt:
25694         * gst-libs/gst/vaapi/gstvaapifilter.c:
25695         * gst-libs/gst/vaapi/gstvaapifilter.h:
25696           filter: add support for sharpening.
25697           Sharpening is configured with a float value. The supported range is
25698           -1.0 .. 1.0 with 0.0 being the default, and that means no sharpening
25699           operation at all.
25700           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25701
25702 2013-07-17 17:29:41 +0800  Zhao Halley <halley.zhao@intel.com>
25703
25704         * docs/reference/libs/libs-sections.txt:
25705         * gst-libs/gst/vaapi/gstvaapifilter.c:
25706         * gst-libs/gst/vaapi/gstvaapifilter.h:
25707           filter: add support for denoising.
25708           Noise reduction is configured with a float value. The supported range
25709           is 0.0 .. 1.0 with 0.0 being the default, and that means no denoise
25710           operation at all.
25711           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25712
25713 2013-07-24 14:22:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25714
25715         * docs/reference/libs/libs-sections.txt:
25716         * gst-libs/gst/vaapi/gstvaapifilter.c:
25717         * gst-libs/gst/vaapi/gstvaapifilter.h:
25718           filter: add support for frame cropping.
25719           Frame cropping is defined with a GstVaapiRectangle value. The default
25720           behaviour is to treat the source surface as a whole
25721
25722 2013-07-25 13:55:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25723
25724         * gst-libs/gst/vaapi/gstvaapifilter.c:
25725           filter: add helper functions.
25726           Add helper functions to ensure an operation VA buffer is allocated to
25727           the right size; that filter caps get parsed and assigned to the right
25728           operation too; and that float parameters are correctly scaled to fit
25729           the reported range from the VA driver.
25730
25731 2013-07-23 15:52:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25732
25733         * configure.ac:
25734         * docs/reference/libs/libs-docs.xml.in:
25735         * docs/reference/libs/libs-sections.txt:
25736         * gst-libs/gst/vaapi/Makefile.am:
25737         * gst-libs/gst/vaapi/gstvaapidisplay.c:
25738         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
25739         * gst-libs/gst/vaapi/gstvaapifilter.c:
25740         * gst-libs/gst/vaapi/gstvaapifilter.h:
25741           Add initial infrastructure for video processing.
25742           Add initial API for video processing: only scaling and color format
25743           conversion operations are supported.
25744
25745 2013-07-24 11:53:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25746
25747         * gst-libs/gst/vaapi/video-format.c:
25748         * gst-libs/gst/vaapi/video-format.h:
25749           libs: add gst_vaapi_video_format_from_string() helper.
25750           Add gst_vaapi_video_format_from_string() helper function to convert from
25751           a video format string representation to a suitable GstVideoFormat. This
25752           is just an alias to gst_video_format_from_string() for GStreamer 1.0.x
25753           builds, and a proper iteration over all GstVideoFormat string representations
25754           otherwise for earlier GStreamer 0.10.x builds.
25755
25756 2013-07-24 11:37:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25757
25758         * gst-libs/gst/vaapi/video-format.c:
25759         * gst-libs/gst/vaapi/video-format.h:
25760           libs: add gst_vaapi_video_format_from_va_fourcc() helper.
25761           Add gst_vaapi_video_format_from_va_fourcc() helper that converts from a
25762           VA fourcc value to a suitable GstVideoFormat.
25763
25764 2013-07-24 11:41:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25765
25766         * gst-libs/gst/vaapi/gstvaapivalue.c:
25767         * gst-libs/gst/vaapi/gstvaapivalue.h:
25768           libs: add type definitions for GstVaapiPoint and GstVaapiRectangle.
25769           Add helper functions to describe GstVaapiPoint and GstVaapiRectangle
25770           structures as a standard GType. This could be useful to have them
25771           described as a GValue later on.
25772
25773 2013-07-26 13:57:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25774
25775         * docs/reference/libs/libs-docs.xml.in:
25776         * docs/reference/libs/libs-sections.txt:
25777         * gst-libs/gst/vaapi/Makefile.am:
25778         * gst-libs/gst/vaapi/gstvaapicontext.h:
25779         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
25780           libs: drop some public APIs.
25781           Don't expose GstVaapiContext APIs and make them totally private to
25782           libgstvaapi core library. That API would also tend to disappear in
25783           a future revision. Likewise, don't expose GstVaapiDisplayCache API
25784           but keep symbols visible so that the various render backends could
25785           share a common display cache implementation in libgstvaapi.
25786           Try to clean-up the documentation from any stale entry too.
25787
25788 2013-08-23 18:35:42 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25789
25790         * tests/image.c:
25791         * tests/image.h:
25792           tests: image: allow creation of images with interleaved patterns.
25793           Add image_generate_full() function to create interleaved color rectangles.
25794           If flags is zero, the whole frame is generated with a unique pattern. If
25795           flags is non-zero, then each field is handled individually.
25796
25797 2013-08-23 16:25:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25798
25799         * tests/image.c:
25800           tests: image: fix conversion from RGB to YUV.
25801           Fix RGB to YUV conversion to preserve full data range.
25802
25803 2013-07-26 13:12:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25804
25805         * tests/image.c:
25806           tests: image: try to upload images through vaDeriveImage() too.
25807           On some platforms, vaPutImage() would fail even if it does not involve
25808           color format conversion or scaling, whereas copying raw pixels through
25809           vaDeriveImage() could work instead.
25810
25811 2013-07-26 10:05:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25812
25813         * tests/image.c:
25814           tests: image: add support for packed YUV formats.
25815           Add support for packed YUV 4:2:2 formats, i.e. YUY2 and UYVY.
25816
25817 2013-07-25 18:10:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25818
25819         * tests/image.c:
25820           tests: image: fix generation of I420/YV12 images.
25821           U/V planes were reversed, thus producing invalid images.
25822
25823 2013-07-24 13:55:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25824
25825         * tests/image.c:
25826           tests: image: fix string representation for GstVideoFormat.
25827
25828 2013-07-26 12:57:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25829
25830         * docs/reference/libs/libs-sections.txt:
25831         * gst-libs/gst/vaapi/Makefile.am:
25832         * gst-libs/gst/vaapi/gstvaapiimage.c:
25833         * gst-libs/gst/vaapi/gstvaapiimage.h:
25834         * gst-libs/gst/vaapi/gstvaapiimage_priv.h:
25835         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
25836         * gst-libs/gst/vaapi/gstvaapisurface.c:
25837           image: clean image API up.
25838           Don't expose functions that reference a GstVaapiImageRaw, those are
25839           meant to be internal only for implementing subpictures sync. Also add
25840           a few private definitions to avoid functions calls for retrieving
25841           image size and format information.
25842
25843 2013-07-26 11:43:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25844
25845         * docs/reference/libs/libs-sections.txt:
25846         * gst-libs/gst/vaapi/gstvaapiimage.c:
25847         * gst-libs/gst/vaapi/gstvaapiimage.h:
25848           image: add gst_vaapi_image_copy() helper.
25849           Add gst_vaapi_image_copy() helper function to copy images of same format
25850           and size.
25851
25852 2013-07-22 14:53:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25853
25854         * gst/vaapi/gstvaapivideoconverter_x11.c:
25855           plugins: handle video cropping in X11 pixmap converter.
25856           Use GstVideoCropMeta in GStreamer 1.0 or any other render rectangle
25857           we could decode from the stream.
25858
25859 2013-07-22 11:58:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25860
25861         * gst/vaapi/Makefile.am:
25862         * gst/vaapi/gstvaapivideobuffer.c:
25863         * gst/vaapi/gstvaapivideoconverter_glx.c:
25864         * gst/vaapi/gstvaapivideoconverter_x11.c:
25865         * gst/vaapi/gstvaapivideoconverter_x11.h:
25866           plugins: add support for "x11-pixmap" video converter type.
25867           Install a new video converter that supports X11 pixmap targets for X11
25868           backends only, or make the GLX converter creation function chain up to
25869           the X11 converter whenever requested.
25870
25871 2013-07-22 09:36:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25872
25873         * tests/simple-decoder.c:
25874           tests: simple-decoder: add support for pixmap API.
25875           Add support for the new render-to-pixmap API. Avoid flickering on
25876           platforms supporting video overlay by keeping up to 2 intermediate
25877           pixmaps.
25878
25879 2013-07-22 09:12:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25880
25881         * tests/simple-decoder.c:
25882           tests: simple-decoder: add support for video cropping.
25883           Handle video cropping information attached to a VA surface proxy.
25884
25885 2013-07-22 09:03:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25886
25887         * tests/output.c:
25888         * tests/output.h:
25889         * tests/test-decode.c:
25890           tests: add support for render-to-pixmap.
25891           Add --pixmap option to test-decode so that to allow copies of VA
25892           surface to an intermediate pixmap and rendering from that pixmap.
25893           Only X11 backends are supported for now.
25894
25895 2013-07-22 09:00:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25896
25897         * configure.ac:
25898         * gst-libs/gst/vaapi/Makefile.am:
25899         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
25900         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
25901         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
25902         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
25903           x11: implement pixmap rendering with RENDER extension.
25904           Use hardware accelerated XRenderComposite() function, from the RENDER
25905           extension, to blit a pixmap to screen. Besides, this can also support
25906           cropping and scaling.
25907
25908 2013-07-19 15:05:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25909
25910         * docs/reference/libs/libs-docs.xml.in:
25911         * docs/reference/libs/libs-sections.txt:
25912         * gst-libs/gst/vaapi/Makefile.am:
25913         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
25914         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
25915         * gst-libs/gst/vaapi/gstvaapipixmap_x11.c:
25916         * gst-libs/gst/vaapi/gstvaapipixmap_x11.h:
25917           x11: implement pixmap API.
25918           Implement the new render-to-pixmap API. The only supported pixmap format
25919           that will work is xRGB, with native byte ordering. Others might work but
25920           they were not tested.
25921
25922 2013-07-22 10:10:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25923
25924         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
25925         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
25926         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
25927           x11: update x11_get_geometry() helper function with depth output.
25928           Allow x11_get_geometry() utility function to also return the depth
25929           assigned to the X drawable.
25930
25931 2013-07-22 10:00:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25932
25933         * docs/reference/libs/libs-docs.xml.in:
25934         * docs/reference/libs/libs-sections.txt:
25935         * gst-libs/gst/vaapi/Makefile.am:
25936         * gst-libs/gst/vaapi/gstvaapipixmap.c:
25937         * gst-libs/gst/vaapi/gstvaapipixmap.h:
25938         * gst-libs/gst/vaapi/gstvaapipixmap_priv.h:
25939         * gst-libs/gst/vaapi/gstvaapiwindow.c:
25940         * gst-libs/gst/vaapi/gstvaapiwindow.h:
25941         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
25942           Add initial Pixmap API.
25943           Add API to transfer VA urfaces to native pixmaps. Also add an API to
25944           render a native pixmap, for completeness. In general, rendering to
25945           pixmap would only be useful to certain VA drivers and use cases on
25946           X11 display servers. e.g. GLX_EXT_texture_from_pixmap (TFP) handled
25947           in an upper layer.
25948
25949 2013-07-22 15:15:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25950
25951         * docs/reference/libs/libs-sections.txt:
25952         * gst-libs/gst/vaapi/gstvaapiimage.c:
25953         * gst-libs/gst/vaapi/gstvaapisurface.c:
25954         * gst-libs/gst/vaapi/video-format.c:
25955         * gst-libs/gst/vaapi/video-format.h:
25956           libs: add and expose gst_vaapi_video_format_to_string() helper.
25957           This is just a wrapper over gst_video_format_to_string() for older
25958           GStreamer 0.10 builds.
25959
25960 2013-07-18 02:54:54 -0300  Emilio López <emilio@elopez.com.ar>
25961
25962         * gst/vaapi/gstvaapipluginutil.c:
25963           plugins: fix display type comparison in gst_vaapi_create_display().
25964           After the code got moved to create the gst_vaapi_create_display() helper,
25965           this comparison was not updated to dereference the newly-created
25966           pointer, so the code was comparing the pointer itself to the type, and
25967           therefore failing to retrieve the VA display.
25968           This fixes the following error (and gets gst-vaapi decoding again):
25969           ERROR vaapidecode gstvaapidecode.c:807:gst_vaapidecode_ensure_allowed_caps: failed to retrieve VA display
25970           https://bugzilla.gnome.org/show_bug.cgi?id=704410
25971           Signed-off-by: Emilio López <emilio@elopez.com.ar>
25972
25973 2013-07-17 11:07:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25974
25975         * configure.ac:
25976           Bump version for development.
25977
25978 2013-07-15 17:49:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25979
25980         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
25981           mpeg2: don't output dummy pictures.
25982           Mark dummy pictures as output already so that we don't try to submit
25983           them to the upper layer since this is purely internal / temporary
25984           picture for helping the decoder.
25985
25986 2013-07-15 17:43:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25987
25988         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
25989           decoder: dispose GstVideoCodecFrame earlier.
25990           Once the picture was output, it is no longer necessary to keep an extra
25991           reference to the underlying GstVideoCodecFrame. So, we can release it
25992           earlier, and maybe subsequently release the associate surface proxy
25993           earlier.
25994
25995 2013-07-15 14:47:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
25996
25997         * NEWS:
25998         * configure.ac:
25999           0.5.5.
26000
26001 2013-07-15 14:42:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26002
26003         * docs/reference/libs/libs-sections.txt:
26004         * gst-libs/gst/vaapi/Makefile.am:
26005         * gst-libs/gst/vaapi/gstvaapidisplay.c:
26006         * gst-libs/gst/vaapi/gstvaapiimage.c:
26007         * gst-libs/gst/vaapi/gstvaapisurface.c:
26008         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26009         * gst-libs/gst/vaapi/video-format.c:
26010         * gst-libs/gst/vaapi/video-format.h:
26011         * gst/vaapi/gstvaapidownload.c:
26012         * gst/vaapi/gstvaapiuploader.c:
26013         * tests/image.c:
26014         * tests/test-display.c:
26015           Fix new video format API.
26016           Fix new internal video format API, based on GstVideoFormat, to not
26017           clobber with system symbols. So replace the gst_video_format_* prefix
26018           with gst_vaapi_video_format_ prefix, even if the format type remains
26019           GstVideoFormat.
26020
26021 2013-07-15 14:05:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26022
26023         * configure.ac:
26024           Bump library major version.
26025           Bump the library major version due to API/ABI changes that occurred in
26026           the imaging API. In particular, GstVaapiImageFormat type was replaced
26027           with the standard GstVideoFormat type. All dependent APIs were updated
26028           to match this change.
26029
26030 2013-07-15 13:44:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26031
26032         * NEWS:
26033           NEWS: updates.
26034
26035 2013-06-11 15:11:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26036
26037         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
26038         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
26039           decoder: fix memory leak when processing interlaced pictures.
26040           Fix memory leak when processing interlaced pictures and that occurs
26041           because the first field, represented as a GstVideoCodecFrame, never
26042           gets released. i.e. when the picture is completed, this is generally
26043           the case when the second field is successfully decoded, we need to
26044           propagate the GstVideoCodecFrame of the first field to the original
26045           GstVideoDecoder so that it could reclaim memory.
26046           Otherwise, we keep accumulating the first fields into GstVideoDecoder
26047           private frames list until the end-of-stream is reached. The frames
26048           are eventually released there, but too late, i.e. too much memory
26049           may have been consumed.
26050           https://bugzilla.gnome.org/show_bug.cgi?id=701257
26051
26052 2013-07-15 11:58:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26053
26054         * gst/vaapi/gstvaapipluginutil.c:
26055           plugins: simlpify gst_vaapi_create_display() helper.
26056           Simplify gst_vaapi_create_display() helper as gst_vaapi_display_XXX_new()
26057           performs the necessary validation checks for the underlying VA display
26058           prior to returning to the caller. So, if an error occurred, then NULL is
26059           really returned in that case.
26060
26061 2013-05-24 05:04:01 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
26062
26063         * gst/vaapi/gstvaapipluginutil.c:
26064           plugins: add gst_vaapi_create_display() helper.
26065           https://bugzilla.gnome.org/show_bug.cgi?id=703235
26066           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26067
26068 2013-07-12 17:47:07 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26069
26070         * gst/vaapi/gstvaapivideobufferpool.c:
26071           plugins: don't reallocate pool allocator for the same caps.
26072           If the video buffer pool config doesn't have new caps, then it's not
26073           necessary to reinstantiate the allocator. That could be a costly
26074           operation as we could do some extra heavy checking in there.
26075
26076 2013-07-12 17:14:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26077
26078         * gst/vaapi/gstvaapivideomemory.c:
26079           plugins: fix ref counting of GstVaapiVideoMemory allocator.
26080           Fix reference counting issue whereby gst_memory_init() does not hold
26081           an extra reference to the GstAllocator. So, there could be situations
26082           where the last instance of GstVaapiVideoAllocator gets released before
26083           a dangling GstVaapiVideoMemory object, thus possibly leading to a crash.
26084
26085 2013-07-12 15:15:07 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26086
26087         * gst/vaapi/gstvaapiuploader.c:
26088           vaapiupload: use implicit color conversion to NV12.
26089           Always perform conversion of sources buffers to NV12 since this is
26090           the way we tested for this capability in ensure_allowed_caps(). This
26091           also saves memory bandwidth for further rendering. However, this may
26092           not preserve quality since the YUV buffers are down-sampled to 4:2:0.
26093
26094 2013-07-12 15:01:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26095
26096         * gst-libs/gst/vaapi/gstvaapivideopool.c:
26097           pool: fix deallocation of video pools.
26098           The queue of free objects to used was deallocated with g_queue_free_full().
26099           However, this convenience function shall only be used if the original queue
26100           was allocated with g_queue_new(). This caused memory corruption, eventually
26101           leading to a crash.
26102           The correct solution is to pair the g_queue_init() with the corresponding
26103           g_queue_clear(), while iterating over all free objects to deallocate them.
26104
26105 2013-03-13 17:44:52 +0800  Wind Yuan <feng.yuan@intel.com>
26106
26107         * gst/vaapi/gstvaapidownload.c:
26108           vaapidownload: fix src caps format error.
26109           This fixes direct linking of vaapidownload element to xvimagesink with
26110           VA drivers supporting vaGetImage() from the native VA surface format to
26111           a different VA image format. i.e. color conversion during download.
26112           http://bugzilla.gnome.org/show_bug.cgi?id=703937
26113           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26114
26115 2013-07-11 18:26:37 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26116
26117         * gst/vaapi/gstvaapidownload.c:
26118           vaapidownload: fix debug string for image formats.
26119           The image is now expressed as a standard GstVideoFormat, which is not
26120           a FOURCC but rather a regular enum value.
26121           This is a regression introduced in commit 09397fa.
26122
26123 2013-04-24 10:39:03 +0800  Wind Yuan <feng.yuan@intel.com>
26124
26125         * gst-libs/gst/vaapi/gstvaapiimage.c:
26126           image: add support for raw YUY2/UYVY image copies.
26127           Implement raw image copies for YUY2 format. Add support for UYVY format
26128           too, with the same copy function as for YUY2. Even though components
26129           ordering differs, copying line strides is essentially the same.
26130           https://bugzilla.gnome.org/show_bug.cgi?id=703939
26131           https://bugzilla.gnome.org/show_bug.cgi?id=703940
26132           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26133
26134 2013-07-10 15:15:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26135
26136         * gst/vaapi/gstvaapiuploader.c:
26137           plugins: clean-up video uploader helper.
26138           Fix gst_vaapi_uploader_get_buffer() to not assign caps since they
26139           were already negotiated beforehand, and they are not used from the
26140           buffer in upstream elements.
26141           Clean-up gst_vaapi_uploader_ensure_caps() to use the new image caps
26142           represented as a GstVideoInfo.
26143
26144 2013-07-10 15:03:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26145
26146         * gst/vaapi/gstvaapiuploader.c:
26147           plugins: use GstVideoInfo in video uploader helper.
26148
26149 2013-07-10 10:34:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26150
26151         * gst/vaapi/gstvaapivideomemory.c:
26152           plugins: allow creation of VA surfaces with explicit pixel format.
26153           Adapt GstVaapiVideoMemory allocator to support creation of VA surfaces
26154           with an explicit pixel format. This allows for direct rendering to
26155           VA surface memory from a software decoder.
26156
26157 2013-07-10 14:20:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26158
26159         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26160           surface: fix surface pool creation with an explicit pixel format.
26161           Fix creation of surface pool objects to honour explicit pixel format
26162           specification. If this operation is not supported, then fallback to
26163           the older interface with chroma format.
26164
26165 2013-07-10 13:58:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26166
26167         * gst-libs/gst/vaapi/gstvaapisurface.c:
26168           surface: try to determine the underlying VA surface format.
26169           If a VA surface was allocated with the chroma-format interface, try to
26170           determine the underlying pixel format on gst_vaapi_surface_get_format(),
26171           or return GST_VIDEO_FORMAT_ENCODED if this is not a supported operation.
26172
26173 2013-07-09 19:08:37 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26174
26175         * docs/reference/libs/libs-sections.txt:
26176         * gst-libs/gst/vaapi/gstvaapisurface.c:
26177         * gst-libs/gst/vaapi/gstvaapisurface.h:
26178         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
26179           surface: allow creation with explicit pixel format.
26180           Make it possible to create VA surfaces with a specific pixel format.
26181           This is a new capability brought in by VA-API >= 0.34.0. If that
26182           capability is not built-in (e.g. using VA-API < 0.34.0), then
26183           gst_vaapi_surface_new_with_format() will return NULL.
26184
26185 2013-07-10 09:48:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26186
26187         * docs/reference/libs/libs-sections.txt:
26188         * gst-libs/gst/vaapi/video-format.c:
26189         * gst-libs/gst/vaapi/video-format.h:
26190           surface: add helper function to get chroma type from GstVideoFormat.
26191           Add gst_video_format_get_chroma_type() helper function to determine
26192           the GstVaapiChromaType from a standard GStreamer video format. It is
26193           possible to reconstruct that from GstVideoFormatInfo but it is much
26194           simpler (and faster?) to use the local GstVideoFormatMap table.
26195
26196 2013-07-09 19:13:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26197
26198         * gst-libs/gst/vaapi/gstvaapisurface.c:
26199         * gst-libs/gst/vaapi/gstvaapisurface.h:
26200         * gst-libs/gst/vaapi/gstvaapiutils.c:
26201         * gst-libs/gst/vaapi/gstvaapiutils.h:
26202           surface: add new chroma formats.
26203           Add new chroma formats available with VA-API >= 0.34.0. In particular,
26204           this includes "RGB" chroma formats, and more YUV subsampled formats.
26205           Also add a new from_GstVaapiChromaType() helper function to convert
26206           libgstvaapi chroma type to VA chroma format.
26207
26208 2013-07-10 13:32:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26209
26210         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26211           pool: fix image pool to check for the video format to use.
26212           Make gst_vaapi_image_pool_new() succeed, and thus returning a valid
26213           image pool object, only if the underlying VA display does support the
26214           requested VA image format.
26215
26216 2013-07-10 13:07:37 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26217
26218         * gst-libs/gst/vaapi/gstvaapicontext.c:
26219         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26220         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
26221         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26222         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
26223         * gst-libs/gst/vaapi/gstvaapivideopool.h:
26224         * gst/vaapi/gstvaapidownload.c:
26225         * gst/vaapi/gstvaapiuploader.c:
26226         * tests/Makefile.am:
26227         * tests/test-surfaces.c:
26228           Use GstVideoInfo for video pools.
26229           Get rid of GstCaps to create surface/image pool, and use GstVideoInfo
26230           structures instead. Those are smaller, and allows for streamlining
26231           libgstvaapi more.
26232
26233 2013-07-09 18:03:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26234
26235         * gst-libs/gst/vaapi/gstvaapiimage.c:
26236         * gst-libs/gst/vaapi/video-format.c:
26237           Add more video formats.
26238           Add new video format mappings to VA image formats:
26239           - YUV: packed YUV (YUY2, UYVY), grayscale (Y800) ;
26240           - RGB: 32-bit RGB without alpha channel (XRGB, XBGR, RGBX, BGRX).
26241
26242 2013-07-10 15:52:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26243
26244         * gst-libs/gst/vaapi/gstvaapiimage.c:
26245           image: fix debug message with video format.
26246           Fix debug message string with image format expressed with GstVideoFormat
26247           instead of the obsolete format that turned out to be a fourcc.
26248           This is a regression from git commit e61c5fc.
26249
26250 2013-07-09 15:28:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26251
26252         * tests/image.c:
26253         * tests/image.h:
26254         * tests/test-display.c:
26255         * tests/test-textures.c:
26256         * tests/test-windows.c:
26257           tests: port to new video format API.
26258
26259 2013-07-09 15:44:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26260
26261         * gst/vaapi/gstvaapidownload.c:
26262         * gst/vaapi/gstvaapiuploader.c:
26263         * gst/vaapi/gstvaapivideomemory.c:
26264           plugins: port to new video format API.
26265
26266 2013-07-09 16:26:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26267
26268         * gst-libs/gst/vaapi/gstvaapiimage.c:
26269           libs: use GstVideoInfo wherever possible.
26270           In particular, use gst_video_info_from_caps() helper function in VA image
26271           for implementating gst_vaapi_image_get_buffer() [vaapidownload] and
26272           gst_vaapi_image_update_from_buffer() [subpictures] in GStreamer 0.10 builds.
26273
26274 2013-07-09 16:38:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26275
26276         * docs/reference/libs/libs-docs.xml.in:
26277         * docs/reference/libs/libs-sections.txt:
26278         * gst-libs/gst/vaapi/Makefile.am:
26279         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
26280         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
26281           libs: drop GstVaapiImageFormat helpers.
26282           Drop GstVaapiImageFormat helpers since everything was moved to the new
26283           GstVideoFormat based API. Don't bother with backwards compatibility and
26284           just bump the library major version afterwards.
26285
26286 2013-07-09 14:03:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26287
26288         * gst-libs/gst/vaapi/gstvaapidisplay.c:
26289         * gst-libs/gst/vaapi/gstvaapidisplay.h:
26290         * gst-libs/gst/vaapi/gstvaapiimage.c:
26291         * gst-libs/gst/vaapi/gstvaapiimage.h:
26292         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26293         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
26294           libs: port to new video format API.
26295
26296 2013-07-09 15:29:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26297
26298         * docs/reference/libs/libs-docs.xml.in:
26299         * docs/reference/libs/libs-sections.txt:
26300         * gst-libs/gst/vaapi/Makefile.am:
26301         * gst-libs/gst/vaapi/video-format.c:
26302         * gst-libs/gst/vaapi/video-format.h:
26303           Add new video format API.
26304           Leverage GstVideoFormat utilities from core GStreamer to provide an
26305           adaptation layer to VA image formats.
26306
26307 2013-07-09 11:13:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26308
26309         * NEWS:
26310           NEWS: updates.
26311
26312 2013-07-08 18:32:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26313
26314         * gst/vaapi/gstvaapisink.c:
26315           vaapisink: fix creation of GLX texture.
26316           Fix creation of GLX texture, to not depend on the GstCaps video size that
26317           could be wrong, especially in presence of frame cropping. So, use the size
26318           from the source VA surfaces.
26319           An optimization could be to reduce the texture size to the actual visible
26320           size on screen. i.e. scale down the texture size to match the screen dimensions,
26321           while preserving the VA surface aspect ratio. However, some VA drivers don't
26322           honour that.
26323
26324 2013-02-18 16:28:27 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26325
26326         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
26327           mpeg2: add support for video cropping.
26328           If the stream has a sequence_display_extenion, then attach the
26329           display_horizontal/display_vertical dimension as the cropping
26330           rectangle width/height to the GstVaapiPicture.
26331           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26332
26333 2013-02-18 15:05:37 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26334
26335         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
26336           vc1: add support for video cropping.
26337           If the Advanced profile has display_extension fields, then set the display
26338           width/height dimension as cropping rectangle to the GstVaapiPicture.
26339           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26340
26341 2013-02-15 18:50:26 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26342
26343         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
26344           h264: add support for video cropping.
26345           If the encoded stream has the frame_cropping_flag set, then associate
26346           the cropping rectangle to GstVaapiPicture.
26347           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26348
26349 2013-07-08 17:01:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26350
26351         * tests/decoder.c:
26352         * tests/decoder.h:
26353         * tests/test-decode.c:
26354         * tests/test-subpicture.c:
26355           tests: add basic support for video cropping.
26356           Change generic decoder of sample I-frame to return a GstVaapiSurfaceProxy
26357           instead of a plain GstVaapiSurface. This means that we can now retrieve
26358           the frame cropping rectangle from the surface proxy, along with additional
26359           information if ever needed.
26360
26361 2013-07-08 14:50:42 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26362
26363         * gst/vaapi/gstvaapidecode.c:
26364         * gst/vaapi/gstvaapisink.c:
26365         * gst/vaapi/gstvaapivideometa.c:
26366           plugins: add support for video cropping.
26367           Add support for GstVideoCropMeta in GStreamer >= 1.0.x builds and gst-vaapi
26368           specific meta information to hold video cropping details. Make the sink
26369           support video cropping in X11 and GLX modes.
26370
26371 2013-02-15 18:24:24 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26372
26373         * gst/vaapi/gstvaapivideometa.c:
26374         * gst/vaapi/gstvaapivideometa.h:
26375           plugins: add helper functions to set the render rectangle.
26376           Some video clips may have a clipping region that needs to propogate to
26377           the renderer. These helper functions make it possible to attach that
26378           clipping region, as a GstVaapiRectangle, the the video meta associated
26379           with the buffer.
26380           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26381           signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26382
26383 2013-07-08 14:47:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26384
26385         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26386         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
26387           surfaceproxy: allow for NULL cropping rectangle.
26388           Make it possible associate an empty cropping rectangle to the surface
26389           proxy, thus resetting any cropping rectangle that was previously set.
26390           This allows for returning plain NULL when no cropping rectangle was
26391           initially set up to the surface proxy, or if it was reset to defaults.
26392
26393 2013-07-08 11:41:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26394
26395         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
26396           surfaceproxy: clean-up helper macros.
26397           Always use the GST_VAAPI_SURFACE_PROXY() helper macro to cast from a
26398           proxy macro argument to a GstVaapiSurfaceProxy pointer.
26399
26400 2013-07-08 11:43:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26401
26402         * gst-libs/gst/vaapi/gstvaapisurface.c:
26403         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
26404         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26405         * gst-libs/gst/vaapi/gstvaapiwindow.c:
26406           surface: add simple surface info accessors as helper macros.
26407           Add helper macros to retrieve the VA surface information like size
26408           (width, height) or chroma type. This is a micro-optimization to avoid
26409           useless function calls and NULL pointer re-checks in internal routines.
26410
26411 2013-02-15 18:42:12 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26412
26413         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
26414         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
26415         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26416         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
26417         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
26418           decoder: add support for video cropping.
26419           Add gst_vaapi_picture_set_crop_rect() helper function to copy the video
26420           cropping information from raw bitstreams to each picture being decoded.
26421           Also add helper function to surface proxy to propagate that information
26422           outside of libgstvaapi. e.g. plug-in elements or standalone applications.
26423           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26424           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26425
26426 2013-07-08 17:30:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26427
26428         * ext/codecparsers:
26429           codecparsers: update to gst-vaapi-branch commit f90de0a.
26430           f90de0a h264: fix calculation of the frame cropping rectangle
26431           535515c h264: parse the cropping rectangle separately
26432
26433 2013-07-05 19:03:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26434
26435         * ext/codecparsers:
26436           codecparsers: update to gst-vaapi-branch commit 0f68a71.
26437           0f68a71 mpeg2: fix video packet header size checks
26438
26439 2013-06-07 20:08:43 +0800  Zhong Cong <congx.zhong@intel.com>
26440
26441         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
26442           mpeg2: reset quantization matrices on new sequence headers.
26443           The MPEG-2 standard specifies (6.3.7) that all quantisation matrices
26444           shall be reset to their default values when a Sequence_Header() is
26445           decoded.
26446           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26447
26448 2013-07-05 15:49:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26449
26450         * configure.ac:
26451         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
26452           mpeg2: cope with latest codecparser changes.
26453           Fix build with newer MPEG-2 codecparser where GstMpegVideoPacket are
26454           used in individual header parsers. Also use the new slice parsing API.
26455
26456 2013-07-05 17:51:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26457
26458         * ext/codecparsers:
26459           codecparsers: update to gst-vaapi-branch commit dddd182.
26460           dddd182 mpeg2: add slice header parsing API
26461           94e6228 mpeg2: add sequence scalable extension parsing API
26462           531134f mpeg2: add new API that takes GstMpegVideoPacket arguments
26463           4b135d3 h264: fix the return value type for the SEI palyload parsing methods
26464
26465 2013-06-27 12:25:44 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
26466
26467         * gst/vaapi/gstvaapisink.c:
26468           vaapisink: expose the raw video formats in static caps template.
26469           Expose all raw video formats in the static caps template since the
26470           vaapisink is supporting raw data. We will get the exact set of formats
26471           supported by the driver dynamically through the _get_caps() routine.
26472           This also fixes an inconsistency wrt. GStreamer 0.10 builds.
26473           https://bugzilla.gnome.org/show_bug.cgi?id=702178
26474           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26475
26476 2013-06-27 13:53:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26477
26478         * gst/vaapi/gstvaapisink.c:
26479         * gst/vaapi/gstvaapisink.h:
26480           vaapisink: add "use-glx" property for OpenGL rendering.
26481           Now that VA/GLX capable buffers are generated by default on X11, thus
26482           depending on a VA/GLX display, we stil want to use vaPutSurface() for
26483           rendering since it is faster.
26484           Anyway, OpenGL rendering in vaapisink was only meant for testing and
26485           enabling "fancy" effects to play with. This has no real value. So,
26486           disable OpenGL rendering by default.
26487
26488 2013-06-06 05:36:03 -0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
26489
26490         * gst/vaapi/gstvaapipluginutil.c:
26491           plugins: try to allocate a GLX display first over an X11 one.
26492           If the gstreamer-vaapi plug-in elements are built with GLX support, then
26493           try to allocate a GstVaapiDisplayGLX first before resorting to a VA/X11
26494           display next.
26495           https://bugzilla.gnome.org/show_bug.cgi?id=701742
26496
26497 2013-04-25 17:07:13 +0100  Lionel Landwerlin <llandwerlin@gmail.com>
26498
26499         * configure.ac:
26500           configure: use GST_PLUGIN_PATH_1_0 instead of GST_PLUGIN_PATH for Gst 1.0.
26501           jhbuild sets $GST_PLUGIN_PATH_1_0 which overrides $GST_PLUGIN_PATH.
26502           https://bugzilla.gnome.org/show_bug.cgi?id=698858
26503           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26504
26505 2013-04-27 15:15:49 +0800  Wind Yuan <feng.yuan@intel.com>
26506
26507         * gst-libs/gst/vaapi/gstvaapiimage.c:
26508           image: fix wrong check for rect bounds in copy_image().
26509
26510 2013-06-14 13:41:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26511
26512         * configure.ac:
26513           Bump version for development.
26514
26515 2013-06-14 11:47:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26516
26517         * NEWS:
26518         * configure.ac:
26519           0.5.4.
26520
26521 2013-06-14 11:43:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26522
26523         * NEWS:
26524           NEWS: updates.
26525
26526 2013-06-14 11:39:54 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26527
26528         * configure.ac:
26529         * gst-libs/gst/codecparsers/Makefile.am:
26530           configure: always build the MPEG-4 parser.
26531           Always build the MPEG-4 parser for now as there are also core fixes
26532           included in the parser that cannot be tested for with API checks.
26533
26534 2013-06-14 11:32:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26535
26536         * configure.ac:
26537           configure: add --enable-builtin-codecparsers [default="yes"] option.
26538           Add flag to have all codecparsers built-in, thus ensuring that the
26539           resulting binaries have all the necessary bug fixes and this is what
26540           the QA has been testing anyway.
26541           Of course, for a completely up-to-date Linux distribution, you could
26542           also opt for --disable-builtin-codecparsers and use the system ones.
26543           Though, some core fixes could be missing, and those cannot be tested
26544           for with API checks.
26545
26546 2013-06-14 11:14:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26547
26548         * ext/codecparsers:
26549           codecparsers: update to gst-vaapi-branch commit 843ce3e.
26550           843ce3e jpeg: fix default Huffman tables generation.
26551           8655187 mpeg2: fix the pixel-aspect-ratio calculation
26552           21099dc mpeg2: actually store video bitrate values
26553           dd02087 mpeg2: fix picture packet extension size check
26554           25948e9 mpeg2: increase min size for picture coding ext
26555           f1f5a40 ensure the debug category is properly initialized
26556
26557 2013-06-12 14:16:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26558
26559         * debian.upstream/Makefile.am:
26560           debian: fix list of generated files for .deb packaging.
26561
26562 2013-06-12 13:48:26 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26563
26564         * configure.ac:
26565         * debian.upstream/Makefile.am:
26566         * debian.upstream/control.in:
26567           debian: fix libgstvaapi -dev package name.
26568           Fix libgstvaapi -dev package name so that to allow installation of both
26569           GStreamer 0.10 and 1.0.x based packages.
26570
26571 2013-06-05 17:42:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26572
26573         * NEWS:
26574           NEWS: updates.
26575
26576 2013-05-31 11:09:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26577
26578         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26579           wayland: fix memory leak of display resources.
26580
26581 2013-06-04 07:14:22 +0800  Zhao Halley <halley.zhao@intel.com>
26582
26583         * gst/vaapi/gstvaapisink.c:
26584           vaapisink: fix build without VA/GLX support.
26585
26586 2013-06-05 11:01:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26587
26588         * gst/vaapi/gstvaapivideomemory.c:
26589         * gst/vaapi/gstvaapivideomemory.h:
26590           plugins: allow buffer mappings to GstVaapiSurfaceProxy.
26591           Allow plain gst_buffer_map() interface to work with gstreamer-vaapi
26592           video buffers, i.e. expose the underlying GstVaapiSurfaceProxy to the
26593           caller. This is the only sensible enough thing to do in this mode as
26594           the underlying surface pixels need to be extracted through an explicit
26595           call to the gst_video_frame_map() function instead.
26596           A possible use-case of this is to implement a "handoff" signal handler
26597           to fakesink or identity element for further processing.
26598
26599 2013-06-03 10:22:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26600
26601         * gst/vaapi/gstvaapivideomemory.c:
26602           plugins: silence check for direct-rendering mode in video memory.
26603           Fix gst_vaapi_video_allocator_new() to silently check for direct-rendering
26604           mode support, and not trigger fatal-criticals if either test surface or
26605           image could not be created. Typical case: pixel format mismatch, e.g. NV12
26606           supported by most hardware vs. I420 supported by most software decoders.
26607
26608 2013-06-03 10:06:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26609
26610         * gst/vaapi/gstvaapivideomemory.c:
26611           plugins: improve video memory flags safety checks.
26612           On map, ensure we have GST_MAP_WRITE flags since this is only what we
26613           support for now. Likewise, on unmap, make sure that the VA image is
26614           unmapped for either read or write, while still committing it to the
26615           VA surface if write was requested.
26616
26617 2013-05-30 18:17:07 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26618
26619         * gst-libs/gst/vaapi/gstvaapisurface.c:
26620           surface: fix memory leak through unreleased parent context.
26621           Break the circular references between GstVaapiContext and its children
26622           GstVaapiSurfaces. Since the VA surfaces held an extra reference to the
26623           context, which holds a reference to its VA surfaces, then none of those
26624           were released.
26625           How does this impact support for subpictures?
26626           The only situation when the parent context needs to disappear is when
26627           it is replaced with another one because of a resolution change in the
26628           video stream for instance, or a normal destroy. In this case, it does
26629           not really matter to apply subpictures to the peer surfaces since they
26630           are either gone, or those that are left in the pipe can probably bear
26631           a reinstantiation of the subpictures for it.
26632           So, parent_context is set to NULL when the parent context is destroyed,
26633           other VA surfaces can still get subpictures attached to them, individually
26634           not as a whole. i.e. subpictures for surface S1 will be created from
26635           active composition buffers and associated to S1, subpictures for S2 will
26636           be created from the next active composition buffers, etc. We don't try
26637           to cache the subpictures in those cases (pending surfaces until EOS
26638           is reached, or pending surfaces until new surfaces matching new VA context
26639           get to be used instead).
26640
26641 2013-05-27 14:01:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26642
26643         * gst/vaapi/gstvaapisink.c:
26644           vaapisink: fix one-time initialization when display property is set.
26645           Fix gst_vaapisink_ensure_display() to perform one-time initialization
26646           tasks even if the `display' property was explicitly set.
26647
26648 2013-05-27 15:59:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26649
26650         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
26651           window: fix GLX window initialization.
26652           Make sure to create the GLX context once the window object has completed
26653           its creation. Since gl_resize() relies on the newly created window size,
26654           then we cannot simply overload the GstVaapiWindowClass::create() hook.
26655           So, we just call into gst_vaapi_window_glx_ensure_context() once the
26656           window object is created in the gst_vaapi_window_glx_new*() functions.
26657
26658 2013-05-27 17:18:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26659
26660         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
26661         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
26662         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
26663         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
26664         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26665         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
26666         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26667         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
26668         * gst-libs/gst/vaapi/gstvaapitexture.c:
26669         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
26670         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
26671         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
26672         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
26673           display: validate display types.
26674
26675 2013-05-27 16:13:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26676
26677         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
26678         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26679         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26680           display: drop internal NAME_PREFIX, store the real display name.
26681           Always store a valid display name/device path, instead of adding a
26682           particular prefix. i.e. make it simply a strdup(), or "" if it was
26683           initially NULL.
26684
26685 2013-05-27 13:17:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26686
26687         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
26688         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
26689         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
26690         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26691         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26692         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
26693         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
26694           display: make it possible to lookup the display cache by type.
26695           Make it possible to add extra an extra filter to most of display cache
26696           lookup functions so that the GstVaapiDisplay instance can really match
26697           a compatible and existing display by type, instead of relying on extra
26698           string tags (e.g. "X11:" prefix, etc.).
26699
26700 2013-05-24 16:19:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26701
26702         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
26703         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26704         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26705           display: cope with new display cache API.
26706
26707 2013-05-24 16:12:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26708
26709         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
26710         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
26711           display: rework display cache API.
26712           Simplify display cache API, while making it more flexible. We can now create
26713           custom lookup functions with gst_vaapi_display_cache_lookup_custom().
26714
26715 2013-05-24 15:05:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26716
26717         * tests/test-display.c:
26718           tests: improve check for display cache.
26719           Improve check for display cache infrastructure. In particular, for X11 and
26720           GLX backends, we need to make sure that we can create a GstVaapiDisplayX11
26721           from another GstVaapiDisplayGLX, i.e. underlying X11 and VA displays can be
26722           shared. Besides, allocating a GstVaapiDisplayGLX while a GstVaapiDisplayX11
26723           already exists will have to generate different VA displays.
26724
26725 2013-05-15 10:33:16 +0800  Zhao Halley <halley.zhao@intel.com>
26726
26727         * gst/vaapi/gstvaapiuploader.c:
26728           uploader: fix memory leak in GStreamer 0.10 builds.
26729           In GStreamer 0.10 builds, gst_vaapi_uploader_get_buffer() was used
26730           but it exhibited a memory leak because the surface generated for the
26731           GstVaapiVideoMeta totally lost its parent video pool. So, it was not
26732           possible to release that surface back to the parent pool when the meta
26733           gets released, and the memory consumption kept growing.
26734           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26735
26736 2013-05-23 18:56:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26737
26738         * gst/vaapi/gstvaapivideometa.c:
26739           plugins: fix gst_vaapi_video_meta_new_from_pool().
26740           Since GST_VAAPI_IS_xxx_VIDEO_POOL() was only testing for NULL and not
26741           the underlying object type, the gst_vaapi_video_meta_new_from_pool()
26742           was hereby totally broken. Fixed this regression by using the newly
26743           provided gst_vaapi_video_pool_get_object_type() function.
26744
26745 2013-05-23 18:22:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26746
26747         * gst/vaapi/gstvaapiuploader.c:
26748         * gst/vaapi/gstvaapivideomemory.c:
26749         * gst/vaapi/gstvaapivideometa.c:
26750           plugins: cope with GST_VAAPI_IS_xxx() macros removal.
26751
26752 2013-05-23 18:19:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26753
26754         * tests/decoder.c:
26755           tests: cope with GST_VAAPI_IS_xxx() macros removal.
26756
26757 2013-05-23 18:45:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26758
26759         * docs/reference/libs/libs-sections.txt:
26760         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26761         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26762         * gst-libs/gst/vaapi/gstvaapivideopool.c:
26763         * gst-libs/gst/vaapi/gstvaapivideopool.h:
26764         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
26765           libs: add query for GstVaapiVideoPool object types.
26766           Add API to identify the underlying GstVaapiVideoPool object type.
26767
26768 2013-05-23 18:15:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26769
26770         * docs/reference/libs/libs-sections.txt:
26771         * gst-libs/gst/vaapi/gstvaapicontext.c:
26772         * gst-libs/gst/vaapi/gstvaapicontext.h:
26773         * gst-libs/gst/vaapi/gstvaapidecoder.c:
26774         * gst-libs/gst/vaapi/gstvaapidecoder.h:
26775         * gst-libs/gst/vaapi/gstvaapidisplay.c:
26776         * gst-libs/gst/vaapi/gstvaapidisplay.h:
26777         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
26778         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
26779         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
26780         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26781         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
26782         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26783         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
26784         * gst-libs/gst/vaapi/gstvaapiimage.c:
26785         * gst-libs/gst/vaapi/gstvaapiimage.h:
26786         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26787         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
26788         * gst-libs/gst/vaapi/gstvaapiobject.c:
26789         * gst-libs/gst/vaapi/gstvaapiobject.h:
26790         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
26791         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
26792         * gst-libs/gst/vaapi/gstvaapisurface.c:
26793         * gst-libs/gst/vaapi/gstvaapisurface.h:
26794         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26795         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
26796         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26797         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
26798         * gst-libs/gst/vaapi/gstvaapitexture.c:
26799         * gst-libs/gst/vaapi/gstvaapivideopool.c:
26800         * gst-libs/gst/vaapi/gstvaapivideopool.h:
26801         * gst-libs/gst/vaapi/gstvaapiwindow.c:
26802         * gst-libs/gst/vaapi/gstvaapiwindow.h:
26803         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
26804         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
26805         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
26806         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
26807           libs: drop GST_VAAPI_IS_xxx() helper macros.
26808           Drop obsolete GST_VAAPI_IS_xxx() helper macros since we are no longer
26809           deriving from GObject and so those were only checking for whether the
26810           argument was NULL or not. This is now irrelevant, and even confusing
26811           to some extent, because we no longer have type checking.
26812           Note: this incurs more type checking (review) but the libgstvaapi is
26813           rather small, so this is manageable.
26814
26815 2013-05-07 18:52:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26816
26817         * configure.ac:
26818           Bump library major version.
26819           The whole libgstvaapi libraries got a major refresh to get rid of GObject.
26820           This is a fundamental change that requires a new SONAME. More changes are
26821           underway to streamline the core libraries.
26822           So far, the net result is a reduction of .text size (code) by 32KB, i.e. -10%.
26823           On one particular test (sintel HD trailer), the total number of executed
26824           instruction was reduced by 8%.
26825
26826 2013-05-07 18:37:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26827
26828         * docs/reference/libs/Makefile.am:
26829         * docs/reference/libs/libs-docs.xml.in:
26830         * docs/reference/libs/libs-sections.txt:
26831         * docs/reference/libs/libs.core.types:
26832         * docs/reference/libs/libs.glx.types:
26833         * docs/reference/libs/libs.x11.types:
26834           docs: cope with removed APIs.
26835           Some APIs are dead because they are no longer based on GObject.
26836
26837 2013-05-06 14:43:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26838
26839         * gst/vaapi/gstvaapidecode.c:
26840         * gst/vaapi/gstvaapidownload.c:
26841         * gst/vaapi/gstvaapipluginutil.c:
26842         * gst/vaapi/gstvaapipostproc.c:
26843         * gst/vaapi/gstvaapisink.c:
26844         * gst/vaapi/gstvaapiupload.c:
26845         * gst/vaapi/gstvaapiuploader.c:
26846         * gst/vaapi/gstvaapivideobufferpool.c:
26847         * gst/vaapi/gstvaapivideoconverter_glx.c:
26848         * gst/vaapi/gstvaapivideomemory.c:
26849         * gst/vaapi/gstvaapivideometa.c:
26850           plugins: cope with new GstVaapiMiniObject objects.
26851
26852 2013-05-07 11:45:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26853
26854         * tests/decoder.c:
26855         * tests/image.c:
26856         * tests/output.c:
26857         * tests/simple-decoder.c:
26858         * tests/test-decode.c:
26859         * tests/test-display.c:
26860         * tests/test-subpicture.c:
26861         * tests/test-surfaces.c:
26862         * tests/test-textures.c:
26863         * tests/test-windows.c:
26864           tests: cope with new GstVaapiMiniObject objects.
26865
26866 2013-05-07 15:38:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26867
26868         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26869           display: fix set_synchronous() to lock display.
26870
26871 2013-05-03 19:02:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26872
26873         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26874         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26875           videopool: simplify creation of video objects pool.
26876
26877 2013-05-07 18:17:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26878
26879         * gst-libs/gst/vaapi/gstvaapiobject.c:
26880         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26881         * gst-libs/gst/vaapi/gstvaapitypes.h:
26882           libs: simplify GstVaapiID definitions.
26883           Make GstVaapiID a gsize instead of guessing an underlying integer large
26884           enough to hold all bits of a pointer. Also drop GST_VAAPI_ID_NONE since
26885           this is plain zero and that it is no longer passed as varargs.
26886
26887 2013-05-02 16:11:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26888
26889         * gst-libs/gst/vaapi/Makefile.am:
26890         * gst-libs/gst/vaapi/gstvaapi_priv.h:
26891         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
26892         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
26893         * gst-libs/gst/vaapi/gstvaapivalue.c:
26894         * gst-libs/gst/vaapi/gstvaapivalue.h:
26895           libs: drop obsolete function helpers and objects.
26896           Drop obsolete GstVaapiID related function helpers for passing them as
26897           GValues.
26898
26899 2013-05-07 11:39:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26900
26901         * gst-libs/gst/vaapi/gstvaapidecoder.c:
26902         * gst-libs/gst/vaapi/gstvaapidisplay.c:
26903         * gst-libs/gst/vaapi/gstvaapidisplay.h:
26904         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
26905         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
26906         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
26907         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
26908         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
26909         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
26910         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
26911         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
26912         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
26913         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
26914         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
26915         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
26916         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
26917         * gst-libs/gst/vaapi/gstvaapiobject.c:
26918         * gst-libs/gst/vaapi/gstvaapivideopool.c:
26919           libs: use GstVaapiMiniObject for display objects.
26920
26921 2013-05-06 14:07:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26922
26923         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
26924         * gst-libs/gst/vaapi/gstvaapidecoder.c:
26925         * gst-libs/gst/vaapi/gstvaapidecoder.h:
26926         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
26927         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
26928         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
26929         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
26930         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
26931         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
26932         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
26933         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
26934         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
26935         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
26936         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
26937         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
26938           libs: use GstVaapiMiniObject for video decoders.
26939           Port GstVaapiDecoder and GstVaapiDecoder{MPEG2,MPEG4,JPEG,H264,VC1} to
26940           GstVaapiMiniObject. Add gst_vaapi_decoder_set_codec_state_changed_func()
26941           helper function to let the user add a callback to a function triggered
26942           whenever the codec state (e.g. caps) changes.
26943
26944 2013-05-03 11:01:12 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26945
26946         * docs/reference/libs/libs-sections.txt:
26947         * gst-libs/gst/vaapi/Makefile.am:
26948         * gst-libs/gst/vaapi/gstvaapicontext.c:
26949         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
26950         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
26951         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
26952         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
26953         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26954         * gst-libs/gst/vaapi/gstvaapivideopool.c:
26955         * gst-libs/gst/vaapi/gstvaapivideopool.h:
26956         * gst-libs/gst/vaapi/gstvaapivideopool_priv.h:
26957           libs: use GstVaapiMiniObject for video object pools.
26958           Port GstVaapiVideoPool, GstVaapiSurfacePool and GstVaapiImagePool to
26959           GstVaapiMiniObject. Drop gst_vaapi_video_pool_get_caps() since it was
26960           no longer used for a long time. Make object allocators static, i.e.
26961           local to the shared library.
26962
26963 2013-04-30 17:22:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26964
26965         * gst-libs/gst/vaapi/gstvaapitexture.c:
26966         * gst-libs/gst/vaapi/gstvaapitexture.h:
26967           libs: use GstVaapiObject for texture objects.
26968
26969 2013-04-30 17:20:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26970
26971         * gst-libs/gst/vaapi/Makefile.am:
26972         * gst-libs/gst/vaapi/gstvaapiwindow.c:
26973         * gst-libs/gst/vaapi/gstvaapiwindow.h:
26974         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
26975         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
26976         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
26977         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
26978         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
26979         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
26980         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
26981         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
26982         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
26983         * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h:
26984           libs: use GstVaapiObject for window objects.
26985
26986 2013-04-30 17:22:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
26987
26988         * gst-libs/gst/vaapi/gstvaapicontext.c:
26989         * gst-libs/gst/vaapi/gstvaapicontext.h:
26990         * gst-libs/gst/vaapi/gstvaapidecoder.c:
26991         * gst-libs/gst/vaapi/gstvaapiimage.c:
26992         * gst-libs/gst/vaapi/gstvaapiimage.h:
26993         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
26994         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
26995         * gst-libs/gst/vaapi/gstvaapisurface.c:
26996         * gst-libs/gst/vaapi/gstvaapisurface.h:
26997         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
26998         * gst-libs/gst/vaapi/gstvaapivideopool.c:
26999           libs: use GstVaapiObject for VA objects.
27000
27001 2013-04-30 17:20:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27002
27003         * gst-libs/gst/vaapi/Makefile.am:
27004         * gst-libs/gst/vaapi/gstvaapiobject.c:
27005         * gst-libs/gst/vaapi/gstvaapiobject.h:
27006         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
27007           Port GstVaapiObject to GstVaapiMiniObject.
27008
27009 2013-04-30 10:28:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27010
27011         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
27012         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
27013         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27014         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27015         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
27016         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
27017           libs: refine GstVaapiMiniObject.
27018           Drop support for user-defined data since this capability was not used
27019           so far and GstVaapiMiniObject represents the smallest reference counted
27020           object type. Add missing GST_VAAPI_MINI_OBJECT_CLASS() helper macro.
27021           Besides, since GstVaapiMiniObject is a libgstvaapi internal object, it
27022           is also possible to further simplify the layout of the object. i.e. merge
27023           GstVaapiMiniObjectBase into GstVaapiMiniObject.
27024
27025 2013-05-07 16:43:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27026
27027         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27028           decoder: update picture size from the bitstream.
27029           Propagate the picture size from the bitstream to the GstVaapiDecoder,
27030           and subsequent user who installed a signal on notify::caps. This fixes
27031           decoding of TS streams when the demuxer failed to extract the required
27032           information.
27033
27034 2013-04-25 14:16:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27035
27036         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27037           decoder: fix raw decoding mode.
27038           Fix gst_vaapi_decoder_get_surface() to actually transfer ownership of the
27039           surface proxy to the caller.
27040
27041 2013-04-25 13:56:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27042
27043         * docs/reference/libs/libs-sections.txt:
27044         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27045         * gst-libs/gst/vaapi/gstvaapidecoder.h:
27046         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
27047         * gst/vaapi/gstvaapidecode.c:
27048           decoder: add gst_vaapi_decoder_get_frame_with_timeout().
27049           Add gst_vaapi_decoder_get_frame_with_timeout() helper function that will
27050           wait for a frame to be decoded, until the specified timeout in microseconds,
27051           prior to returning to the caller.
27052           This is a fix to performance regression from 851cc0, whereby the vaapidecode
27053           loop executed on the srcpad task was called to often, thus starving all CPU
27054           resources.
27055
27056 2013-04-19 14:38:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27057
27058         * configure.ac:
27059           Bump version for development.
27060
27061 2013-04-18 19:09:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27062
27063         * NEWS:
27064         * configure.ac:
27065           0.5.3.
27066
27067 2013-04-18 19:08:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27068
27069         * NEWS:
27070           NEWS: updates.
27071
27072 2013-04-18 15:55:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27073
27074         * gst/vaapi/gstvaapidecode.c:
27075           vaapidecode: rework heuristics to detect decode timeout.
27076           Rework heuristics to detect when downstream element ran into errors,
27077           and thus failing to release any VA surface in due time for the current
27078           frame to get decoded. In particular, recalibrate the render time base
27079           when the first frame gets submitted downstream, or when there is no
27080           timestamp that could be inferred.
27081
27082 2013-04-18 15:50:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27083
27084         * gst-libs/gst/vaapi/gstcompat.h:
27085         * gst/vaapi/gstvaapidecode.c:
27086           vaapidecode: rework GstVideoDecoder::handle_frame() with a task.
27087           Rework GstVideoDecoder::handle_frame() to decode the current frame,
27088           while possibly waiting for a free surface, and separately submit all
27089           decoded frames from a task. This makes it possible to pop and render
27090           decoded frames as soon as possible.
27091
27092 2013-04-18 10:06:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27093
27094         * gst/vaapi/gstvaapidecode.c:
27095         * gst/vaapi/gstvaapidownload.c:
27096         * gst/vaapi/gstvaapisink.c:
27097         * gst/vaapi/gstvaapiupload.c:
27098           plugins: use gst_object_unref() wherever applicable.
27099           Use gst_object_unref() wherever applicable, e.g. objects derived from
27100           GstElement, GstVideoPool, etc.
27101
27102 2013-04-17 14:21:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27103
27104         * docs/reference/plugins/plugins-docs.xml.in:
27105         * docs/reference/plugins/plugins-sections.txt:
27106         * docs/reference/plugins/plugins.types:
27107           docs: drop obsolete plug-ins.
27108           Drop documentation for obsolete plug-ins, even for GStreamer 0.10.
27109           i.e. vaapiupload and vaapidownload are no longer the recommended
27110           plug-ins to use.
27111
27112 2013-04-17 13:17:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27113
27114         * debian.upstream/rules:
27115           debian: fix build of GStreamer 0.10 packages.
27116           Fix build of Debian packages to scan the actual GStreamer API version
27117           from the generated changelog file.
27118
27119 2013-04-17 10:58:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27120
27121         * gst/vaapi/gstvaapipostproc.c:
27122           vaapipostproc: minor clean-ups.
27123           Use g_clear_object() wherever appropriate and remove dead-code.
27124
27125 2013-04-17 10:53:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27126
27127         * gst/vaapi/gstvaapipostproc.c:
27128           vaapipostproc: fix reference counting buf for passthrough mode.
27129           Fix reference counting bug for passthrough mode, whereby the input buffer
27130           was propagated as is downstream through gst_pad_push() without increasing
27131           its reference count before. The was a problem when gst_pad_push() returns
27132           an error and we further decrease the reference count of the input buffer.
27133
27134 2013-04-17 10:18:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27135
27136         * gst-libs/gst/vaapi/gstcompat.h:
27137         * gst/vaapi/Makefile.am:
27138         * gst/vaapi/gstvaapi.c:
27139         * gst/vaapi/gstvaapidecode.c:
27140         * gst/vaapi/gstvaapipluginutil.h:
27141         * gst/vaapi/gstvaapipostproc.c:
27142           vaapipostproc: port to GStreamer 1.0.
27143           Add support for interlaced streams with GStreamer 1.0 too. Basically,
27144           this enables vaapipostproc, though it is not auto-plugged yet. We also
27145           make sure to reply to CAPS queries, and happily handle CAPS events.
27146
27147 2013-04-17 10:14:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27148
27149         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27150           decoder: fix GstVideoCodecFrame flags for interlaced contents.
27151           Fix support for interlaced contents with GStreamer 0.10. In particular,
27152           propagate GstVaapiSurfaceProxy frame flags to GstVideoCodecFrame flags
27153           correctly.
27154           This is a regression from commit 87e5717.
27155
27156 2013-04-16 13:23:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27157
27158         * gst-libs/gst/vaapi/Makefile.am:
27159         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27160         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
27161         * gst-libs/gst/vaapi/gstvaapiparser_frame.c:
27162         * gst-libs/gst/vaapi/gstvaapiparser_frame.h:
27163           decoder: rename GstVaapiDecoderFrame to GstVaapiParserFrame.
27164           Rename GstVaapiDecoderFrame to GstVaapiParserFrame because this data
27165           structure was only useful to parsing and a proper GstvaapiDecoderFrame
27166           instance will be created instead.
27167
27168 2013-04-16 19:09:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27169
27170         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27171           decoder: export presentation timestamp for raw decoding mode.
27172           Fix regression from 0.4-branch whereby GstVaapiSurfaceProxy no longer
27173           held any information about the expected presentation timestamp, frame
27174           duration or additional flags like interlaced or top-field-first.
27175
27176 2013-04-16 18:56:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27177
27178         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27179         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
27180           decoder: use new GstVaapiSurfaceProxy utility functions.
27181           Use new GstVaapiSurfaceProxy internal helper functions to propagate the
27182           necessary GstVideoCodecFrame flags to vaapidecode (GStreamer 0.10).
27183           Also make GstVaapiDecoder push_frame() operate similarly to drop_frame().
27184           i.e. increase the GstVideoCodecFrame reference count in push_frame rather
27185           than gst_vaapi_picture_output().
27186
27187 2013-04-16 18:35:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27188
27189         * docs/reference/libs/libs-sections.txt:
27190         * gst-libs/gst/vaapi/Makefile.am:
27191         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
27192         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
27193         * gst-libs/gst/vaapi/gstvaapisurfaceproxy_priv.h:
27194           surfaceproxy: add more attributes for raw decoding modes.
27195           Add more attributes for raw decoding modes, i.e. directly through the
27196           libgstvaapi helper library. In particular, add presentation timestamp,
27197           duration and a couple of flags (interlaced, TFF, RFF, one-field).
27198
27199 2013-04-16 13:48:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27200
27201         * docs/reference/libs/libs-sections.txt:
27202         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
27203         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
27204         * gst/vaapi/gstvaapidecode.c:
27205         * tests/simple-decoder.c:
27206           surfaceproxy: drop user-data support from GstVaapiSurfaceProxy.
27207           Drop user-data support from GstVaapiSurfaceProxy. Rather make it explicit
27208           to call some user-provided function when the surface proxy is released.
27209
27210 2013-04-15 12:52:51 +0400  Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
27211
27212         * configure.ac:
27213         * gst-libs/gst/vaapi/Makefile.am:
27214           build: link libgstvaapi-glx-1.0.so against libdl.
27215           Ensure libgstvaapi-glx*.so builds against libdl since dlsym() is used
27216           to resolve glXGetProcAddress() from GLX libraries. This fix builds on
27217           Fedora 17.
27218           https://bugzilla.gnome.org/show_bug.cgi?id=698046
27219           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27220
27221 2013-04-15 14:22:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27222
27223         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27224           decoder: fix gst_vaapi_decoder_get_codec_state().
27225           Fix previous commit whereby gst_vaapi_decoder_get_codec_state() was
27226           supposed to make GstVaapiDecoder own the return GstVideoCodecState
27227           object. Only comment was updated, not the actual code.
27228
27229 2013-04-15 13:58:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27230
27231         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27232         * gst/vaapi/gstvaapidecode.c:
27233           decoder: make gst_vaapi_decoder_get_codec_state() return the original state.
27234           Make gst_vaapi_decoder_get_codec_state() return the original codec state,
27235           i.e. make the GstVaapiDecoder object own the return state so that callers
27236           that want an extra reference to it would just gst_video_codec_state_ref()
27237           it before usage. This aligns the behaviour with what we had before with
27238           gst_vaapi_decoder_get_caps().
27239           This is an ABI incompatible change, library major version was bumped from
27240           previous release (0.5.2).
27241
27242 2013-04-15 13:52:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27243
27244         * gst/vaapi/gstvaapivideobufferpool.h:
27245         * gst/vaapi/gstvaapivideoconverter_glx.h:
27246           plugins: mark a few more functions as internal.
27247           Mark the following functions are internal, i.e. private to the vaapi plug-in:
27248           - gst_vaapi_video_buffer_pool_get_type()
27249           - gst_vaapi_video_converter_glx_get_type()
27250           - gst_vaapi_video_converter_glx_new()
27251
27252 2013-04-15 13:48:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27253
27254         * gst/vaapi/gstvaapivideobuffer.c:
27255           plugins: implement GstSurfaceMeta API.
27256           Implement GstSurfaceMeta API for GStreamer 1.0.x. Even though this is
27257           an unstable/deprecated API, this makes it possible to support Clutter
27258           sink with minimal changes. Tested against clutter-gst 1.9.92.
27259
27260 2013-04-12 17:12:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27261
27262         * gst/vaapi/gstvaapisink.c:
27263           vaapisink: optimize GstVideoOverlayInterface::expose().
27264           When render-mode is "overlay", then it is not really useful to peek into
27265           the GstBaseSink::last_buffer, since we have our own video_buffer already
27266           recorded and maintained into GstVaapiSink.
27267
27268 2013-04-12 17:05:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27269
27270         * gst/vaapi/gstvaapisink.c:
27271           vaapisink: fix memory leak of GstSample objects.
27272           Fix memory leak of GstSample objects in GstVideoOverlayInterface::expose().
27273           This also fixes extra unreferencing of the underlying GstBuffer in the common
27274           path afterwards (for both 0.10 or 1.0).
27275
27276 2013-04-12 13:44:52 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27277
27278         * gst-libs/gst/vaapi/gstcompat.h:
27279         * gst/vaapi/gstvaapi.c:
27280           plugins: fix description for gst-inspect.
27281           Fix the name of the plug-in element reported to gst-inspect-1.0. i.e. we
27282           need an explicit definition for GStreamer >= 1.0 because the GST_PLUGIN_DEFINE
27283           incorrectly uses #name for creating the plug-in name, instead of using macro
27284           expansion (and let further expansion of macros) through e.g. G_STRINGIFY().
27285
27286 2013-04-11 09:24:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27287
27288         * README:
27289           README: updates.
27290           Update build requirements for GStreamer 1.0.x support. Add section for
27291           ways to report bugs.
27292
27293 2013-04-10 16:54:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27294
27295         * NEWS:
27296           NEWS: updates.
27297
27298 2013-04-10 15:31:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27299
27300         * gst-libs/gst/vaapi/Makefile.am:
27301         * gst/vaapi/Makefile.am:
27302           Fix make dist to include all source files, in any case.
27303           Fix make dist to allow build for either GStreamer 0.10 or 1.0. i.e. make
27304           sure to include all source files in either case while generating source
27305           tarballs.
27306
27307 2013-04-10 15:21:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27308
27309         * configure.ac:
27310           Bump library major version.
27311           Bump library major version, while preserving a major version of 0 for
27312           GStreamer 1.0 based libraries, and a major version of 2 for GStreamer
27313           0.10 based librarieS.
27314
27315 2013-04-10 14:37:42 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27316
27317         * gst/vaapi/gstvaapivideomemory.c:
27318         * gst/vaapi/gstvaapivideomemory.h:
27319           plugins: implement direct-rendering mode for raw YUV buffer uploads.
27320           Allow direct-rendering (writes) into target VA surfaces.
27321
27322 2013-04-09 16:02:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27323
27324         * gst/vaapi/gstvaapivideobufferpool.c:
27325         * gst/vaapi/gstvaapivideomemory.c:
27326         * gst/vaapi/gstvaapivideomemory.h:
27327           plugins: implement uploads from raw YUV buffers for GStreamer 1.0.
27328           Implement GstVideoMeta::{,un}map() to support raw YUV buffer upload when
27329           the last component is unmapped. Downloads are not supported yet. The aim
27330           was to first support SW decoding + HW accelerated rendering (vaapisink).
27331           e.g. for Wayland.
27332
27333 2013-04-03 11:10:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27334
27335         * gst/vaapi/gstvaapidecode.c:
27336           vaapidecode: submit all decoded frames before decoding a new one.
27337           Make sure to purge all pending frames that were already decoded prior
27338           to decoding a new one. This helps release VA surfaces as early as
27339           possible.
27340
27341 2013-04-02 16:12:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27342
27343         * gst/vaapi/gstvaapidecode.c:
27344           vaapidecode: reply to CAPS queries.
27345           Handle GST_QUERY_CAPS, which is the GStreamer 1.0 mechanism to retrieve
27346           the set of allowed caps, i.e. it works similar to GstPad::get_caps().
27347           This fixes fallback to SW decoding if no HW decoder is available.
27348
27349 2013-03-20 11:26:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27350
27351         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27352         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27353         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
27354         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27355         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
27356         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
27357           decoder: fix unpaired GstBuffer map/unmaps.
27358           This possibly fixes a few memory leaks along the way.
27359
27360 2013-03-20 14:40:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27361
27362         * configure.ac:
27363         * gst-libs/gst/vaapi/gstcompat.h:
27364         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
27365         * gst-libs/gst/vaapi/gstvaapiprofile.c:
27366         * gst/vaapi/Makefile.am:
27367         * gst/vaapi/gstvaapi.c:
27368         * gst/vaapi/gstvaapidecode.c:
27369         * gst/vaapi/gstvaapisink.c:
27370         * gst/vaapi/gstvaapisink.h:
27371         * gst/vaapi/gstvaapiuploader.c:
27372         * tests/codec.c:
27373           Allow build against either GStreamer API (0.10 or 1.0).
27374           Introduce a new configure option --with-gstreamer-api that determines
27375           the desired GStreamer API to use. By default, GStreamer 1.0 is selected.
27376           Also integrate more compatibility glue into gstcompat.h and plugins.
27377
27378 2012-11-08 16:41:22 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
27379
27380         * gst/vaapi/gstvaapidecode.c:
27381         * gst/vaapi/gstvaapisink.c:
27382         * gst/vaapi/gstvaapisink.h:
27383           plugins: use new video buffer pools.
27384           Use new GstVaapiVideoBufferPool to maintain video buffers. Implement
27385           GstBaseSink::propose_allocation() to expose that pool to upstream
27386           elements; and also implement GstVideoDecoder::decide_allocation() to
27387           actually use that pool (from downstream), if any, or create one.
27388           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27389
27390 2012-11-08 16:41:22 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
27391
27392         * gst/vaapi/Makefile.am:
27393         * gst/vaapi/gstvaapivideobufferpool.c:
27394         * gst/vaapi/gstvaapivideobufferpool.h:
27395         * gst/vaapi/gstvaapivideomemory.c:
27396         * gst/vaapi/gstvaapivideomemory.h:
27397           plugins: add GstVaapiVideoMemory and GstVaapiVideoBufferPool objects.
27398           Add initial support for GstVaapiVideoMemory backed buffer pool. The memory
27399           object currently holds a reference to GstVaapiVideoMeta.
27400           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27401
27402 2013-04-04 17:36:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27403
27404         * gst/vaapi/gstvaapivideometa.c:
27405         * gst/vaapi/gstvaapivideometa.h:
27406           plugins: allow copies of GstVaapiVideoMeta objects.
27407           Make it possible to copy GstVaapiVideoMeta objects, unless they contain VA
27408           objects created from GstVaapiVideoPool. This is mostly useful to clone a
27409           GstVaapiVideoMeta object containing a VA surface proxy so that to alter its
27410           rendering flags.
27411
27412 2013-04-04 16:16:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27413
27414         * gst/vaapi/gstvaapivideometa.c:
27415           plugins: make it possible to clear VA objects from GstVaapiVideoMeta.
27416           Fix GstVaapiVideoMeta to allow VA objects to be destroyed when they are
27417           reset to NULL. i.e. make gst_vaapi_video_meta_set_{image,surface}() and
27418           gst_vaapi_video_meta_set_surface_proxy() actually clear VA objects when
27419           argument is NULL.
27420
27421 2012-09-03 14:00:25 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
27422
27423         * gst/vaapi/Makefile.am:
27424         * gst/vaapi/gstvaapi.c:
27425         * gst/vaapi/gstvaapidecode.c:
27426         * gst/vaapi/gstvaapidownload.c:
27427         * gst/vaapi/gstvaapipluginutil.c:
27428         * gst/vaapi/gstvaapipostproc.c:
27429         * gst/vaapi/gstvaapisink.c:
27430         * gst/vaapi/gstvaapiupload.c:
27431         * gst/vaapi/gstvaapiuploader.c:
27432         * gst/vaapi/gstvaapivideobuffer.c:
27433         * gst/vaapi/gstvaapivideoconverter_glx.c:
27434         * gst/vaapi/gstvaapivideometa.c:
27435         * gst/vaapi/gstvaapivideometa.h:
27436           plugins: initial port to GStreamer 1.0.
27437           Port vaapidecode and vaapisink plugins to GStreamer API >= 1.0. This
27438           is rather minimalistic so that to test the basic functionality.
27439           Disable vaapiupload, vaapidownload and vaapipostproc plugins. The latter
27440           needs polishing wrt. to GStreamer 1.x functionality and the former are
27441           totally phased out in favor of GstVaapiVideoMemory map/unmap facilities,
27442           which are yet to be implemented.
27443           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27444
27445 2013-03-21 10:12:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27446
27447         * gst-libs/gst/vaapi/gstcompat.h:
27448         * tests/codec.c:
27449         * tests/decoder.c:
27450         * tests/simple-decoder.c:
27451         * tests/test-subpicture.c:
27452           tests: add support for GStreamer 1.0.
27453
27454 2012-09-04 15:12:18 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
27455
27456         * configure.ac:
27457         * gst-libs/gst/vaapi/gstcompat.h:
27458         * gst-libs/gst/vaapi/gstvaapicontext.c:
27459         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27460         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27461         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
27462         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27463         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
27464         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
27465         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
27466         * gst-libs/gst/vaapi/gstvaapidisplay.c:
27467         * gst-libs/gst/vaapi/gstvaapiimage.c:
27468         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
27469         * gst-libs/gst/vaapi/gstvaapiprofile.c:
27470         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
27471         * gst-libs/gst/vaapi/gstvaapisurface.h:
27472           Add initial support for GStreamer 1.0.
27473           This integrates support for GStreamer API >= 1.0 only in the libgstvaapi
27474           core decoding library. The changes are kept rather minimal here so that
27475           the library retains as little dependency as possible on core GStreamer
27476           functionality.
27477           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27478
27479 2013-04-03 15:58:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27480
27481         * gst/vaapi/gstvaapisink.c:
27482           vaapisink: improve check for raw YUV format mode.
27483           Improve check for raw YUV format modes by avoiding checks against strings
27484           ("video/x-raw-yuv") for each new GstBuffer allocation. In the usual case,
27485           GstBaseSink::set_caps() is called first and if VA surface format mode is
27486           used, then GstBaseSink::buffer_alloc() is not called. If the latter is
27487           called before set_caps(), then we just make a full check. This one is
27488           pretty rare though, e.g. it usually happens once for custom pipelines.
27489
27490 2013-04-03 15:06:46 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27491
27492         * gst/vaapi/gstvaapipluginutil.c:
27493           plugins: don't fail if there is no overlay composition to apply.
27494           Fix gst_vaapi_apply_composition() to not fail if no overlay composition
27495           was found. i.e. return success (TRUE). This was harmless though extra
27496           debug messages are not nice.
27497           This is a regression introduced by commit 95b8659.
27498
27499 2013-04-03 14:59:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27500
27501         * gst/vaapi/gstvaapidecode.c:
27502         * gst/vaapi/gstvaapidecode.h:
27503           vaapidecode: expose the exact set of supported HW decoders.
27504           Don't return static caps that don't mean anything for the underlying codecs
27505           that are actually supported for decoding. i.e. always allocate a VA display
27506           and retrieve the exact set of HW decoders available. That VA display may be
27507           re-used later on during negotiation through GstVideoContext "prepare-context".
27508           This fixes fallback to SW decoding if no HW decoder is available.
27509
27510 2013-04-03 13:08:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27511
27512         * docs/reference/libs/libs-sections.txt:
27513         * gst-libs/gst/vaapi/gstvaapicontext.c:
27514         * gst-libs/gst/vaapi/gstvaapicontext.h:
27515         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
27516         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
27517           decoder: drop obsolete functions.
27518           Drop the following functions that are now obsolete:
27519           - gst_vaapi_context_get_surface()
27520           - gst_vaapi_context_put_surface()
27521           - gst_vaapi_context_find_surface_by_id()
27522           - gst_vaapi_surface_proxy_new()
27523           - gst_vaapi_surface_proxy_get_context()
27524           - gst_vaapi_surface_proxy_set_context()
27525           - gst_vaapi_surface_proxy_set_surface()
27526           This is an API change.
27527
27528 2013-04-03 13:14:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27529
27530         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27531           decoder: delegate surface size check to VA context reset.
27532           Now that the surface pool is reference counted in the surface proxy wrapper,
27533           we can safely ignore surface size checks in gst_vaapi_decoder_ensure_context().
27534           Besides, this check is already performed in gst_vaapi_context_reset_full().
27535
27536 2013-04-03 11:37:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27537
27538         * docs/reference/libs/libs-sections.txt:
27539         * gst-libs/gst/vaapi/gstvaapicontext.c:
27540         * gst-libs/gst/vaapi/gstvaapicontext.h:
27541         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
27542         * gst-libs/gst/vaapi/gstvaapisurface.h:
27543         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
27544         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
27545           decoder: simplify acquisition/release of spare surface.
27546           Introduce gst_vaapi_surface_proxy_new_from_pool() to allocate a new surface
27547           proxy from the context surface pool. This change also makes sure to retain
27548           the parent surface pool in the proxy.
27549           Besides, it was also totally useless to attach/detach parent context to
27550           VA surface each time we acquire/release it. Since the whole context owns
27551           all associated VA surfaces, we can mark this as such only once and for all.
27552
27553 2013-03-29 10:39:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27554
27555         * configure.ac:
27556           Bump version for development.
27557
27558 2013-03-28 10:18:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27559
27560         * NEWS:
27561         * configure.ac:
27562           0.5.2.
27563
27564 2013-03-28 10:15:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27565
27566         * NEWS:
27567           NEWS: updates.
27568
27569 2013-03-26 18:57:00 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27570
27571         * gst/vaapi/gstvaapipluginutil.c:
27572         * gst/vaapi/gstvaapisink.c:
27573           plugins: fix usage of gst_vaapi_reply_to_query().
27574           Make gst_vaapi_reply_to_query() first check whether the query argument
27575           is actually a video-context query, i.e. with type GST_QUERY_TYPE_CUSTOM.
27576           Then, make sure vaapisink propagates the query to the parent class if
27577           it is not a video-context query.
27578
27579 2013-03-26 18:45:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27580
27581         * gst/vaapi/gstvaapivideobuffer.c:
27582         * gst/vaapi/gstvaapivideobuffer.h:
27583           plugins: streamline video buffers.
27584           Add new gst_vaapi_video_buffer_new() helper function that allocates a video
27585           buffer from a GstVaapiVideoMeta. Also remove obsolete and useless function
27586           gst_vaapi_video_buffer_get_meta().
27587
27588 2013-03-26 10:31:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27589
27590         * docs/reference/libs/libs-sections.txt:
27591         * gst-libs/gst/vaapi/Makefile.am:
27592         * gst/vaapi/Makefile.am:
27593         * gst/vaapi/gstvaapidecode.c:
27594         * gst/vaapi/gstvaapidownload.c:
27595         * gst/vaapi/gstvaapipostproc.c:
27596         * gst/vaapi/gstvaapisink.c:
27597         * gst/vaapi/gstvaapiupload.c:
27598         * gst/vaapi/gstvaapiuploader.c:
27599         * gst/vaapi/gstvaapivideobuffer.h:
27600         * gst/vaapi/gstvaapivideoconverter_glx.c:
27601         * gst/vaapi/gstvaapivideometa.c:
27602         * gst/vaapi/gstvaapivideometa.h:
27603           plugins: integrate GstVaapiVideoMeta from libgstvaapi.
27604           Move GstVaapiVideoMeta from core libgstvaapi decoding library to the
27605           actual plugin elements. That's only useful there. Also inline reference
27606           counting code from GstVaapiMiniObject.
27607
27608 2013-03-21 17:17:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27609
27610         * gst/vaapi/Makefile.am:
27611         * gst/vaapi/gstvaapidecode.c:
27612         * gst/vaapi/gstvaapidownload.c:
27613         * gst/vaapi/gstvaapipluginbuffer.c:
27614         * gst/vaapi/gstvaapipluginbuffer.h:
27615         * gst/vaapi/gstvaapipostproc.c:
27616         * gst/vaapi/gstvaapiupload.c:
27617         * gst/vaapi/gstvaapiuploader.c:
27618         * gst/vaapi/gstvaapivideobuffer.c:
27619         * gst/vaapi/gstvaapivideobuffer.h:
27620           plugins: drop gstvaapipluginbuffer.[ch] helper files.
27621           Move all gst_vaapi_video_buffer_new*() helpers from gstvaapipluginbuffer.[ch]
27622           to gstvaapivideobuffer.[ch], and drop the obsolete files.
27623
27624 2013-03-21 17:06:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27625
27626         * docs/reference/libs/libs-sections.txt:
27627         * docs/reference/libs/libs.core.types:
27628         * gst-libs/gst/vaapi/Makefile.am:
27629         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
27630         * gst/vaapi/Makefile.am:
27631         * gst/vaapi/gstvaapidownload.h:
27632         * gst/vaapi/gstvaapipluginbuffer.c:
27633         * gst/vaapi/gstvaapipostproc.h:
27634         * gst/vaapi/gstvaapivideobuffer.c:
27635         * gst/vaapi/gstvaapivideobuffer.h:
27636         * gst/vaapi/gstvaapivideoconverter_glx.h:
27637           plugins: integrate GstVaapiVideoBuffer from libgstvaapi.
27638           Move GstVaapiVideoBuffer from core libgstvaapi decoding library to the
27639           actual plugin elements. That's only useful there.
27640
27641 2013-03-21 16:32:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27642
27643         * gst/vaapi/gstvaapipluginutil.c:
27644         * gst/vaapi/gstvaapipluginutil.h:
27645         * gst/vaapi/gstvaapisink.c:
27646         * gst/vaapi/gstvaapivideoconverter_glx.c:
27647           plugins: use common helper function to apply compositions.
27648           Use common gst_vaapi_apply_composition() helper function to apply compositions
27649           attached to a buffer in vaapisink or GstVaapiVideoConverterGLX.
27650
27651 2013-03-21 16:09:42 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27652
27653         * gst-libs/gst/vaapi/Makefile.am:
27654         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
27655         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.h:
27656         * gst/vaapi/Makefile.am:
27657         * gst/vaapi/gstvaapipluginbuffer.c:
27658         * gst/vaapi/gstvaapivideoconverter_glx.c:
27659         * gst/vaapi/gstvaapivideoconverter_glx.h:
27660           plugins: integrate GstVaapiVideoConverterGLX from libgstvaapi.
27661           Make sure libgstvaapi core decoding library doesn't include un-needed
27662           dependencies. So, move out GstVaapiVideoConverterGLX to plugins instead.
27663           Besides, even if the vaapisink element is not used, we are bound to have
27664           a correctly populated GstSurfaceBuffer from vaapidecode.
27665           Also clean-up the file along the way.
27666
27667 2013-03-21 13:32:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27668
27669         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
27670           vc1: fix use of possibly uninitialized variable.
27671           In decode_codec_data(), force initialization of format to zero so that
27672           we can catch up cases where codec-data has neither "format" nor "wmvversion"
27673           fields, thus making it possible to gracefully fail in this case.
27674
27675 2013-03-21 13:43:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27676
27677         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
27678           jpeg: propagate buffer data as a const guchar * pointer (cosmetics).
27679
27680 2013-03-21 14:36:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27681
27682         * gst-libs/gst/vaapi/gstvaapidecoder.c:
27683         * gst-libs/gst/vaapi/gstvaapidecoder.h:
27684         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27685         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
27686         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
27687         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
27688           decoder: sanitize codec-data decoding.
27689           Add a new GstVaapiDecoder::decode_codec_data() hook to actually decode
27690           codec-data in the decoder sub-class. Provide a common shared helper
27691           function to do the actual work and delegating further to the sub-class.
27692
27693 2013-03-21 13:41:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27694
27695         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
27696         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
27697         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
27698         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
27699           decoder: get rid of GstVaapiDecoderUnit::buffer field.
27700           Drop GstVaapiDecoderUnit buffer field (GstBuffer) since it's totally
27701           useless nowadays as creating sub-buffers doesn't bring any value. It
27702           actually means more memory allocations. We can't do without that in
27703           JPEG and MPEG-4:2 decoders.
27704
27705 2013-03-21 13:28:05 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27706
27707         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27708         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
27709         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27710         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
27711         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
27712           decoder: sanitize uses of codec frame input buffer (cosmetics).
27713           Alias GST_VAAPI_DECODER_CODEC_FRAME(decoder)->input_buffer to a simple
27714           "buffer" variable.
27715
27716 2013-03-20 17:34:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27717
27718         * gst/vaapi/gstvaapisink.c:
27719           vaapisink: add helper function to apply a composition buffer.
27720           Simplify application of a composition buffer to a GstVaapiSurface, and
27721           all its peers, until that function is eventually promoted to libgstvaapi.
27722
27723 2013-03-20 13:42:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27724
27725         * gst/vaapi/gstvaapisink.c:
27726           vaapisink: fix support for raw YUV buffers.
27727           If the raw YUV buffer was created from vaapisink, through the buffer_alloc()
27728           hook, then it will have a valid GstVaapiVideoMeta object attached to it.
27729           However, we previously assumed in that case that it was a "native" VA buffer,
27730           thus not calling into GstVaapiUploader::process().
27731
27732 2013-03-20 18:41:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27733
27734         * gst-libs/gst/vaapi/gstcompat.h:
27735         * gst/vaapi/gstvaapidecode.c:
27736         * gst/vaapi/gstvaapidownload.c:
27737         * gst/vaapi/gstvaapipostproc.c:
27738         * gst/vaapi/gstvaapisink.c:
27739         * gst/vaapi/gstvaapiupload.c:
27740           plugins: use modern GstElement metadata information.
27741           Use gst_element_class_set_static_metadata() from GStreamer 1.0, which
27742           basically is the same as gst_element_class_set_details_simple() in
27743           GStreamer 0.10 context.
27744
27745 2013-03-20 18:04:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27746
27747         * gst/vaapi/gstvaapidecode.c:
27748         * gst/vaapi/gstvaapidownload.c:
27749         * gst/vaapi/gstvaapipostproc.c:
27750         * gst/vaapi/gstvaapisink.c:
27751         * gst/vaapi/gstvaapiupload.c:
27752           plugins: move up interfaces (cosmetics).
27753           Move GstImplementsInterface and GstVideoContext support functions up
27754           so that to keep a clear separation between the plugin element and its
27755           interface hooks.
27756
27757 2013-03-20 12:57:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27758
27759         * gst/vaapi/gstvaapisink.c:
27760         * gst/vaapi/gstvaapiuploader.c:
27761           plugins: upgrade to newer APIs (GstVideoInfo based helpers).
27762           Use GstVideoInfo and gst_video_info_from_caps() helper wherever possible.
27763           Also use the newly added gst_vaapi_image_format_from_structure() helper
27764           in GstVaapiUploader::ensure_allowed_caps().
27765
27766 2013-03-20 14:02:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27767
27768         * gst/vaapi/gstvaapipluginbuffer.c:
27769           plugins: fix creation of video buffer from another source buffer.
27770           gst_vaapi_video_buffer_new_from_buffer() needs to reference the source
27771           buffer video meta since it would be unreference'd from the get_buffer()
27772           helper function. For other cases, we still use (steal) the newly created
27773           video meta.
27774
27775 2013-03-20 11:57:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27776
27777         * gst/vaapi/gstvaapipluginbuffer.c:
27778         * gst/vaapi/gstvaapipluginutil.c:
27779           plugins: include "sysdeps.h" header instead of "config.h".
27780
27781 2013-03-20 18:33:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27782
27783         * gst-libs/gst/vaapi/gstcompat.h:
27784         * tests/codec.c:
27785           tests: modernize GstTypeFind functions.
27786           Use the GstTypeFind hooks from GStreamer 1.0. They look safer and
27787           exactly correspond to the expected behaviour.
27788
27789 2013-03-20 11:57:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27790
27791         * tests/image.c:
27792         * tests/image.h:
27793         * tests/test-decode.c:
27794         * tests/test-display.c:
27795         * tests/test-h264.c:
27796         * tests/test-h264.h:
27797         * tests/test-jpeg.c:
27798         * tests/test-jpeg.h:
27799         * tests/test-mpeg2.c:
27800         * tests/test-mpeg2.h:
27801         * tests/test-mpeg4.c:
27802         * tests/test-mpeg4.h:
27803         * tests/test-textures.c:
27804         * tests/test-vc1.c:
27805         * tests/test-vc1.h:
27806         * tests/test-windows.c:
27807           tests: fix license templates.
27808
27809 2013-03-20 11:53:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27810
27811         * tests/test-display.c:
27812           tests: use gst_vaapi_image_format_from_structure() in test-display.
27813           Use gst_vaapi_image_format_from_structure() helper in test-display and
27814           then extract a VAImageFormat from it instead of relying on GstCaps for
27815           YUV and RGB formats.
27816
27817 2013-03-20 11:50:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27818
27819         * tests/codec.c:
27820         * tests/decoder.c:
27821         * tests/output.c:
27822         * tests/test-decode.c:
27823         * tests/test-display.c:
27824         * tests/test-subpicture.c:
27825         * tests/test-textures.c:
27826         * tests/test-windows.c:
27827           tests: include "sysdeps.h" header instead of "config.h".
27828
27829 2013-03-20 18:25:05 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27830
27831         * gst-libs/gst/vaapi/gstcompat.h:
27832         * gst-libs/gst/vaapi/gstvaapicontext.c:
27833         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
27834           subpicture: use gst_video_overlay_rectangle_get_pixels_unscaled_raw().
27835           Use newer gst_video_overlay_rectangle_get_pixels_unscaled_raw() helper
27836           function with GStreamer 0.10 compatible semantics, or that tries to
27837           approach the current meaning. Basically, this is also just about moving
27838           the helper to gstcompat.h.
27839
27840 2013-03-20 11:10:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27841
27842         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
27843         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
27844           image: add gst_vaapi_image_format_from_structure() helper.
27845           Add helper function to convert video formats from a GstStructure to a
27846           plain GstVaapiImageFormat.
27847
27848 2013-03-20 18:12:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27849
27850         * gst-libs/gst/vaapi/Makefile.am:
27851         * gst-libs/gst/vaapi/gstcompat.h:
27852         * gst-libs/gst/vaapi/sysdeps.h:
27853           sysdeps: split out GStreamer API compatibility glue to "gstcompat.h".
27854
27855 2013-03-20 11:56:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27856
27857         * gst-libs/gst/vaapi/sysdeps.h:
27858           sysdeps: add more standard includes by default.
27859
27860 2013-03-20 14:43:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27861
27862         * configure.ac:
27863           configure: improve GStreamer API version checks.
27864
27865 2013-03-20 11:44:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27866
27867         * configure.ac:
27868         * debian.upstream/Makefile.am:
27869         * debian.upstream/changelog.in:
27870         * debian.upstream/control.in:
27871         * debian.upstream/gstreamer-vaapi-doc.install.in:
27872         * debian.upstream/libgstvaapi-dev.install.in:
27873         * debian.upstream/libgstvaapi-drm.install.in:
27874         * debian.upstream/libgstvaapi-glx.install.in:
27875         * debian.upstream/libgstvaapi-wayland.install.in:
27876         * debian.upstream/libgstvaapi-x11.install.in:
27877         * debian.upstream/libgstvaapi.install.in:
27878         * docs/reference/libs/Makefile.am:
27879         * docs/reference/libs/libs-docs.xml.in:
27880         * docs/reference/plugins/Makefile.am:
27881         * docs/reference/plugins/plugins-docs.xml.in:
27882         * gst-libs/gst/vaapi/Makefile.am:
27883         * gst/vaapi/Makefile.am:
27884         * pkgconfig/Makefile.am:
27885         * pkgconfig/gstreamer-vaapi-drm.pc.in:
27886         * pkgconfig/gstreamer-vaapi-glx.pc.in:
27887         * pkgconfig/gstreamer-vaapi-wayland.pc.in:
27888         * pkgconfig/gstreamer-vaapi-x11.pc.in:
27889         * pkgconfig/gstreamer-vaapi.pc.in:
27890         * tests/Makefile.am:
27891           configure: rename GST_MAJORMINOR to GST_API_VERSION.
27892
27893 2013-03-20 11:28:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27894
27895         * configure.ac:
27896           configure: improve check for H.264 codecparser.
27897
27898 2013-02-26 00:38:24 +0100  Holger Kaelberer <hk@getslash.de>
27899
27900         * gst/vaapi/gstvaapiuploader.c:
27901           vaapiupload: fix illegal write in ensure_image().
27902           Fix ensure_image() to only zero-initialize the first line of each plane.
27903           Properly initializing each plane to their full vertical resolution would
27904           require to actually compute it based on the image format.
27905           In particular, for NV12 images, the UV plane has half vertical resolution
27906           vs. the Y plane. So using the full image height to initialize the UV plane
27907           will obviously lead to a buffer overflow. Likewise for other YUV format.
27908           Since ensure_image() is only a helper function to initialize something,
27909           and not necessarily the whole thing, it is fine to initializ the first
27910           line only. Besides, the target surface is not rendered either.
27911           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27912
27913 2013-02-17 16:28:47 +0800  Xiang, Haihao <haihao.xiang@intel.com>
27914
27915         * gst-libs/gst/codecparsers/Makefile.am:
27916         * gst-libs/gst/video/Makefile.am:
27917           build: fix compiling of local GstVideoDecoder and codecparsers.
27918           Generated source files were missing a dependency on the complete set of
27919           generated header files. e.g. gstvideodecoder.c requires gstvideoutils.h
27920           to build and almost every codec parser source depends on parserutils.h.
27921           https://bugs.freedesktop.org/show_bug.cgi?id=59575
27922           Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
27923           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27924
27925 2013-02-08 11:56:54 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27926
27927         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27928           h264: set {luma,chroma}_log2_weight_denom to 0 if no pred_weight_table().
27929           Force luma_log2_weight_denom and chroma_log2_weight_denom to zero if
27930           there is no pred_weight_table() that was parsed.
27931           This is a workaround for the VA intel-driver on Ivy Bridge.
27932
27933 2013-02-07 15:42:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27934
27935         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
27936           h264: use new profile definitions from codecparsers.
27937
27938 2013-02-07 15:29:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27939
27940         * ext/codecparsers:
27941           codecparsers: update to gst-vaapi-branch commit 500bc02.
27942           500bc02 h264: add profile enums
27943
27944 2013-02-06 15:27:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27945
27946         * NEWS:
27947           NEWS: updates.
27948
27949 2013-02-06 15:21:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27950
27951         * ext/codecparsers:
27952           codecparsers: update to gst-vaapi-branch commit 31b1c57.
27953           8957fb7 mpeg2: add helpers to convert quantization matrices
27954           07c4034 mpeg2: store quantization matrices in zigzag scan order
27955
27956 2013-01-31 11:32:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27957
27958         * tests/simple-decoder.c:
27959           tests: simple-decoder: fix build on older platforms.
27960           Make simple-decoder build and execute correctly on older platforms,
27961           and more precisely older versions of glib.
27962
27963 2013-01-31 11:30:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27964
27965         * gst-libs/gst/vaapi/glibcompat.h:
27966           glibcompat: add replacement for g_async_queue_timeout_pop().
27967           g_async_queue_timeout_pop() appeared in glib 2.31.18. Implement it as
27968           g_async_queue_timed_pop() with a GTimeVal as the final time to wait for
27969           new data to arrive in the queue.
27970
27971 2013-01-31 11:25:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27972
27973         * gst-libs/gst/vaapi/glibcompat.h:
27974           glibcompat: add replacement for g_cond_wait().
27975
27976 2013-01-30 18:38:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27977
27978         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27979           mpeg2: fix decoding of 4K videos.
27980           Account for slice_vertical_position_extension when vertical_size > 2800.
27981
27982 2013-01-30 18:54:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27983
27984         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27985           mpeg2: fix decoding of sequence_end().
27986           There shall be only one place to call decode_current_picture(), and this
27987           is in the end_frame() hook. The EOS unit is processed after end_frame()
27988           so this means we cannot have a valid picture to decode/output at this
27989           point.
27990
27991 2013-01-30 15:10:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
27992
27993         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
27994           mpeg2: improve robustness when packets are missing.
27995           Improve robustness when some expected packets where not received yet
27996           or that were not correctly decoded. For example, don't try to decode
27997           a picture if there was no valid sequence or picture headers.
27998
27999 2013-01-30 18:58:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28000
28001         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28002           decoder: handle decode-only frames in raw API mode.
28003           Fix gst_vaapi_decoder_get_surface() to only return frames with a valid
28004           surface proxy, i.e. with a valid VA surface. This means that any frame
28005           marked as decode-only is simply skipped.
28006
28007 2013-01-30 16:33:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28008
28009         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28010         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
28011           decoder: allow frames to be dropped.
28012           If the decoder was not able to decode a frame because insufficient
28013           information was available, e.g. missing sequence or picture header,
28014           then allow the frame to be gracefully dropped without generating
28015           any error.
28016           It is also possible that a frame is not meant to be displayed but
28017           only used as a reference, so dropping that frame is also a valid
28018           operation since GstVideoDecoder base class has extra references to
28019           that GstVideoCodecFrame that needs to be released.
28020
28021 2013-01-30 16:26:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28022
28023         * gst/vaapi/gstvaapidecode.c:
28024           vaapidecode: handle decode-only frames.
28025           Decode-only frames may not have a valid surface proxy. So, simply discard
28026           them gracefully, i.e. don't create meta data information. GstVideoDecoder
28027           base class will properly handle this case and won't try to push any buffer
28028           to downstream elements.
28029
28030 2013-01-24 00:49:17 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28031
28032         * gst/vaapi/gstvaapidecode.c:
28033           vaapidecode: add support for post-seek semantics reset.
28034           Implement GstVideoDecoder::reset() as a destruction of the VA decoder
28035           and the creation of a new VA decoder.
28036           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28037
28038 2013-01-30 09:38:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28039
28040         * configure.ac:
28041           Bump version for development.
28042
28043 2013-01-30 09:37:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28044
28045         * NEWS:
28046         * configure.ac:
28047           0.5.1.
28048
28049 2013-01-24 00:48:26 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28050
28051         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28052           mpeg2: implement GstVaapiDecoder::flush() as a DPB flush.
28053
28054 2013-01-24 17:34:43 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28055
28056         * gst-libs/gst/vaapi/gstvaapidecoder_frame.h:
28057           decoder: fix documentation for GstVaapiDecoderFrame.
28058           Drop superfluous reference to prev_slice member.
28059
28060 2013-01-29 16:18:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28061
28062         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28063           decoder: assume current frame is complete at end-of-stream.
28064           Assume we got a complete frame when the end-of-stream is reached and that
28065           the current codec frame contains at least one slice data unit.
28066
28067 2013-01-29 14:14:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28068
28069         * NEWS:
28070         * README:
28071         * debian.upstream/copyright:
28072         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
28073         * gst-libs/gst/vaapi/gstvaapicontext.c:
28074         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28075         * gst-libs/gst/vaapi/gstvaapidecoder.h:
28076         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
28077         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
28078         * gst-libs/gst/vaapi/gstvaapidecoder_frame.c:
28079         * gst-libs/gst/vaapi/gstvaapidecoder_frame.h:
28080         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28081         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
28082         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28083         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
28084         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
28085         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
28086         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
28087         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
28088         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
28089         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28090         * gst-libs/gst/vaapi/gstvaapidisplay.c:
28091         * gst-libs/gst/vaapi/gstvaapidisplay.h:
28092         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
28093         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
28094         * gst-libs/gst/vaapi/gstvaapiprofile.h:
28095         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
28096         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
28097         * gst-libs/gst/vaapi/gstvaapisurface.c:
28098         * gst-libs/gst/vaapi/gstvaapiutils.c:
28099         * gst-libs/gst/vaapi/gstvaapiutils.h:
28100         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
28101         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
28102         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
28103         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
28104         * gst-libs/gst/vaapi/sysdeps.h:
28105         * gst/vaapi/gstvaapidecode.c:
28106         * gst/vaapi/gstvaapidownload.c:
28107         * gst/vaapi/gstvaapipluginbuffer.c:
28108         * gst/vaapi/gstvaapipluginbuffer.h:
28109         * gst/vaapi/gstvaapipostproc.c:
28110         * gst/vaapi/gstvaapisink.c:
28111         * gst/vaapi/gstvaapiupload.c:
28112         * gst/vaapi/gstvaapiuploader.c:
28113         * tests/output.c:
28114         * tests/test-decode.c:
28115         * tests/test-subpicture.c:
28116           legal: fix year for some copyright notices (2013).
28117
28118 2013-01-29 14:03:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28119
28120         * gst-libs/gst/vaapi/gstvaapicontext.h:
28121         * gst-libs/gst/vaapi/gstvaapidecoder.h:
28122         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28123         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
28124         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
28125         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
28126         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28127         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
28128         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
28129         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
28130         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
28131         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
28132         * gst-libs/gst/vaapi/gstvaapisurface.c:
28133         * gst-libs/gst/vaapi/gstvaapisurface.h:
28134         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
28135         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
28136         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
28137         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
28138         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
28139         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.h:
28140         * gst/vaapi/gstvaapidecode.h:
28141         * gst/vaapi/gstvaapisink.h:
28142         * tests/test-subpicture.c:
28143           legal: fix year for some copyright notices (2012).
28144
28145 2013-01-29 14:00:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28146
28147         * gst-libs/gst/vaapi/gstvaapicompat.h:
28148         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
28149         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
28150         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
28151         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
28152         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
28153         * gst-libs/gst/vaapi/gstvaapiobject.c:
28154         * gst-libs/gst/vaapi/gstvaapiobject.h:
28155         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
28156         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
28157         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
28158         * gst-libs/gst/vaapi/gstvaapiprofile.c:
28159         * gst-libs/gst/vaapi/gstvaapiprofile.h:
28160         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
28161         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
28162         * gst-libs/gst/vaapi/gstvaapitexture.c:
28163         * gst-libs/gst/vaapi/gstvaapitexture.h:
28164         * gst-libs/gst/vaapi/gstvaapitypes.h:
28165         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
28166         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
28167         * gst-libs/gst/vaapi/gstvaapivalue.c:
28168         * gst-libs/gst/vaapi/gstvaapivalue.h:
28169         * gst-libs/gst/vaapi/gstvaapivideopool.c:
28170         * gst-libs/gst/vaapi/gstvaapivideopool.h:
28171         * gst-libs/gst/vaapi/gstvaapiwindow.h:
28172         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
28173         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
28174         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
28175         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
28176         * tests/test-display.c:
28177         * tests/test-surfaces.c:
28178         * tests/test-windows.c:
28179           legal: add Intel copyright on modified files.
28180
28181 2013-01-29 13:37:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28182
28183         * NEWS:
28184           NEWS: updates.
28185
28186 2013-01-28 18:09:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28187
28188         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
28189           wayland: use a local event queue to avoid lock contention.
28190           This improves performance when rendering several surfaces from within
28191           the same process. e.g. a tee of vaapidecode'd buffers to vaapisink.
28192
28193 2013-01-28 17:28:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28194
28195         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
28196           wayland: fix thread-safe issues.
28197           The Wayland API is not fully thread-safe and client applications shall
28198           perform locking themselves on key functions. Besides, make sure to
28199           release the lock if the _render() function fails.
28200
28201 2013-01-28 16:37:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28202
28203         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
28204           wayland: really wait until the pending redraw completed.
28205           Introduce gst_vaapi_window_wayland_sync() helper function to wait for
28206           the completion of the redraw request. Use it in _render() function to
28207           actually block until the previous draw request is completed.
28208
28209 2013-01-23 10:10:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28210
28211         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
28212           wayland: fix frame_redraw callback.
28213           The redraw callback needs to be attached to the surface prior to the
28214           commit. Otherwise, the callback notifies the next surface repaint,
28215           which is not the desired behaviour. i.e. we want to be notified for
28216           the surface we have just filled.
28217           Another isse was the redraw_pending was reset before the actual completion
28218           of the frame redraw callback function, thus causing concurrency issues.
28219           e.g. the callback could have been called again, but with a NULL buffer.
28220
28221 2013-01-28 14:45:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28222
28223         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
28224           wayland: fix display sharing.
28225           When the Wayland display is shared, we still have to create our own local
28226           shell and compositor objects, since they are not propagated from the cache.
28227           Likewise, we also need to determine the display size or vaapisink would
28228           fail to account for the display aspect ratio, and will try to create a 0x0
28229           window.
28230
28231 2013-01-24 17:38:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28232
28233         * ext/codecparsers:
28234           codecparsers: update to gst-vaapi-branch commit 21a098e.
28235           21a098e vc1: fix bitplanes decoding (DIFF6 or NORM6) [residual]
28236           f8c836a vc1: fix bitplanes decoding (DIFF6 or NORM6)
28237
28238 2013-01-23 16:38:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28239
28240         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28241           vc1: handle frames with multiple slices.
28242
28243 2013-01-23 17:01:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28244
28245         * ext/codecparsers:
28246           codecparsers: update to gst-vaapi-branch commit 3fba492.
28247           3fba492 vc1: add API to parse slice headers
28248
28249 2013-01-23 11:11:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28250
28251         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28252           vc1: handle CLOSED_ENTRY.
28253           When CLOSED_ENTRY == 0, and if the B pictures that follow an entry-point
28254           lack a reference anchor picture, these B pictures shall be discarded.
28255           https://bugs.freedesktop.org/show_bug.cgi?id=59505
28256
28257 2013-01-23 10:25:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28258
28259         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28260           vc1: cope with latest codecparser changes.
28261           Fix build with newer VC-1 codecparser where dqsbedge was renamed to
28262           dqbedge, and now represents either DQSBEDGE or DQDBEDGE depending on
28263           the actual value of DQPROFILE.
28264
28265 2013-01-23 10:24:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28266
28267         * ext/codecparsers:
28268           codecparsers: update to gst-vaapi-branch commit 3d2c67c.
28269           3d2c67c vc1: simplify GstVC1VopDquant structure
28270
28271 2013-01-22 10:51:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28272
28273         * ext/codecparsers:
28274           codecparsers: update to gst-vaapi-branch commit 5d33da8.
28275           5d33da8 vc1: fix bitplanes decoding
28276           562bdc4 vc1: fix VOPDQUANT parser for DQUANT == 2
28277           0b13d2b vc1: fix calculation of ALTPQUANT
28278           ba88e63 vc1: fix parser for DQPROFILE in VOPDQUANT
28279
28280 2013-01-22 15:47:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28281
28282         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28283           vc1: fix size of encapsulated BDU.
28284           Fix size of encapsulated BDUs since GstVC1BDU.size actually represents
28285           the size of the BDU data, starting from offset, i.e. after any start
28286           code is parsed.
28287           This fixes a buffer overflow during the unescaping process.
28288
28289 2013-01-11 17:08:00 +0800  Wind Yuan <feng.yuan@intel.com>
28290
28291         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28292           vc1: fix decoding of WMV3 videos in AVI format.
28293           The AVI demuxer (avidemux) does not set a proper "format" attribute
28294           to the generated caps. So, try to recover the video codec format from
28295           the "wmvversion" property instead.
28296           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28297
28298 2013-01-22 13:28:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28299
28300         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28301           vc1: review and report errors accordingly.
28302           Use GST_ERROR() to report real errors instead of hiding them into
28303           GST_DEBUG().
28304
28305 2013-01-22 13:50:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28306
28307         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28308           vc1: don't create GstBuffers for all decoder units.
28309           Don't create temporary GstBuffers for all decoder units, even if they
28310           are lightweight "sub-buffers", since it is not really necessary to keep
28311           the buffer data around.
28312
28313 2013-01-22 16:03:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28314
28315         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28316           vc1: implement flush() hook.
28317           Make it a simple DPB flush.
28318
28319 2013-01-22 13:44:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28320
28321         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28322           vc1: implement {start,end}_frame() hooks.
28323           Implement GstVaapiDecoder.start_frame() and end_frame() semantics so
28324           that to create new VA context earlier and submit VA pictures to the
28325           HW for decoding as soon as possible. i.e. don't wait for the next
28326           frame to start decoding the previous one.
28327
28328 2013-01-22 09:30:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28329
28330         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28331           vc1: fix next POC for new sequence layers.
28332           Fix next POC when a new sequence layer is reached. At this point, we
28333           need to reset any previous reference picture, i.e. non B-frame.
28334
28335 2012-08-02 17:15:26 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28336
28337         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28338           vc1: port to common GstVaapiDpb interface.
28339           Use GstVaapiDpb interface instead of maintaining our own prev and next
28340           picture pointers. While doing so, try to derive a sensible POC value.
28341           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28342
28343 2013-01-15 17:10:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28344
28345         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28346           vc1: fix decode_sequence_end() to return success, not EOS.
28347
28348 2013-01-18 17:00:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28349
28350         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28351           decoder: simplify gst_vaapi_decoder_get_surface().
28352           Avoid extraenous branches, i.e. immediately return with success once we
28353           have a decoded frame available.
28354
28355 2013-01-18 16:56:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28356
28357         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28358           decoder: optimize and clean decode_step() up.
28359           Avoid usage of goto. Simplify decode_step() process to first accumulate all
28360           pending buffers into the GstAdapter, and then parse and decode units from
28361           that input adapter. Stop the process once a frame is fully decoded or an
28362           error occurred.
28363
28364 2013-01-18 14:46:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28365
28366         * gst-libs/gst/vaapi/gstvaapidisplay.c:
28367           display: move "vaapi" debug init to libgstvaapi_init_once().
28368
28369 2013-01-18 14:17:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28370
28371         * configure.ac:
28372         * gst-libs/gst/vaapi/Makefile.am:
28373         * gst-libs/gst/vaapi/gstvaapidisplay.c:
28374         * gst-libs/gst/vaapi/gstvaapiversion.h.in:
28375           display: dump gstreamer-vaapi version for debugging purposes.
28376
28377 2013-01-18 14:30:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28378
28379         * tests/Makefile.am:
28380           tests: simple-decoder: fix build with built-in videoutils.
28381           Fix build with built-in videoutils, i.e. when system GStreamer installation
28382           does not know about GstVideoDecoder API.
28383
28384 2013-01-18 10:35:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28385
28386         * tests/simple-decoder.c:
28387           tests: simple-decoder: flush decoded frames at EOS.
28388           Flush the remaining decoded frames when an end-of-stream is reached.
28389
28390 2013-01-18 10:25:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28391
28392         * tests/simple-decoder.c:
28393           tests: simple-decoder: drop use of GstVaapiVideoMeta.
28394           Don't use GstVaapiVideoMeta since that object is not guaranteed to live
28395           in libgstvaapi forever. Rather, that'd move to plugin elements at some
28396           point.
28397
28398 2013-01-16 13:53:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28399
28400         * tests/simple-decoder.c:
28401           tests: simple-decoder: add benchmark mode.
28402           Add --benchmark option to enable benchmark mode where rendering is not
28403           synchronized with presentation timestamps of the decoded surfaces.
28404
28405 2013-01-16 13:29:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28406
28407         * tests/Makefile.am:
28408         * tests/simple-decoder.c:
28409           tests: simple-decoder: honour framerate from the bitstream.
28410           Try to honour the framerate from the bitstream, or cap the playback to
28411           60 fps by default.
28412
28413 2013-01-15 18:49:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28414
28415         * tests/simple-decoder.c:
28416           tests: simple-decoder: set window size to the surface dimensions.
28417           Set the window size to the decoded surface dimensions, if the user has
28418           not requested the application to run in full-screen mode. Besides, no
28419           effort is made to preserve aspect ratio or to center the video within
28420           the mapped window.
28421
28422 2013-01-15 17:33:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28423
28424         * tests/Makefile.am:
28425         * tests/simple-decoder.c:
28426           tests: add simple decoder application.
28427           Add simple decoder application to show off decoding capabilities from
28428           raw bitstreams, for debugging or performance evaluation purposes.
28429
28430 2013-01-15 17:30:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28431
28432         * tests/Makefile.am:
28433         * tests/codec.c:
28434         * tests/codec.h:
28435           tests: add codec helper utils.
28436           Add helper functions to determine the codec type from a specific file
28437           or utility functions to convert from codec type to GstCaps or from
28438           codec name to codec type.
28439
28440 2013-01-15 17:47:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28441
28442         * tests/output.c:
28443           tests: allow fullscreen mode.
28444           Add new --fullscreen|-f option to create new windows in fullscreen mode.
28445
28446 2013-01-17 18:35:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28447
28448         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28449           h264: implement GstVaapiDecoder::flush() as a DPB flush.
28450
28451 2013-01-17 18:07:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28452
28453         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28454           h264: handle end-of-stream NALU.
28455           Handle <end-of-stream> NAL unit to actually flush any pending picture
28456           from the DPB.
28457
28458 2013-01-17 18:22:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28459
28460         * gst/vaapi/gstvaapidecode.c:
28461           vaapidecode: handle EOS events.
28462           Flush all decoded frames to downstream when EOS is received. This is
28463           performed by implementing GstVideoDecoder::finish() hook.
28464
28465 2013-01-17 18:19:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28466
28467         * gst/vaapi/gstvaapidecode.c:
28468           vaapidecode: split gvd_handle_frame() into decode/push frames.
28469           Split GstVideoDecoder::handle_frame() implementation into two functions:
28470           (i) one for decoding the provided GstVideoCodecFrame and (ii) another one
28471           for purging all decoded frames and submit them downstream.
28472
28473 2013-01-17 18:33:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28474
28475         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28476         * gst-libs/gst/vaapi/gstvaapidecoder.h:
28477           decoder: add GstVaapiDecoder::flush() hook.
28478
28479 2013-01-15 17:21:50 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28480
28481         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28482         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
28483           decoder: fix check for end-of-stream in raw API mode.
28484           Make sure to immediately return GST_VAAPI_DECODER_STATUS_END_OF_STREAM
28485           if the end-of-stream was already reached at the previous iteration.
28486
28487 2013-01-15 16:55:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28488
28489         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28490           decoder: make decode_step() return once the frame is decoded.
28491           Make sure we always have a free surface left to use for decoding the
28492           current frame. This means that decode_step() has to return once a frame
28493           gets decoded. If the current adapter contains more buffers with valid
28494           frames, they will get parsed and decoded on subsequent iterations.
28495
28496 2013-01-17 15:47:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28497
28498         * ext/codecparsers:
28499           codecparsers: update to gst-vaapi-branch commit b47983a.
28500           8840c2d h264: zero-initialize SPS VUI parameters
28501
28502 2013-01-15 09:21:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28503
28504         * configure.ac:
28505           Bump version for development.
28506
28507 2013-01-15 09:21:08 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28508
28509         * NEWS:
28510         * configure.ac:
28511           0.5.0.
28512
28513 2013-01-14 11:48:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28514
28515         * docs/reference/libs/libs-docs.xml.in:
28516         * docs/reference/libs/libs-sections.txt:
28517         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
28518         * gst-libs/gst/vaapi/gstvaapidisplay.c:
28519         * gst-libs/gst/vaapi/gstvaapiprofile.h:
28520           docs: expose new interfaces.
28521
28522 2013-01-14 12:58:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28523
28524         * NEWS:
28525           NEWS: updates.
28526
28527 2013-01-14 10:58:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28528
28529         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
28530           dpb: cosmetics (clean-ups).
28531
28532 2013-01-14 10:46:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28533
28534         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
28535         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
28536         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28537           dpb: port to GstVaapiMiniObject.
28538
28539 2013-01-14 10:21:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28540
28541         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
28542         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
28543         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28544           dpb: drop GstVaapiDpb2 interface, keep only one class.
28545           Keep only one DPB interface and rename gst_vaapi_dpb2_get_references()
28546           to gst_vaapi_dpb_get_neighbours() so that to retrieve pictures in DPB
28547           around the specified picture POC.
28548
28549 2012-08-02 15:56:54 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28550
28551         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
28552         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
28553         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28554           dpb: rename GstVaapiDpbMpeg2 to GstVaapiDpb2.
28555           Move GstVaapiDpbMpeg2 API to a more generic version that could also be
28556           useful to other decoders that require 2 reference pictures, e.g. VC-1.
28557           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28558
28559 2013-01-11 16:04:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28560
28561         * configure.ac:
28562           Bump version for pre-release.
28563
28564 2013-01-11 15:57:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28565
28566         * NEWS:
28567           NEWS: updates.
28568
28569 2012-07-20 12:36:33 +0200  Holger Kaelberer <holger.k@elberer.de>
28570
28571         * configure.ac:
28572         * gst-libs/gst/vaapi/gstvaapicontext.c:
28573         * gst-libs/gst/vaapi/gstvaapiutils.c:
28574         * gst-libs/gst/vaapi/sysdeps.h:
28575         * tests/test-subpicture.c:
28576           overlay: fix build without advanced GstVideoOverlayFormatFlags.
28577           Check for global-alpha support in GstVideoOverlayComposition API.
28578           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28579
28580 2013-01-04 10:19:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28581
28582         * tests/test-subpicture.c:
28583           tests: add support for global-alpha subpictures.
28584           Add --global-alpha option to test-subpicture.
28585
28586 2013-01-10 13:09:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28587
28588         * tests/Makefile.am:
28589         * tests/test-subpicture.c:
28590           tests: use GstVideoOverlayComposition API for subpicture test.
28591
28592 2013-01-10 11:26:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28593
28594         * tests/Makefile.am:
28595         * tests/test-subpicture.c:
28596           tests: use common decoder helpers for subpicture test.
28597           Use common decoder helpers for subpicture test, thus allowing to decode
28598           sample images in an alternate format.
28599
28600 2013-01-10 11:22:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28601
28602         * tests/Makefile.am:
28603         * tests/decoder.c:
28604         * tests/decoder.h:
28605         * tests/test-decode.c:
28606           tests: add decoder helpers.
28607
28608 2013-01-11 15:19:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28609
28610         * gst-libs/gst/vaapi/gstvaapicontext.c:
28611           overlay: fix ordering of composition layers.
28612           Make sure to maintain the association order of composition layers when
28613           GstVideoOverlayRectangle objects are kept around (cached).
28614
28615 2012-05-15 10:24:08 +0200  Holger Kaelberer <holger.k@elberer.de>
28616
28617         * gst-libs/gst/vaapi/gstvaapicontext.c:
28618           overlay: fix support for global-alpha.
28619           Fix support for global-alpha subpictures. The previous changes brought
28620           the ability to check for GstVideoOverlayRectangle changes by comparing
28621           the underlying pixel buffer pointers. If sequence number and pixel data
28622           did not change, then this is an indication that only the global-alpha
28623           value changed. Now, try to update the underlying VA subpicture global-alpha
28624           value.
28625           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28626
28627 2013-01-11 11:53:05 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28628
28629         * gst-libs/gst/vaapi/gstvaapicontext.c:
28630           overlay: detect render-rect changes.
28631           Don't re-upload VA subpicture if only the render rectangle changed.
28632           Rather deassociate the subpicture and re-associate it with the new
28633           render rectangle.
28634
28635 2013-01-11 11:12:26 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28636
28637         * gst-libs/gst/vaapi/gstvaapicontext.c:
28638           overlay: fix check for pixels buffer change.
28639           A GstVideoOverlayRectangle is created whenever the underlying pixels data
28640           change. However, when global-alpha is supported, it is possible to re-use
28641           the same GstVideoOverlayRectangle but with a change to the global-alpha
28642           value. This process causes a change of sequence number, so we can no longer
28643           check for that.
28644           Still, if sequence numbers did not change, then there was no change in
28645           global-alpha either. So, we need a way to compare the underlying GstBuffer
28646           pointers. There is no API to retrieve the original pixels buffer from
28647           a GstVideoOverlayRectangle. So, we use the following heuristics:
28648           1. Use gst_video_overlay_rectangle_get_pixels_unscaled_argb() with the same
28649           format flags from which the GstVideoOverlayRectangle was created. This
28650           will work if there was no prior consumer of the GstVideoOverlayRectangle
28651           with alternate (non-"native") format flags.
28652           2. In overlay_rectangle_has_changed_pixels(), we have to use the same
28653           gst_video_overlay_rectangle_get_pixels_unscaled_argb() function but
28654           with flags that match the subpicture. This is needed to cope with
28655           platforms that don't support global-alpha in HW, so the gst-video
28656           layer takes care of that and fixes this up with a possibly new
28657           GstBuffer, and hence pixels data (or) in-place by caching the current
28658           global-alpha value applied. So we have to determine the rectangle
28659           was previously used, based on what previous flags were used to
28660           retrieve the ARGB pixels buffer.
28661
28662 2013-01-10 18:42:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28663
28664         * gst-libs/gst/vaapi/gstvaapicontext.c:
28665           overlay: optimize cache at the GstVideoOverlayRectangle level.
28666           We previously assumed that an overlay composition changed if the number
28667           of overlay rectangles in there actually changed, or that the rectangle
28668           was updated, and thus its seqnum was also updated.
28669           Now, we can cope with cases where the GstVideoOverlayComposition grew
28670           by one or a few more overlay rectangles, and the initial overlay rectangles
28671           are kept as is.
28672
28673 2013-01-10 13:41:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28674
28675         * gst-libs/gst/vaapi/gstvaapicontext.c:
28676           overlay: simplify caching of GstVideoOverlayComposition objects.
28677           Create the GPtrArray once in the _init() function and destroy it only
28678           in the _finalize() function. Then use overlay_clear() to remove all
28679           subpicture associations for intermediate updates, don't recreate the
28680           GPtrArray.
28681           Make GstVaapiOverlayRectangle a reference counted object. Also make
28682           sure that overlay_rectangle_new() actually creates and associates the
28683           VA subpicture.
28684
28685 2012-05-15 10:24:08 +0200  Holger Kaelberer <holger.k@elberer.de>
28686
28687         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
28688         * gst-libs/gst/vaapi/gstvaapiutils.c:
28689         * gst-libs/gst/vaapi/gstvaapiutils.h:
28690           overlay: add support for global-alpha.
28691           Handle global-alpha from GstVideoOverlayComposition API. Likewise,
28692           the same code path could also work for premultiplied-alpha but this
28693           was not tested.
28694           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28695
28696 2012-05-15 10:24:08 +0200  Holger Kaelberer <holger.k@elberer.de>
28697
28698         * gst-libs/gst/vaapi/gstvaapidisplay.c:
28699         * gst-libs/gst/vaapi/gstvaapidisplay.h:
28700         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
28701         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
28702         * gst-libs/gst/vaapi/gstvaapisurface.c:
28703         * tests/image.c:
28704         * tests/test-subpicture.c:
28705           subpicture: add support for global-alpha.
28706           Add the necessary helpers in GstVaapiDisplay to determine whether subpictures
28707           with global alpha are supported or not. Also add accessors in GstVaapiSubpicture
28708           to address this feature.
28709           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28710
28711 2013-01-04 09:41:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28712
28713         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
28714         * gst-libs/gst/vaapi/gstvaapiutils.c:
28715         * gst-libs/gst/vaapi/gstvaapiutils.h:
28716           subpicture: add premultiplied-alpha and global-alpha feature flags.
28717           Add premultiplied-alpha and global-alpha feature flags, along with converters
28718           between VA-API and gstreamer-vaapi definitions. Another round of helpers is
28719           also necessary for GstVideoOverlayComposition API.
28720
28721 2013-01-03 18:02:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28722
28723         * gst-libs/gst/vaapi/gstvaapidisplay.c:
28724           display: allow image/subpicture formats with additional flags.
28725           Introduce new GstVaapiFormatInfo to store the actual GstVaapiImageFormat
28726           and any additional flags needed. Currently, all flags are set to zero.
28727
28728 2013-01-11 13:34:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28729
28730         * gst-libs/gst/codecparsers/Makefile.am:
28731         * gst-libs/gst/video/Makefile.am:
28732         * tests/Makefile.am:
28733           libs: fix build of submodule wrappers.
28734           Make sure to build codecparsers/ and videoutils/ sources against the
28735           newly generated headers when out-of-source builds are used.
28736
28737 2013-01-11 14:11:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28738
28739         * configure.ac:
28740           configure: fix checks for packages installed in non-standard roots.
28741
28742 2013-01-10 10:12:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28743
28744         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
28745           decoder: fix mini object implementation on 64-bit systems.
28746           Use GPOINTER_TO_SIZE() instead of GPOINTER_TO_UINT() while manipulating
28747           pointers. The latter is meant to be 32-bit only, not uintptr_t like size.
28748           Only a gsize can hold all bits of a pointer.
28749           Thanks to Ouping Zhang for spotting this error.
28750
28751 2013-01-09 16:05:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28752
28753         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28754           mpeg2: optimize scan for the end of the frame.
28755           Heuristic: if the second start-code is available, check whether that
28756           one marks the start of a new frame because e.g. this is a sequence
28757           or picture header. This doesn't save much, since we already cache the
28758           results.
28759
28760 2013-01-09 13:44:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28761
28762         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28763           mpeg2: optimize scan for start codes.
28764           Accelerate scan for start codes by skipping up to 3 bytes per iteration.
28765           A start code prefix is defined by the following bytes: 00 00 01. Thus,
28766           for any group of 3 bytes (xx yy zz), we have the following possible cases:
28767           1. If zz != 1, this cannot be a start code, then skip 3 bytes;
28768           2. If yy != 0, this cannot be a start code, then skip 2 bytes;
28769           3. If xx != 0 or zz != 1, this cannot be a start code, then skip 1 byte;
28770           4. xx == 00, yy == 00, zz == 1, we have match!
28771           This algorithm requires to peek bytes from the adapter. This increases the
28772           amount of bytes copied to a temporary buffer, but this process is much faster
28773           than scanning for all the bytes and using shift/masks. So, overall, this is
28774           a win.
28775
28776 2013-01-08 16:41:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28777
28778         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28779           mpeg2: drop useless gst_adapter_peek().
28780           Drop useless gst_adapter_peek() since the returned buffer was not used
28781           and this could incur superfluous memcpy().
28782
28783 2013-01-07 16:07:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28784
28785         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28786           mpeg2: cosmetics: move parse_slice() down.
28787
28788 2013-01-07 15:24:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28789
28790         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28791           mpeg2: avoid too many allocations of parser info objects.
28792           Move parsing back to decoding step, but keep functions separate for now.
28793           This is needed for future optimizations that may introduce some meta data
28794           for parsed info attached to codec frames.
28795
28796 2013-01-07 14:04:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28797
28798         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
28799         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
28800           decoder: decoder units are no longer dynamically allocated objects.
28801
28802 2013-01-07 13:59:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28803
28804         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28805         * gst-libs/gst/vaapi/gstvaapidecoder_frame.c:
28806         * gst-libs/gst/vaapi/gstvaapidecoder_frame.h:
28807           decoder: optimize pre-allocation of decoder units.
28808           Optimize pre-allocation of decoder units, thus avoiding un-necessary
28809           memory reallocations. The heuristic used is that we could have around
28810           one slice unit per macroblock line.
28811
28812 2013-01-07 13:41:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28813
28814         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28815         * gst-libs/gst/vaapi/gstvaapidecoder_frame.c:
28816         * gst-libs/gst/vaapi/gstvaapidecoder_frame.h:
28817         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
28818         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
28819           decoder: use an array of units instead of a single-linked list.
28820           Use a GArray to hold decoder units in a frame, instead of a single-linked
28821           list. This makes 'append' calls faster, but not that much. At least, this
28822           makes things clearer.
28823
28824 2013-01-07 11:13:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28825
28826         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28827         * gst-libs/gst/vaapi/gstvaapidecoder.h:
28828         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28829         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
28830         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28831         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
28832         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
28833         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
28834         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
28835           decoder: refactor decoder unit API.
28836           Allocate decoder unit earlier in the main parse() function and don't
28837           delegate this task to derived classes. The ultimate purpose is to get
28838           rid of dynamic allocation of decoder units.
28839
28840 2013-01-07 10:48:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28841
28842         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28843           mpeg2: introduce parser info instead of MPEG-2 specific decoder unit.
28844           Use a new GstVaapiParserInfoMpeg2 data structure instead of deriving
28845           from GstVaapiDecoderUnit for MPEG-2 specific parser information.
28846
28847 2013-01-07 10:22:54 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28848
28849         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28850           h264: introduce parser info instead of H.264 specific decoder unit.
28851           Use a new GstVaapiParserInfoH264 data structure instead of deriving
28852           from GstVaapiDecoderUnit for H.264 specific parser information.
28853
28854 2013-01-05 12:33:06 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28855
28856         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28857           h264: set default values for some header fields.
28858           The SPS, PPS and slice headers are not fully zero-initialized in the
28859           codecparsers/ library. Rather, the standard upstream behaviour is to
28860           initialize only certain syntax elements with some inferred values if
28861           they are not present in the bitstream.
28862           At the gstreamer-vaapi decoder level, we need to further initialize
28863           certain syntax elements with some sensible default values so that to
28864           not complicate VA drivers that just pass those verbatim to the HW,
28865           and also avoid an memset() of the whole decoder unit.
28866           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
28867           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28868
28869 2013-01-06 19:05:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28870
28871         * ext/codecparsers:
28872           codecparsers: update to gst-vaapi-rebased commit b47983a.
28873           b47983a h264: add inferred value for slice_beta_offset_div2
28874
28875 2013-01-05 17:55:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28876
28877         * gst/vaapi/gstvaapidecode.c:
28878         * gst/vaapi/gstvaapidownload.c:
28879         * gst/vaapi/gstvaapipluginbuffer.c:
28880         * gst/vaapi/gstvaapipluginbuffer.h:
28881         * gst/vaapi/gstvaapipostproc.c:
28882         * gst/vaapi/gstvaapisink.c:
28883         * gst/vaapi/gstvaapiupload.c:
28884         * gst/vaapi/gstvaapiuploader.c:
28885           plugins: cope with new GstVaapiVideoMeta API.
28886           Update plugin elements with the new GstVaapiVideoMeta API.
28887           This also fixes support for subpictures/overlay because GstVideoDecoder
28888           generates a sub-buffer from the GstVaapiVideoBuffer. So, that sub-buffer
28889           is marked as read-only. However, when comes in the textoverlay element
28890           for example, it checks whether the input buffer is writable. Since that
28891           buffer read-only, then a new GstBuffer is created. Since gst_buffer_copy()
28892           does not preserve the parent field, the generated buffer in textoverlay
28893           is not exploitable because we lost all VA specific information.
28894           Now, with GstVaapiVideoMeta information attached to a standard GstBuffer,
28895           all information are preserved through gst_buffer_copy() since the latter
28896           does copy metadata (qdata in this case).
28897
28898 2013-01-05 17:37:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28899
28900         * gst-libs/gst/vaapi/Makefile.am:
28901         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
28902         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
28903         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c:
28904         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.h:
28905         * gst-libs/gst/vaapi/gstvaapivideobuffer_priv.h:
28906         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
28907           videobuffer: wrap video meta into a surface buffer.
28908           Make GstVaapiVideoBuffer a simple wrapper for video meta. This buffer is
28909           no longer necessary but for compatibility with GStreamer 0.10 APIs or users
28910           expecting a GstSurfaceBuffer like Clutter.
28911
28912 2013-01-05 08:31:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28913
28914         * gst-libs/gst/vaapi/Makefile.am:
28915         * gst-libs/gst/vaapi/gstvaapivideometa.c:
28916         * gst-libs/gst/vaapi/gstvaapivideometa.h:
28917           videobuffer: add video meta information.
28918           Add new GstVaapiVideoMeta object that holds all information needed to
28919           convey gst-vaapi specific data as a GstBuffer.
28920
28921 2013-01-03 13:10:33 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28922
28923         * gst/vaapi/gstvaapidecode.c:
28924           vaapidecode: fix calculation of the time-out value.
28925           Fix calculation of the time-out value for cases where no VA surface is
28926           available for decoding. In this case, we need to wait until downstream
28927           sink consumed at least one surface. The time-out was miscalculated as
28928           it was always set to <current-time> + one second, which is not suitable
28929           for streams with larger gaps.
28930
28931 2013-01-03 13:05:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28932
28933         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
28934           decoder: always use the calculated presentation timestamp.
28935           Use PTS value computed by the decoder, which could also be derived from
28936           the GstVideoCodecFrame PTS. This makes it possible to fix up the PTS if
28937           the original one was miscomputed or only represented a DTS instead.
28938
28939 2013-01-02 17:33:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28940
28941         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
28942           h264: don't create sub-buffer for slice data.
28943
28944 2013-01-03 11:16:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28945
28946         * gst-libs/gst/vaapi/gstvaapidecoder.c:
28947           decoder: create new context when encoded resolution changes.
28948           Create a new VA context if the encoded surface size changes because we
28949           need to keep the underlying surface pool until the last one was released.
28950           Otherwise, either of the following cases could have happened: (i) release
28951           a VA surface to an inexistent pool, or (ii) release VA surface to an
28952           existing surface pool, but with different size.
28953
28954 2013-01-02 17:23:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28955
28956         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28957           mpeg2: don't create sub-buffer for slice data.
28958           Avoid creating a GstBuffer for slice data. Rather, directly use the codec
28959           frame input buffer data. This is possible because the codec frame is valid
28960           until end_frame() where we submit the VA buffers for decoding. Anyway, the
28961           slice data buffer is copied into the VA buffer when it is created.
28962
28963 2013-01-02 14:45:50 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28964
28965         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28966           mpeg2: minor clean-ups.
28967           Drop explicit initialization of most fields that are implicitly set to
28968           zero. Remove some useless checks for NULL pointers.
28969
28970 2013-01-02 14:18:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28971
28972         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28973           mpeg2: optimize scan for the second start code.
28974           Optimize scan for the second start code, on the next parse() call so that
28975           to avoid scanning again earlier bytes where we didn't find any start code.
28976
28977 2013-01-02 14:10:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28978
28979         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28980           mpeg2: use sequence_display_extension() to compute PAR.
28981           Also compute pixel-aspect-ratio from sequence_display_extension(),
28982           should it exist in the bitstream.
28983
28984 2013-01-02 14:02:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28985
28986         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28987           mpeg2: handle sequence_display_extension().
28988
28989 2012-12-27 15:18:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28990
28991         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
28992           mpeg2: implement {start,end}_frame() hooks.
28993           Implement GstVaapiDecoder.start_frame() and end_frame() semantics so
28994           that to create new VA context earlier and submit VA pictures to the
28995           HW for decoding as soon as possible. i.e. don't wait for the next
28996           frame to start decoding the previous one.
28997
28998 2012-12-27 14:54:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
28999
29000         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29001           mpeg2: parse slice() header earlier.
29002           Parse slice() header and first macroblock position earlier in _parse()
29003           function instead of waiting for the _decode() stage. This doesn't change
29004           anything but readability.
29005
29006 2012-12-27 14:41:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29007
29008         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29009           mpeg2: add codec specific decoder unit.
29010           Introduce new GstVaapiDecoderUnitMpeg2 object, which holds the standard
29011           GstMpegVideoPacket and additional parsed header info. Besides, we now
29012           parse as early as in the _parse() function so that to avoid un-necessary
29013           creation of sub-buffers in _decode() for video packets that are not slices.
29014
29015 2012-12-27 18:52:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29016
29017         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29018         * gst-libs/gst/vaapi/gstvaapidecoder_frame.c:
29019         * gst-libs/gst/vaapi/gstvaapidecoder_frame.h:
29020         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
29021           decoder: introduce lists of units to decode before/after frame.
29022           Theory of operations: all units marked as "slice" are moved to the "units"
29023           list. Since this list only contains slice data units, the prev_slice pointer
29024           was removed. Besides, we now maintain two extra lists of units to be decoded
29025           before or after slice data units.
29026           In particular, all units in the "pre_units" list will be decoded before
29027           GstVaapiDecoder::start_frame() is called and units in the "post_units"
29028           list will be decoded after GstVaapiDecoder::end_frame() is called.
29029
29030 2013-01-02 16:06:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29031
29032         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
29033         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29034           decoder: drop useless checks for codec objects.
29035           Codec objects are used internally only and they are bound to be created
29036           with a valid GstVaapiDecoder object.
29037
29038 2012-12-27 10:35:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29039
29040         * gst/vaapi/gstvaapidecode.c:
29041           vaapidecode: use GST_ERROR to print error messages.
29042
29043 2012-12-27 09:55:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29044
29045         * gst/vaapi/gstvaapidecode.c:
29046           vaapidecode: avoid double release of frame on error.
29047           Don't call gst_video_decoder_drop_frame() if gst_video_decoder_finish_frame()
29048           was already called before and it returned an error. In that case, we were
29049           releasing the frame again, thus leading to a "double-free" condition.
29050
29051 2012-12-21 14:29:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29052
29053         * .gitmodules:
29054         * autogen.sh:
29055         * configure.ac:
29056         * ext/Makefile.am:
29057         * ext/videoutils:
29058         * gst-libs/gst/Makefile.am:
29059         * gst-libs/gst/vaapi/Makefile.am:
29060         * gst-libs/gst/video/Makefile.am:
29061         * gst/vaapi/Makefile.am:
29062           Add videoutils submodule for GstVideoDecoder APIs.
29063
29064 2012-12-18 16:36:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29065
29066         * configure.ac:
29067           configure: check for GstVideoDecoder API.
29068           GstVideoDecoder API is part of an unreleased GStreamer 0.10 stack. In particular,
29069           this is only available in git 0.10 branch or GStreamer >= 1.0 stack. Interested
29070           parties may either use upstream git 0.10 branch or backport the necessary support
29071           for GstVideoDecoder API, thus including helper tools like GstVideoCodecFrame et al.
29072
29073 2012-12-18 16:21:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29074
29075         * docs/reference/libs/libs.core.types:
29076           docs: remove obsolete gst_vaapi_surface_proxy_get_type().
29077           GstVaapiSurfaceProxy is no longer based on the GType system.
29078
29079 2012-12-18 16:17:22 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29080
29081         * docs/reference/libs/libs-sections.txt:
29082           docs: fix entries for GstVaapiSurfaceProxy.
29083
29084 2012-12-18 15:29:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29085
29086         * NEWS:
29087           NEWS: updates.
29088
29089 2012-12-18 15:15:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29090
29091         * configure.ac:
29092         * gst-libs/gst/vaapi/Makefile.am:
29093           Bump library major version.
29094           Increase library major so that to cope with API/ABI incompatible changes
29095           since 0.4.x series and avoid user issues.
29096
29097 2012-12-13 16:02:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29098
29099         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
29100           surfaceproxy: minor clean-ups.
29101
29102 2012-12-13 15:51:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29103
29104         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29105         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
29106         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
29107           surfaceproxy: drop accessors to obsolete attributes.
29108           Make GstVaapiSurfaceProxy only a thin wrapper around a VA context and a
29109           VA surface. i.e. drop any other attribute like timestamp, duration,
29110           interlaced or top-field-first.
29111
29112 2012-12-13 15:34:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29113
29114         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29115         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29116         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
29117         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
29118         * gst/vaapi/gstvaapidecode.c:
29119           decoder: maintain decoded frames as GstVideoCodecFrame objects.
29120           Maintain decoded surfaces as GstVideoCodecFrame objects instead of
29121           GstVaapiSurfaceProxy objects. The latter will tend to be reduced to
29122           the strict minimum: a context and a surface.
29123
29124 2012-12-13 14:30:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29125
29126         * gst/vaapi/gstvaapidecode.c:
29127           vaapidecode: output all decoded frames as soon as possible.
29128           Make sure to push all decoded frames downstream as soon as possible.
29129           This makes sure we don't need to wait for a new frame to be ready to
29130           be decoded before receiving new decoded frames.
29131           This also separates the decode process and the output process. The latter
29132           could be moved to a specific GstTask later on.
29133
29134 2012-12-13 14:27:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29135
29136         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29137         * gst-libs/gst/vaapi/gstvaapidecoder.h:
29138           decoder: add gst_vaapi_decoder_get_frame() API.
29139           Add new gst_vaapi_decoder_get_frame() function meant to be used with
29140           gst_vaapi_decoder_decode(). The purpose is to return the next decoded
29141           frame as a GstVideoCodecFrame and the associated GstVaapiSurfaceProxy
29142           as the user-data object.
29143
29144 2012-12-13 15:47:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29145
29146         * gst/vaapi/gstvaapipostproc.c:
29147           vaapipostproc: use GstBuffer flags for TFF.
29148           Determine whether the buffer represents the top-field only by checking for
29149           the GST_VIDEO_BUFFER_TFF flag instead of relying on the GstVaapiSurfaceProxy
29150           flag. Also trust "interlaced" caps to determine whether the input frame
29151           is interleaved or not.
29152
29153 2012-12-13 13:27:33 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29154
29155         * gst/vaapi/gstvaapipostproc.c:
29156           vaapipostproc: handle video sub-buffers.
29157           Intermediate elements may produce a sub-buffer from a valid GstVaapiVideoBuffer
29158           for non raw YUV cases. Make sure vaapipostproc now understands those buffers.
29159
29160 2012-12-18 14:57:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29161
29162         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29163           h264: optimize initialization process of decoder units.
29164           Decoder units were zero-initialized, including the SPS/PPS/slice headers.
29165           The latter don't require zero-initialization since the codecparsers/ lib
29166           will do so for key variables already. This is not a great value per se but
29167           at least it makes it possible to check whether the default initialization
29168           decisions made in the codecparsers/ lib were right or not.
29169           This can be reverted if this exposes too many issues.
29170
29171 2012-12-13 11:48:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29172
29173         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29174           h264: minor clean-ups.
29175           Drop explicit initialization of most fields that are implicitly set to
29176           zero. Drop helper macros for casting to GstVaapiPictureH264 or
29177           GstVaapiFrameStore. Also remove some useless checks for NULL pointers.
29178
29179 2012-12-07 17:45:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29180
29181         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29182           h264: drop GstVaapiSliceH264 object.
29183           Use standard GstVaapiSlice object from now on since we already have
29184           parsed and recorded the slice headers (GstH264SliceHdr decode units).
29185
29186 2012-12-13 10:47:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29187
29188         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29189           h264: detect new pictures from decode-units.
29190           Update is_new_picture() to cope with GstVaapiDecoderUnitH264, instead
29191           of assuming frame boundaries when first_mb_in_slice is zero.
29192
29193 2012-12-13 10:21:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29194
29195         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29196           h264: implement {start,end}_frame() hooks.
29197           Implement GstVaapiDecoder.start_frame() and end_frame() semantics so
29198           that to create new VA context earlier and submit VA pictures to the
29199           HW for decoding as soon as possible. i.e. don't wait for the next
29200           frame to start decoding the previous one.
29201
29202 2012-12-12 18:33:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29203
29204         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29205           h264: optimize scan for the second start code.
29206           Optimize scan for the second start code, on the next parse() call so that
29207           to avoid scanning again earlier bytes where we didn't find any start code.
29208
29209 2012-12-06 17:25:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29210
29211         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29212           h264: add codec specific decoder unit.
29213           Introduce new GstVaapiDecoderUnitH264 object, which holds the standard
29214           NAL unit header (GstH264NalUnit) and additional parsed header info.
29215           Besides, we now parse headers as early as in the _parse() function so
29216           that to avoid un-necessary creation of sub-buffers in _decode() for
29217           NAL units that are not slices.
29218           This is a performance win by ~+1.1% only.
29219
29220 2012-12-04 11:01:42 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29221
29222         * gst/vaapi/gstvaapisink.c:
29223           vaapisink: handle sub video-buffers.
29224           Intermediate elements may produce a sub-buffer from a valid GstVaapiVideoBuffer
29225           for non raw YUV cases. Make sure vaapisink now understands those buffers.
29226
29227 2012-12-12 15:22:32 +0100  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29228
29229         * gst/vaapi/gstvaapidecode.c:
29230           vaapidecode: use gst_vaapi_decoder_get_codec_state().
29231           Directly use the GstVideoCodecState associated with the VA decoder
29232           instead of parsing caps again.
29233           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29234           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29235
29236 2012-12-04 14:53:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29237
29238         * gst/vaapi/gstvaapidecode.c:
29239           vaapidecode: use more standard helpers.
29240           Use g_clear_object() [glib >= 2.28] and gst_caps_replace() helper functions
29241           in more places.
29242
29243 2012-12-04 14:45:29 +0100  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29244
29245         * gst/vaapi/gstvaapidecode.c:
29246         * gst/vaapi/gstvaapidecode.h:
29247           vaapidecode: move to GstVideoDecoder base class.
29248           Make vaapidecode derive from the standard GstVideoDecoder base element
29249           class. This simplifies the code to the strict minimum for the decoder
29250           element and makes it easier to port to GStreamer 1.x API.
29251           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29252           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29253
29254 2012-12-06 14:02:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29255
29256         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
29257           jpeg: initial port to new GstVaapiDecoder API
29258
29259 2012-12-06 14:02:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29260
29261         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
29262           vc1: initial port to new GstVaapiDecoder API
29263
29264 2012-12-06 14:02:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29265
29266         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29267           h264: initial port to new GstVaapiDecoder API
29268
29269 2012-12-17 09:47:20 -0800  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29270
29271         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
29272           mpeg4: initial port to new GstVaapiDecoder API
29273
29274 2012-12-06 14:01:46 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29275
29276         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29277           mpeg2: initial port to new GstVaapiDecoder API.
29278
29279 2012-12-12 15:09:21 +0100  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29280
29281         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29282         * gst-libs/gst/vaapi/gstvaapidecoder.h:
29283         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
29284         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
29285         * gst-libs/gst/vaapi/gstvaapiprofile.c:
29286         * gst-libs/gst/vaapi/gstvaapiprofile.h:
29287           decoder: use GstVideoCodecState.
29288           Use standard GstVideoCodecState throughout GstVaapiDecoder and expose
29289           it with a new gst_vaapi_decoder_get_codec_state() function. This makes
29290           it possible to drop picture size (width, height) information, framerate
29291           (fps_n, fps_d) information, pixel aspect ratio (par_n, par_d) information,
29292           and interlace mode (is_interlaced field).
29293           This is a new API with backwards compatibility maintained. In particular,
29294           gst_vaapi_decoder_get_caps() is still available.
29295           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29296           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29297
29298 2012-12-12 13:44:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29299
29300         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29301         * gst-libs/gst/vaapi/gstvaapidecoder.h:
29302         * tests/test-decode.c:
29303         * tests/test-subpicture.c:
29304           decoder: update gst_vaapi_decoder_get_surface() semantics.
29305           Align gst_vaapi_decoder_get_surface() semantics with the rest of the
29306           API. That is, return a GstVaapiDecoderStatus and the decoded surface
29307           as a handle to GstVaapiSurfaceProxy in parameter.
29308           This is an API/ABI change.
29309
29310 2012-12-07 16:40:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29311
29312         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29313           decoder: use standard helper functions.
29314           Use g_clear_object(), gst_buffer_replace() and gst_caps_replace()
29315           whenever necessary.
29316
29317 2012-11-29 15:06:00 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29318
29319         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29320         * gst-libs/gst/vaapi/gstvaapidecoder.h:
29321         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29322           decoder: expose new parse/decode API.
29323           Introduce new decoding process whereby a GstVideoCodecFrame is created
29324           first. Next, input stream buffers are accumulated into a GstAdapter,
29325           that is then passed to the _parse() function. The GstVaapiDecoder object
29326           accumulates all parsed units and when a complete frame or field is
29327           detected, that GstVideoCodecFrame is passed to the _decode() function.
29328           Ultimately, the caller receives a GstVaapiSurfaceProxy if decoding
29329           process was successful.
29330
29331 2012-12-13 10:20:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29332
29333         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29334         * gst-libs/gst/vaapi/gstvaapidecoder.h:
29335           decoder: add {start,end}_frame() hooks.
29336           The start_frame() hook is called prior to traversing all decode-units
29337           for decoding. The unit argument represents the first slice in the frame.
29338           Some codecs (e.g. H.264) need to wait for the first slice in order to
29339           determine the actual VA context parameters.
29340
29341 2012-12-06 13:57:42 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29342
29343         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29344         * gst-libs/gst/vaapi/gstvaapidecoder.h:
29345         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
29346           decoder: add new GstVaapiDecoder API.
29347           Split decoding process into two steps: (i) parse incoming bitstreams
29348           into simple decoder-units until the frame or field is complete; and
29349           (ii) decode the whole frame or field at once.
29350           This is an ABI change.
29351
29352 2012-12-05 10:51:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29353
29354         * gst-libs/gst/vaapi/Makefile.am:
29355         * gst-libs/gst/vaapi/gstvaapidecoder_frame.c:
29356         * gst-libs/gst/vaapi/gstvaapidecoder_frame.h:
29357           decoder: add new "decoder-frame" object.
29358           Introduce a new GstVaapiDecoderFrame that is just a list of decoder units
29359           (GstVaapiDecoderUnit objects) that constitute a frame. This object is just
29360           an extension to GstVideoCodecFrame for VA decoder purposes. It is available
29361           as the user-data member element.
29362           This is a libgstvaapi internal object.
29363
29364 2012-12-06 09:44:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29365
29366         * gst-libs/gst/vaapi/Makefile.am:
29367         * gst-libs/gst/vaapi/gstvaapidecoder_unit.c:
29368         * gst-libs/gst/vaapi/gstvaapidecoder_unit.h:
29369           decoder: add new "decoder-unit" object.
29370           Introduce GstVaapiDecoderUnit which represents a fragment of the source
29371           stream to be decoded. For instance, a decode-unit will be a NAL unit for
29372           H.264 streams, an EBDU for VC-1 streams, and a video packet for MPEG-2
29373           streams.
29374           This is a libgstvaapi internal object.
29375
29376 2012-12-03 14:09:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29377
29378         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29379           Port GstVaapiFrameStore to GstVaapiMiniObject.
29380
29381 2012-12-03 11:19:08 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29382
29383         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
29384         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
29385         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29386         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29387         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
29388           Port codec objects to GstVaapiMiniObject.
29389
29390 2012-12-03 13:46:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29391
29392         * gst-libs/gst/vaapi/gstvaapidecoder.c:
29393         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29394         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
29395         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
29396         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
29397         * gst/vaapi/gstvaapidecode.c:
29398         * gst/vaapi/gstvaapipluginbuffer.c:
29399         * tests/test-decode.c:
29400         * tests/test-subpicture.c:
29401           surfaceproxy: port to GstVaapiMiniObject.
29402           GstVaapiSurfaceProxy does not use any particular functionality from
29403           GObject. Actually, it only needs a basic object type with reference
29404           counting.
29405           This is an API and ABI change.
29406
29407 2012-11-30 17:25:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29408
29409         * gst-libs/gst/vaapi/Makefile.am:
29410         * gst-libs/gst/vaapi/gstvaapiminiobject.c:
29411         * gst-libs/gst/vaapi/gstvaapiminiobject.h:
29412           Add GstVaapiMiniObject.
29413           Introduce a new reference counted object that is very lightweight and
29414           also provides flags and user-data functionalities. Initialization and
29415           finalization times are reduced by up to a factor 5x vs GstMiniObject
29416           from GStreamer 0.10 stack.
29417           This is a libgstvaapi internal object.
29418
29419 2012-12-17 02:51:17 -0800  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29420
29421         * tests/Makefile.am:
29422         * tests/test-decode.c:
29423         * tests/test-mpeg4.c:
29424         * tests/test-mpeg4.h:
29425           tests: add test for MPEG-4:2 decoding.
29426
29427 2012-12-17 04:42:29 -0800  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29428
29429         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29430           h264: initialize VA context before allocating the first slice.
29431           Fix decode_slice() to ensure a VA context exists prior to creating a
29432           new GstVaapiSliceH264, which invokes vaCreateBuffer() with some VA
29433           context ID. i.e. the latter was not initialized, thus causing failures
29434           on Cedar Trail for example.
29435
29436 2012-12-05 09:15:32 +0800  Zhao Halley <halley.zhao@intel.com>
29437
29438         * configure.ac:
29439           configure: install plugin elements in GST_PLUGIN_PATH, if set.
29440           If GST_PLUGIN_PATH environment variable exists and points to a valid
29441           directory, then use it as the system installation path for gst-vaapi
29442           plugin elements.
29443           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29444
29445 2012-12-17 14:27:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29446
29447         * configure.ac:
29448           configure: downgrade glib required version to 2.28.
29449
29450 2012-12-17 09:41:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29451
29452         * gst-libs/gst/vaapi/glibcompat.h:
29453         * gst/vaapi/gstvaapi.c:
29454           libs: fix compatibility with glib 2.28.
29455           Always prefer non deprecated APIs by default and provide compatibility
29456           glue for older glib versions when necessary.
29457
29458 2012-12-17 10:10:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29459
29460         * gst-libs/gst/vaapi/gstvaapidisplay.c:
29461         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
29462         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
29463         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
29464           libs: use glib >= 2.32 semantics for mutexes.
29465           Use glib >= 2.32 semantics for GMutex and GRecMutex wrt. initialization
29466           and termination. Basically, the new mutex objects can be used as static
29467           mutex objects from the deprecated APIs, e.g. GStaticMutex and GStaticRecMutex.
29468
29469 2012-12-17 04:15:53 -0800  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29470
29471         * gst-libs/gst/vaapi/Makefile.am:
29472           libs: only export gst_vaapi_*() symbols.
29473           This fixes symbol clashes between the gst-vaapi built-in codecparsers/
29474           library and the system-provided one, mainly used by videoparses/. Now,
29475           only symbols with the gst_vaapi_* prefix will be exported, if they are
29476           not marked as "hidden" to libgstvaapi.
29477
29478 2012-11-20 18:21:41 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29479
29480         * gst/vaapi/gstvaapiuploader.c:
29481           vaapiupload: reset direct-rendering to zero when changing caps.
29482           Make sure to reset direct-rendering flag to zero when caps are changed,
29483           and only derive it to one when the next checks succeed.
29484
29485 2012-11-20 14:42:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29486
29487         * gst/vaapi/gstvaapiupload.c:
29488           vaapiupload: fix sink caps to report the supported set of YUV caps.
29489           Try to allocate the GstVaapiUploader helper object prior to listing the
29490           supported image formats. Otherwise, only a single generic caps is output
29491           with no particular pixel format referenced in there.
29492
29493 2012-11-20 14:32:40 +0100  Zhao Halley <halley.zhao@intel.com>
29494
29495         * gst/vaapi/gstvaapiupload.c:
29496         * gst/vaapi/gstvaapiupload.h:
29497           vaapiupload: use new GstVaapiUploader helper.
29498           Use GstVaapiUploader helper that automatically handles direct rendering
29499           mode, thus making the "direct-rendering" property obsolete and hence it
29500           is now removed.
29501           The "direct-rendering" level 2, i.e. exposing VA surface buffers, was never
29502           really well supported and it could actually trigger degraded performance.
29503           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29504
29505 2012-11-20 15:50:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29506
29507         * gst/vaapi/gstvaapisink.c:
29508         * gst/vaapi/gstvaapiuploader.c:
29509         * gst/vaapi/gstvaapiuploader.h:
29510           vaapisink: compute and expose the supported set of YUV caps.
29511           Make vaapisink expose only the set of supported caps for raw YUV buffers.
29512           Add gst_vaapi_uploader_get_caps() helper function to determine the set
29513           of supported YUV caps as source (for images). This function actually
29514           tries to zero and upload each image to a 64x64 test surface. Of course,
29515           this relies on VA drivers to not claim success if vaPutImage() is not
29516           correctly supported.
29517
29518 2012-11-20 14:28:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29519
29520         * NEWS:
29521         * gst/vaapi/Makefile.am:
29522         * gst/vaapi/gstvaapisink.c:
29523         * gst/vaapi/gstvaapisink.h:
29524         * gst/vaapi/gstvaapiuploader.c:
29525         * gst/vaapi/gstvaapiuploader.h:
29526           vaapisink: add support for raw YUV buffers.
29527           Add new GstVaapiUploader helper to upload raw YUV buffers to VA surfaces.
29528           It is up to the caller to negotiate source caps (for images) and output
29529           caps (for surfaces). gst_vaapi_uploader_has_direct_rendering() is available
29530           to help decide between the creation of a GstVaapiVideoBuffer or a regular
29531           GstBuffer on sink pads.
29532           Signed-off-by: Zhao Halley <halley.zhao@intel.com>
29533           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29534
29535 2012-11-20 14:36:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29536
29537         * gst-libs/gst/vaapi/gstvaapiimage.c:
29538           image: fix GstVaapiImage map and unmap.
29539           Fix gst_vaapi_image_map() to return TRUE and the GstVaapiImageRaw
29540           structure correctly filled in if the image was already mapped.
29541           Likewise, make gst_vaapi_image_unmap() return TRUE if the image
29542           was already unmapped.
29543
29544 2012-10-30 13:15:45 +0800  Wind Yuan <feng.yuan@intel.com>
29545
29546         * NEWS:
29547         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
29548           videobuffer: fix memory leak for surface and image.
29549           Fix reference leak of surface and image in GstVaapiVideoBuffer wrapper,
29550           thus resulting on actual memory leak of GstVaapiImage when using them
29551           for downloads/uploads from VA surfaces and more specifically surfaces
29552           when the pipeline is shutdown. i.e. vaTerminate() was never called
29553           because the resources were not unreferenced, and thus not deallocated
29554           in the end.
29555           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29556
29557 2012-11-19 10:04:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29558
29559         * NEWS:
29560           NEWS: updates.
29561
29562 2012-11-16 18:00:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29563
29564         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29565           h264: fix picture size in macroblocks.
29566           The picture size signalled by sps->{width,height} is the actual size with
29567           cropping applied, not the original size derived from pic_width_in_mbs_minus1
29568           and pic_height_in_map_units_minus1. VA driver expects that original size,
29569           uncropped.
29570           There is another issue pending: frame cropping information needs to be
29571           taken care of.
29572
29573 2012-11-16 16:18:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29574
29575         * gst-libs/gst/codecparsers/Makefile.am:
29576           codecparsers: always build parserutils first.
29577           Fix commit 18245b4 so that to link and build parserutils.[ch] first.
29578           This is needed since that's the common dependency for actual codec
29579           parsers (gstvc1parser.c for instance).
29580
29581 2012-11-15 17:50:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29582
29583         * gst-libs/gst/codecparsers/Makefile.am:
29584           codecparsers: always build the VC-1 parser library.
29585           ... this is useful to make sure pixel-aspect-ratio and framerate
29586           information are correctly parsed since we have no means to detect
29587           that at configure time.
29588
29589 2012-11-08 11:40:47 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29590
29591         * configure.ac:
29592         * gst-libs/gst/codecparsers/Makefile.am:
29593         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29594           mpeg2: fix PAR calculation from commit bd11bae.
29595           Invoke gst_mpeg_video_finalise_mpeg2_sequence_header() to get the
29596           correct PAR values. While doing so, require a newer version of the
29597           bitstream parser library.
29598           Note: it may be necessary to also parse the Sequence_Display_Extension()
29599           header.
29600           Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
29601           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29602
29603 2012-11-15 15:00:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29604
29605         * gst-libs/gst/vaapi/Makefile.am:
29606           Fix build with the GNU gold linker.
29607           In particular, fix libgstvaapi-glx DSO dependencies to include libgstbase
29608           and libgstvideo libs, e.g. for gst_video_buffer_get_overlay_composition().
29609
29610 2012-11-02 18:18:37 +0000  Rob Bradford <rob@linux.intel.com>
29611
29612         * configure.ac:
29613         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
29614         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
29615         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
29616           wayland: port to 1.0 version of the protocol.
29617           This patch updates to relect the 1.0 version of the protocol. The main
29618           changes are the switch to wl_registry for global object notifications
29619           and the way that the event queue and file descriptor is processed.
29620           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29621
29622 2012-11-14 19:22:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29623
29624         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29625           h264: fix incorrect integration of previous commit (4d31e1e).
29626           git am got confused somehow, though the end result doesn't change at
29627           all since we require both SPS and PPS to be parsed prior to decoding
29628           the first slice.
29629
29630 2012-11-14 18:40:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29631
29632         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29633           h264: start decoding slices after first SPS/PPS activation.
29634           Only start decoding slices when at least one SPS and PPS got activated.
29635           This fixes cases when a source represents a substream of another stream
29636           and no SPS and PPS was inserted before the first slice of the generated
29637           substream.
29638
29639 2012-11-14 14:25:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29640
29641         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29642           h264: fix VAPictureParameterBufferH264.ReferenceFrames[] construction.
29643           ... for interlaced streams. The short_ref[] and long_ref[] arrays may
29644           contain up to 32 fields but VA ReferenceFrames[] array expects up to
29645           16 reference frames, thus including both fields.
29646
29647 2012-11-14 10:27:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29648
29649         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29650           h264: fix interlaced stream decoding with MMCO.
29651           Fix decoding of interlaced streams when adaptive_ref_pic_marking_mode_flag
29652           is equal to 1, i.e. when memory management control operations are used. In
29653           particular, when field_pic_flag is set to 0, the new reference flags shall
29654           be applied to both fields.
29655
29656 2012-11-13 17:14:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29657
29658         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29659           h264: add initial support for interlaced streams.
29660           Decoded frames are only output when they are complete, i.e. when both
29661           fields are decoded. This also means that the "interlaced" caps is not
29662           propagated to vaapipostproc or vaapisink elements. Another limitation
29663           is that interlaced bitstreams with MMCO are unlikely to work.
29664
29665 2012-11-13 16:35:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29666
29667         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29668           h264: split remove_reference_at() into finer units.
29669           Split remove_reference_at() into a function that actually removes the
29670           specified entry from the short-term or long-term reference picture array,
29671           and a function that sets reference flags to the desired value, possibly
29672           zero. The latters marks the picture as "unused for reference".
29673
29674 2012-10-23 14:04:22 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29675
29676         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
29677           decoder: fix gst_vaapi_picture_new_field() object type.
29678           Fix gst_vaapi_picture_new_field() to preserve the original picture type.
29679           e.g. gst_vaapi_picture_new_field() with a GstVaapiPictureH264 argument
29680           shall generate a GstVaapiPictureH264 object.
29681
29682 2012-11-13 14:04:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29683
29684         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29685           h264: add picture structure for reference picture marking process.
29686           Introduce new `structure' field to the H.264 specific picture structure
29687           so that to simplify the reference picture marking process. That local
29688           picture structure is derived from the original picture structure, as
29689           defined by the syntax elements field_pic_flag and bottom_field_flag.
29690
29691 2012-11-02 15:14:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29692
29693         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29694           h264: introduce new frame store structure.
29695           The frame store represents a Decoded Picture Buffer entry, which can
29696           hold up to two fields. So far, the frame store is only used to hold
29697           full frames.
29698
29699 2012-11-13 10:10:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29700
29701         * ext/codecparsers:
29702           codecparsers: update to gst-vaapi-rebased commit 73d6aab.
29703           73d6aab h264: fix rbsp_more_data() implementation
29704           25d04cf h264: fix error code for invalid size parsed in SPS
29705           84798e5 fix FSF address
29706
29707 2012-10-31 16:37:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29708
29709         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29710           h264: minor clean-ups.
29711           Move DPB flush up if the current picture to decode is an IDR. Besides,
29712           don't bother to check for IDR pictures in dpb_add() function since an
29713           explicit DPB flush was already performed in this case.
29714
29715 2012-10-31 14:24:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29716
29717         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29718           h264: simplify reference picture marking process.
29719           ... to build the short_ref[] and long_ref[] lists from the DPB, instead
29720           of maintaining them separately. This avoids refs/unrefs while making it
29721           possible to generate the list based on the actual picture structure.
29722           This also ensures that the list of generated ReferenceFrames[] actually
29723           matches what reference frames are available in the DPB. i.e. short_ref[]
29724           and long_ref[] entries are implied from the DPB, so there is no risk of
29725           having "dangling" references.
29726
29727 2012-10-31 11:52:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29728
29729         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29730           h264: introduce per-field POC in GstVaapiPictureH264.
29731           Use the POC member available in the GstVaapiPicture base class and
29732           get rid of the dependency on the local VAPictureH264 TopFieldOrderCnt
29733           and BottomFieldOrderCnt. Rather, use a simple field_poc[] array
29734           initialized to INT_MAX, so that to simplify picture POC calculation
29735           for non frame pictures.
29736
29737 2012-10-31 11:45:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29738
29739         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29740           h264: introduce GST_VAAPI_PICTURE_{SHORT,LONG}_TERM_REFERENCE flags.
29741           Further get rid of GstVaapiPictureH264-local VAPictureH264.flags for
29742           reference bits, thus simplifying the reference picture marking process
29743           to only track a single set of reference flags. Also introduce a new
29744           long_term_frame_idx member.
29745
29746 2012-10-31 11:33:40 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29747
29748         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29749           h264: introduce GST_VAAPI_PICTURE_FLAG_IDR flag.
29750
29751 2012-10-31 10:56:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29752
29753         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29754           h264: fill in GstVaapiPicture structure.
29755           ... and get rid of local VAPictureH264.flags fields in GstVaapiPictureH264.
29756
29757 2012-10-31 11:07:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29758
29759         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29760           h264: add vaapi_fill_picture() helper.
29761           Add vaapi_fill_picture() helper function to convert GstVaapiPictureH264
29762           to VAPictureH264 structure. This is preparatory work to get rid of the
29763           local VAPictureH264 member in GstVaapiPictureH264.
29764
29765 2012-10-26 16:12:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29766
29767         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29768           h264: fix activation order of picture and sequence parameters.
29769           Delay ensure_context() until we actually need a VA context for allocating
29770           new VA surfaces, and then GstVaapiPictures, but also when a real activation
29771           of a new picture parameter set occurs, thus also implying an activation
29772           of the related sequence parameter set.
29773           The most important thing was to drop the global pps and sps pointers since
29774           they may not have matched the currently activated picture parameter or
29775           sequence parameter sets at the specified decode point.
29776           Anoter positive side-effect is that this cleans up all occurrences of
29777           decode_current_picture() to only keep those useful in decode_picture(),
29778           before a new picture is allocated, or in decode_sequence_end() when
29779           an end-of-stream or end-of-sequence condition occurred.
29780
29781 2012-10-26 13:17:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29782
29783         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29784           h264: fix scaling list generation.
29785           ... aka fix regression from efaab79. In particular, ScalingList8x8[]
29786           array was partially copied to the VAIQMatrixBufferH264. While we are
29787           at it, also improve bounds checking and avoid copying 8x8 scaling
29788           lists if transform_8x8_mode_flag is set to 0.
29789
29790 2012-10-24 18:23:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29791
29792         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29793           h264: fix detection of picture boundaries.
29794           Strictly follow the standard (7.4.1.2.4) to detect the first VCL NAL
29795           unit of a primary coded picture.
29796
29797 2012-10-23 14:50:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29798
29799         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29800           h264: optimize handling of scaling lists.
29801           Don't copy scaling lists twice to an intermediate state. Rather, directly
29802           use the scaling lists from GstH264PPS since they would match those provided
29803           by SPS header, if necessary. i.e. if PPS-specific scaling lists are not
29804           available in the bitstream.
29805
29806 2012-10-23 10:33:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29807
29808         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29809           h264: simplify code when MMCO is 5.
29810           Remove exit_picture() and exit_picture_poc() since PicOrderCnt(CurrPic)
29811           is now updated accordingly to the standard. Besides, MMCO = 5 specific
29812           operations are moved up to exec_ref_pic_marking_adaptive_mmco_5().
29813
29814 2012-10-22 11:52:13 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29815
29816         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29817           h264: fix MMCO-based reference picture marking process.
29818           Fix adaptive memory control decoded reference picture marking process
29819           implementation for operations 2 to 6, thus also fixing support for
29820           long-term reference pictures.
29821
29822 2012-10-22 10:50:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29823
29824         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29825           h264: move MMCO handlers out of the loop (cosmetics).
29826           This change only splits each individual MMCO handler into several functions
29827           dedicated for each operation. This is needed to perform further work later
29828           on.
29829
29830 2012-10-17 15:49:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29831
29832         * Makefile.am:
29833           debian: fix make dist for packaging.
29834           bzip2 tarballs are now used, so update the deb.upstream dependencies
29835           to include dist-bzip2 instead of plain old dist, and use the correct
29836           tar extract options to handle that format.
29837
29838 2012-10-17 15:42:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29839
29840         * configure.ac:
29841           configure: generate bzip2 tarballs in ustar format by default.
29842
29843 2012-10-17 15:38:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29844
29845         * configure.ac:
29846           configure: bump glib required version to 2.31.2.
29847           Use new Thread API. In particular, g_mutex_init() and g_cond_init()
29848           rather than g_mutex_new() and g_cond_new() respectively.
29849
29850 2012-10-04 17:39:53 +0100  Rob Bradford <rob@linux.intel.com>
29851
29852         * gst/vaapi/gstvaapidecode.c:
29853         * gst/vaapi/gstvaapidecode.h:
29854           vaapidecode: adopt non-deprecrated glib locking primitive pattern.
29855           The use of heap allocated GMutex/GCond is deprecated. Instead place them
29856           inside the structure they are locking.
29857           These changes switch to use g_mutex_init/g_cond_init rather than the heap
29858           allocation functions.
29859           Because we cannot test for a NULL pointer for the GMutex/GCond we must
29860           initialise inside the GObject _init function and clear inside the _finalize
29861           which is guaranteed to only be called once and after the object is no longer
29862           in use.
29863
29864 2012-10-17 14:52:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29865
29866         * gst/vaapi/gstvaapidecode.c:
29867           vaapidecode: fix compiler warnings.
29868           Don't care of the return value for gst_vaapi_decoder_put_buffer()
29869           during destruction of the element. Don't print out (uninitialised)
29870           error code when allocation of video buffer failed.
29871
29872 2012-10-16 16:52:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29873
29874         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29875           h264: add flag to compile with strict DPB ordering mode.
29876           Allow build with strict DPB ordering mode whereby evicted entries
29877           are replaced by the next entries, in order instead of optimizing
29878           it away with the last entry in the DPB.
29879           This is only useful for debugging purpose, against a reference SW
29880           decoder for example.
29881
29882 2012-10-16 16:46:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29883
29884         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29885           h264: drop extra code covered by built-in codecparsers.
29886           GstH264SliceHdr.n_emulation_prevention_bytes is bound to exist now that
29887           a newer version of codecparsers/ are used if the system provided one is
29888           now recent enough to have those required extensions.
29889
29890 2012-10-16 16:43:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29891
29892         * gst-libs/gst/codecparsers/Makefile.am:
29893           codecparsers: fix generation of symlinks.
29894           Try to improve dependencies while generating symlinks to externally
29895           maintained copy of codecparsers (derived from upstream git master
29896           tree).
29897
29898 2012-10-11 15:04:12 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29899
29900         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
29901           vc1: use framerate information from bitstream parser.
29902
29903 2012-09-27 18:05:46 +0100  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
29904
29905         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
29906           vc1: use pixel-aspect-ratio from bitstream parser.
29907           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
29908           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29909
29910 2012-09-27 18:05:46 +0100  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
29911
29912         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29913           mpeg2: use pixel-aspec-ratio information from bitstream parser.
29914           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
29915           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29916
29917 2012-10-11 13:49:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29918
29919         * configure.ac:
29920         * gst-libs/gst/codecparsers/Makefile.am:
29921           codecparsers: h264: use submodule sources.
29922           Use newer sources from the codecparsers/ submodule for
29923           - GstH264SliceHdr.n_emulation_prevention_bytes: EPBs;
29924           - GstH264VUIParams.{par_n,par_d}: pixel-aspect-ratio.
29925
29926 2012-10-11 13:23:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29927
29928         * .gitignore:
29929         * configure.ac:
29930         * gst-libs/gst/codecparsers/Makefile.am:
29931         * gst-libs/gst/codecparsers/gstjpegparser.c:
29932         * gst-libs/gst/codecparsers/gstjpegparser.h:
29933         * gst-libs/gst/vaapi/Makefile.am:
29934           codecparsers: jpeg: use submodule sources.
29935
29936 2012-10-11 10:03:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29937
29938         * .gitmodules:
29939         * Makefile.am:
29940         * autogen.sh:
29941         * configure.ac:
29942         * ext/Makefile.am:
29943         * ext/codecparsers:
29944           Add codecparsers submodule.
29945
29946 2012-10-11 14:17:12 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29947
29948         * .gitignore:
29949           .gitignore: updates.
29950
29951 2012-10-11 13:40:37 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29952
29953         * autogen.sh:
29954           autogen: fix check for gtkdocize and autoreconf.
29955           If gtkdocize or autoreconf programs were not found, then the autogen.sh
29956           script would fail to report that correctly because test -z was not passed
29957           any argument (empty string "" in this case).
29958
29959 2012-09-27 18:05:46 +0100  Simon Farnsworth <simon.farnsworth@onelan.co.uk>
29960
29961         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29962           h264: use pixel-aspect-ratio from SPS header.
29963           Propagate pixel-aspect-ratio determined by the GStreamer codecparser
29964           from the sequence headers.
29965           Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
29966           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29967
29968 2012-10-10 10:35:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29969
29970         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29971           h264: add decode_nalu() helper function.
29972           Split decode_buffer() into the core infrastructure that determines
29973           the NAL units contained in the adapter and the actual function that
29974           decodes the NAL unit.
29975
29976 2012-10-10 10:31:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29977
29978         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
29979           h264: fix end-of-stream conditions (flush).
29980           Decode pending data in the adapter prior to processing the actual
29981           code for end-of-stream.
29982
29983 2012-10-10 09:45:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29984
29985         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29986           mpeg2: add decode_packet() helper function.
29987           Split decode_buffer() into the core infrastructure that determines
29988           the packets contained in the adapter and the actual function that
29989           decodes the packet data.
29990
29991 2012-10-09 15:34:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29992
29993         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
29994           mpeg2: fix end-of-stream conditions (flush).
29995           Decode pending data in the adapter prior to processing the actual
29996           code for end-of-stream. Initial code from Feng Yuan.
29997
29998 2012-10-09 15:40:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
29999
30000         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
30001           mpeg2: fix memory leak of empty packets.
30002           Fix memory leakage of empty packets, i.e. packets that only contain
30003           the start code prefix. In particular, free empty user-data packets.
30004           Besides, the codec parser will already fail gracefully if the packet
30005           to parse does not have the minimum required size. So, we can also
30006           completely drop the block of code that used to handle packets of size 4
30007           (including the start code).
30008
30009 2012-10-09 15:01:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30010
30011         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
30012           mpeg2: fix return value for "no-data" conditions.
30013           Fix return value when the second scan for start code fails. This means
30014           there is not enough data to determine the full extents of the current
30015           packet and the function shall return GST_VAAPI_DECODER_STATUS_ERROR_NO_DATA
30016           in this case, instead of GST_VAAPI_DECODER_STATUS_SUCCESS.
30017
30018 2012-10-09 14:48:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30019
30020         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30021           decoder: refine semantics of gst_vaapi_decoder_put_buffer().
30022           Improve the semantics for gst_vaapi_decoder_put_buffer() when an empty
30023           buffer is passed on. An empty buffer is a buffer with a NULL data pointer
30024           or with a size equals to zero. In this case, that buffer is simply
30025           skipped and the function returns TRUE. A NULL buffer argument still
30026           marks the end-of-stream.
30027
30028 2012-10-09 14:40:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30029
30030         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30031         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
30032           decoder: drop unused functions.
30033
30034 2012-08-26 22:29:04 -0400  Wind Yuan <feng.yuan@intel.com>
30035
30036         * gst/vaapi/gstvaapidecode.c:
30037           vaapidecode: flush buffers when receiving EOS.
30038           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30039
30040 2012-10-05 13:36:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30041
30042         * debian.upstream/Makefile.am:
30043           debian: fix make dist for packaging.
30044
30045 2012-10-05 12:06:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30046
30047         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
30048         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30049           wayland: cosmetics (remove tabs).
30050
30051 2012-10-04 17:39:52 +0100  Rob Bradford <rob@linux.intel.com>
30052
30053         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30054           wayland: add support for windowed mode.
30055           Rather than always making the surface fullscreen instead implement the
30056           set_fullscreen vfunc on GstVaapiWindow and then set the shell surface
30057           fullscreen on not depending on that.
30058           Reviewed-by: Joe Konno <joe.konno@intel.com>
30059           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30060
30061 2012-10-01 09:21:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30062
30063         * configure.ac:
30064           Bump version for development.
30065
30066 2012-09-28 17:54:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30067
30068         * README:
30069         * configure.ac:
30070           Fix and document build dependencies better.
30071
30072 2012-09-28 17:41:42 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30073
30074         * debian.upstream/control.in:
30075           debian: fix GStreamer build dependencies.
30076
30077 2012-09-28 17:39:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30078
30079         * configure.ac:
30080         * debian.upstream/control.in:
30081           debian: fix Wayland build dependencies.
30082
30083 2012-09-28 17:38:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30084
30085         * debian.upstream/control.in:
30086           debian: fix conditional build of packages.
30087           Make it still possible to build package even if one of the build dependencies
30088           for a specific video backend is not available.
30089
30090 2012-09-27 11:08:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30091
30092         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
30093         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
30094           utils: drop unused GLX helpers.
30095           Remove helpers for GL_ARB_fragment_program and GL_ARB_multitexture
30096           extensions since they are not used throughout gstreamer-vaapi.
30097
30098 2012-09-27 11:04:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30099
30100         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
30101           utils: fix build with <GL/glext.h> version >= 85.
30102           Mesa recently updated the <GL/glext.h> header version to Khronos version 85.
30103           This caused the PFNGLMULTITEXCOORD2FPROC definition to be moved out of the
30104           GL_VERSION_1_3_DEPRECATED block. However, since <GL/gl.h> also defines
30105           GL_VERSION_1_3 to 1, the definitions in <GL/glext.h> are then not enabled,
30106           thus leaving PFNGLMULTITEXCOORD2FPROC undefined as well.
30107           Provide a PFNGLMULTITEXCOORD2FPROC replacement as an interim solution for
30108           newer versions of the <GL/glext.h> header.
30109
30110 2012-09-26 16:33:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30111
30112         * configure.ac:
30113           configure: update VA-API version requirements.
30114           VA/DRM and VA/Wayland API are now promoted to VA-API 0.33.0 (libva 1.1.0).
30115
30116 2012-09-21 16:43:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30117
30118         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
30119           h264: review and report errors accordingly.
30120           Use GST_ERROR() to report real errors instead of hiding them into
30121           GST_DEBUG().
30122
30123 2012-09-20 17:58:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30124
30125         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
30126           h264: exclusively use GstAdapter, drop sub-buffer hack.
30127           Maintaining the sub-buffer is rather suboptimal especially since we
30128           were also maintaining a GstAdapter. Now, we only use the GstAdapter
30129           thus requiring minor extra parsing when receiving avcC buffers.
30130
30131 2012-09-20 16:18:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30132
30133         * README:
30134           README: updates.
30135
30136 2012-09-20 16:02:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30137
30138         * NEWS:
30139           NEWS: updates.
30140
30141 2012-09-20 14:38:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30142
30143         * debian.upstream/gstreamer-vaapi.install.in:
30144           debian: fix packaging on recent Ubuntu platforms.
30145           Use explicit GStreamer plugins path.
30146
30147 2012-09-17 17:55:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30148
30149         * docs/reference/libs/libs-docs.xml.in:
30150         * docs/reference/libs/libs.core.types:
30151           docs: fix build for make dist.
30152
30153 2012-09-14 10:30:35 -0400  Kristian Høgsberg <krh@bitplanet.net>
30154
30155         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30156           wayland: set opaque region for YUV surface.
30157           This allows the compositor to optimize redraws and cull away changes
30158           obscured by the video surface.
30159           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30160
30161 2012-09-14 17:30:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30162
30163         * configure.ac:
30164           configure: fix check for libva-glx and libva-drm.
30165
30166 2012-09-12 13:42:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30167
30168         * gst-libs/gst/vaapi/glibcompat.h:
30169           glibcompat: add replacement for g_cond_wait_until().
30170
30171 2012-09-12 13:41:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30172
30173         * gst/vaapi/gstvaapidecode.c:
30174         * gst/vaapi/gstvaapidownload.c:
30175         * gst/vaapi/gstvaapipostproc.c:
30176         * gst/vaapi/gstvaapisink.c:
30177         * gst/vaapi/gstvaapiupload.c:
30178           plugins: include "sysdeps.h" instead of "config.h".
30179
30180 2012-09-12 10:40:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30181
30182         * gst-libs/gst/codecparsers/gstjpegparser.c:
30183           codecparsers: jpeg: add missing includes.
30184
30185 2012-09-11 17:03:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30186
30187         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30188         * gst-libs/gst/vaapi/gstvaapidecoder.h:
30189         * gst/vaapi/gstvaapidecode.c:
30190           vaapidecode: don't reset decoder if codec type is the same.
30191           Reset, i.e. destroy then create, the decoder in _setcaps() handler only
30192           if the underlying codec type actually changed. This makes it possible
30193           to be more tolerant with certain MPEG-2 streams that get parsed to
30194           form caps that are compatible with the previous state but minor changes
30195           to "codec-data".
30196
30197 2012-09-11 16:41:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30198
30199         * gst/vaapi/gstvaapidecode.c:
30200           vaapidecode: simplify codec lookup from caps.
30201           Add new gst_vaapi_codec_from_caps() helper to determine codec type from
30202           the specified caps. Don't globally expose this function since this is
30203           really trivial and only used in the vaapidecode element.
30204
30205 2012-09-11 15:54:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30206
30207         * gst/vaapi/gstvaapidecode.c:
30208         * gst/vaapi/gstvaapidecode.h:
30209           vaapidecode: improve "no free surface" conditions.
30210           Previously, vaapidecode would wait up to one second until a free surface
30211           is available, or it aborts decoding. Now, vaapidecode waits until the
30212           last decoded surface was to be presented, plus one second. Besides, end
30213           times are now expressed relative to the monotonic clock.
30214
30215 2012-09-11 10:59:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30216
30217         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30218         * gst/vaapi/gstvaapidecode.c:
30219           decoder: propagate buffer duration downstream.
30220
30221 2012-09-11 10:59:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30222
30223         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
30224         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
30225           surfaceproxy: add "duration" property.
30226
30227 2012-09-10 18:26:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30228
30229         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30230         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
30231         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
30232         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
30233         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
30234         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
30235         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
30236           decoder: cope with new GstVaapiContextInfo based API.
30237           Update decoders to report the maximum number of reference frames to use.
30238
30239 2012-09-10 18:17:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30240
30241         * gst-libs/gst/vaapi/gstvaapicontext.c:
30242           context: JPEG codec does not need any reference frame.
30243
30244 2012-09-10 18:15:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30245
30246         * gst-libs/gst/vaapi/gstvaapicontext.c:
30247         * gst-libs/gst/vaapi/gstvaapicontext.h:
30248           context: allow number of reference frames to be set.
30249           Make it possible to specify the maximum number of references to use within
30250           a single VA context. This helps reducing GPU memory allocations to the useful
30251           number of references to be used.
30252
30253 2012-09-07 16:41:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30254
30255         * gst/vaapi/gstvaapipostproc.c:
30256           vaapipostproc: fix deinterlace-{mode,method} types definition.
30257
30258 2012-09-07 16:15:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30259
30260         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
30261           mpeg4: fix debug info for unsupported profile.
30262
30263 2012-09-07 16:14:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30264
30265         * gst-libs/gst/vaapi/gstvaapicontext.c:
30266         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30267         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
30268         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
30269         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
30270         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
30271         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
30272         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30273         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
30274         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
30275         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
30276         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
30277         * gst-libs/gst/vaapi/gstvaapiimage.c:
30278         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
30279         * gst-libs/gst/vaapi/gstvaapiobject.c:
30280         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
30281         * gst-libs/gst/vaapi/gstvaapisurface.c:
30282         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
30283         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
30284         * gst-libs/gst/vaapi/gstvaapitexture.c:
30285         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
30286         * gst-libs/gst/vaapi/gstvaapivalue.c:
30287         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
30288         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c:
30289         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
30290         * gst-libs/gst/vaapi/gstvaapivideopool.c:
30291         * gst-libs/gst/vaapi/gstvaapiwindow.c:
30292         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
30293         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
30294         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30295         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
30296           libs: fix build in strict ISO C mode.
30297
30298 2012-09-07 16:11:12 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30299
30300         * gst/vaapi/gstvaapi.c:
30301         * gst/vaapi/gstvaapidecode.c:
30302         * gst/vaapi/gstvaapidownload.c:
30303         * gst/vaapi/gstvaapipostproc.c:
30304         * gst/vaapi/gstvaapisink.c:
30305         * gst/vaapi/gstvaapiupload.c:
30306           plugins: fix build in strict ISO C mode.
30307
30308 2012-09-07 15:31:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30309
30310         * pkgconfig/gstreamer-vaapi-glx.pc.in:
30311         * pkgconfig/gstreamer-vaapi-x11.pc.in:
30312         * pkgconfig/gstreamer-vaapi.pc.in:
30313           pkgconfig: fix dependencies and slightly improve description.
30314           Drop @LIBVA_EXTRA_{CFLAGS,LIBS}@ substitutions and slightly improve
30315           descriptions with clearer renderer names.
30316
30317 2012-09-04 13:54:19 +0200  Philip Lorenz <philip@bithub.de>
30318
30319         * gst/vaapi/gstvaapidecode.c:
30320           vaapidecode: acquire lock only if the mutex exists.
30321           When playback stops the GstVaapiDecode object is reset into a clean
30322           state. However, surfaces may still be referenced by library users and
30323           unreferencing them after the reset triggers an access to an unset mutex.
30324           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30325
30326 2012-09-07 11:58:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30327
30328         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30329           decoder: drop extraneous return for void function.
30330
30331 2012-09-07 11:57:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30332
30333         * gst-libs/gst/vaapi/gstvaapiimage.c:
30334           image: don't use (void *) pointer arithmetic.
30335
30336 2012-09-04 13:40:04 +0200  Philip Lorenz <philip@bithub.de>
30337
30338         * gst-libs/gst/vaapi/gstvaapidecoder.h:
30339         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
30340         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30341         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
30342         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
30343         * gst-libs/gst/vaapi/gstvaapiprofile.h:
30344         * gst-libs/gst/vaapi/gstvaapisurface.h:
30345         * gst-libs/gst/vaapi/gstvaapitypes.h:
30346         * gst/vaapi/gstvaapipostproc.h:
30347           Do not forward declare enums.
30348           Forward declaring enums is not allowed by the C standard and aborts
30349           compilation if the header file is included in a C++ project.
30350           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30351
30352 2012-09-07 11:44:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30353
30354         * configure.ac:
30355           configure: fix check for VA/DRM API.
30356
30357 2012-09-04 11:53:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30358
30359         * gst/vaapi/gstvaapisink.c:
30360           vaapisink: fix calculation of window size.
30361           If either dimension is out-of-bounds, then scale window to fit the
30362           display size, even if the output is to be rotated. Use the standard
30363           gst_video_sink_center_rect() function to center and scale the window
30364           wrt. the outer (display) bounds.
30365
30366 2012-08-28 02:45:22 -0400  Wind Yuan <feng.yuan@intel.com>
30367
30368         * gst/vaapi/gstvaapisink.c:
30369         * gst/vaapi/gstvaapisink.h:
30370           vaapisink: add video rotation support.
30371           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30372
30373 2012-09-06 11:47:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30374
30375         * gst/vaapi/gstvaapipluginutil.h:
30376           pluginutils: add G_PRIMITIVE_SWAP() helper macro.
30377           This macro helps swapping variables while maintaining the correct underlying
30378           and primitive type.
30379
30380 2012-09-06 11:51:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30381
30382         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30383           display: fix display aspect ratio when display is rotated.
30384
30385 2012-09-06 11:50:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30386
30387         * configure.ac:
30388         * gst-libs/gst/vaapi/Makefile.am:
30389         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
30390         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
30391           display: fix physical display size when display is rotated.
30392
30393 2012-08-30 16:27:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30394
30395         * gst-libs/gst/vaapi/gstvaapivalue.c:
30396           display: fix GstVaapiRotation enumeration of values.
30397
30398 2012-08-29 13:18:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30399
30400         * docs/reference/libs/libs-docs.xml.in:
30401         * docs/reference/libs/libs-sections.txt:
30402         * gst-libs/gst/vaapi/Makefile.am:
30403         * gst-libs/gst/vaapi/gstvaapivideosink.c:
30404         * gst-libs/gst/vaapi/gstvaapivideosink.h:
30405         * gst/vaapi/gstvaapidecode.c:
30406         * gst/vaapi/gstvaapidownload.c:
30407         * gst/vaapi/gstvaapipostproc.c:
30408         * gst/vaapi/gstvaapisink.c:
30409         * gst/vaapi/gstvaapiupload.c:
30410           vaapisink: drop obsolete GstVaapiVideoSink interface.
30411           This interface was deprecated since 0.3.x series when the GstVideoContext
30412           interface was added to the main GStreamer APIs.
30413
30414 2012-08-27 18:34:27 +0300  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30415
30416         * gst/vaapi/gstvaapisink.c:
30417         * gst/vaapi/gstvaapisink.h:
30418           vaapisink: automatically detect overlay rendering mode.
30419           Retain the VA surface until another surface is to be displayed only
30420           if VA display rendering mode is determined to be "overlay" mode.
30421
30422 2012-08-24 16:30:33 +0300  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30423
30424         * gst/vaapi/gstvaapisink.c:
30425         * gst/vaapi/gstvaapisink.h:
30426           vaapisink: retain VA surface until another one is displayed.
30427           Keep VA surface proxy associated with the surface that is currently
30428           being displayed. This makes sure that surface is not released back
30429           to the pool of surfaces free to use for decoding. This is necessary
30430           with VA driver implementations that support rendering to an overlay
30431           pipe. Otherwise, there could be cases where we are decoding into a
30432           surface that is being displayed, hence some flickering.
30433
30434 2012-08-24 14:54:16 +0300  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30435
30436         * gst/vaapi/gstvaapisink.h:
30437           vaapisink: fix build with older toolchains.
30438           Don't re-declare GstVaapiTexture if USE_GLX mode is set.
30439
30440 2012-08-29 10:13:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30441
30442         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30443           display: partially revert 8ebe4d6.
30444           Don't try to fix up the initial values, this could make things worse.
30445           Simply assume the driver does not support the capability in this case.
30446
30447 2012-08-28 16:08:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30448
30449         * tests/test-display.c:
30450           tests: dump VA display properties.
30451
30452 2012-08-28 18:11:32 +0300  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30453
30454         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30455           display: fix validation process of properties during discovery.
30456           Some VA drivers (e.g. EMGD) can have completely random values for initial
30457           display attributes. So, try to improve the discovery process to check the
30458           initial display attribute values actually fall within valid bounds. If not,
30459           try to reset those to some sensible values like the default value reported
30460           through vaQueryDisplayAttributes().
30461
30462 2012-08-28 13:59:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30463
30464         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30465         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30466           display: add color balance properties.
30467           Add support for hue, saturation, brightness and contrast attributes.
30468
30469 2012-08-28 14:05:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30470
30471         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30472           display: initialize default attribute values.
30473           Ensure the display attribute is actually supported by trying to retrieve
30474           its current value during GstVaapiDisplay creation.
30475
30476 2012-08-28 11:09:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30477
30478         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30479           display: raise "notify" for property changes.
30480
30481 2012-08-28 10:55:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30482
30483         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30484         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30485           display: expose display attributes as GObject properties.
30486           Expose VA display "render-mode" and "rotation" attributes as standard
30487           GObject properties.
30488
30489 2012-08-28 16:24:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30490
30491         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30492           display: install properties in batch.
30493           Use g_object_class_install_properties() to install GstVaapiDisplay properties.
30494           It is useful to maintain properties as GParamSpec so that to be able to raise
30495           "notify" signals by id instead of by name in the future.
30496
30497 2012-08-27 19:00:37 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30498
30499         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30500           display: fix gst_vaapi_display_has_property().
30501           Append the "render-mode" and "rotation" properties, should they be supported
30502           by the underlying VA driver.
30503
30504 2012-08-22 02:18:11 -0400  Wind Yuan <feng.yuan@intel.com>
30505
30506         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30507         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30508         * gst-libs/gst/vaapi/gstvaapitypes.h:
30509         * gst-libs/gst/vaapi/gstvaapiutils.c:
30510         * gst-libs/gst/vaapi/gstvaapiutils.h:
30511         * gst-libs/gst/vaapi/gstvaapivalue.c:
30512         * gst-libs/gst/vaapi/gstvaapivalue.h:
30513           display: add support for rotation modes.
30514           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30515
30516 2012-08-27 18:11:37 +0300  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30517
30518         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30519         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30520         * gst-libs/gst/vaapi/gstvaapitypes.h:
30521         * gst-libs/gst/vaapi/gstvaapivalue.c:
30522         * gst-libs/gst/vaapi/gstvaapivalue.h:
30523           display: add support for rendering modes.
30524           A rendering mode can be "overlay" or "texture"'ed blit.
30525           The former mode implies that a VA surface used for rendering can't be
30526           re-used right away for decoding, so the sink shall make provisions to
30527           retain the associated surface proxy until the next surface is to be
30528           displayed.
30529           The latter mode implies that the VA surface is implicitly copied to an
30530           intermediate backing store, or back buffer of a frame buffer, so the
30531           associated surface proxy can be disposed right away.
30532
30533 2012-08-27 17:02:49 +0300  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30534
30535         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30536         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30537         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
30538           display: add initial support for display attributes.
30539           The VA display attributes are mapped to properties so that to maintain the
30540           GStreamer terminology. Properties are to be identified by name, but internal
30541           functions are available to lookup the property by the actual VA display
30542           attribute type.
30543
30544 2012-08-24 11:36:16 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
30545
30546         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
30547           jpeg: fix end-of-image (EOI) handler.
30548           decode_current_picture() was converted to return a gboolean instead
30549           of a GstVaapiDecoderStatus, so we were not getting out of the decode
30550           loop as expected, or could cause an error instead.
30551           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30552
30553 2012-08-24 18:41:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30554
30555         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
30556           mpeg2: include start code into VA slice data buffer.
30557           Integrate the start code prefix in the slice data buffer that is submitted
30558           to the hardware. VA-API specifies that slice_data_offset is the offset to
30559           the first byte of slice data. And, for MPEG-2, slice() data begins with
30560           the slice_start_code. Some VA driver implementations (EMGD) expect this.
30561
30562 2012-06-28 01:08:03 +0900  Javier Jardón <jjardon@gnome.org>
30563
30564         * autogen.sh:
30565           autogen: fix configure script generation when srcdir != builddir.
30566           This patch allows for regenerating the configure script from a build
30567           directory that is not the actual source directory.
30568           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30569
30570 2012-06-28 00:22:03 +0900  Javier Jardón <jjardon@gnome.org>
30571
30572         * configure.ac:
30573           configure: use new libtool syntax.
30574           This now requires libtool >= 2.2 to regenerate the configure script.
30575           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30576
30577 2012-08-08 12:50:41 +0900  Javier Jardón <jjardon@gnome.org>
30578
30579         * gst-libs/gst/vaapi/gstvaapidecoder.c:
30580           decoder: use g_object_notify_by_pspec().
30581           Use g_object_notify_by_pspec() instead of g_object_notify() so that to
30582           avoid a property name lookup. i.e. this makes notifications faster to
30583           the `vaapidecode' element.
30584           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30585
30586 2012-08-06 19:21:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30587
30588         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30589           wayland: handle de-interlacing flags.
30590           VA/Wayland API was updated to allow flags for bob deinterlacing.
30591           More elaborated filters will require a complete VA/VPP pipeline.
30592
30593 2012-08-02 18:27:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30594
30595         * gst-libs/gst/codecparsers/gstjpegparser.c:
30596           jpeg: fix default quantization tables.
30597           Two elements in the luminance quantization table were wrong. So,
30598           gst_jpeg_get_default_quantization_tables() now reconstructs tables
30599           in zig-zag order from the standard ones (Tables K.1 and K.2).
30600
30601 2012-08-02 15:17:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30602
30603         * gst-libs/gst/codecparsers/gstjpegparser.c:
30604           jpeg: compute default Huffman tables.
30605           ... instead of having them pre-calculated. This saves around 1.5 KB
30606           of data in the DSO but requires gst_jpeg_get_default_huffman_tables()
30607           to do more work. Though, the client application may have to call that
30608           function at most once, only.
30609
30610 2012-08-01 18:30:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30611
30612         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30613           display: drop VAProfileNone entries from debug messages.
30614
30615 2012-07-31 18:24:14 +0800  Yan Yin <yan.yin@intel.com>
30616
30617         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30618           display: query for supported display attributes.
30619           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30620
30621 2012-07-31 18:22:48 +0800  Yan Yin <yan.yin@intel.com>
30622
30623         * gst-libs/gst/vaapi/gstvaapiutils.c:
30624         * gst-libs/gst/vaapi/gstvaapiutils.h:
30625           utils: add string_of_VADisplayAttributeType() helper.
30626           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30627
30628 2012-08-01 15:46:35 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30629
30630         * gst/vaapi/gstvaapisink.c:
30631           vaapisink: handle VA/DRM API.
30632           This is not useful in practice but for raw performance evaluation when
30633           the sink is invoked with display=drm sync=false. fakesink could also be
30634           used though.
30635
30636 2012-08-01 15:46:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30637
30638         * gst/vaapi/Makefile.am:
30639         * gst/vaapi/gstvaapipluginutil.c:
30640           plugins: add support for headless pipelines.
30641
30642 2012-08-01 15:44:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30643
30644         * tests/Makefile.am:
30645         * tests/output.c:
30646         * tests/test-display.c:
30647         * tests/test-windows.c:
30648           tests: add support for headless decoding.
30649
30650 2012-08-01 15:44:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30651
30652         * NEWS:
30653         * configure.ac:
30654         * debian.upstream/Makefile.am:
30655         * debian.upstream/control.in:
30656         * debian.upstream/libgstvaapi-drm.install.in:
30657         * gst-libs/gst/vaapi/Makefile.am:
30658         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30659         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30660         * gst-libs/gst/vaapi/gstvaapidisplay_drm.c:
30661         * gst-libs/gst/vaapi/gstvaapidisplay_drm.h:
30662         * gst-libs/gst/vaapi/gstvaapidisplay_drm_priv.h:
30663         * gst-libs/gst/vaapi/gstvaapiwindow_drm.c:
30664         * gst-libs/gst/vaapi/gstvaapiwindow_drm.h:
30665         * pkgconfig/Makefile.am:
30666         * pkgconfig/gstreamer-vaapi-drm.pc.in:
30667           Add initial support for VA/DRM.
30668
30669 2012-07-31 17:58:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30670
30671         * configure.ac:
30672         * gst-libs/gst/vaapi/Makefile.am:
30673           Fix build without X11 (again).
30674           Don't try to build libgstvaapi-x11.so.* if X11 was disabled. Also shuffle
30675           files list wrt. x11, glx and wayland backends.
30676
30677 2012-07-31 11:51:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30678
30679         * configure.ac:
30680         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
30681         * gst-libs/gst/vaapi/gstvaapicompat.h:
30682         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
30683           jpeg: update to the latest VA-API changes (0.32.1+).
30684
30685 2012-07-27 14:27:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30686
30687         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
30688         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
30689         * gst/vaapi/gstvaapisink.c:
30690           wayland: implement display ::get_size*() hooks.
30691
30692 2012-07-27 10:45:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30693
30694         * gst/vaapi/gstvaapipluginutil.c:
30695           plugins: prefer X11 rendering over GLX.
30696           Prefer X11 display over GLX so that "vaapisink" uses X11, i.e. vaPutSurface(),
30697           for rendering instead of texturing.
30698
30699 2012-07-26 09:28:51 -0400  Kristian Høgsberg <krh@bitplanet.net>
30700
30701         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30702           wayland: use scale fullscreen method.
30703           This makes the compositor scale the surface to fit and preserves aspect
30704           ratio.
30705           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30706
30707 2012-07-26 09:27:47 -0400  Kristian Høgsberg <krh@bitplanet.net>
30708
30709         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30710           wayland: respond to ping/pong protocol so we're not deemed unresponsive.
30711           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30712
30713 2012-07-25 10:39:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30714
30715         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
30716           wayland: fix double disconnect of display.
30717
30718 2012-07-24 19:58:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30719
30720         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
30721           wayland: mangle display name for cache lookups.
30722
30723 2012-07-24 15:43:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30724
30725         * configure.ac:
30726         * debian.upstream/Makefile.am:
30727         * debian.upstream/control.in:
30728         * debian.upstream/libgstvaapi-wayland.install.in:
30729         * pkgconfig/Makefile.am:
30730         * pkgconfig/gstreamer-vaapi-wayland.pc.in:
30731           wayland: add packaging files.
30732
30733 2012-07-24 15:07:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30734
30735         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30736         * gst/vaapi/gstvaapipluginutil.c:
30737         * gst/vaapi/gstvaapisink.c:
30738         * pkgconfig/Makefile.am:
30739           Fix build without X11.
30740
30741 2012-07-24 09:45:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30742
30743         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30744         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30745         * gst/vaapi/Makefile.am:
30746         * gst/vaapi/gstvaapipluginutil.c:
30747         * gst/vaapi/gstvaapisink.c:
30748           plugins: add support for Wayland.
30749
30750 2012-07-23 12:56:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30751
30752         * tests/Makefile.am:
30753         * tests/output.c:
30754         * tests/test-display.c:
30755         * tests/test-windows.c:
30756           tests: add support for Wayland.
30757
30758 2012-07-19 10:27:23 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
30759
30760         * NEWS:
30761         * configure.ac:
30762         * gst-libs/gst/vaapi/Makefile.am:
30763         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c:
30764         * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h:
30765         * gst-libs/gst/vaapi/gstvaapidisplay_wayland_priv.h:
30766         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
30767         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c:
30768         * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h:
30769           Add initial support for VA/Wayland.
30770           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30771
30772 2012-07-25 15:11:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30773
30774         * gst/vaapi/gstvaapipluginbuffer.c:
30775           plugins: fix creation of video buffer from surface proxy.
30776           Fix a regression introduced with commit 8ef490a.
30777
30778 2012-07-25 14:51:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30779
30780         * gst/vaapi/gstvaapipluginbuffer.c:
30781         * gst/vaapi/gstvaapipluginutil.c:
30782           plugins: use new display types more.
30783           In particular, simplify gst_vaapi_reply_to_query() with display types.
30784           Likewise for creating new video buffers.
30785
30786 2012-07-25 10:02:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30787
30788         * gst/vaapi/gstvaapidecode.c:
30789         * gst/vaapi/gstvaapidownload.c:
30790         * gst/vaapi/gstvaapipluginutil.c:
30791         * gst/vaapi/gstvaapipluginutil.h:
30792         * gst/vaapi/gstvaapipostproc.c:
30793         * gst/vaapi/gstvaapisink.c:
30794         * gst/vaapi/gstvaapiupload.c:
30795           plugins: fix display type selection and propagation.
30796           If vaapisink is in the GStreamer pipeline, then we shall allocate a
30797           unique GstVaapiDisplay and propagate it upstream. i.e. subsequent
30798           queries from vaapidecode shall get a valid answer from vaapisink.
30799
30800 2012-07-25 11:37:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30801
30802         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30803           display: fix destruction of mutex.
30804
30805 2012-07-25 09:16:02 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30806
30807         * gst-libs/gst/vaapi/gstvaapidisplay.c:
30808         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30809         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
30810         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
30811         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
30812         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
30813         * gst/vaapi/gstvaapipluginutil.c:
30814         * gst/vaapi/gstvaapipluginutil.h:
30815         * gst/vaapi/gstvaapisink.c:
30816           display: add display types.
30817           Move display types from gstvaapipluginutil.* to gstvaapidisplay.* so that
30818           we could simplify characterization of a GstVaapiDisplay. Also rename "auto"
30819           type to "any", and add a "display-type" attribute.
30820
30821 2012-07-24 19:43:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30822
30823         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
30824           display: use prefixed display names for cache lookups.
30825           This improves display name comparisons by always allocating a valid display
30826           name. This also helps to disambiguate lookups by name in the global display
30827           cache, should a new backend be implemented.
30828
30829 2012-07-24 16:14:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30830
30831         * gst/vaapi/gstvaapipluginutil.h:
30832           plugins: declare helper functions as internal.
30833
30834 2012-07-24 14:31:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30835
30836         * docs/reference/libs/libs-sections.txt:
30837         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
30838         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
30839         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c:
30840         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.h:
30841         * gst/vaapi/Makefile.am:
30842         * gst/vaapi/gstvaapidecode.c:
30843         * gst/vaapi/gstvaapidownload.c:
30844         * gst/vaapi/gstvaapipluginbuffer.c:
30845         * gst/vaapi/gstvaapipluginbuffer.h:
30846         * gst/vaapi/gstvaapipostproc.c:
30847         * gst/vaapi/gstvaapiupload.c:
30848           videobuffer: drop deprecated functions.
30849           Move video buffer creation routines to plugin elements. That exclusively
30850           uses *_typed_new*() variants.
30851
30852 2012-07-24 14:09:09 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30853
30854         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
30855         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.h:
30856           videobuffer: mark video buffer creation routines as deprecated.
30857           The vdeo buffer creation routines shall actually be internal to gstreamer-vaapi
30858           plugin elements. So deprecate any explicit creation routines that are not the
30859           new *_typed_new*() variants.
30860
30861 2012-07-24 13:52:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30862
30863         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
30864         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c:
30865         * gst-libs/gst/vaapi/gstvaapivideobuffer_priv.h:
30866           videobuffer: factor out base and GLX implementations.
30867           Introduce new typed constructors internal to gstreamer-vaapi plugin elements.
30868           This avoids duplication of code, and makes it possible to further implement
30869           generic video buffer creation routines that automatically map to base or GLX
30870           variants.
30871
30872 2012-07-24 10:58:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30873
30874         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
30875           utils: fix gl_create_context() with parent context set.
30876           If GLX window was created from a foreign Display, then that same Display shall
30877           be used for subsequent glXMakeCurrent(). This means that gl_create_context()
30878           will now use the same Display that the parent, if available.
30879           This fixes cluttersink with the Intel GenX VA driver.
30880
30881 2012-07-23 18:37:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30882
30883         * gst/vaapi/gstvaapidecode.c:
30884         * gst/vaapi/gstvaapidownload.c:
30885         * gst/vaapi/gstvaapipluginutil.c:
30886         * gst/vaapi/gstvaapipluginutil.h:
30887         * gst/vaapi/gstvaapipostproc.c:
30888         * gst/vaapi/gstvaapisink.c:
30889         * gst/vaapi/gstvaapiupload.c:
30890           pluginutils: improve automatic display type selection.
30891
30892 2012-07-23 18:01:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30893
30894         * gst/vaapi/gstvaapipluginutil.c:
30895         * gst/vaapi/gstvaapipluginutil.h:
30896           pluginutils: cosmetics (indentation fixes).
30897
30898 2012-07-23 17:54:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30899
30900         * configure.ac:
30901           configure: simplify video outputs summary.
30902
30903 2012-07-23 17:49:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30904
30905         * configure.ac:
30906         * gst/vaapi/gstvaapipluginutil.c:
30907         * gst/vaapi/gstvaapipluginutil.h:
30908         * gst/vaapi/gstvaapisink.c:
30909         * gst/vaapi/gstvaapisink.h:
30910           configure: drop check for --enable-vaapisink-glx.
30911           vaapisink is now built with support for multiple display types, whenever
30912           they are enabled. The new "display" attribute is used to select a particular
30913           renderer.
30914
30915 2012-07-23 16:15:38 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30916
30917         * configure.ac:
30918         * gst-libs/gst/vaapi/gstvaapicompat.h:
30919         * gst/vaapi/Makefile.am:
30920         * gst/vaapi/gstvaapidecode.c:
30921         * gst/vaapi/gstvaapidownload.c:
30922         * gst/vaapi/gstvaapipluginutil.c:
30923         * gst/vaapi/gstvaapipostproc.c:
30924         * gst/vaapi/gstvaapiupload.c:
30925         * tests/test-display.c:
30926           configure: drop check for --enable-vaapi-glx.
30927           This flag is obsolete. It was meant to explicitly enable/disable VA/GLX API
30928           support, or fallback to TFP+FBO if this API is not found. Now, we check for
30929           the VA/GLX API by default if --enable-glx is set. If this API is not found,
30930           we now default to use TFP+FBO.
30931           Note: TFP+FBO, i.e. using vaPutSurface() is now also a deprecated usage and
30932           will be removed in the future. If GLX rendering is requested, then the VA/GLX
30933           API shall be used as it covers most usages. e.g. AMD driver can't render to
30934           an X pixmap yet.
30935
30936 2012-07-23 15:20:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30937
30938         * tests/output.c:
30939           tests: allow GLX output, if available and selected.
30940
30941 2012-07-23 15:17:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30942
30943         * tests/Makefile.am:
30944         * tests/output.c:
30945         * tests/output.h:
30946         * tests/test-decode.c:
30947         * tests/test-subpicture.c:
30948         * tests/test-surfaces.c:
30949           tests: use common display and window creation routines.
30950           Add new --output option to select the renderer. Use --list-outputs to
30951           print a list of supported renderers.
30952
30953 2012-07-23 14:15:42 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30954
30955         * tests/Makefile.am:
30956           tests: move encoded bitstreams to libutils.la.
30957
30958 2012-07-23 14:11:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30959
30960         * tests/Makefile.am:
30961           tests: build convenience library for common utilities.
30962
30963 2012-07-20 16:37:01 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30964
30965         * tests/Makefile.am:
30966         * tests/test-display.c:
30967           tests: simplify build with various display options.
30968
30969 2012-07-23 13:28:42 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30970
30971         * configure.ac:
30972           configure: improve checks for X11.
30973
30974 2012-07-20 15:57:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30975
30976         * tests/Makefile.am:
30977           configure: fix previous commit for GLX deps.
30978
30979 2012-07-20 14:44:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30980
30981         * configure.ac:
30982         * gst-libs/gst/vaapi/Makefile.am:
30983           configure: improve checks for GLX.
30984
30985 2012-07-20 11:45:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30986
30987         * configure.ac:
30988         * gst-libs/gst/vaapi/gstvaapicompat.h:
30989         * gst-libs/gst/vaapi/gstvaapidisplay.h:
30990         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
30991         * gst-libs/gst/vaapi/gstvaapiutils.h:
30992           Drop support for obsolete VA-API versions < 0.30.4.
30993
30994 2012-07-20 11:16:27 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
30995
30996         * configure.ac:
30997         * gst-libs/gst/Makefile.am:
30998         * gst-libs/gst/gstutils_version.h.in:
30999         * gst/vaapi/gstvaapisink.c:
31000           vaapisink: drop checks for new APIs used by default.
31001           GStreamer -base plugins >= 0.10.31 are now required, so the checks for
31002           new APIs like GstXOverlay::set_window_handle() and ::set_render_rectangle()
31003           are no longer necessary.
31004
31005 2012-07-20 14:05:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31006
31007         * configure.ac:
31008           configure: cosmetics and some minor changes.
31009           - Better grouping of feature checks
31010           - Sort list of config files to generate
31011
31012 2012-07-19 17:55:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31013
31014         * configure.ac:
31015         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
31016         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
31017         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31018         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
31019         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
31020         * gst-libs/gst/vaapi/gstvaapiutils.h:
31021         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
31022         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
31023           Use standard G_GNUC_INTERNAL keyword instead of attribute_hidden.
31024
31025 2012-07-19 17:41:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31026
31027         * gst-libs/gst/vaapi/Makefile.am:
31028         * gst-libs/gst/vaapi/gstvaapiutils_tsb.c:
31029         * gst-libs/gst/vaapi/gstvaapiutils_tsb.h:
31030           Drop obsolete GstVaapiTSB.
31031           It has been replaced with a GstAdapter and gst_adapter_prev_pts().
31032
31033 2012-07-19 17:27:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31034
31035         * docs/reference/libs/libs-sections.txt:
31036           docs: add missing entries for the JPEG decoder.
31037
31038 2012-07-19 17:16:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31039
31040         * configure.ac:
31041         * gst-libs/gst/vaapi/Makefile.am:
31042         * gst/vaapi/gstvaapidecode.c:
31043         * tests/test-decode.c:
31044         * tests/test-subpicture.c:
31045           Drop all references to USE_CODEC_PARSERS.
31046
31047 2012-07-19 17:00:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31048
31049         * NEWS:
31050         * configure.ac:
31051         * docs/reference/libs/libs-sections.txt:
31052         * docs/reference/libs/libs.core.types:
31053         * gst-libs/gst/vaapi/Makefile.am:
31054         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
31055         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
31056         * gst/vaapi/gstvaapidecode.c:
31057         * gst/vaapi/gstvaapidecode.h:
31058         * tests/test-decode.c:
31059         * tests/test-subpicture.c:
31060           Drop FFmpeg-based decoders.
31061           GStreamer codecparsers-based decoders are the only supported decoders now.
31062           Though, FFmpeg decoders are still available in gstreamer-vaapi 0.3.x series.
31063
31064 2012-07-01 05:55:05 +0900  Javier Jardón <jjardon@gnome.org>
31065
31066         * configure.ac:
31067         * debian.upstream/control.in:
31068           configure: bump glib required version to 2.28.
31069           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31070
31071 2012-06-29 08:45:47 +0900  Javier Jardón <jjardon@gnome.org>
31072
31073         * gst/vaapi/gstvaapidecode.h:
31074         * gst/vaapi/gstvaapidownload.h:
31075         * gst/vaapi/gstvaapipostproc.h:
31076         * gst/vaapi/gstvaapisink.h:
31077         * gst/vaapi/gstvaapiupload.h:
31078           plugins: declare _get_type() functions as const.
31079           Declaring a function as const enables better optimization of calls to
31080           the function.
31081           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31082
31083 2012-07-01 05:50:17 +0900  Javier Jardón <jjardon@gnome.org>
31084
31085         * gst/vaapi/gstvaapidecode.c:
31086         * gst/vaapi/gstvaapidownload.c:
31087         * gst/vaapi/gstvaapipostproc.c:
31088         * gst/vaapi/gstvaapisink.c:
31089         * gst/vaapi/gstvaapiupload.c:
31090           plugins: use g_clear_object() wherever applicable.
31091           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31092
31093 2012-06-29 15:19:51 +0900  Javier Jardón <jjardon@gnome.org>
31094
31095         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
31096         * gst-libs/gst/vaapi/gstvaapicontext.h:
31097         * gst-libs/gst/vaapi/gstvaapidecoder.h:
31098         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
31099         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
31100         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
31101         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
31102         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
31103         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
31104         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31105         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
31106         * gst-libs/gst/vaapi/gstvaapidisplay.h:
31107         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
31108         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
31109         * gst-libs/gst/vaapi/gstvaapiimage.h:
31110         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
31111         * gst-libs/gst/vaapi/gstvaapiobject.h:
31112         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
31113         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
31114         * gst-libs/gst/vaapi/gstvaapisurface.h:
31115         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
31116         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
31117         * gst-libs/gst/vaapi/gstvaapitexture.h:
31118         * gst-libs/gst/vaapi/gstvaapivalue.h:
31119         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
31120         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.h:
31121         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.h:
31122         * gst-libs/gst/vaapi/gstvaapivideopool.h:
31123         * gst-libs/gst/vaapi/gstvaapivideosink.h:
31124         * gst-libs/gst/vaapi/gstvaapiwindow.h:
31125         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
31126         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
31127           libs: declare _get_type() functions as const.
31128           Declaring a function as const enables better optimization of calls
31129           to the function.
31130           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31131
31132 2012-07-01 05:34:15 +0900  Javier Jardón <jjardon@gnome.org>
31133
31134         * gst-libs/gst/vaapi/glibcompat.h:
31135         * gst-libs/gst/vaapi/gstvaapicontext.c:
31136         * gst-libs/gst/vaapi/gstvaapidisplay.c:
31137         * gst-libs/gst/vaapi/gstvaapiobject.c:
31138         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
31139         * gst-libs/gst/vaapi/gstvaapisurface.c:
31140         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
31141         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
31142         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
31143         * gst-libs/gst/vaapi/gstvaapivideopool.c:
31144           libs: use g_clear_object() wherever applicable.
31145           This is a preferred thread-safe version. Also add an inline version of
31146           g_clear_object() if compiling with glib < 2.28.
31147           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31148
31149 2012-07-01 06:02:22 +0900  Javier Jardón <jjardon@gnome.org>
31150
31151         * .gitignore:
31152         * configure.ac:
31153         * docs/reference/libs/Makefile.am:
31154         * gst-libs/gst/vaapi/Makefile.am:
31155         * gst-libs/gst/vaapi/gstvaapimarshal.list:
31156         * gst-libs/gst/vaapi/gstvaapiobject.c:
31157           libs: use generic g_cclosure_marshal_VOID__VOID().
31158           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31159
31160 2012-07-19 14:29:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31161
31162         * configure.ac:
31163         * gst-libs/gst/vaapi/glibcompat.h:
31164           glibcompat: drop explicit check for g_list_free_full().
31165
31166 2012-07-19 13:58:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31167
31168         * configure.ac:
31169           Bump version for development.
31170
31171 2012-07-19 13:57:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31172
31173         * gst-libs/gst/codecparsers/Makefile.am:
31174           jpeg: fix make dist.
31175
31176 2012-06-28 00:39:10 +0900  Javier Jardón <jjardon@gnome.org>
31177
31178         * autogen.sh:
31179         * configure.ac:
31180         * docs/Makefile.am:
31181           configure: fix build without gtk-doc support.
31182           Also do not generate tamplate files as all the documentation is inline.
31183           Drop un-needed code in autogen.sh as well.
31184           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31185
31186 2012-06-28 00:27:31 +0900  Javier Jardón <jjardon@gnome.org>
31187
31188         * Makefile.am:
31189         * autogen.sh:
31190         * configure.ac:
31191           configure: put m4 macros and autogenerated files into m4/ directory.
31192           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31193
31194 2012-06-28 00:20:12 +0900  Javier Jardón <jjardon@gnome.org>
31195
31196         * configure.ac:
31197           configure: drop deprecated autoconf macros.
31198           Bump autoconf required version to 2.58, needed for AS_HELP_STRING macro.
31199           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31200
31201 2012-06-28 00:04:19 +0900  Javier Jardón <jjardon@gnome.org>
31202
31203         * configure.ac:
31204           configure: don't use AC_SUBST for some variables.
31205           PKG_CHECK_MODULES already does this for us.
31206           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31207
31208 2012-07-19 11:43:03 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31209
31210         * gst/vaapi/gstvaapidecode.c:
31211         * gst/vaapi/gstvaapidownload.c:
31212         * gst/vaapi/gstvaapipostproc.c:
31213         * gst/vaapi/gstvaapiupload.c:
31214           plugins: add support for GstImplementsInterface.
31215
31216 2012-07-01 02:58:36 +0900  Javier Jardón <jjardon@gnome.org>
31217
31218         * configure.ac:
31219         * gst/vaapi/gstvaapidecode.c:
31220         * gst/vaapi/gstvaapidownload.c:
31221         * gst/vaapi/gstvaapipostproc.c:
31222         * gst/vaapi/gstvaapisink.c:
31223         * gst/vaapi/gstvaapiupload.c:
31224           plugins: use G_DEFINE_TYPE_* instead of deprecated GST_BOILERPLATE_*.
31225           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31226
31227 2012-07-01 03:57:13 +0900  Javier Jardón <jjardon@gnome.org>
31228
31229         * configure.ac:
31230         * gst/vaapi/gstvaapisink.c:
31231           plugins: do not use deprecated GStreamer -base symbols.
31232           Bump GStreamer plugins -base required version to 0.10.31, needed for
31233           gst_x_overlay_got_window_handle().
31234           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31235
31236 2012-07-01 03:57:13 +0900  Javier Jardón <jjardon@gnome.org>
31237
31238         * configure.ac:
31239         * gst/vaapi/gstvaapidecode.c:
31240         * gst/vaapi/gstvaapidownload.c:
31241         * gst/vaapi/gstvaapipostproc.c:
31242         * gst/vaapi/gstvaapisink.c:
31243         * gst/vaapi/gstvaapiupload.c:
31244           plugins: do not use deprecated core GStreamer symbols.
31245           Bump GStreamer required version to 0.10.14, needed for
31246           gst_element_class_set_details_simple().
31247           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31248
31249 2012-07-19 10:54:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31250
31251         * tests/test-decode.c:
31252           tests: fix build without JPEG decoder support.
31253
31254 2012-07-17 13:44:45 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31255
31256         * tests/Makefile.am:
31257         * tests/test-decode.c:
31258         * tests/test-jpeg.c:
31259         * tests/test-jpeg.h:
31260           tests: add test for JPEG decoding.
31261
31262 2012-07-17 13:43:32 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31263
31264         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31265           jpeg: update to match latest parser API.
31266
31267 2012-07-16 17:35:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31268
31269         * gst-libs/gst/codecparsers/gstjpegparser.c:
31270         * gst-libs/gst/codecparsers/gstjpegparser.h:
31271           codecparsers: jpeg: tweak parser API.
31272           ... to allow for more consistent parsing API among various codec parsers.
31273           In particular, drop use of GList.
31274
31275 2012-07-16 16:24:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31276
31277         * configure.ac:
31278           jpeg: fix configure check for VA/JPEG decoding API.
31279
31280 2012-06-26 15:18:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31281
31282         * gst-libs/gst/vaapi/gstvaapiprofile.c:
31283           jpeg: fix build with VA-API < 0.32.0.
31284
31285 2012-06-26 15:04:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31286
31287         * NEWS:
31288           NEWS: updates.
31289
31290 2012-06-26 15:02:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31291
31292         * configure.ac:
31293           Bump version for development.
31294
31295 2012-06-26 14:46:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31296
31297         * NEWS:
31298         * configure.ac:
31299           0.3.7.
31300
31301 2012-06-26 13:34:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31302
31303         * NEWS:
31304           NEWS: updates.
31305
31306 2012-06-25 16:07:55 +0800  Yan Yin <yan.yin@intel.com>
31307
31308         * gst/vaapi/gstvaapipluginutil.c:
31309           vaapiplugin: fix build when compiling without GLX.
31310           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31311
31312 2012-06-26 11:03:25 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31313
31314         * configure.ac:
31315           configure: disable FFmpeg-based decoders.
31316           FFmpeg decoders are still available through the --enable-ffmpeg option
31317           but are no longer maintained.
31318
31319 2012-06-25 17:25:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31320
31321         * gst-libs/gst/vaapi/Makefile.am:
31322           Fix build with recent GStreamer stack.
31323
31324 2012-06-25 17:10:49 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31325
31326         * configure.ac:
31327         * gst-libs/gst/vaapi/gstvaapicompat.h:
31328         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31329           jpeg: update to current VA/JPEG decoding API.
31330
31331 2012-06-21 16:06:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31332
31333         * gst-libs/gst/codecparsers/gstjpegparser.c:
31334         * gst-libs/gst/codecparsers/gstjpegparser.h:
31335         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31336           codecparsers: jpeg: track valid quantization and Huffman tables.
31337           Add valid flag to GstJpegQuantTable and GstJpegHuffmanTable so that
31338           to determine whether a table actually changed since the last user
31339           synchronization point. That way, this makes it possible for some
31340           hardware accelerated decoding solution to upload only those tables
31341           that changed.
31342
31343 2012-06-05 10:10:22 +0800  Wind Yuan <feng.yuan@intel.com>
31344
31345         * gst-libs/gst/codecparsers/gstjpegparser.c:
31346           codecparsers: jpeg: use U_READ_UINT*() wherever possible.
31347           Use GstByteReader *_unchecked() variants as much as possible.
31348           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31349
31350 2012-06-04 16:20:13 +0800  Wind Yuan <feng.yuan@intel.com>
31351
31352         * gst-libs/gst/codecparsers/gstjpegparser.c:
31353         * gst-libs/gst/codecparsers/gstjpegparser.h:
31354         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31355           jpeg: add new GstJpegHuffmanTables structure.
31356           Add new GstJpegHuffmanTables helper structure to hold all possible
31357           AC/DC Huffman tables available to all components.
31358           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31359
31360 2012-06-04 15:52:19 +0800  Wind Yuan <feng.yuan@intel.com>
31361
31362         * gst-libs/gst/codecparsers/gstjpegparser.c:
31363         * gst-libs/gst/codecparsers/gstjpegparser.h:
31364         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31365           jpeg: make gst_jpeg_parse() support multiple scans.
31366           gst_jpeg_parse() now gathers all scans available in the supplied
31367           buffer. A scan comprises of the scan header and any entropy-coded
31368           segments or restart marker following it. The size and offset to
31369           the associated data (ECS + RST segments) are append to a new
31370           GstJpegScanOffsetSize structure.
31371           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31372
31373 2012-04-19 23:50:14 +0800  Wind Yuan <feng.yuan@intel.com>
31374
31375         * gst-libs/gst/codecparsers/gstjpegparser.c:
31376         * gst-libs/gst/codecparsers/gstjpegparser.h:
31377         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31378           jpeg: update to match latest parser API.
31379           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31380
31381 2012-04-13 01:58:39 -0400  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31382
31383         * gst-libs/gst/codecparsers/gstjpegparser.h:
31384           jpeg: simplify and optimize parser API.
31385
31386 2012-04-18 22:30:45 -0400  Wind Yuan <feng.yuan@intel.com>
31387
31388         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31389           mpeg: fix picture used to determine backward_reference_vop_coding_type.
31390           Complete fix brought by bf9f77b1afb0829b97e2d502057aec973c5fd7f5
31391           but Gwenole did not apply all the bits.
31392           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31393
31394 2012-04-27 04:13:00 -0400  Wind Yuan <feng.yuan@intel.com>
31395
31396         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31397           mpeg4: map Simple_Scalable profile to Advanced_Simple profile.
31398           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31399
31400 2012-04-27 04:10:17 -0400  Wind Yuan <feng.yuan@intel.com>
31401
31402         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31403           mpeg4: handle skipped frames (vop_hdr->coded = 0).
31404           Gracefully skip non VOP coded frames.
31405           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31406
31407 2012-04-26 04:00:41 -0400  Wind Yuan <feng.yuan@intel.com>
31408
31409         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31410           mpeg4: fix timestamp issues on too fast playback.
31411           Improve generation of presentation timestamps to be less sensitive
31412           to input stream errors. In practise, GOP is also a synchronization
31413           point for PTS calculation.
31414           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31415
31416 2012-04-16 10:02:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31417
31418         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
31419           Fix build without JPEG decoder.
31420
31421 2012-04-12 11:48:24 +0200  Wind Yuan <feng.yuan@intel.com>
31422
31423         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31424           mpeg4: fix VOP coding type of backward reference pictures.
31425           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31426
31427 2012-04-11 23:02:45 -0400  Wind Yuan <feng.yuan@intel.com>
31428
31429         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31430           mpeg4: fix handling of temporal reference distances.
31431           TRD and TRB fields are not large enough to hold the difference of PTS
31432           expressed with nanosecond resolution. So, compute them from the original
31433           VOP info.
31434           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31435
31436 2012-04-12 11:00:22 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31437
31438         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
31439           dpb: mpeg2: cosmetics.
31440           Define MAX_MPEG2_REFERENCES to 2 and avoid magic numbers all around.
31441
31442 2012-02-10 00:21:04 +0800  Wind Yuan <feng.yuan@intel.com>
31443
31444         * configure.ac:
31445         * gst-libs/gst/vaapi/Makefile.am:
31446         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
31447         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
31448         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c:
31449         * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h:
31450         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31451         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31452         * gst-libs/gst/vaapi/gstvaapiprofile.c:
31453         * gst-libs/gst/vaapi/gstvaapiprofile.h:
31454         * gst/vaapi/gstvaapidecode.c:
31455           Add initial JPEG decoder.
31456           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31457
31458 2012-02-10 00:21:04 +0800  Wind Yuan <feng.yuan@intel.com>
31459
31460         * configure.ac:
31461         * gst-libs/gst/Makefile.am:
31462         * gst-libs/gst/codecparsers/Makefile.am:
31463         * gst-libs/gst/codecparsers/gstjpegparser.c:
31464         * gst-libs/gst/codecparsers/gstjpegparser.h:
31465         * gst-libs/gst/vaapi/Makefile.am:
31466           codecparsers: add JPEG parser.
31467           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31468
31469 2012-04-10 13:29:10 +0200  Wind Yuan <feng.yuan@intel.com>
31470
31471         * gst/vaapi/gstvaapidecode.c:
31472           vaapidecode: fix VA display type.
31473           Fix typo whereby plain VADisplay type was used instead of the GstVaapiDisplay
31474           wrapper.
31475           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31476
31477 2012-04-10 14:28:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31478
31479         * gst/vaapi/gstvaapidecode.c:
31480           vaapidecode: fix includes when compiling for a single API.
31481
31482 2012-04-02 18:42:12 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31483
31484         * NEWS:
31485         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31486           mpeg2: fix calculation of macroblock_offset.
31487           Fix decoding of streams with extra slice() information before the first
31488           macroblock(). e.g. this fixes sony-ct3.bs from conformance test.
31489
31490 2012-04-02 18:09:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31491
31492         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31493           mpeg2: fix interpolation of GOP TSN from new PTS.
31494           New GOP TSN base could be mis-calculated. In particular, this fixes
31495           decoding of uruseiyatsura.vob from <http://samples.mplayerhq.hu/>.
31496
31497 2012-04-02 16:07:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31498
31499         * NEWS:
31500         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31501         * gst-libs/gst/vaapi/gstvaapiprofile.h:
31502           mpeg2: fix decoding of high profile streams.
31503           Allow MPEG-2 High profile streams only if the HW supports that profile
31504           or no High profile specific bits are used, and thus Main profile could
31505           be used instead. i.e. chroma_format is 4:2:0, intra_dc_precision is not
31506           set to 11 and no sequence_scalable_extension() was parsed.
31507
31508 2012-04-02 14:51:06 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31509
31510         * NEWS:
31511         * gst/vaapi/gstvaapidecode.c:
31512           vaapidecode: report unsupported codec profiles.
31513           Try to gracefully abort when the HW does not support the requested
31514           profile. There is no fallback unless profiles are correctly parsed
31515           and matched through caps beforehand.
31516
31517 2012-02-07 15:23:22 +0100  Holger Kaelberer <holger.k@elberer.de>
31518
31519         * NEWS:
31520         * gst/vaapi/gstvaapisink.c:
31521           vaapisink: don't resize a 'foreign' X-window.
31522           Don't forcibly resize foreign X windows. The user is responsible for
31523           their size and vaapisink shall not change this.
31524           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31525
31526 2012-02-07 15:21:05 +0100  Holger Kaelberer <holger.k@elberer.de>
31527
31528         * NEWS:
31529         * gst/vaapi/gstvaapisink.c:
31530         * gst/vaapi/gstvaapisink.h:
31531           vaapisink: recalculate render rect only if caps are negotiated.
31532           Fix gst_vaapisink_xoverlay_set_window_handle() when it is called before
31533           caps got negotiated. Besides, when a foreign window is provided by the
31534           user, so should the render rect.
31535           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31536
31537 2012-04-02 13:07:34 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31538
31539         * configure.ac:
31540           Bump version for development.
31541
31542 2012-04-02 10:07:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31543
31544         * configure.ac:
31545           0.3.6.
31546
31547 2012-04-02 12:52:54 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31548
31549         * docs/reference/libs/libs-docs.xml.in:
31550         * docs/reference/libs/libs-sections.txt:
31551         * docs/reference/plugins/plugins-docs.xml.in:
31552         * docs/reference/plugins/plugins-sections.txt:
31553         * docs/reference/plugins/plugins.types:
31554         * gst-libs/gst/vaapi/gstvaapiimage.c:
31555         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
31556         * gst/vaapi/gstvaapipostproc.c:
31557           Fix a few documentation issues.
31558
31559 2012-04-02 10:05:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31560
31561         * NEWS:
31562         * README:
31563           Update introduction and changelog.
31564
31565 2012-04-02 11:29:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31566
31567         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
31568         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
31569         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31570           mpeg2: allocate dummy picture for first field based I-frame.
31571           In P-pictures, prediction shall be made from the two most recently
31572           decoded reference fields. However, when the first I-frame is a field,
31573           the next field of the current picture could be a P-picture but only a
31574           single field was decoded so far. In this case, create a dummy picture
31575           with POC = -1 that will be used as reference.
31576           Some VA drivers would error out if P-pictures don't have a forward
31577           reference picture. This is true in general but not in this very specific
31578           initial case.
31579
31580 2012-04-02 10:43:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31581
31582         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31583           mpeg2: fix simple to main profile fallback.
31584           Allow fallback from simple to main profile when the HW decoder does
31585           not support the former profile and that no sequence_header_extension()
31586           is available to point out this.
31587
31588 2012-03-30 03:04:40 -0400  Wind Yuan <feng.yuan@intel.com>
31589
31590         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31591           mpeg4: improve error checking while decoding packets.
31592           decode_picture() could return an error when an MPEG-4 profile is not
31593           supported for example. In this case, the underlying VA context is not
31594           allocated and no other proper action can be taken. Likewise on exit
31595           from decode_slice().
31596           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31597
31598 2012-03-30 17:03:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31599
31600         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
31601         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31602         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31603         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31604           decoder: use POC to maintain the DPB.
31605           Introduce a POC field in GstVaapiPicture so that to store simpler sequential
31606           numbers. A signed 32-bit integer should be enough for 1 year of continuous
31607           video streaming at 60 Hz.
31608           Use this new POC value to maintain the DPB, instead of 64-bit timestamps.
31609           This also aligns with H.264 that will be migrated to GstVaapiDpb infrastructure.
31610
31611 2012-03-30 16:23:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31612
31613         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31614           mpeg2: rework generation of presentation timestamps.
31615           Always prefer PTS from the demuxer layer for GOP times. If this is invalid,
31616           i.e. demuxer could not determine the PTS or the generated PTS is lower than
31617           max PTS from past pictures, then try to fix it up based on the duration of
31618           a frame.
31619           For picture PTS, simply use the GOP PTS formerly computed then use TSN to
31620           reconstruct a current time. Also now handle wrapped TSN correctly.
31621
31622 2012-03-30 17:07:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31623
31624         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31625           mpeg2: ignore empty user-data packets.
31626           Fix tcela-8.bits conformance test.
31627
31628 2012-03-29 11:13:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31629
31630         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31631           mpeg2: review and report errors accordingly.
31632           Use GST_ERROR() to report real errors instead of hiding them into
31633           GST_DEBUG().
31634
31635 2012-03-28 19:15:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31636
31637         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31638           mpeg2: fix invalid interlaced frame in progressive sequence.
31639           Some streams, badly constructed, could have signaled an interlaced
31640           frame while the sequence was meant to be progressive. Warn and force
31641           frame to be progressive in this case.
31642
31643 2012-03-28 16:08:29 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31644
31645         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31646         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31647           mpeg2: add support for interlaced streams.
31648           Pictures are submitted to the HW for rendering only when both fields
31649           are decoded or current picture is a full frame.
31650
31651 2012-03-28 14:36:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31652
31653         * gst-libs/gst/vaapi/Makefile.am:
31654         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.c:
31655         * gst-libs/gst/vaapi/gstvaapidecoder_dpb.h:
31656         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31657           mpeg2: add new decoded picture buffer infrastructure.
31658           Decoded pictures are now maintained into DPB, similarly to H.264.
31659           The same mechanism could be re-used for VC-1 and MPEG-4:2 codecs.
31660
31661 2012-03-28 17:50:28 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31662
31663         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31664         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31665         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31666           decoder: add first-field flag to picture.
31667           Add first-field (FF) flag to GstVaapiPicture, thus not requiring is_first_field
31668           member in each decoder. Rather, when a GstVaapiPicture is created, it is considered
31669           as the first field. Any subsequent allocated field will become the second field.
31670
31671 2012-03-28 16:05:58 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31672
31673         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
31674         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
31675         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31676         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31677           decoder: allow pictures to be cloned for field decoding.
31678           Add gst_vaapi_picture_new_field() function that clones a picture, while
31679           preserving the parent picture surface. i.e. the surface proxy reference
31680           count is increased and other fields copied as is. Besides, the picture
31681           is reset into a "non-output" mode.
31682
31683 2012-03-28 16:07:44 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31684
31685         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31686         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31687         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31688           decoder: rework picture field flags.
31689           Add top-field-first (TFF) and interlaced flags to GstVaapiPicture so they
31690           could be propagated to the surface proxy when it is pushed for rendering.
31691           Besides, top and bottom fields are now expressed with picture structure flags
31692           from GstVaapiSurfaceRenderFlags.
31693
31694 2012-03-28 14:28:26 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31695
31696         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31697         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31698           decoder: add OUTPUT flag to pictures.
31699           Allow pictures to be marked as output gst_vaapi_picture_output().
31700
31701 2012-03-28 14:24:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31702
31703         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31704         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31705         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
31706           decoder: fix semantics of SKIPPED pictures.
31707           If GstVaapiPicture has flag SKIPPED set, this means gst_vaapi_picture_output()
31708           will not push the underlying surface for rendering. Besides, VC-1 skipped P-frame
31709           has nothing to do with rendering. This only means that the currently decoded
31710           picture is just a copy of its reference picture.
31711
31712 2012-03-28 15:16:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31713
31714         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
31715         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
31716         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
31717         * gst/vaapi/gstvaapipostproc.c:
31718           vaapipostproc: get "interlaced" attribute from surface proxy.
31719           Add new "interlaced" attribute to GstVaapiSurfaceProxy. Use this in
31720           vaapipostproc so that to handles cases where bitstream is interlaced
31721           but almost only frame pictures are generated. In this case, we should
31722           not be alternating between top/bottom fields.
31723
31724 2012-03-26 14:37:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31725
31726         * README:
31727         * debian.upstream/control.in:
31728         * gst/vaapi/Makefile.am:
31729         * gst/vaapi/gstvaapi.c:
31730         * gst/vaapi/gstvaapipostproc.c:
31731         * gst/vaapi/gstvaapipostproc.h:
31732           vaapipostproc: add new element for video postprocessing.
31733           Add vaapipostproc element for video postprocessing. So far, only basic
31734           bob deinterlacing is implemented. Interlaced mode is automatically
31735           detected based on sink caps ("interlaced" field).
31736
31737 2012-03-26 12:01:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31738
31739         * docs/reference/libs/libs-sections.txt:
31740         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
31741         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
31742         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
31743         * gst/vaapi/gstvaapisink.c:
31744           videobuffer: add surface render flags.
31745           Allow rendering flags, as a combination of GstVaapiSurfaceRenderFlags,
31746           to be set to the video buffer. In particular, this is mostly useful for
31747           basic deinterlacing.
31748
31749 2012-03-23 17:13:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31750
31751         * gst-libs/gst/vaapi/gstvaapicompat.h:
31752           compat: add compatibility glue with VA-API 0.34+ (WIP).
31753
31754 2012-03-23 17:11:18 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31755
31756         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31757           h264: skip all Filler Data NALs.
31758
31759 2012-03-22 03:28:22 -0400  Wind Yuan <feng.yuan@intel.com>
31760
31761         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31762           mpeg4: check for decoder status prior to decoding packet.
31763           Make sure there is a VA surface free prior to decoding the current frame.
31764           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31765
31766 2012-03-15 04:58:04 -0400  Wind Yuan <feng.yuan@intel.com>
31767
31768         * gst/vaapi/gstvaapidecode.c:
31769         * gst/vaapi/gstvaapidecode.h:
31770           decode: delay NEWSEGMENT event if vaapidecode element was not linked.
31771           Rationale: playbin2 links all elements at run-time. Once vaapidecode
31772           is created and a NEWSEGMENT event arrives, downstream element may not
31773           be ready yet. So, delay this event until next element is chained in,
31774           otherwise basesink could output "Received buffer without a new-segment.
31775           Assuming timestamps start from 0".
31776           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31777
31778 2012-03-13 20:33:41 -0400  Wind Yuan <feng.yuan@intel.com>
31779
31780         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31781           mpeg2: fix GOP timestamps when incorrect data is received.
31782           Some streams have incorrect GOP timestamps, or nothing set at all.
31783           i.e. GOP time is 00:00:00 for all GOPs. Try to recover in this case
31784           from demuxer timestamps, which are monotonic.
31785           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31786
31787 2012-03-13 02:03:31 -0400  Wind Yuan <feng.yuan@intel.com>
31788
31789         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31790           mpeg2: don't decode anything before the first sequence_header().
31791           Skip all pictures prior to the first sequence_header(). Besides,
31792           skip all picture_data() if there was no prior picture_header().
31793           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31794
31795 2012-02-07 15:57:14 +0100  Holger Kaelberer <holger.k@elberer.de>
31796
31797         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
31798           ffmpeg: add support for interlaced streams.
31799           Evaluate interlaced stream properties.
31800           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31801
31802 2012-02-07 15:54:15 +0100  Holger Kaelberer <holger.k@elberer.de>
31803
31804         * gst/vaapi/gstvaapidecode.c:
31805           vaapidecode: propagate interlaced and TFF properties downstream.
31806           Propagate "interlaced" caps downstream and set "tff" buffer flag
31807           appropriately to output buffers for interlaced pictures.
31808           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31809
31810 2012-02-07 15:54:15 +0100  Holger Kaelberer <holger.k@elberer.de>
31811
31812         * gst-libs/gst/vaapi/gstvaapidecoder.c:
31813         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
31814           decoder: maintain caps for interlaced streams.
31815           Extend GstVaapiDecoder base object to maintain caps with "interlaced"
31816           property.
31817           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31818
31819 2012-02-07 15:54:15 +0100  Holger Kaelberer <holger.k@elberer.de>
31820
31821         * docs/reference/libs/libs-sections.txt:
31822         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
31823         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
31824           surfaceproxy: add TFF property.
31825           Add TFF (top-field-first) property to GstVaapiSurfaceProxy.
31826           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31827
31828 2012-03-16 14:21:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31829
31830         * AUTHORS:
31831           AUTHORS: update to match current authors.
31832
31833 2012-02-28 11:58:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31834
31835         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31836           mpeg2: fix is_first_field calculation.
31837           Reset is_first_field for frame pictures. Factor out locations where
31838           the flag is updated.
31839
31840 2012-02-24 12:56:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31841
31842         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31843           mpeg2: catch incorrect picture_structure from bitstreams.
31844           Assume "frame" picture structure if the syntax element was zero or if
31845           progressive_frame is set.
31846
31847 2012-02-24 12:53:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31848
31849         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31850           mpeg2: fix slice_vertical_position calculation (again).
31851           VA-API expects slice_vertical_position as the initial position from the
31852           bitstream. i.e. the direct slice() information. VA drivers will be fixed
31853           accordingly.
31854
31855 2012-03-02 15:03:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31856
31857         * gst/vaapi/gstvaapidecode.c:
31858           Revert "vaapidecode: fix another pad template ref leak" (Holger Kaelberer)
31859           This reverts commit 2f127d6af473afd647a2c88f75faafd1cd718437.
31860           For gst_element_class_get_pad_template(), no unreferencing is necessary
31861           according to the GStreamer documentation.
31862
31863 2012-03-02 13:41:16 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31864
31865         * configure.ac:
31866         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31867           h264: fix slice_data_bit_offset calculation.
31868           Unlike what VA-API documentation defines, the slice_data_bit_offset
31869           represents the offset to the first macroblock in the slice data, minus
31870           any emulation prevention bytes in the slice_header().
31871           This fix copes with binary-only VA drivers that won't be fixed any
31872           time soon. Besides, this aligns with the current FFmpeg behaviour
31873           that was based on those proprietary drivers implementing the API
31874           incorrectly.
31875
31876 2012-02-21 02:11:20 -0500  Wind Yuan <feng.yuan@intel.com>
31877
31878         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31879           h264: skip all Access Unit (AU) NALs.
31880           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31881
31882 2012-02-29 03:08:46 -0500  Wind Yuan <feng.yuan@intel.com>
31883
31884         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31885           h264: fix modification process of reference picture lists.
31886           Construction of RefPicList0/1 could be off by one element.
31887           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31888
31889 2012-02-12 11:21:52 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
31890
31891         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31892           mpeg2: fix size calculation from sequence_extension().
31893           Original values from sequence_header() are 12-bit and the remaining
31894           2 most significant bits are coming from sequence_extension().
31895           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31896
31897 2012-02-23 16:39:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31898
31899         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31900           mpeg2: fix slice_vertical_position calculation.
31901           Make sure to adjust slice_vertical_position if picture structure
31902           is a top or bottom field.
31903
31904 2012-02-23 16:23:27 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31905
31906         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
31907           decoder: add picture structure flags.
31908
31909 2012-02-23 14:42:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31910
31911         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31912           mpeg2: fix decoding at end-of-sequence.
31913
31914 2012-02-23 14:17:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31915
31916         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31917           mpeg2: fix slice_horizontal_position calculation.
31918
31919 2012-02-23 16:14:02 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31920
31921         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31922           mpeg2: drop useless mb_y and mb_height members.
31923
31924 2012-02-23 11:19:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31925
31926         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31927           mpeg2: fix decoding of multiple slices with same slice_vertical_position.
31928           6.3.15 says that "some slices may have the same slice_vertical_position,
31929           since slices may start and finish anywhere". So, we can't submit the current
31930           picture to the HW right away since subsequent slices would be missing.
31931
31932 2012-02-15 14:08:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31933
31934         * gst-libs/gst/vaapi/gstvaapiimage.c:
31935           image: fix source stride in picture copy.
31936
31937 2012-02-13 10:10:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31938
31939         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
31940           decoder: fix double buffer free with some VA drivers.
31941           vaRenderPicture() implicitly disposes VA buffers. Some VA drivers would
31942           push the VA buffer object into a list of free buffers to be re-used. However,
31943           reference pictures (and data) that was kept would explicitly release the VA
31944           buffer object later on, thus possibly destroying a valid (re-used) object.
31945           Besides, some other VA drivers don't support correctly the vaRenderPicture()
31946           semantics for VA buffers disposal and would leak memory if there is no explicit
31947           vaDestroyBuffer(). The temporary workaround is to explcitily destroy VA buffers
31948           right after vaRenderPicture(). All VA drivers need to be aligned.
31949
31950 2012-02-08 18:08:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31951
31952         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31953           h264: complete any current picture decoder before SPS / PPS change.
31954           This ensures the VA context is clear when the encoded resolution
31955           changes. i.e. make sure older picture is decoded with the older
31956           VA context before it changes.
31957
31958 2012-02-08 18:07:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31959
31960         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31961           h264: create VA context earlier when SPS is parsed.
31962
31963 2012-02-08 17:57:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31964
31965         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
31966           h264: don't allocate too big data structures on stack.
31967
31968 2012-02-07 11:07:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31969
31970         * gst-libs/gst/vaapi/glibcompat.h:
31971         * gst-libs/gst/vaapi/gstvaapidisplay.c:
31972         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
31973           glib: map deprecated API to glib >= 2.32 equivalents.
31974           GStaticMutex and GStaticRecMutex are now replaced with GMutex and
31975           GRecMutex, which no longer require any prior call to g_thread_init().
31976
31977 2012-02-07 10:01:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31978
31979         * gst-libs/gst/vaapi/gstvaapiutils.h:
31980         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
31981         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
31982           glib: fix includes.
31983
31984 2012-02-07 10:05:53 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31985
31986         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
31987         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
31988         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
31989         * gst-libs/gst/vaapi/gstvaapidisplay.c:
31990           cosmetics: fix warnings (drop unused variables).
31991
31992 2012-02-06 16:11:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31993
31994         * gst/vaapi/gstvaapidecode.c:
31995           vaapidecode: fix another pad template ref leak.
31996
31997 2012-02-06 15:54:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
31998
31999         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32000         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32001         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32002           mpeg2: fix crash when there is no free surface to decode into.
32003
32004 2012-01-31 16:38:58 +0800  Zhao Halley <halley.zhao@intel.com>
32005
32006         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32007           display: skip profiles which have no entrypoints.
32008           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32009
32010 2012-02-05 18:28:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32011
32012         * gst/vaapi/gstvaapiupload.c:
32013           vaapiupload: use g_object_unref() for GstVaapiImage.
32014
32015 2012-02-05 18:24:08 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32016
32017         * gst/vaapi/gstvaapidecode.c:
32018         * gst/vaapi/gstvaapidownload.c:
32019         * gst/vaapi/gstvaapisink.c:
32020         * gst/vaapi/gstvaapiupload.c:
32021           plugins: fix pad template ref leaks.
32022
32023 2012-02-02 09:23:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32024
32025         * configure.ac:
32026           Bump version for development.
32027
32028 2012-02-01 23:34:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32029
32030         * NEWS:
32031         * configure.ac:
32032           0.3.4.
32033
32034 2012-02-01 23:32:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32035
32036         * README:
32037           README: updates.
32038           Mention codecparsers-based decoders, FFmpeg is now optional. Update
32039           list of support HW.
32040
32041 2012-02-01 23:28:23 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32042
32043         * NEWS:
32044           NEWS: updates.
32045
32046 2012-01-31 11:34:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32047
32048         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32049           decoder: allocate proxy surface earlier.
32050           This simplifies gst_vaapi_picture_output() to only update the presentation
32051           timestamp and submit the proxy to the decoder for output.
32052
32053 2012-01-31 11:26:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32054
32055         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32056           decoder: fix memory leak of VA objects on exit.
32057           On sequence end, if the last decoded picture is not output for rendering,
32058           then the proxy surface is not created. In this case, the original surface
32059           must be released explicitly to the context.
32060
32061 2012-01-31 10:47:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32062
32063         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32064           mpeg2: use GstAdapter to track input sequence.
32065           This fixes possible memory leaks and improves performance by removing
32066           some extra copies.
32067
32068 2012-01-30 18:25:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32069
32070         * configure.ac:
32071         * gst-libs/gst/vaapi/Makefile.am:
32072         * gst-libs/gst/vaapi/glibcompat.h:
32073         * gst-libs/gst/vaapi/sysdeps.h:
32074           Add glib compatibility glue for older versions.
32075
32076 2012-01-30 18:12:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32077
32078         * gst-libs/gst/vaapi/Makefile.am:
32079         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
32080         * gst-libs/gst/vaapi/gstvaapicontext.c:
32081         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32082         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
32083         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32084         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32085         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
32086         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32087         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32088         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32089         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
32090         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
32091         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
32092         * gst-libs/gst/vaapi/gstvaapiimage.c:
32093         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
32094         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
32095         * gst-libs/gst/vaapi/gstvaapiobject.c:
32096         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
32097         * gst-libs/gst/vaapi/gstvaapiprofile.c:
32098         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
32099         * gst-libs/gst/vaapi/gstvaapisurface.c:
32100         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
32101         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
32102         * gst-libs/gst/vaapi/gstvaapitexture.c:
32103         * gst-libs/gst/vaapi/gstvaapiutils.c:
32104         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32105         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
32106         * gst-libs/gst/vaapi/gstvaapivalue.c:
32107         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
32108         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c:
32109         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
32110         * gst-libs/gst/vaapi/gstvaapivideopool.c:
32111         * gst-libs/gst/vaapi/gstvaapivideosink.c:
32112         * gst-libs/gst/vaapi/gstvaapiwindow.c:
32113         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
32114         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
32115         * gst-libs/gst/vaapi/sysdeps.h:
32116           Add header for system-dependent definitions.
32117
32118 2012-01-30 10:15:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32119
32120         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
32121         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32122         * gst-libs/gst/vaapi/gstvaapiutils.c:
32123         * gst-libs/gst/vaapi/gstvaapiutils.h:
32124           decoder: optimize slice data buffers initialization.
32125           VA drivers may have a faster means to transfer user buffers to GPU
32126           buffers than using memcpy(). In particular, on Intel Gen graphics, we
32127           can use pwrite(). This provides for faster upload of bitstream and can
32128           help higher bitrates.
32129           vaapi_create_buffer() helper function was also updated to allow for
32130           un-mapped buffers and pre-initialized data for buffers.
32131
32132 2012-01-27 17:28:50 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32133
32134         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32135           h264: simplify RefPicList reconstruction.
32136
32137 2012-01-27 16:08:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32138
32139         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32140           h264: flush DPB when the end of the sequence is reached.
32141
32142 2012-01-24 15:38:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32143
32144         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32145           h264: handle Decoded Picture Buffer (DPB).
32146
32147 2012-01-24 09:20:25 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32148
32149         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32150           h264: fix pred_weight_table() reconstruction.
32151           Only the explicit pred_weight_table(), possibly with the inferred default
32152           values, shall be required. e.g. don't fill in the table if weighted_pred_flag
32153           is not set for P/SP slices.
32154
32155 2012-01-23 15:03:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32156
32157         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32158           h264: execute reference picture marking process (MMCO).
32159
32160 2012-01-23 15:20:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32161
32162         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32163           h264: fix presentation timestamps.
32164
32165 2012-01-18 13:38:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32166
32167         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32168           h264: execute reference picture marking process (sliding window).
32169
32170 2012-01-17 10:42:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32171
32172         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32173           h264: handle avcC format for decoding buffers.
32174
32175 2011-11-25 14:37:00 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
32176
32177         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32178           h264: handle codec-data.
32179           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32180
32181 2011-08-12 17:43:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32182
32183         * gst-libs/gst/vaapi/Makefile.am:
32184         * gst-libs/gst/vaapi/gstvaapidecoder_h264.c:
32185         * gst-libs/gst/vaapi/gstvaapidecoder_h264.h:
32186         * gst/vaapi/gstvaapidecode.c:
32187         * tests/test-decode.c:
32188           Add initial H.264 decoder.
32189
32190 2012-01-26 15:28:42 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32191
32192         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32193         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
32194           decoder: retain proxy surface until the GstVaapiPicture is destroyed.
32195           Keep a valid reference to the proxy in GstVaapiPicture so that frames
32196           marked as "used for reference" could be kept during the lifetime of the
32197           picture. i.e. don't release them too soon as they could be re-used right
32198           away.
32199
32200 2012-01-26 15:19:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32201
32202         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32203         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
32204         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32205           decoder: properly reference count pictures.
32206           This fixes cases where a GstVaapiPicture would be destroyed whereas
32207           there is still a valid instance of it in either prev, current or
32208           next picture.
32209
32210 2012-01-26 14:54:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32211
32212         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32213         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
32214         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32215         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32216           decoder: simplify output of decoded frames.
32217           Drop obsolete gst_vaapi_decoder_push_surface() that was no longer used.
32218           Change gst_vaapi_decoder_push_surface_proxy() semantics to assume PTS
32219           is already set correctly and reference count increased, if necessary.
32220
32221 2012-01-26 09:48:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32222
32223         * gst-libs/gst/vaapi/Makefile.am:
32224         * gst-libs/gst/vaapi/gstvaapicodec_objects.c:
32225         * gst-libs/gst/vaapi/gstvaapicodec_objects.h:
32226         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32227         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32228         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
32229         * gst-libs/gst/vaapi/gstvaapidecoder_objects.c:
32230         * gst-libs/gst/vaapi/gstvaapidecoder_objects.h:
32231         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32232         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32233           decoder: rework the internal VA objects API.
32234           The new API simplifies a lot reference counting and makes it more
32235           flexible for future additions/changes. The GstVaapiCodecInfo is
32236           also gone. Rather, new helper macros are provided to allocate
32237           picture, slice and quantization matrix parameter buffers.
32238
32239 2012-01-24 10:21:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32240
32241         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32242         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32243           decoder: allow slices to be attached to pictures later.
32244
32245 2011-11-21 18:39:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32246
32247         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32248         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32249           decoder: add ref_count to GstVaapiPicture.
32250
32251 2012-01-23 11:48:42 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32252
32253         * gst/vaapi/gstvaapisink.c:
32254           vaapisink: cap window size to the maximum display size.
32255
32256 2012-01-18 10:23:41 +0100  Zhao Halley <halley.zhao@intel.com>
32257
32258         * gst-libs/gst/vaapi/gstvaapiprofile.c:
32259         * gst-libs/gst/vaapi/gstvaapiworkarounds.h:
32260           profile: match video/x-h263 as H.263 Baseline profile.
32261           HACK: qtdemux does not report profiles for H.263. So, assume plain
32262           "video/x-h263" is H.263 Baseline profile.
32263           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32264
32265 2012-01-18 10:22:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32266
32267         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32268         * gst-libs/gst/vaapi/gstvaapiworkarounds.h:
32269           display: report H.263 Baseline profile.
32270           HACK: expose GST_VAAPI_PROFILE_H263_BASELINE for decoding if MPEG-4:2 Simple
32271           profile (VAProfileMPEG4Simple) is supported.
32272
32273 2012-01-24 10:06:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32274
32275         * gst-libs/gst/vaapi/Makefile.am:
32276         * gst-libs/gst/vaapi/gstvaapiworkarounds.h:
32277           Add template for workarounds.
32278
32279 2012-01-18 10:47:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32280
32281         * tests/test-decode.c:
32282           tests: error out if FFmpeg|codecparsers are not supported.
32283
32284 2012-01-18 10:42:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32285
32286         * docs/reference/libs/libs-sections.txt:
32287         * gst-libs/gst/vaapi/gstvaapisurface.h:
32288         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
32289           surface: don't expose gst_vaapi_surface_get_parent_context().
32290           gst_vaapi_surface_get_parent_context() was not meant to be exposed globally.
32291           It's just an internal helper function. However, it's still possible to get
32292           the parent context through the "parent-context" property.
32293
32294 2012-01-16 14:19:00 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32295
32296         * tests/Makefile.am:
32297         * tests/test-subpicture.c:
32298           tests: fix build without FFmpeg.
32299
32300 2012-01-16 14:09:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32301
32302         * configure.ac:
32303           Bump version for development.
32304
32305 2012-01-16 11:05:31 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32306
32307         * NEWS:
32308         * configure.ac:
32309           0.3.3.
32310
32311 2012-01-16 11:03:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32312
32313         * README:
32314         * debian.upstream/copyright:
32315         * gst-libs/gst/vaapi/gstvaapicontext.c:
32316         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32317         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
32318         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32319         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32320         * gst-libs/gst/vaapi/gstvaapidisplay.h:
32321         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
32322         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
32323         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
32324         * gst-libs/gst/vaapi/gstvaapiimage.c:
32325         * gst-libs/gst/vaapi/gstvaapiimage.h:
32326         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
32327         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
32328         * gst-libs/gst/vaapi/gstvaapiutils.c:
32329         * gst-libs/gst/vaapi/gstvaapiutils.h:
32330         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32331         * gst-libs/gst/vaapi/gstvaapiwindow.c:
32332         * gst/vaapi/gstvaapi.c:
32333         * gst/vaapi/gstvaapidecode.c:
32334         * gst/vaapi/gstvaapidownload.c:
32335         * gst/vaapi/gstvaapidownload.h:
32336         * gst/vaapi/gstvaapipluginutil.c:
32337         * gst/vaapi/gstvaapipluginutil.h:
32338         * gst/vaapi/gstvaapisink.c:
32339         * gst/vaapi/gstvaapiupload.c:
32340         * gst/vaapi/gstvaapiupload.h:
32341         * tests/test-decode.c:
32342           legal: fix year for some copyright notices.
32343
32344 2012-01-16 10:42:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32345
32346         * gst-libs/gst/vaapi/gstvaapicontext.c:
32347         * gst-libs/gst/vaapi/gstvaapicontext.h:
32348         * gst-libs/gst/vaapi/gstvaapidecoder.h:
32349         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32350         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32351         * gst-libs/gst/vaapi/gstvaapidisplay.h:
32352         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
32353         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
32354         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
32355         * gst-libs/gst/vaapi/gstvaapiimage.c:
32356         * gst-libs/gst/vaapi/gstvaapiimage.h:
32357         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
32358         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
32359         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
32360         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
32361         * gst-libs/gst/vaapi/gstvaapisurface.c:
32362         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
32363         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
32364         * gst-libs/gst/vaapi/gstvaapiutils.c:
32365         * gst-libs/gst/vaapi/gstvaapiutils.h:
32366         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32367         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
32368         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
32369         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
32370         * gst-libs/gst/vaapi/gstvaapiwindow.c:
32371         * gst/vaapi/gstvaapidownload.h:
32372         * gst/vaapi/gstvaapisink.h:
32373         * gst/vaapi/gstvaapiupload.h:
32374         * tests/test-decode.c:
32375           legal: add Intel copyright on modified files.
32376
32377 2012-01-16 10:41:10 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32378
32379         * gst-libs/gst/vaapi/gstvaapi_priv.h:
32380         * gst-libs/gst/vaapi/gstvaapicompat.h:
32381         * gst-libs/gst/vaapi/gstvaapicontext.c:
32382         * gst-libs/gst/vaapi/gstvaapicontext.h:
32383         * gst-libs/gst/vaapi/gstvaapidebug.h:
32384         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32385         * gst-libs/gst/vaapi/gstvaapidecoder.h:
32386         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
32387         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
32388         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32389         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32390         * gst-libs/gst/vaapi/gstvaapidisplay.h:
32391         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
32392         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
32393         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
32394         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
32395         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
32396         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
32397         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
32398         * gst-libs/gst/vaapi/gstvaapiimage.c:
32399         * gst-libs/gst/vaapi/gstvaapiimage.h:
32400         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
32401         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
32402         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
32403         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
32404         * gst-libs/gst/vaapi/gstvaapiobject.c:
32405         * gst-libs/gst/vaapi/gstvaapiobject.h:
32406         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
32407         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
32408         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
32409         * gst-libs/gst/vaapi/gstvaapiprofile.c:
32410         * gst-libs/gst/vaapi/gstvaapiprofile.h:
32411         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
32412         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
32413         * gst-libs/gst/vaapi/gstvaapisurface.c:
32414         * gst-libs/gst/vaapi/gstvaapisurface.h:
32415         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
32416         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
32417         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
32418         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
32419         * gst-libs/gst/vaapi/gstvaapitexture.c:
32420         * gst-libs/gst/vaapi/gstvaapitexture.h:
32421         * gst-libs/gst/vaapi/gstvaapitypes.h:
32422         * gst-libs/gst/vaapi/gstvaapiutils.c:
32423         * gst-libs/gst/vaapi/gstvaapiutils.h:
32424         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32425         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
32426         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
32427         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
32428         * gst-libs/gst/vaapi/gstvaapivalue.c:
32429         * gst-libs/gst/vaapi/gstvaapivalue.h:
32430         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
32431         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
32432         * gst-libs/gst/vaapi/gstvaapivideopool.c:
32433         * gst-libs/gst/vaapi/gstvaapivideopool.h:
32434         * gst-libs/gst/vaapi/gstvaapivideosink.c:
32435         * gst-libs/gst/vaapi/gstvaapivideosink.h:
32436         * gst-libs/gst/vaapi/gstvaapiwindow.c:
32437         * gst-libs/gst/vaapi/gstvaapiwindow.h:
32438         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
32439         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
32440         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
32441         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
32442         * gst/vaapi/gstvaapidecode.c:
32443         * gst/vaapi/gstvaapidecode.h:
32444         * gst/vaapi/gstvaapidownload.c:
32445         * gst/vaapi/gstvaapidownload.h:
32446         * gst/vaapi/gstvaapisink.c:
32447         * gst/vaapi/gstvaapisink.h:
32448         * gst/vaapi/gstvaapiupload.c:
32449         * gst/vaapi/gstvaapiupload.h:
32450         * tests/image.c:
32451         * tests/image.h:
32452         * tests/test-decode.c:
32453         * tests/test-decode.h:
32454         * tests/test-display.c:
32455         * tests/test-h264.c:
32456         * tests/test-h264.h:
32457         * tests/test-mpeg2.c:
32458         * tests/test-mpeg2.h:
32459         * tests/test-surfaces.c:
32460         * tests/test-textures.c:
32461         * tests/test-vc1.c:
32462         * tests/test-vc1.h:
32463         * tests/test-windows.c:
32464           legal: fix copyright notices to include "Copyright" term.
32465
32466 2011-12-09 16:44:03 +0800  Zhao Halley <halley.zhao@intel.com>
32467
32468         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
32469         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
32470           mpeg4: replace GstVaapiTSB with GstAdapter (gst-plugins-base >= 0.10.24).
32471           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32472
32473 2011-12-09 16:28:11 +0800  Zhao Halley <halley.zhao@intel.com>
32474
32475         * gst-libs/gst/vaapi/Makefile.am:
32476         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c:
32477         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h:
32478         * gst/vaapi/gstvaapidecode.c:
32479           Add initial MPEG-4 decoder.
32480           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32481
32482 2011-11-18 15:41:40 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
32483
32484         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32485         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
32486           vc1: replace GstVaapiTSB with GstAdapter (gst-plugins-base >= 0.10.24).
32487           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32488
32489 2011-10-07 11:50:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32490
32491         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32492           vc1: fix codec-data decoding for WMV3 format.
32493
32494 2011-10-07 11:12:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32495
32496         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32497           vc1: fix presentation timestamps.
32498
32499 2011-10-06 15:59:22 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32500
32501         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32502           vc1: fix MV mode packing.
32503
32504 2011-10-05 16:41:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32505
32506         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32507           vc1: handle codec-data.
32508
32509 2011-10-05 15:56:36 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32510
32511         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32512           vc1: handle encapsulated bitstreams.
32513
32514 2011-10-04 17:51:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32515
32516         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32517         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32518         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32519           vc1: fix bitplanes decoding.
32520
32521 2011-10-04 14:15:55 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32522
32523         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32524           vc1: fix BFRACTION reconstruction.
32525
32526 2011-09-30 17:16:23 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32527
32528         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32529           vc1: fix framerate calculation.
32530
32531 2011-09-30 13:40:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32532
32533         * gst-libs/gst/vaapi/Makefile.am:
32534         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c:
32535         * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h:
32536         * gst/vaapi/gstvaapidecode.c:
32537         * tests/test-decode.c:
32538           Add initial VC-1 decoder.
32539
32540 2012-01-09 17:37:34 +0100  Zhao Halley <halley.zhao@intel.com>
32541
32542         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32543           mpeg2: fix first field detection.
32544           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32545
32546 2012-01-06 16:44:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32547
32548         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32549           mpeg2: fix quantisation matrix construction.
32550
32551 2011-11-18 15:06:07 +0200  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
32552
32553         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32554         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
32555           mpeg2: replace GstVaapiTSB API with GstAdapter (gst-plugins-base >= 0.10.24).
32556           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32557
32558 2011-09-14 18:11:57 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32559
32560         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32561           mpeg2: fix packets spanning over two buffers.
32562
32563 2011-09-12 18:20:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32564
32565         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32566           mpeg2: ignore system start codes (PES headers).
32567
32568 2011-09-12 18:02:53 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32569
32570         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32571           mpeg2: handle closed_gop.
32572
32573 2011-08-05 11:55:11 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32574
32575         * gst-libs/gst/vaapi/Makefile.am:
32576         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c:
32577         * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h:
32578         * gst/vaapi/gstvaapidecode.c:
32579         * tests/test-decode.c:
32580           Add initial MPEG-2 decoder.
32581
32582 2011-08-12 10:21:19 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32583
32584         * configure.ac:
32585         * gst-libs/gst/vaapi/Makefile.am:
32586         * gst/vaapi/gstvaapidecode.c:
32587         * tests/test-decode.c:
32588           Allow conditional build of GStreamer/FFmpeg bitstream parsers.
32589
32590 2011-08-05 11:53:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32591
32592         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32593         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32594           Add VA decoder helpers.
32595
32596 2011-08-05 11:52:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32597
32598         * gst-libs/gst/vaapi/gstvaapidecoder.h:
32599           decoder: add new error codes.
32600           GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_PROFILE: for unsupported profile
32601           GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_CHROMA_FORMAT: for unsupported chroma format
32602
32603 2011-09-12 13:00:59 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32604
32605         * gst-libs/gst/vaapi/Makefile.am:
32606         * gst-libs/gst/vaapi/gstvaapiutils_tsb.c:
32607         * gst-libs/gst/vaapi/gstvaapiutils_tsb.h:
32608           Add timestamp buffer store helper utils.
32609
32610 2011-08-04 17:29:41 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32611
32612         * gst-libs/gst/vaapi/gstvaapiutils.c:
32613         * gst-libs/gst/vaapi/gstvaapiutils.h:
32614           Add VA buffer helpers.
32615
32616 2012-01-13 15:03:38 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32617
32618         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32619           utils: slight improvements to gl_bind_texture().
32620
32621 2012-01-13 14:13:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32622
32623         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32624           utils: pretty-print output of gl_get_error_string().
32625
32626 2012-01-13 14:03:29 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32627
32628         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
32629           utils: rewrite gl_perspective() as per OpenGL FAQ 9.085.
32630
32631 2012-01-13 12:09:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32632
32633         * gst-libs/gst/vaapi/gstvaapiutils.c:
32634           utils: simplify string of VAProfile/VAEntrypoint.
32635
32636 2012-01-13 11:46:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32637
32638         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32639         * gst-libs/gst/vaapi/gstvaapiutils.c:
32640         * gst-libs/gst/vaapi/gstvaapiutils.h:
32641           utils: drop string_of_FOURCC() in favor of standard GST_FOURCC_* helpers.
32642
32643 2012-01-12 17:18:47 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32644
32645         * NEWS:
32646           NEWS: updates.
32647
32648 2012-01-12 15:34:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32649
32650         * tests/test-decode.c:
32651           tests: check for shared VA displays (display cache).
32652
32653 2012-01-12 15:30:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32654
32655         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32656           display: always free VA display cache if it is empty.
32657
32658 2012-01-12 15:03:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32659
32660         * gst-libs/gst/vaapi/gstvaapidisplay.c:
32661         * gst-libs/gst/vaapi/gstvaapidisplay.h:
32662         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
32663         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
32664         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
32665           display: use VA display cache for X11 and GLX winsys.
32666
32667 2012-01-12 12:46:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32668
32669         * gst-libs/gst/vaapi/Makefile.am:
32670         * gst-libs/gst/vaapi/gstvaapidisplay.h:
32671         * gst-libs/gst/vaapi/gstvaapidisplaycache.c:
32672         * gst-libs/gst/vaapi/gstvaapidisplaycache.h:
32673           display: implement a VA display cache.
32674
32675 2012-01-11 14:13:06 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32676
32677         * gst/vaapi/gstvaapipluginutil.c:
32678           vaapiplugin: fix gst_vaapi_ensure_display() to use system defaults.
32679           This ensures the display name provided to gst_vaapi_display_*_new()
32680           maps to the system defaults, instead of forcing "" that could be different
32681           from the current DISPLAY name.
32682
32683 2011-08-26 15:44:25 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
32684
32685         * gst/vaapi/gstvaapiupload.c:
32686           vaapiupload: only set caps on newly created buffers.
32687           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32688
32689 2012-01-11 14:11:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32690
32691         * gst/vaapi/gstvaapisink.c:
32692           vaapisink: ensure VA display in GstBaseSink::start() hook.
32693           This ensures a VA display is ready by the time upstream elements request
32694           for it.
32695
32696 2011-08-26 15:44:46 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
32697
32698         * gst/vaapi/gstvaapisink.c:
32699           vaapisink: don't leak GL texture.
32700           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32701
32702 2012-01-09 16:51:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32703
32704         * gst/vaapi/gstvaapisink.c:
32705           vaapisink: fix calculation of render region.
32706
32707 2012-01-09 11:23:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32708
32709         * gst/vaapi/gstvaapisink.c:
32710           vaapisink: automatically fit video to window.
32711
32712 2012-01-09 10:37:30 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32713
32714         * gst/vaapi/gstvaapisink.c:
32715           vaapisink: implement GstXOverlay::set_render_rectangle().
32716
32717 2012-01-09 11:04:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32718
32719         * gst-libs/gst/vaapi/gstvaapiwindow.c:
32720           window: always check geometry when the window is mapped.
32721
32722 2012-01-06 17:51:59 +0100  Zhao Halley <halley.zhao@intel.com>
32723
32724         * gst-libs/gst/vaapi/gstvaapiutils.c:
32725           Add missing profiles from VA-API 0.32.0.
32726           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32727
32728 2012-01-06 16:48:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32729
32730         * .gitignore:
32731           .gitignore: add test-subpicture.
32732
32733 2012-01-06 11:23:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32734
32735         * configure.ac:
32736           Bump version for development.
32737
32738 2012-01-06 11:20:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32739
32740         * NEWS:
32741         * configure.ac:
32742           0.3.2.
32743
32744 2012-01-06 11:18:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32745
32746         * tests/Makefile.am:
32747           tests: fix make dist (ship with test-subpicture-data.h).
32748
32749 2012-01-05 17:35:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32750
32751         * NEWS:
32752           NEWS: updates.
32753
32754 2012-01-05 17:09:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32755
32756         * gst-libs/gst/vaapi/gstvaapidecoder.c:
32757         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
32758         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
32759           decoder: fix possible leak of VA surfaces.
32760           Under some circumstances, we could have leaked a surface, thus not
32761           releasing it to the pool of available surfaces in the VA context.
32762           The strategy is now to use a proxy earlier and automatically ref/unref
32763           whenever necessary. In particular, during the lifetime needed for FFmpeg.
32764
32765 2012-01-05 16:59:57 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32766
32767         * docs/reference/libs/libs-sections.txt:
32768         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
32769         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
32770           surfaceproxy: add helper to retrieve the VA surface ID.
32771
32772 2012-01-05 16:44:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32773
32774         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
32775           surfaceproxy: simplify destruction.
32776           Also make sure to always make sure to release the surface back to the
32777           pool of surfaces in the associated VA context, if any.
32778
32779 2012-01-05 16:26:49 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32780
32781         * gst/vaapi/gstvaapidecode.c:
32782           vaapidecode: fix deinitialization order.
32783
32784 2012-01-05 14:50:26 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32785
32786         * gst-libs/gst/vaapi/gstvaapicontext.c:
32787           context: avoid self reference loops with surfaces.
32788
32789 2012-01-05 11:23:01 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32790
32791         * debian.upstream/control.in:
32792           debian: update control.in description for new plugins.
32793
32794 2012-01-05 11:01:56 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32795
32796         * gst/vaapi/gstvaapiupload.c:
32797           vaapiupload: use new gst_vaapi_append_surface_caps() helper.
32798           This also fixes extra structures, beyond the one at index 0, to hold
32799           the right additional values.
32800
32801 2012-01-05 10:55:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32802
32803         * gst/vaapi/gstvaapiupload.c:
32804           vaapiupload: fix sink (YUV) caps to not report type and opengl fields.
32805
32806 2012-01-05 10:50:59 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32807
32808         * README:
32809         * docs/reference/plugins/plugins-docs.xml.in:
32810         * docs/reference/plugins/plugins-sections.txt:
32811         * docs/reference/plugins/plugins.types:
32812         * gst/vaapi/Makefile.am:
32813         * gst/vaapi/gstvaapi.c:
32814         * gst/vaapi/gstvaapidownload.c:
32815         * gst/vaapi/gstvaapidownload.h:
32816           vaapidownload: add new plugin to download pixels from VA surfaces.
32817
32818 2012-01-05 11:00:39 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32819
32820         * gst/vaapi/gstvaapipluginutil.c:
32821         * gst/vaapi/gstvaapipluginutil.h:
32822           vaapipluingutils: add helper to append surface caps to YUV caps.
32823
32824 2012-01-05 10:29:48 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32825
32826         * docs/reference/libs/libs-sections.txt:
32827         * gst-libs/gst/vaapi/gstvaapiimage.c:
32828         * gst-libs/gst/vaapi/gstvaapiimage.h:
32829           image: add helpers to extract pixels to user buffers.
32830
32831 2012-01-04 11:34:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32832
32833         * gst-libs/gst/vaapi/gstvaapiimage.c:
32834           image: simplify initialization of raw images from video buffers.
32835
32836 2012-01-04 11:29:11 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32837
32838         * gst-libs/gst/vaapi/gstvaapiimage.c:
32839           image: fix update from NV12 buffers.
32840
32841 2012-01-03 18:16:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32842
32843         * gst/vaapi/gstvaapiupload.c:
32844           vaapiupload: fix memory leak in _init() function.
32845
32846 2012-01-03 14:34:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32847
32848         * NEWS:
32849         * README:
32850         * debian.upstream/control.in:
32851         * docs/reference/plugins/plugins-docs.xml.in:
32852         * docs/reference/plugins/plugins-sections.txt:
32853         * docs/reference/plugins/plugins.types:
32854         * gst/vaapi/Makefile.am:
32855         * gst/vaapi/gstvaapi.c:
32856         * gst/vaapi/gstvaapiupload.c:
32857         * gst/vaapi/gstvaapiupload.h:
32858           Rename vaapiconvert element to vaapiupload.
32859
32860 2012-01-03 13:54:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32861
32862         * configure.ac:
32863           Bump version for development.
32864
32865 2012-01-03 13:42:12 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32866
32867         * NEWS:
32868         * configure.ac:
32869           0.3.1.
32870
32871 2011-12-14 15:22:24 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32872
32873         * NEWS:
32874           NEWS: updates.
32875
32876 2011-12-14 14:40:37 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32877
32878         * gst-libs/gst/vaapi/gstvaapisurface.c:
32879         * gst-libs/gst/vaapi/gstvaapisurface.h:
32880         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
32881         * gst/vaapi/gstvaapisink.c:
32882           surface: apply composition to the parent context, if requested.
32883
32884 2011-12-14 14:35:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32885
32886         * docs/reference/libs/libs-sections.txt:
32887         * gst-libs/gst/vaapi/gstvaapicontext.c:
32888         * gst-libs/gst/vaapi/gstvaapicontext.h:
32889           context: make it possible to apply composition globally.
32890
32891 2011-12-14 14:13:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32892
32893         * gst-libs/gst/vaapi/gstvaapisurface.c:
32894           surface: fix associate subpicture to not report deassociation errors.
32895
32896 2011-12-14 13:46:26 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32897
32898         * gst-libs/gst/vaapi/gstvaapisurface.c:
32899           surface: fix typo in debug message.
32900
32901 2011-12-14 13:16:21 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32902
32903         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
32904         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
32905         * gst-libs/gst/vaapi/gstvaapisurface.c:
32906           subpicture: add helper to create subpicture from GstVideoOverlayRectangle.
32907
32908 2011-12-13 16:53:15 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32909
32910         * docs/reference/libs/libs-sections.txt:
32911         * gst-libs/gst/vaapi/Makefile.am:
32912         * gst-libs/gst/vaapi/gstvaapicontext.c:
32913         * gst-libs/gst/vaapi/gstvaapisurface.c:
32914         * gst-libs/gst/vaapi/gstvaapisurface.h:
32915         * gst-libs/gst/vaapi/gstvaapisurface_priv.h:
32916           surface: record parent context.
32917
32918 2011-12-13 15:59:02 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32919
32920         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
32921         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
32922         * gst/vaapi/gstvaapidecode.c:
32923         * gst/vaapi/gstvaapisink.c:
32924           Fix warnings.
32925
32926 2011-12-13 15:51:58 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32927
32928         * gst-libs/gst/vaapi/gstvaapisurface.c:
32929         * gst-libs/gst/vaapi/gstvaapisurface.h:
32930         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
32931         * gst/vaapi/gstvaapisink.c:
32932           Rename gst_vaapi_surface_update_composition() to gst_vaapi_surface_set_subpictures_from_composition().
32933
32934 2011-12-13 13:40:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32935
32936         * configure.ac:
32937           configure: check for GstVideoOverlayComposition.
32938
32939 2011-12-12 18:42:44 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32940
32941         * NEWS:
32942           NEWS: updates.
32943
32944 2011-11-25 15:00:25 -0500  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
32945
32946         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
32947           converter: add support for GstVideoOverlayComposition planes.
32948           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32949
32950 2011-11-23 16:45:46 -0300  Thibault Saunier <thibault.saunier@collabora.com>
32951
32952         * gst/vaapi/gstvaapisink.c:
32953           vaapisink: handle GstVideoOverlayComposition planes.
32954           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32955
32956 2011-12-12 18:27:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32957
32958         * gst-libs/gst/vaapi/gstvaapisurface.c:
32959           surface: use unscaled overlay rectangle for blending.
32960
32961 2011-12-12 18:37:13 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32962
32963         * gst-libs/gst/vaapi/gstvaapisurface.c:
32964           surface: fix VA image leak when an error occurred.
32965
32966 2011-11-25 14:59:56 -0500  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
32967
32968         * gst-libs/gst/vaapi/gstvaapisurface.c:
32969         * gst-libs/gst/vaapi/gstvaapisurface.h:
32970           surface: add helper to handle GstVideoOverlayComposition.
32971           This helper resets the subpictures to reflect the current composition
32972           layers provided with the buffers.
32973           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32974
32975 2011-12-12 18:13:19 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32976
32977         * docs/reference/libs/libs-sections.txt:
32978         * gst-libs/gst/vaapi/Makefile.am:
32979         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
32980         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
32981         * gst/vaapi/gstvaapiconvert.c:
32982           image: add gst_vaapi_image_format_from_video() helper.
32983
32984 2011-12-12 16:34:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32985
32986         * gst-libs/gst/vaapi/gstvaapiimage.c:
32987         * gst-libs/gst/vaapi/gstvaapiimage.h:
32988           image: allow updates from GstVaapiImageRaw.
32989
32990 2011-12-12 14:34:03 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32991
32992         * gst-libs/gst/vaapi/gstvaapiimage.c:
32993         * gst-libs/gst/vaapi/gstvaapiimage.h:
32994         * gst/vaapi/gstvaapiconvert.c:
32995         * tests/test-subpicture.c:
32996           image: allow partial updates.
32997
32998 2011-12-12 15:31:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
32999
33000         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
33001           subpicture: fix doc for gst_vaapi_subpicture_set_image().
33002
33003 2011-12-12 13:39:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33004
33005         * gst-libs/gst/vaapi/gstvaapidisplay.c:
33006           display: fix has_image_format() to check against subpicture formats.
33007
33008 2011-10-17 18:43:15 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33009
33010         * tests/test-subpicture.c:
33011           tests: fix subpicture test.
33012
33013 2011-10-14 13:00:12 -0300  Thibault Saunier <thibault.saunier@collabora.com>
33014
33015         * tests/Makefile.am:
33016         * tests/test-subpicture-data.c:
33017         * tests/test-subpicture-data.h:
33018         * tests/test-subpicture.c:
33019           tests: add test for subpictures.
33020           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33021
33022 2011-11-25 12:28:04 -0500  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
33023
33024         * gst/vaapi/gstvaapiconvert.c:
33025         * gst/vaapi/gstvaapidecode.c:
33026           Add missing video context queries.
33027           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33028
33029 2011-12-12 13:22:07 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33030
33031         * configure.ac:
33032           Bump version for development.
33033
33034 2011-12-12 10:04:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33035
33036         * gst-libs/gst/video/Makefile.am:
33037         * gst-libs/gst/video/gstbasevideocodec.c:
33038         * gst-libs/gst/video/gstbasevideocodec.h:
33039         * gst-libs/gst/video/gstbasevideodecoder.c:
33040         * gst-libs/gst/video/gstbasevideodecoder.h:
33041         * gst-libs/gst/video/gstbasevideoutils.c:
33042         * gst-libs/gst/video/gstbasevideoutils.h:
33043           Drop unused copy of GstBaseVideoDecoder.
33044
33045 2011-12-09 11:46:45 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33046
33047         * NEWS:
33048         * configure.ac:
33049           0.3.0.
33050
33051 2011-12-09 11:38:43 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33052
33053         * README:
33054           README: update dependencies.
33055
33056 2011-12-09 11:38:34 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33057
33058         * NEWS:
33059           NEWS: updates.
33060
33061 2011-12-09 11:20:04 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33062
33063         * configure.ac:
33064           configure: check for GstBaseSink 'query' vfunc.
33065
33066 2011-12-09 10:45:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33067
33068         * gst/vaapi/Makefile.am:
33069           vaapiplugin: include local build dir to CFLAGS for generated files.
33070
33071 2011-12-09 10:44:52 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33072
33073         * autogen.sh:
33074           autogen: don't configure if NO_CONFIGURE variable is set.
33075
33076 2011-12-08 11:54:59 +0100  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
33077
33078         * gst/vaapi/gstvaapidecode.c:
33079         * gst/vaapi/gstvaapidecode.h:
33080           vaapidecode: return sink caps template if decoder is in NULL state.
33081           Otherwise, the decoder would always create its own X display instead
33082           of probing it from the downstream element, which is not reliable.
33083           e.g. DISPLAY is not :0 or when running on Wayland.
33084           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33085
33086 2011-12-08 15:44:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33087
33088         * gst/vaapi/gstvaapiconvert.c:
33089         * gst/vaapi/gstvaapidecode.c:
33090           vaapiplugin: properly set surface type to "vaapi" in caps.
33091
33092 2011-12-08 15:16:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33093
33094         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
33095           decoder: drop unused headers.
33096
33097 2011-11-04 19:47:25 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
33098
33099         * gst/vaapi/gstvaapiconvert.c:
33100         * gst/vaapi/gstvaapidecode.c:
33101           vaapiplugin: properly set opengl support in caps.
33102           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33103
33104 2011-11-04 20:07:52 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
33105
33106         * gst/vaapi/gstvaapiconvert.c:
33107         * gst/vaapi/gstvaapidecode.c:
33108           vaapiplugin: allocate GLX buffers when supported.
33109           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33110
33111 2011-11-04 19:47:09 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
33112
33113         * gst-libs/gst/vaapi/Makefile.am:
33114         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
33115         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.c:
33116         * gst-libs/gst/vaapi/gstvaapivideobuffer_glx.h:
33117         * gst-libs/gst/vaapi/gstvaapivideobuffer_priv.h:
33118         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c:
33119         * gst-libs/gst/vaapi/gstvaapivideoconverter_glx.h:
33120           videobuffer: add GLX buffer support.
33121           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33122
33123 2011-10-06 16:06:15 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33124
33125         * gst-libs/gst/vaapi/Makefile.am:
33126         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
33127         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
33128           Port to GstSurfaceBuffer interface.
33129           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33130
33131 2011-10-06 16:04:37 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33132
33133         * gst/vaapi/gstvaapidecode.c:
33134         * gst/vaapi/gstvaapisink.c:
33135           Don't use downstream buffer allocation.
33136           With the new video/x-surface abstraction, we can't rely on having a VA
33137           specific sink downstream. Also, there was no particular reason to do that.
33138           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33139
33140 2011-11-04 17:16:23 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
33141
33142         * gst-libs/gst/vaapi/Makefile.am:
33143         * gst-libs/gst/vaapi/gstvaapicontext.c:
33144         * gst-libs/gst/vaapi/gstvaapisurface.h:
33145         * gst/vaapi/gstvaapiconvert.c:
33146         * gst/vaapi/gstvaapisink.c:
33147         * tests/Makefile.am:
33148         * tests/test-surfaces.c:
33149           Change caps to use new video/x-surface generic type.
33150           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33151
33152 2011-11-04 16:50:15 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
33153
33154         * configure.ac:
33155         * gst-libs/gst/vaapi/Makefile.am:
33156         * gst-libs/gst/vaapi/gstvaapiutils_gst.c:
33157         * gst/vaapi/Makefile.am:
33158         * gst/vaapi/gstvaapiconvert.c:
33159         * gst/vaapi/gstvaapidecode.c:
33160         * gst/vaapi/gstvaapipluginutil.c:
33161         * gst/vaapi/gstvaapipluginutil.h:
33162         * gst/vaapi/gstvaapisink.c:
33163         * gst/vaapi/gstvaapisink.h:
33164           Port to GstVideoContext interface.
33165           This new interface allows for upstream and downstream display sharing
33166           that works in both static and dynamic pipelines.
33167           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33168
33169 2011-12-08 14:57:36 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33170
33171         * gst/vaapi/gstvaapisink.c:
33172           vaapisink: use GST_ERROR to print error messages.
33173
33174 2011-12-08 13:30:51 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33175
33176         * gst/vaapi/Makefile.am:
33177           vaapiplugin: link against VA/GLX when enabled.
33178
33179 2011-12-07 19:09:55 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33180
33181         * gst/vaapi/gstvaapiconvert.c:
33182         * gst/vaapi/gstvaapisink.c:
33183           Add Intel copyright information.
33184
33185 2011-12-07 19:04:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33186
33187         * gst/vaapi/gstvaapisink.c:
33188           vaapisink: allow compatibility with gst-plugins-base < 0.10.31.
33189
33190 2011-12-07 18:40:35 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33191
33192         * .gitignore:
33193         * configure.ac:
33194         * gst-libs/gst/Makefile.am:
33195         * gst-libs/gst/gstutils_version.h.in:
33196           Add new GStreamer version check utilities.
33197
33198 2011-07-28 11:14:49 +0300  Sreerenj Balachandran <sreerenj.balachandran@intel.com>
33199
33200         * gst/vaapi/gstvaapisink.c:
33201           vaapisink: replace the deprecated xoverlay API with the new one.
33202           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33203
33204 2011-12-07 17:31:09 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33205
33206         * configure.ac:
33207           configure: allow for pre-releases.
33208
33209 2011-10-13 17:08:13 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33210
33211         * gst-libs/gst/vaapi/gstvaapidisplay.c:
33212           display: destroy display on creation failure.
33213           This allows element to detect that the display creation has actually
33214           failed.
33215           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33216
33217 2011-10-13 17:07:35 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33218
33219         * gst-libs/gst/vaapi/gstvaapidisplay.c:
33220           display: don't crash when config is empty.
33221           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33222
33223 2011-12-07 14:42:14 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33224
33225         * README:
33226         * debian.upstream/copyright:
33227           doc: mention Collabora copyrights.
33228
33229 2011-12-07 14:40:20 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33230
33231         * .gitignore:
33232           .gitignore: refine for generated docs.
33233
33234 2011-09-14 15:12:41 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33235
33236         * configure.ac:
33237         * docs/reference/plugins/Makefile.am:
33238         * gst/Makefile.am:
33239         * gst/vaapi/Makefile.am:
33240         * gst/vaapi/gstvaapi.c:
33241         * gst/vaapi/gstvaapiconvert.c:
33242         * gst/vaapi/gstvaapiconvert.h:
33243         * gst/vaapi/gstvaapidecode.c:
33244         * gst/vaapi/gstvaapidecode.h:
33245         * gst/vaapi/gstvaapisink.c:
33246         * gst/vaapi/gstvaapisink.h:
33247         * gst/vaapiconvert/Makefile.am:
33248         * gst/vaapidecode/Makefile.am:
33249           Group all plugins into the same bundle
33250           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33251
33252 2011-07-21 14:31:30 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33253
33254         * configure.ac:
33255           Bump version for development.
33256
33257 2011-12-07 14:17:32 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33258
33259         * configure.ac:
33260         * debian.upstream/control.in:
33261           debian: build against upstream libva packages.
33262
33263 2011-12-07 13:52:17 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33264
33265         * docs/reference/libs/Makefile.am:
33266         * docs/reference/plugins/Makefile.am:
33267         * tests/Makefile.am:
33268           Fix build on Ubuntu 11.10 (Oneric).
33269
33270 2011-12-07 13:14:28 +0100  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33271
33272         * NEWS:
33273           0.2.7.
33274
33275 2011-09-12 16:20:16 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33276
33277         * .gitignore:
33278           Adding ignore file
33279           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33280
33281 2011-10-24 16:18:16 -0400  Nicolas Dufresne <nicolas.dufresne@collabora.com>
33282
33283         * gst/vaapiconvert/gstvaapiconvert.c:
33284         * gst/vaapidecode/gstvaapidecode.c:
33285         * gst/vaapisink/gstvaapisink.c:
33286           Update license in plugin definition
33287           Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33288
33289 2011-10-12 14:00:50 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33290
33291         * NEWS:
33292         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33293           decoder: fix use of invalid data at the end-of-stream.
33294
33295 2011-10-19 14:47:31 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33296
33297         * gst/vaapiconvert/gstvaapiconvert.c:
33298           vaapiconvert: fix some warnings.
33299
33300 2011-10-19 14:43:56 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33301
33302         * configure.ac:
33303         * debian.upstream/changelog.in:
33304         * debian.upstream/control.in:
33305         * debian.upstream/copyright:
33306         * gst/vaapiconvert/gstvaapiconvert.c:
33307         * gst/vaapidecode/gstvaapidecode.c:
33308         * gst/vaapisink/gstvaapisink.c:
33309           Update with my current e-mail address.
33310
33311 2011-10-19 14:39:21 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33312
33313         * NEWS:
33314         * README:
33315           Splitted-Desktop systems relicensed plugins and tests to LGPL v2.1+.
33316
33317 2011-10-18 09:18:20 +0200  warly <warly@warly.org>
33318
33319         * tests/image.c:
33320         * tests/image.h:
33321         * tests/test-decode.c:
33322         * tests/test-decode.h:
33323         * tests/test-display.c:
33324         * tests/test-h264.c:
33325         * tests/test-h264.h:
33326         * tests/test-mpeg2.c:
33327         * tests/test-mpeg2.h:
33328         * tests/test-surfaces.c:
33329         * tests/test-textures.c:
33330         * tests/test-vc1.c:
33331         * tests/test-vc1.h:
33332         * tests/test-windows.c:
33333           switch tests licence to LGPL v2.1+
33334
33335 2011-10-18 09:06:52 +0200  warly <warly@warly.org>
33336
33337         * COPYING:
33338         * README:
33339         * debian.upstream/copyright:
33340         * gst/vaapiconvert/gstvaapiconvert.c:
33341         * gst/vaapiconvert/gstvaapiconvert.h:
33342         * gst/vaapidecode/gstvaapidecode.c:
33343         * gst/vaapidecode/gstvaapidecode.h:
33344         * gst/vaapisink/gstvaapisink.c:
33345         * gst/vaapisink/gstvaapisink.h:
33346           move plugins to LGPL v2.1+
33347
33348 2011-09-14 13:07:18 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33349
33350         * gst/vaapidecode/gstvaapidecode.c:
33351           vaapidecode: fix sink caps to not expose size information.
33352           This fixes this particular issue:
33353           GStreamer-WARNING **: pad vaapidecode0:sink returned caps which are not
33354           a real subset of its template caps
33355
33356 2011-09-14 11:34:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33357
33358         * NEWS:
33359         * gst/vaapidecode/gstvaapidecode.c:
33360           vaapidecode: fix decoding of MPEG-2 PS files.
33361
33362 2011-09-12 13:00:04 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33363
33364         * gst-libs/gst/vaapi/Makefile.am:
33365           Cosmetics (sort source files).
33366
33367 2011-09-08 14:50:24 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33368
33369         * gst/vaapiconvert/gstvaapiconvert.c:
33370         * gst/vaapiconvert/gstvaapiconvert.h:
33371           vaapiconvert: fix direct-rendering caps detection.
33372
33373 2011-09-08 14:40:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33374
33375         * gst-libs/gst/vaapi/gstvaapiimage.c:
33376           Fix gst_vaapi_image_new_with_image().
33377
33378 2011-09-08 13:09:17 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33379
33380         * gst/vaapiconvert/gstvaapiconvert.c:
33381           vaapiconvert: warn when surface failed to be updated with image.
33382
33383 2011-09-06 18:34:33 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33384
33385         * gst/vaapiconvert/gstvaapiconvert.c:
33386           vaapiconvert: fix autodetection for vaDeriveImage() support.
33387
33388 2011-09-06 17:47:10 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33389
33390         * gst/vaapiconvert/gstvaapiconvert.c:
33391           vaapiconvert: fix memory leak (VA surface image).
33392
33393 2011-09-05 16:20:20 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33394
33395         * NEWS:
33396         * gst/vaapiconvert/gstvaapiconvert.c:
33397           vaapiconvert: fix direct-rendering mode.
33398
33399 2011-09-06 16:49:43 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33400
33401         * docs/reference/libs/libs-sections.txt:
33402         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
33403         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
33404           Add gst_vaapi_video_buffer_new_from_buffer().
33405           Add helper function to bind a foreign buffer into a GstVaapiVideoBuffer.
33406           Any image, surface or surface proxy will be inherited from the source buffer
33407           if it is a GstVaapiVideoBuffer.
33408
33409 2011-09-05 17:23:05 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33410
33411         * gst/vaapiconvert/gstvaapiconvert.c:
33412           vaapiconvert: protect access to direct_rendering.
33413
33414 2011-09-05 16:18:14 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33415
33416         * gst/vaapiconvert/gstvaapiconvert.c:
33417           vaapiconvert: use gst_vaapi_display_lookup_downstream() helper to get a VA display.
33418
33419 2011-08-01 14:15:39 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33420
33421         * NEWS:
33422         * README:
33423         * debian.upstream/copyright:
33424         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33425         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33426         * gst-libs/gst/vaapi/gstvaapisurface.h:
33427         * gst/vaapidecode/gstvaapidecode.c:
33428         * gst/vaapidecode/gstvaapidecode.h:
33429           Add Intel copyright information.
33430
33431 2011-07-22 15:59:00 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33432
33433         * NEWS:
33434           Updates.
33435
33436 2011-07-22 15:55:47 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33437
33438         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33439           Fix build with newer FFmpeg versions.
33440
33441 2011-07-22 15:39:51 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33442
33443         * gst/vaapidecode/gstvaapidecode.c:
33444         * gst/vaapidecode/gstvaapidecode.h:
33445           Fix decoding of MPEG-2 TS files.
33446
33447 2011-07-22 15:34:48 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33448
33449         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33450           Report caps update only once per video resolution change.
33451
33452 2011-07-22 15:33:13 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33453
33454         * gst-libs/gst/vaapi/gstvaapisurface.h:
33455           Add canonical form (type name) of VA surface caps.
33456
33457 2011-07-22 15:42:16 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33458
33459         * configure.ac:
33460           Bump version for development.
33461
33462 2011-07-19 17:38:40 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33463
33464         * configure.ac:
33465           Use pretty build output with automake >= 1.11.
33466
33467 2011-07-15 16:08:08 +0200  Gwenole Beauchesne <gwenole.beauchesne@intel.com>
33468
33469         * gst/vaapiconvert/Makefile.am:
33470         * gst/vaapidecode/Makefile.am:
33471         * gst/vaapisink/Makefile.am:
33472         * tests/Makefile.am:
33473           Fix build with libva headers not in a standard include dir.
33474
33475 2011-06-14 15:59:08 +0200  Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
33476
33477         * configure.ac:
33478           0.2.6.
33479
33480 2011-06-14 13:52:56 +0200  Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
33481
33482         * gst-libs/gst/vaapi/gstvaapi_priv.h:
33483         * gst-libs/gst/vaapi/gstvaapicompat.h:
33484         * gst-libs/gst/vaapi/gstvaapicontext.c:
33485         * gst-libs/gst/vaapi/gstvaapicontext.h:
33486         * gst-libs/gst/vaapi/gstvaapidebug.h:
33487         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33488         * gst-libs/gst/vaapi/gstvaapidecoder.h:
33489         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33490         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
33491         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
33492         * gst-libs/gst/vaapi/gstvaapidisplay.c:
33493         * gst-libs/gst/vaapi/gstvaapidisplay.h:
33494         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
33495         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
33496         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
33497         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
33498         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
33499         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
33500         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
33501         * gst-libs/gst/vaapi/gstvaapiimage.c:
33502         * gst-libs/gst/vaapi/gstvaapiimage.h:
33503         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
33504         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
33505         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
33506         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
33507         * gst-libs/gst/vaapi/gstvaapiobject.c:
33508         * gst-libs/gst/vaapi/gstvaapiobject.h:
33509         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
33510         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
33511         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
33512         * gst-libs/gst/vaapi/gstvaapiprofile.c:
33513         * gst-libs/gst/vaapi/gstvaapiprofile.h:
33514         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
33515         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
33516         * gst-libs/gst/vaapi/gstvaapisurface.c:
33517         * gst-libs/gst/vaapi/gstvaapisurface.h:
33518         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
33519         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
33520         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
33521         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
33522         * gst-libs/gst/vaapi/gstvaapitexture.c:
33523         * gst-libs/gst/vaapi/gstvaapitexture.h:
33524         * gst-libs/gst/vaapi/gstvaapitypes.h:
33525         * gst-libs/gst/vaapi/gstvaapiutils.c:
33526         * gst-libs/gst/vaapi/gstvaapiutils.h:
33527         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
33528         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
33529         * gst-libs/gst/vaapi/gstvaapiutils_gst.c:
33530         * gst-libs/gst/vaapi/gstvaapiutils_gst.h:
33531         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
33532         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
33533         * gst-libs/gst/vaapi/gstvaapivalue.c:
33534         * gst-libs/gst/vaapi/gstvaapivalue.h:
33535         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
33536         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
33537         * gst-libs/gst/vaapi/gstvaapivideopool.c:
33538         * gst-libs/gst/vaapi/gstvaapivideopool.h:
33539         * gst-libs/gst/vaapi/gstvaapivideosink.c:
33540         * gst-libs/gst/vaapi/gstvaapivideosink.h:
33541         * gst-libs/gst/vaapi/gstvaapiwindow.c:
33542         * gst-libs/gst/vaapi/gstvaapiwindow.h:
33543         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
33544         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
33545         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
33546         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
33547         * gst/vaapiconvert/gstvaapiconvert.c:
33548         * gst/vaapiconvert/gstvaapiconvert.h:
33549         * gst/vaapidecode/gstvaapidecode.c:
33550         * gst/vaapidecode/gstvaapidecode.h:
33551         * gst/vaapisink/gstvaapisink.c:
33552         * gst/vaapisink/gstvaapisink.h:
33553         * tests/image.c:
33554         * tests/image.h:
33555         * tests/test-decode.c:
33556         * tests/test-decode.h:
33557         * tests/test-display.c:
33558         * tests/test-h264.c:
33559         * tests/test-h264.h:
33560         * tests/test-mpeg2.c:
33561         * tests/test-mpeg2.h:
33562         * tests/test-surfaces.c:
33563         * tests/test-textures.c:
33564         * tests/test-vc1.c:
33565         * tests/test-vc1.h:
33566         * tests/test-windows.c:
33567           Update copyright notice.
33568
33569 2011-06-14 13:51:41 +0200  Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
33570
33571         * NEWS:
33572         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
33573         * gst-libs/gst/vaapi/gstvaapisurface.c:
33574         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
33575         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
33576         * gst-libs/gst/vaapi/gstvaapitexture.c:
33577         * gst-libs/gst/vaapi/gstvaapiutils.c:
33578         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
33579         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
33580         * gst-libs/gst/vaapi/gstvaapivalue.c:
33581         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
33582         * gst-libs/gst/vaapi/gstvaapivideopool.c:
33583         * gst-libs/gst/vaapi/gstvaapivideosink.c:
33584         * gst-libs/gst/vaapi/gstvaapiwindow.c:
33585         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
33586         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
33587           Fix licensing terms.
33588
33589 2010-07-20 11:23:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33590
33591         * NEWS:
33592           0.2.5.
33593
33594 2010-07-20 11:21:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33595
33596         * debian.upstream/copyright:
33597           Fix license terms...
33598
33599 2010-07-01 13:19:29 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33600
33601         * gst/vaapisink/gstvaapisink.c:
33602           Render pretty background only in use-reflection=true mode.
33603
33604 2010-07-01 11:43:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33605
33606         * NEWS:
33607           Updates.
33608
33609 2010-07-01 11:41:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33610
33611         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
33612           Drop the GLX 1.3 requirement.
33613
33614 2010-07-01 11:38:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33615
33616         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
33617         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
33618           Call the GLX/Pixmap related functions through the vtable.
33619
33620 2010-07-01 11:11:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33621
33622         * NEWS:
33623         * configure.ac:
33624         * gst-libs/gst/vaapi/Makefile.am:
33625         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33626           Drop dependency on libavformat.
33627
33628 2010-06-22 15:15:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33629
33630         * gst-libs/gst/video/gstbasevideodecoder.c:
33631         * gst-libs/gst/video/gstbasevideodecoder.h:
33632           Add gst_base_video_decoder_update_src_caps(). Don't forcibly set "interlaced" field if upstream elements did not have any.
33633
33634 2010-06-22 14:06:25 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33635
33636         * gst-libs/gst/video/gstbasevideodecoder.c:
33637         * gst-libs/gst/video/gstbasevideoutils.c:
33638         * gst-libs/gst/video/gstbasevideoutils.h:
33639           Drop superfluous functions.
33640
33641 2010-06-22 13:57:33 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33642
33643         * gst-libs/gst/video/gstbasevideodecoder.c:
33644           Really drop any dependency on libgstvideo. i.e. inline the helpers.
33645
33646 2010-06-22 13:48:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33647
33648         * gst-libs/gst/video/gstbasevideodecoder.c:
33649           Further drop dependency on libgstvideo.
33650
33651 2010-06-22 12:57:06 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33652
33653         * gst-libs/gst/video/Makefile.am:
33654         * gst-libs/gst/video/gstbasevideocodec.c:
33655         * gst-libs/gst/video/gstbasevideocodec.h:
33656         * gst-libs/gst/video/gstbasevideodecoder.c:
33657         * gst-libs/gst/video/gstbasevideodecoder.h:
33658         * gst-libs/gst/video/gstbasevideoutils.c:
33659         * gst-libs/gst/video/gstbasevideoutils.h:
33660           Add GstBaseVideoDecoder from gst-plugins-bad git.
33661
33662 2010-06-15 12:36:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33663
33664         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
33665           Fix GLX version check.
33666
33667 2010-06-14 14:46:41 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33668
33669         * NEWS:
33670         * configure.ac:
33671           Bump version for development.
33672
33673 2010-06-14 14:14:42 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33674
33675         * NEWS:
33676         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33677           Fix decoding of some H.264 streams. e.g. Ice Age 2 trailer.
33678
33679 2010-06-14 12:58:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33680
33681         * NEWS:
33682           Update changelog.
33683
33684 2010-06-14 09:20:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33685
33686         * gst-libs/gst/vaapi/gstvaapicompat.h:
33687           Fix build with older VA-API 0.29-sds.
33688
33689 2010-05-18 11:22:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33690
33691         * gst/vaapisink/gstvaapisink.c:
33692         * gst/vaapisink/gstvaapisink.h:
33693           Fix upscaling in foreign window (Totem).
33694
33695 2010-05-17 12:32:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33696
33697         * gst/vaapisink/gstvaapisink.c:
33698           Soft validate caps since we only care about video/x-vaapi-surface as input. _setcaps() will check for other fields.
33699
33700 2010-05-17 08:55:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33701
33702         * NEWS:
33703         * gst/vaapisink/gstvaapisink.c:
33704           Fix video rendering rect within an embedder window (Totem).
33705
33706 2010-05-17 08:28:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33707
33708         * NEWS:
33709         * gst/vaapisink/gstvaapisink.c:
33710           Disable GLX rendering when vaapisink uses a foreign X window.
33711
33712 2010-05-17 08:24:42 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33713
33714         * gst/vaapisink/gstvaapisink.c:
33715           Simplify GLX rendering code.
33716
33717 2010-05-17 07:32:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33718
33719         * configure.ac:
33720           Bump version for development.
33721
33722 2010-05-16 21:44:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33723
33724         * NEWS:
33725           0.2.3.
33726
33727 2010-05-16 21:35:14 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33728
33729         * gst/vaapidecode/gstvaapidecode.c:
33730           Wait for at most one second for a VA surface to become available.
33731
33732 2010-05-16 21:18:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33733
33734         * README:
33735         * configure.ac:
33736           Build-Requires: gstreamer0.10 >= 0.10.10 for gst_caps_merge().
33737
33738 2010-05-16 21:17:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33739
33740         * NEWS:
33741         * README:
33742         * gst-libs/gst/vaapi/gstvaapiprofile.c:
33743           Fix decoder caps to report codec aliases.
33744
33745 2010-05-16 21:04:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33746
33747         * NEWS:
33748         * gst/vaapidecode/gstvaapidecode.c:
33749         * gst/vaapidecode/gstvaapidecode.h:
33750           Fix VC-1 decoding through the playbin2 pipeline.
33751
33752 2010-05-15 15:33:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33753
33754         * docs/reference/libs/libs-sections.txt:
33755         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33756         * gst-libs/gst/vaapi/gstvaapidecoder.h:
33757         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33758         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
33759           Regularly update and expose decoder caps.
33760
33761 2010-05-15 09:43:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33762
33763         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33764         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33765         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
33766           Add mechanism to reinsert buffer leftovers into the queue.
33767
33768 2010-05-15 06:59:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33769
33770         * NEWS:
33771         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33772           Fix memory leak of encoded buffers.
33773
33774 2010-05-15 05:36:15 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33775
33776         * docs/reference/libs/libs-sections.txt:
33777         * gst-libs/gst/vaapi/gstvaapicontext.c:
33778         * gst-libs/gst/vaapi/gstvaapicontext.h:
33779         * gst-libs/gst/vaapi/gstvaapidecoder.c:
33780         * gst-libs/gst/vaapi/gstvaapidecoder.h:
33781           Check for out-of-free-surfaces condition.
33782
33783 2010-05-15 04:35:00 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33784
33785         * gst-libs/gst/vaapi/gstvaapidecoder.h:
33786           Change GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN value to something more generic (-1).
33787
33788 2010-05-15 04:25:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33789
33790         * gst/vaapisink/gstvaapisink.c:
33791           Improve debug info for gst_vaapisink_ensure_render_rect().
33792
33793 2010-05-14 05:02:05 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33794
33795         * configure.ac:
33796           Bump version for development.
33797
33798 2010-05-13 21:52:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33799
33800         * NEWS:
33801           0.2.2.
33802
33803 2010-05-13 21:39:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33804
33805         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33806           Improve previous fix.
33807
33808 2010-05-13 21:27:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33809
33810         * NEWS:
33811         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
33812           Fix a crash in the FFmpeg decoder on close.
33813
33814 2010-05-13 16:41:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33815
33816         * README:
33817           Sort platforms by name.
33818
33819 2010-05-13 09:40:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33820
33821         * NEWS:
33822         * configure.ac:
33823           Bump version for development.
33824
33825 2010-05-13 09:38:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33826
33827         * gst/vaapisink/gstvaapisink.c:
33828           Add debug info for _show_frame().
33829
33830 2010-05-13 07:19:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33831
33832         * Makefile.am:
33833           Nuke older build dir.
33834
33835 2010-05-13 07:19:21 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33836
33837         * debian.upstream/control.in:
33838           Fix packaging deps.
33839
33840 2010-05-13 06:12:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33841
33842         * NEWS:
33843           Cosmetics.
33844
33845 2010-05-13 06:11:42 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33846
33847         * NEWS:
33848         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
33849           Fix OpenGL texture internal format (Clutter).
33850
33851 2010-05-13 04:40:40 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33852
33853         * NEWS:
33854           Respin release.
33855
33856 2010-05-13 04:27:44 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33857
33858         * gst/vaapisink/gstvaapisink.c:
33859           Debug video & display PARs.
33860
33861 2010-05-13 04:22:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33862
33863         * gst/vaapisink/gstvaapisink.c:
33864           Use XGetGeometry() to retrieve the window size.
33865
33866 2010-05-12 19:40:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33867
33868         * gst/vaapisink/gstvaapisink.c:
33869           Move code around.
33870
33871 2010-05-12 19:35:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33872
33873         * gst/vaapisink/gstvaapisink.c:
33874           Ensure VA display is created prior to initializing the window from a specific XID. Also move code down.
33875
33876 2010-05-12 19:18:04 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33877
33878         * README:
33879           Drop obsolete comment.
33880
33881 2010-05-12 19:14:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33882
33883         * NEWS:
33884           0.2.1.
33885
33886 2010-05-12 19:14:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33887
33888         * gst/vaapidecode/gstvaapidecode.c:
33889           Fix GstVaapiDisplay refcounting in vaapidecode.
33890
33891 2010-05-12 14:10:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33892
33893         * gst-libs/gst/vaapi/gstvaapiutils_gst.c:
33894           Fix comment.
33895
33896 2010-05-12 12:58:53 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33897
33898         * gst/vaapisink/gstvaapisink.c:
33899         * gst/vaapisink/gstvaapisink.h:
33900           Fix render rect when the foreign window size changes.
33901
33902 2010-05-12 11:43:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33903
33904         * NEWS:
33905         * configure.ac:
33906         * gst/vaapisink/Makefile.am:
33907         * gst/vaapisink/gstvaapisink.c:
33908           Add GstXOverlay interface to vaapisink (e.g. for Totem).
33909
33910 2010-05-12 10:51:21 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33911
33912         * README:
33913           Update deps to match configure.ac versions.
33914
33915 2010-05-12 09:34:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33916
33917         * gst/vaapiconvert/gstvaapiconvert.c:
33918         * gst/vaapidecode/gstvaapidecode.c:
33919         * gst/vaapisink/gstvaapisink.c:
33920           Cosmetics.
33921
33922 2010-05-12 09:22:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33923
33924         * NEWS:
33925         * gst/vaapidecode/Makefile.am:
33926         * gst/vaapidecode/gstvaapidecode.c:
33927         * gst/vaapidecode/gstvaapidecode.h:
33928           Fix vaapidecode to expose the HW supported caps only.
33929
33930 2010-05-12 08:32:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33931
33932         * gst/vaapidecode/gstvaapidecode.c:
33933           Initialize decoder earlier.
33934
33935 2010-05-12 08:02:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33936
33937         * NEWS:
33938         * README:
33939         * gst/vaapidecode/gstvaapidecode.c:
33940           Fix integration within the playbin2 pipeline.
33941
33942 2010-05-12 08:02:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33943
33944         * docs/reference/libs/Makefile.am:
33945           Exclude gstvaapiutils_gst.h from docs for now.
33946
33947 2010-05-12 08:00:09 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33948
33949         * gst/vaapiconvert/gstvaapiconvert.c:
33950         * gst/vaapidecode/gstvaapidecode.c:
33951         * gst/vaapisink/gstvaapisink.c:
33952           Raise VA-API plugins ranks.
33953
33954 2010-05-12 07:57:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33955
33956         * gst-libs/gst/vaapi/Makefile.am:
33957         * gst-libs/gst/vaapi/gstvaapiutils_gst.c:
33958         * gst-libs/gst/vaapi/gstvaapiutils_gst.h:
33959           Add gst_vaapi_display_lookup_downstream() helper.
33960
33961 2010-05-11 16:23:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33962
33963         * gst/vaapidecode/gstvaapidecode.c:
33964           Use fixed caps on the src pad, they are not meant to change from video/x-vaapi-surface.
33965
33966 2010-05-11 16:19:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33967
33968         * docs/reference/libs/libs-sections.txt:
33969         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
33970         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
33971         * gst/vaapisink/gstvaapisink.c:
33972           Expose VA display through GstVaapiVideoBuffer.
33973
33974 2010-05-11 16:09:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33975
33976         * gst/vaapidecode/gstvaapidecode.c:
33977           Simplify gst_vaapidecode_set_caps() and fix memory leak.
33978
33979 2010-05-11 12:06:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33980
33981         * docs/reference/libs/libs-sections.txt:
33982         * gst-libs/gst/vaapi/gstvaapivideopool.c:
33983         * gst-libs/gst/vaapi/gstvaapivideopool.h:
33984           Expose video pool display.
33985
33986 2010-05-11 12:03:13 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33987
33988         * gst-libs/gst/vaapi/gstvaapivideosink.c:
33989           Stop iteration if there is no more element to examine.
33990
33991 2010-05-10 09:32:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33992
33993         * gst/vaapiconvert/gstvaapiconvert.c:
33994         * gst/vaapidecode/gstvaapidecode.c:
33995         * gst/vaapisink/gstvaapisink.c:
33996           Improve plugin details.
33997
33998 2010-05-07 06:35:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
33999
34000         * gst-libs/gst/vaapi/gstvaapisurface.h:
34001         * gst/vaapiconvert/gstvaapiconvert.c:
34002         * gst/vaapidecode/gstvaapidecode.c:
34003         * gst/vaapisink/gstvaapisink.c:
34004           Factor out VA surface caps.
34005
34006 2010-05-05 15:36:25 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34007
34008         * gst/vaapidecode/gstvaapidecode.c:
34009           Add gst_vaapidecode_ensure_display() helper for set-caps.
34010
34011 2010-05-05 12:57:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34012
34013         * configure.ac:
34014           Bump version for development.
34015
34016 2010-05-05 12:29:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34017
34018         * NEWS:
34019           Really make it 0.2.0.
34020
34021 2010-05-05 12:28:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34022
34023         * README:
34024           More docs.
34025
34026 2010-05-05 11:48:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34027
34028         * docs/reference/libs/Makefile.am:
34029           Don't exclude GstVaapiParamSpecs.
34030
34031 2010-05-05 11:44:06 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34032
34033         * docs/reference/libs/Makefile.am:
34034         * docs/reference/libs/libs-sections.txt:
34035         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34036         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
34037           Fix docs.
34038
34039 2010-05-05 06:06:02 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34040
34041         * gst/vaapiconvert/gstvaapiconvert.c:
34042         * gst/vaapidecode/gstvaapidecode.c:
34043         * gst/vaapisink/gstvaapisink.c:
34044           Lower plugins rank for now since playbin2 auto-plugging is not working properly. User applications will have to create their own pipeline or with some hacks around playbin2.
34045
34046 2010-05-04 15:03:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34047
34048         * gst-libs/gst/vaapi/Makefile.am:
34049           Really link all helper libraries with libtool -no-undefined.
34050
34051 2010-05-04 15:02:29 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34052
34053         * gst-libs/gst/vaapi/Makefile.am:
34054           Link helper libraries with libtool -no-undefined.
34055
34056 2010-05-04 14:59:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34057
34058         * configure.ac:
34059         * debian.upstream/gstreamer-vaapi.install.in:
34060         * gst/vaapiconvert/Makefile.am:
34061         * gst/vaapidecode/Makefile.am:
34062         * gst/vaapisink/Makefile.am:
34063           Don't build plugins with SONAME. Make them plain *.so.
34064
34065 2010-05-04 08:59:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34066
34067         * README:
34068           Improve documentation for release.
34069
34070 2010-05-03 22:50:56 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34071
34072         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34073           Fix build with older VA-API 0.29.
34074
34075 2010-05-03 22:43:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34076
34077         * NEWS:
34078           0.2.0.
34079
34080 2010-05-03 22:42:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34081
34082         * tests/Makefile.am:
34083           Fix make dist.
34084
34085 2010-05-03 22:36:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34086
34087         * docs/reference/libs/Makefile.am:
34088         * docs/reference/libs/libs-docs.xml.in:
34089         * docs/reference/libs/libs-sections.txt:
34090         * docs/reference/libs/libs.core.types:
34091         * docs/reference/plugins/Makefile.am:
34092         * docs/reference/plugins/plugins-docs.xml.in:
34093         * docs/reference/plugins/plugins-sections.txt:
34094         * docs/reference/plugins/plugins.types:
34095           Add missing docs.
34096
34097 2010-05-03 22:34:53 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34098
34099         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34100           Fix doc.
34101
34102 2010-05-03 22:28:02 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34103
34104         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34105         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
34106         * gst/vaapidecode/gstvaapidecode.c:
34107         * tests/test-decode.c:
34108           Rename gst_vaapi_decoder_ffmpeg_new_from_caps() to plain gst_vaapi_decoder_ffmpeg_new().
34109
34110 2010-05-03 22:02:41 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34111
34112         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34113         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34114           Extract framerate information from caps.
34115
34116 2010-05-03 21:49:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34117
34118         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34119         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34120         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34121           Move caps initialization to parent class.
34122
34123 2010-05-03 21:25:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34124
34125         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34126           Simplify.
34127
34128 2010-05-03 21:25:26 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34129
34130         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34131           Fix doc.
34132
34133 2010-05-03 21:14:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34134
34135         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34136         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34137           More simplifications.
34138
34139 2010-05-03 20:55:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34140
34141         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34142         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34143         * tests/test-decode.c:
34144           Simplify GstVaapiDecoder API.
34145
34146 2010-05-03 20:40:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34147
34148         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34149           Drop obsolete defs.
34150
34151 2010-05-03 20:34:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34152
34153         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34154           Drop obsolete decls.
34155
34156 2010-05-03 17:36:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34157
34158         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34159         * gst/vaapidecode/gstvaapidecode.c:
34160           Add more aliases for MPEG-4 decoding.
34161
34162 2010-05-03 17:04:00 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34163
34164         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34165           Use avctx->coded_{width,height} info to create the VA context.
34166
34167 2010-05-03 16:54:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34168
34169         * tests/test-decode.c:
34170         * tests/test-decode.h:
34171           Use gst_vaapi_decoder_ffmpeg_new_from_caps().
34172
34173 2010-05-03 16:41:13 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34174
34175         * tests/test-decode.c:
34176         * tests/test-decode.h:
34177         * tests/test-h264.c:
34178         * tests/test-h264.h:
34179         * tests/test-mpeg2.c:
34180         * tests/test-mpeg2.h:
34181         * tests/test-vc1.c:
34182         * tests/test-vc1.h:
34183           Simplify tests info.
34184
34185 2010-05-03 16:17:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34186
34187         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34188           Try to improve heuristics to use an AVCodecContextParser.
34189
34190 2010-05-03 15:35:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34191
34192         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34193           Fix VC-1 decoding, it does not require any specific parser.
34194
34195 2010-05-03 15:34:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34196
34197         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34198           Fix VC-1 detection with older gstreamer libs (no "fourcc" field, but a "format" one).
34199
34200 2010-05-03 15:29:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34201
34202         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34203         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34204           Use size information from the demuxer, whenever available. i.e. fix WMV3 decoding.
34205
34206 2010-05-03 15:11:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34207
34208         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34209         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34210         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
34211         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34212         * gst/vaapidecode/gstvaapidecode.c:
34213         * gst/vaapidecode/gstvaapidecode.h:
34214           Add gst_vaapi_decoder_ffmpeg_new_from_caps() helper.
34215
34216 2010-05-03 14:53:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34217
34218         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34219         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34220         * gst-libs/gst/vaapi/gstvaapiprofile.h:
34221           Improve WMV3 detection yet further.
34222
34223 2010-05-03 13:44:41 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34224
34225         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34226           Fix detection of plain old WMV3 contents.
34227
34228 2010-05-03 12:25:07 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34229
34230         * tests/test-vc1.c:
34231           Add End-of-Sequence start code.
34232
34233 2010-05-03 11:44:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34234
34235         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34236         * gst/vaapidecode/gstvaapidecode.c:
34237           Fix VC-1 detection.
34238
34239 2010-05-03 08:51:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34240
34241         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34242           Fix build with older gstreamer libs where gst_buffer_unref() is not a plain function.
34243
34244 2010-05-03 08:34:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34245
34246         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34247         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34248           Drop obsolete (and wrong) code.
34249
34250 2010-05-03 08:33:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34251
34252         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34253           Cosmetics (spelling).
34254
34255 2010-05-03 08:32:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34256
34257         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34258         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34259         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34260           Try to fix timestamps (step 1). Looks OK on H55.
34261
34262 2010-05-03 07:10:04 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34263
34264         * debian.upstream/Makefile.am:
34265           Ship with COPYING.LIB.
34266
34267 2010-05-03 07:07:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34268
34269         * COPYING.LIB:
34270         * NEWS:
34271         * README:
34272         * gst-libs/gst/vaapi/gstvaapi_priv.h:
34273         * gst-libs/gst/vaapi/gstvaapicompat.h:
34274         * gst-libs/gst/vaapi/gstvaapicontext.c:
34275         * gst-libs/gst/vaapi/gstvaapicontext.h:
34276         * gst-libs/gst/vaapi/gstvaapidebug.h:
34277         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34278         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34279         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34280         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
34281         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34282         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34283         * gst-libs/gst/vaapi/gstvaapidisplay.h:
34284         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
34285         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
34286         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
34287         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
34288         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
34289         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
34290         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
34291         * gst-libs/gst/vaapi/gstvaapiimage.c:
34292         * gst-libs/gst/vaapi/gstvaapiimage.h:
34293         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
34294         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
34295         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
34296         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
34297         * gst-libs/gst/vaapi/gstvaapiobject.c:
34298         * gst-libs/gst/vaapi/gstvaapiobject.h:
34299         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
34300         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
34301         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
34302         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34303         * gst-libs/gst/vaapi/gstvaapiprofile.h:
34304         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
34305         * gst-libs/gst/vaapi/gstvaapisurface.h:
34306         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
34307         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
34308         * gst-libs/gst/vaapi/gstvaapitexture.h:
34309         * gst-libs/gst/vaapi/gstvaapitypes.h:
34310         * gst-libs/gst/vaapi/gstvaapiutils.h:
34311         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34312         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
34313         * gst-libs/gst/vaapi/gstvaapivalue.h:
34314         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
34315         * gst-libs/gst/vaapi/gstvaapivideopool.h:
34316         * gst-libs/gst/vaapi/gstvaapivideosink.h:
34317         * gst-libs/gst/vaapi/gstvaapiwindow.h:
34318         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
34319         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
34320           Relicense gst-libs/ code to LGPL v2.1+.
34321
34322 2010-05-03 06:49:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34323
34324         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34325           Drop extraneous comma.
34326
34327 2010-05-03 06:49:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34328
34329         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34330           Drop variant=itu field to help codec detection.
34331
34332 2010-04-30 15:50:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34333
34334         * gst/vaapidecode/gstvaapidecode.c:
34335           Decode as many surfaces as possible in gst_vaapidecode_step().
34336
34337 2010-04-30 15:37:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34338
34339         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34340         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34341         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34342         * gst/vaapidecode/gstvaapidecode.c:
34343         * gst/vaapidecode/gstvaapidecode.h:
34344         * tests/test-decode.c:
34345           Drop excessive threading that over-complicates synchronisation. MPEG-2 & H.264 videos now play but there are other problems (timestamps).
34346
34347 2010-04-30 13:13:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34348
34349         * configure.ac:
34350           0.2.0.
34351
34352 2010-04-30 12:04:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34353
34354         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34355           Move VA context reset to AVCodecContext.get_context() as the surface sizes can change.
34356
34357 2010-04-30 09:52:29 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34358
34359         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34360         * gst-libs/gst/vaapi/gstvaapidisplay.h:
34361           Fix gst_vaapi_display_has_{decoder,encoder}() to check for the entrypoint too.
34362
34363 2010-04-30 09:48:41 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34364
34365         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34366         * gst-libs/gst/vaapi/gstvaapiprofile.h:
34367           Add GST_VAAPI_ENTRYPOINT_SLICE_ENCODE.
34368
34369 2010-04-30 08:18:07 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34370
34371         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34372           Document H.264 / AVC1 format case better.
34373
34374 2010-04-29 23:09:07 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34375
34376         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34377           Fix H.264 decoding with AVC1 format bitstreams.
34378
34379 2010-04-29 22:00:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34380
34381         * gst/vaapidecode/gstvaapidecode.c:
34382           Complete initialization of the GstVaapiVideoBuffer. Some frames start to show up.
34383
34384 2010-04-29 21:59:14 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34385
34386         * gst/vaapisink/gstvaapisink.c:
34387           Add missing GstBaseSink::buffer_alloc() override. i.e. make sure to allocate a GstVaapiVideoBuffer instead of a plain GstBuffer from the peer pad.
34388
34389 2010-04-29 21:56:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34390
34391         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
34392         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
34393           Export gst_vaapi_video_buffer_new().
34394
34395 2010-04-29 21:12:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34396
34397         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34398           Fix gst_vaapi_profile_get_caps() to include the "profile" field.
34399
34400 2010-04-29 17:56:42 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34401
34402         * configure.ac:
34403           Fix comment.
34404
34405 2010-04-29 17:55:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34406
34407         * NEWS:
34408         * configure.ac:
34409         * gst/Makefile.am:
34410         * gst/vaapidecode/Makefile.am:
34411         * gst/vaapidecode/gstvaapidecode.c:
34412         * gst/vaapidecode/gstvaapidecode.h:
34413           Add FFmpeg/VAAPI decoder for the new `vaapidecode' element.
34414
34415 2010-04-29 17:51:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34416
34417         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34418         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34419           Add gst_vaapi_decoder_pause().
34420
34421 2010-04-29 17:11:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34422
34423         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34424         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34425         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34426           Use a GstTask with start/stop semantics for the decoder thread.
34427
34428 2010-04-29 16:08:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34429
34430         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
34431           Drop extraneous var.
34432
34433 2010-04-29 15:45:44 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34434
34435         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
34436         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
34437           Add support for GstVaapiSurfaceProxy to GstVaapiVideoBuffer.
34438
34439 2010-04-29 14:58:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34440
34441         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34442           Fix gst_vaapi_decoder_get_surface() status.
34443
34444 2010-04-29 14:28:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34445
34446         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34447         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34448           Try to set correct timestamps to the decoded surface proxy.
34449
34450 2010-04-29 12:52:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34451
34452         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
34453         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
34454         * tests/test-decode.c:
34455           Add timestamps to GstVaapiSurfaceProxy.
34456
34457 2010-04-29 09:43:40 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34458
34459         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34460           Fix GstVaapiDecoder::destroy(): GASyncQueue is not a GObject, likewise for GstBuffer.
34461
34462 2010-04-29 09:40:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34463
34464         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34465           Fix destructor, av_parser_close() does destroy the struct already, unliker avcodec_close()...
34466
34467 2010-04-29 09:35:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34468
34469         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34470           Prefer profile from codec-data if any was found there.
34471
34472 2010-04-29 09:34:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34473
34474         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34475           Improve heuristics to find the best profile. Use the highest one if no explicit match on "profile" field.
34476
34477 2010-04-28 23:09:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34478
34479         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34480           Make sure gst_vaapi_decoder_get_surface() gets unblocked on error.
34481
34482 2010-04-28 22:30:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34483
34484         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34485           Fix VC-1 codec initialization, it really needs an extradata buffer.
34486
34487 2010-04-28 22:16:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34488
34489         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34490         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34491           Split decoder creation with actual resources allocation and codec setup (probe). This fixes a memory leak (avctx, pctx) on destroy and most interestingly makes it possible to detect unsupported codecs.
34492
34493 2010-04-28 21:58:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34494
34495         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34496           Move gst_vaapi_decoder_ffmpeg_create() call to object constructor.
34497
34498 2010-04-28 21:50:44 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34499
34500         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34501         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34502         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
34503         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34504         * tests/test-decode.c:
34505           Add "codec-data" property for additional codec data. e.g. VC-1 sequence headers for elementary streams.
34506
34507 2010-04-28 21:20:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34508
34509         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34510           Cosmetics (weird indentation).
34511
34512 2010-04-28 21:15:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34513
34514         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34515           Cosmetics (extraneous variable, debug message).
34516
34517 2010-04-28 09:07:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34518
34519         * configure.ac:
34520           Fix check for VA-API enabled FFmpeg.
34521
34522 2010-04-27 15:26:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34523
34524         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34525         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34526         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34527         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34528           - Add PTS and framerate information. - Simplify parsing with an AVCodeParserContext.
34529
34530 2010-04-27 11:59:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34531
34532         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34533         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34534           Add more error codes. Fix documentation.
34535
34536 2010-04-26 13:30:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34537
34538         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34539           Fix gst_vaapi_profile_get_codec(). Improve gst_vaapi_profile_from_caps() for H.264 & caps with "codec-data".
34540
34541 2010-04-26 11:44:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34542
34543         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34544         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34545         * tests/test-decode.c:
34546           Handle user end-of-streams. Add gst_vaapi_decoder_{start,stop}() helpers.
34547
34548 2010-04-26 11:36:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34549
34550         * tests/test-vc1.c:
34551           Drop useless End-of-Sequence marker.
34552
34553 2010-04-26 08:53:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34554
34555         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34556           Flush stream only if avcodec_decode_video() read something. Otherwise, we might still have to seek into the stream. i.e. keep the data longer.
34557
34558 2010-04-26 08:40:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34559
34560         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34561         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
34562           Use a recursive mutex so that a single thread can lock several times. This fixes decoding of MPEG-2 and H.264 because those created a GstVaapiContext later through avcodec_decode_video() that was a protected call.
34563
34564 2010-04-26 08:15:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34565
34566         * tests/test-h264.c:
34567         * tests/test-vc1.c:
34568           Regenerate correct clips.
34569
34570 2010-04-23 16:11:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34571
34572         * tests/Makefile.am:
34573         * tests/test-decode.c:
34574         * tests/test-h264.c:
34575         * tests/test-h264.h:
34576         * tests/test-mpeg2.c:
34577         * tests/test-mpeg2.h:
34578         * tests/test-vc1.c:
34579         * tests/test-vc1.h:
34580           Add decoder demos. Use -c (mpeg2|h264|vc1) to select the codec.
34581           XXX: only VC-1 decoding works at this time because of awful
34582           bugs left in GstVaapiDecoderFfmpeg et al.
34583
34584 2010-04-23 16:05:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34585
34586         * configure.ac:
34587         * gst-libs/gst/vaapi/Makefile.am:
34588         * gst-libs/gst/vaapi/gstvaapidecoder.c:
34589         * gst-libs/gst/vaapi/gstvaapidecoder.h:
34590         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c:
34591         * gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.h:
34592         * gst-libs/gst/vaapi/gstvaapidecoder_priv.h:
34593           Add initial (multithreaded) decoder based on FFmpeg.
34594           There are tons of bugs left:
34595           - Decoder API not nice enough with error conditions
34596           - FFmpeg parser is sometimes broken
34597           - Packets queue can be lost
34598
34599 2010-04-23 16:00:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34600
34601         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c:
34602         * gst-libs/gst/vaapi/gstvaapisurfaceproxy.h:
34603           Add surface proxy that holds a reference to the parent surface and that returns the surface to that context on destruction.
34604
34605 2010-04-23 15:59:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34606
34607         * gst-libs/gst/vaapi/gstvaapicontext.c:
34608         * gst-libs/gst/vaapi/gstvaapicontext.h:
34609           Add VA context abstraction.
34610
34611 2010-04-23 10:58:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34612
34613         * gst-libs/gst/vaapi/gstvaapiprofile.h:
34614           Fix VA profiles definitions for gst_vaapi_profile_get_codec() to work.
34615
34616 2010-04-21 15:03:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34617
34618         * gst-libs/gst/vaapi/gstvaapivideopool.c:
34619         * gst-libs/gst/vaapi/gstvaapivideopool.h:
34620           Add a means to cap the number of objects allocated in the pool.
34621
34622 2010-04-21 15:02:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34623
34624         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34625         * gst-libs/gst/vaapi/gstvaapiprofile.h:
34626           Add VA entrypoint abstraction.
34627
34628 2010-04-20 13:36:04 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34629
34630         * docs/reference/libs/libs-docs.xml.in:
34631         * docs/reference/libs/libs-sections.txt:
34632         * gst-libs/gst/vaapi/Makefile.am:
34633         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34634         * gst-libs/gst/vaapi/gstvaapidisplay.h:
34635         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
34636         * gst-libs/gst/vaapi/gstvaapiprofile.c:
34637         * gst-libs/gst/vaapi/gstvaapiprofile.h:
34638         * tests/test-display.c:
34639           Add VA profile abstraction.
34640
34641 2010-04-20 07:51:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34642
34643         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34644           Fix OpenGL rendering on G45 systems.
34645
34646 2010-04-16 13:47:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34647
34648         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34649           Fix gl_create_context() to find a GLXFBConfig compatible with the parent GL context.
34650
34651 2010-04-02 11:27:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34652
34653         * gst-libs/gst/vaapi/gstvaapitexture.c:
34654         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34655         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34656           Fix TFP logic and simplify the FBO model. i.e. it's not necessary to create another texture (and storage) for the TFP, simply a new texture name.
34657
34658 2010-04-01 16:11:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34659
34660         * gst-libs/gst/vaapi/gstvaapitexture.c:
34661           Fix get-out conditions.
34662
34663 2010-04-01 15:38:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34664
34665         * gst-libs/gst/vaapi/gstvaapitexture.c:
34666         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34667           The shared GL context in GstVaapiTexture is only useful for cases where TFP+FBO are used, thus avoiding the need fully preserve the states and call into glGet*() functions that need synchronization.
34668
34669 2010-04-01 13:55:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34670
34671         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34672           Shorter structs.
34673
34674 2010-04-01 13:41:24 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34675
34676         * docs/reference/libs/libs-sections.txt:
34677         * gst-libs/gst/vaapi/Makefile.am:
34678         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
34679         * gst-libs/gst/vaapi/gstvaapidisplay_glx_priv.h:
34680         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
34681         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
34682         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
34683         * gst-libs/gst/vaapi/gstvaapidisplay_x11_priv.h:
34684         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
34685         * gst-libs/gst/vaapi/gstvaapitexture.c:
34686         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34687         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
34688         * tests/test-windows.c:
34689           Make more helpers internal, thus reducing .text size further. Add gst_vaapi_display_x11_get_screen() helper along the way.
34690
34691 2010-04-01 09:47:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34692
34693         * gst-libs/gst/vaapi/Makefile.am:
34694         * gst-libs/gst/vaapi/gstvaapi_priv.h:
34695         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34696         * gst-libs/gst/vaapi/gstvaapidisplay.h:
34697         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
34698         * gst-libs/gst/vaapi/gstvaapidisplay_priv.h:
34699         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
34700         * gst-libs/gst/vaapi/gstvaapiimage.c:
34701         * gst-libs/gst/vaapi/gstvaapiobject.c:
34702         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
34703         * gst-libs/gst/vaapi/gstvaapisurface.c:
34704         * gst-libs/gst/vaapi/gstvaapitexture.c:
34705         * gst-libs/gst/vaapi/gstvaapiwindow.c:
34706         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34707         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
34708           Move GST_VAAPI_DISPLAY_VADISPLAY() and GST_VAAPI_DISPLAY_{LOCK,UNLOCK}() to gstvaapidisplay_priv.h.
34709
34710 2010-03-31 15:25:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34711
34712         * gst-libs/gst/vaapi/gstvaapitexture.c:
34713         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34714         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34715         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34716           Improve handling of GL contexts.
34717
34718 2010-03-30 16:41:21 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34719
34720         * configure.ac:
34721           Simplify summary.
34722
34723 2010-03-30 13:33:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34724
34725         * configure.ac:
34726           Bump version for development.
34727
34728 2010-03-30 13:29:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34729
34730         * configure.ac:
34731         * debian.upstream/Makefile.am:
34732         * debian.upstream/control.in:
34733           Rename -dev package to libgstvaapi-dev.
34734
34735 2010-03-30 13:17:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34736
34737         * NEWS:
34738         * README:
34739           Updates.
34740
34741 2010-03-30 13:05:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34742
34743         * gst-libs/gst/vaapi/gstvaapiutils.c:
34744           Fix build with VA-API < 0.30.
34745
34746 2010-03-30 13:01:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34747
34748         * configure.ac:
34749         * gst-libs/gst/vaapi/gstvaapicompat.h:
34750         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
34751         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
34752         * gst-libs/gst/vaapi/gstvaapitexture.c:
34753         * tests/test-display.c:
34754           Enable build without VA/GLX extensions. i.e. fallback to TFP + FBO.
34755
34756 2010-03-30 12:59:15 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34757
34758         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34759         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34760           Add TFP and FBO helpers.
34761
34762 2010-03-30 12:55:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34763
34764         * gst-libs/gst/vaapi/gstvaapiutils.c:
34765         * gst-libs/gst/vaapi/gstvaapiutils.h:
34766           Cosmetics. Make vaapi_check_status() use GST_DEBUG() for error messages.
34767
34768 2010-03-30 08:13:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34769
34770         * gst-libs/gst/vaapi/gstvaapitexture.c:
34771         * gst-libs/gst/vaapi/gstvaapiutils.c:
34772         * gst-libs/gst/vaapi/gstvaapiutils.h:
34773         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
34774           Use a shorter function name.
34775
34776 2010-03-30 08:11:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34777
34778         * docs/reference/libs/libs-sections.txt:
34779         * gst-libs/gst/vaapi/gstvaapisurface.c:
34780         * gst-libs/gst/vaapi/gstvaapisurface.h:
34781         * gst-libs/gst/vaapi/gstvaapiutils.c:
34782         * gst-libs/gst/vaapi/gstvaapiutils.h:
34783           Add gst_vaapi_surface_query_status() wrapper.
34784
34785 2010-03-30 07:50:11 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34786
34787         * docs/reference/plugins/Makefile.am:
34788           Fix leftover during migration.
34789
34790 2010-03-30 07:46:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34791
34792         * Makefile.am:
34793         * configure.ac:
34794         * docs/reference/plugins/Makefile.am:
34795         * gst/Makefile.am:
34796         * gst/vaapiconvert/Makefile.am:
34797         * gst/vaapiconvert/gstvaapiconvert.c:
34798         * gst/vaapiconvert/gstvaapiconvert.h:
34799         * gst/vaapisink/Makefile.am:
34800         * gst/vaapisink/gstvaapisink.c:
34801         * gst/vaapisink/gstvaapisink.h:
34802           Rename to gst/ as sys/ was too vague.
34803
34804 2010-03-30 07:39:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34805
34806         * gst-libs/gst/vaapi/gstvaapiimage.c:
34807         * gst-libs/gst/vaapi/gstvaapiimage.h:
34808         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
34809         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
34810         * gst-libs/gst/vaapi/gstvaapisurface.c:
34811         * gst-libs/gst/vaapi/gstvaapisurface.h:
34812           Try to not reference VA-API types directly.
34813
34814 2010-03-29 16:24:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34815
34816         * sys/vaapisink/gstvaapisink.c:
34817           Fix reflection code to preserve aspect ratio.
34818
34819 2010-03-29 16:17:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34820
34821         * sys/vaapisink/gstvaapisink.c:
34822         * sys/vaapisink/gstvaapisink.h:
34823           Fix fullscreen mode.
34824
34825 2010-03-29 15:59:44 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34826
34827         * sys/vaapisink/gstvaapisink.c:
34828         * sys/vaapisink/gstvaapisink.h:
34829           Add OpenGL reflection effect ("use-reflection").
34830
34831 2010-03-29 15:51:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34832
34833         * configure.ac:
34834         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34835           Use a projection suitable for rotation around the Y axis.
34836
34837 2010-03-29 15:03:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34838
34839         * configure.ac:
34840         * sys/vaapisink/Makefile.am:
34841         * sys/vaapisink/gstvaapisink.c:
34842         * sys/vaapisink/gstvaapisink.h:
34843           Don't build vaapisink/gl by default. However, if this is enabled, use the GL renderer by default.
34844
34845 2010-03-29 14:50:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34846
34847         * configure.ac:
34848         * debian.upstream/Makefile.am:
34849         * debian.upstream/control.in:
34850         * debian.upstream/libgstvaapi-glx.install.in:
34851           Add libgstvaapi-glx-0 package.
34852
34853 2010-03-29 14:47:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34854
34855         * pkgconfig/Makefile.am:
34856           Really fix make distclean.
34857
34858 2010-03-29 14:43:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34859
34860         * docs/reference/libs/Makefile.am:
34861           Fix make dist.
34862
34863 2010-03-29 14:42:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34864
34865         * pkgconfig/Makefile.am:
34866           Fix make distclean.
34867
34868 2010-03-29 14:40:26 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34869
34870         * tests/Makefile.am:
34871           Fix make dist.
34872
34873 2010-03-29 14:31:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34874
34875         * docs/reference/libs/Makefile.am:
34876         * docs/reference/libs/libs.core.types:
34877         * docs/reference/libs/libs.glx.types:
34878         * docs/reference/libs/libs.x11.types:
34879           Fix doc build.
34880
34881 2010-03-29 14:21:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34882
34883         * sys/vaapisink/gstvaapisink.h:
34884           Fix build without GLX.
34885
34886 2010-03-29 14:13:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34887
34888         * NEWS:
34889           0.1.2.
34890
34891 2010-03-29 14:13:26 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34892
34893         * sys/vaapisink/Makefile.am:
34894         * sys/vaapisink/gstvaapisink.c:
34895         * sys/vaapisink/gstvaapisink.h:
34896           Add VA/GLX support to vaapisink.
34897
34898 2010-03-29 13:40:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34899
34900         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34901         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34902         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34903           Add glXSwapBuffers() workaround for NVIDIA.
34904
34905 2010-03-29 13:27:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34906
34907         * tests/Makefile.am:
34908         * tests/test-textures.c:
34909           Improve VA/GLX textures test.
34910
34911 2010-03-29 12:51:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34912
34913         * gst-libs/gst/vaapi/gstvaapitexture.c:
34914         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34915         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34916           Fix texture rendering.
34917
34918 2010-03-29 11:25:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34919
34920         * docs/reference/libs/libs-docs.xml.in:
34921         * docs/reference/libs/libs-sections.txt:
34922         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34923         * gst-libs/gst/vaapi/gstvaapitexture.c:
34924           Fix documentation.
34925
34926 2010-03-29 10:40:26 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34927
34928         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34929         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
34930           Add gst_vaapi_window_glx_put_texture() helper.
34931
34932 2010-03-29 09:09:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34933
34934         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34935           Fix typos.
34936
34937 2010-03-26 17:00:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34938
34939         * tests/image.c:
34940         * tests/image.h:
34941         * tests/test-windows.c:
34942           Move code around.
34943
34944 2010-03-26 16:52:07 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34945
34946         * gst-libs/gst/vaapi/Makefile.am:
34947         * gst-libs/gst/vaapi/gstvaapitexture.c:
34948         * gst-libs/gst/vaapi/gstvaapitexture.h:
34949         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
34950         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
34951           Add initial VA/GLX texture abstraction though the API is not good enough yet.
34952
34953 2010-03-26 15:22:00 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34954
34955         * docs/reference/libs/libs-sections.txt:
34956         * gst-libs/gst/vaapi/gstvaapiobject.c:
34957         * gst-libs/gst/vaapi/gstvaapiobject.h:
34958           Add gst_vaapi_object_{,un}lock_display() helpers.
34959
34960 2010-03-26 15:16:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34961
34962         * tests/Makefile.am:
34963         * tests/image.c:
34964         * tests/image.h:
34965         * tests/test-windows.c:
34966           Factor out image utilities.
34967
34968 2010-03-26 11:54:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34969
34970         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
34971           MT-Safe: lock display.
34972
34973 2010-03-26 11:50:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34974
34975         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
34976           Make sure window resize completed prior to resizing the GL viewport.
34977
34978 2010-03-26 11:39:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34979
34980         * gst-libs/gst/vaapi/Makefile.am:
34981           gstvaapicompat.h is a private header, don't install it.
34982
34983 2010-03-26 11:35:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34984
34985         * docs/reference/libs/libs-sections.txt:
34986         * gst-libs/gst/vaapi/gstvaapidisplay.c:
34987         * gst-libs/gst/vaapi/gstvaapidisplay.h:
34988         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
34989           Add gst_vaapi_display_{sync,flush}() helpers.
34990
34991 2010-03-26 11:30:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34992
34993         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
34994         * sys/vaapisink/gstvaapisink.c:
34995         * sys/vaapisink/gstvaapisink.h:
34996           Add "synchronous" mode.
34997
34998 2010-03-26 11:02:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
34999
35000         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35001         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35002           Only add _display suffix to open & close members because they could be #define to some arbitrary value. lock/unlock are safe names.
35003
35004 2010-03-26 10:09:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35005
35006         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
35007           Restore GLX context only if there is one.
35008
35009 2010-03-26 09:41:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35010
35011         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
35012         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
35013         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
35014         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
35015           Add gst_vaapi_window_glx_make_current(). Handle X11 window size changes and reset the GL viewport.
35016
35017 2010-03-26 08:35:24 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35018
35019         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35020           Check GstVaapiWindow::render() is available prior to calling it.
35021
35022 2010-03-26 08:10:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35023
35024         * tests/Makefile.am:
35025         * tests/test-display.c:
35026         * tests/test-textures.c:
35027           Add VA/GLX display tests.
35028
35029 2010-03-26 08:00:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35030
35031         * configure.ac:
35032         * gst-libs/gst/vaapi/Makefile.am:
35033           Fix compile flags.
35034
35035 2010-03-25 17:39:06 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35036
35037         * docs/reference/libs/Makefile.am:
35038         * docs/reference/libs/libs-docs.xml.in:
35039         * docs/reference/libs/libs-sections.txt:
35040         * docs/reference/libs/libs.types:
35041           Add missing API documentation.
35042
35043 2010-03-25 17:28:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35044
35045         * configure.ac:
35046         * gst-libs/gst/vaapi/Makefile.am:
35047         * gst-libs/gst/vaapi/gstvaapidisplay_glx.c:
35048         * gst-libs/gst/vaapi/gstvaapidisplay_glx.h:
35049         * gst-libs/gst/vaapi/gstvaapiutils_glx.c:
35050         * gst-libs/gst/vaapi/gstvaapiutils_glx.h:
35051         * gst-libs/gst/vaapi/gstvaapiwindow_glx.c:
35052         * gst-libs/gst/vaapi/gstvaapiwindow_glx.h:
35053         * pkgconfig/Makefile.am:
35054         * pkgconfig/gstreamer-vaapi-glx.pc.in:
35055         * tests/Makefile.am:
35056         * tests/test-textures.c:
35057           Add initial VA/GLX support.
35058
35059 2010-03-25 17:21:56 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35060
35061         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35062           Add missing includes (for vaapi_check_status()).
35063
35064 2010-03-25 17:21:13 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35065
35066         * gst-libs/gst/vaapi/gstvaapidebug.h:
35067           Only enable GST_DEBUG() if DEBUG is defined. Drop old D(bug()) stuff.
35068
35069 2010-03-25 17:18:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35070
35071         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35072         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
35073           Add gst_vaapi_window_x11_is_foreign_xid() helper.
35074
35075 2010-03-25 17:18:06 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35076
35077         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
35078         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
35079         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35080         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
35081           Allow derived classes to specify custom Visual and Colormap.
35082
35083 2010-03-25 13:54:06 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35084
35085         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
35086         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
35087         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35088           Allow window creation with a specific visual (e.g. for GLX support).
35089
35090 2010-03-25 13:21:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35091
35092         * gst-libs/gst/vaapi/gstvaapiimage.c:
35093           Fix return value on error (though it's the same in the end).
35094
35095 2010-03-25 12:39:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35096
35097         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35098         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
35099           Simplify initialization of VADisplay.
35100
35101 2010-03-25 10:04:39 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35102
35103         * configure.ac:
35104           Move __attribute__((visibility("hidden"))) check down.
35105
35106 2010-03-25 09:49:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35107
35108         * docs/reference/libs/libs-sections.txt:
35109         * gst-libs/gst/vaapi/gstvaapiimage.c:
35110         * gst-libs/gst/vaapi/gstvaapiimage.h:
35111         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35112         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
35113         * gst-libs/gst/vaapi/gstvaapisurface.c:
35114         * gst-libs/gst/vaapi/gstvaapisurface.h:
35115         * tests/test-surfaces.c:
35116           Restore the gst_vaapi_{surface,image,subpicture}_get_id() interfaces.
35117
35118 2010-03-25 09:39:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35119
35120         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35121           Use the parent display object, no need to maintain another one.
35122           In the end, libgstvaapi-x11 reduced by 1 KB in .text vs. 0.1.1.
35123
35124 2010-03-25 09:37:40 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35125
35126         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
35127           Add more internal helpers.
35128
35129 2010-03-24 17:40:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35130
35131         * gst-libs/gst/vaapi/gstvaapiimage.c:
35132         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
35133         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35134         * gst-libs/gst/vaapi/gstvaapisurface.c:
35135         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35136         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35137           Rename to GST_VAAPI_OBJECT_DISPLAY().
35138
35139 2010-03-24 17:38:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35140
35141         * docs/reference/libs/libs-sections.txt:
35142         * gst-libs/gst/vaapi/gstvaapiimage.c:
35143         * gst-libs/gst/vaapi/gstvaapiobject.c:
35144         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
35145         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35146         * gst-libs/gst/vaapi/gstvaapisurface.c:
35147         * gst-libs/gst/vaapi/gstvaapitypes.h:
35148         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35149           All GstVaapiID are initialized to GST_VAAPI_ID_NONE by default. Besides, all GstVaapiObject derived class shall initialize "id" to a valid value.
35150
35151 2010-03-24 17:22:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35152
35153         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35154         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35155         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35156           Make GstVaapiWindow* derive from GstVaapiObject.
35157
35158 2010-03-24 16:37:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35159
35160         * configure.ac:
35161           Factor out use gstreamer-vaapi (PACKAGE name).
35162
35163 2010-03-24 16:35:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35164
35165         * configure.ac:
35166           Improve versioning summary.
35167
35168 2010-03-24 16:27:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35169
35170         * gst-libs/gst/vaapi/Makefile.am:
35171           gstvaapicompat.h is now a private header (not installed).
35172
35173 2010-03-24 16:25:56 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35174
35175         * gst-libs/gst/vaapi/gstvaapiimage.c:
35176         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
35177         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
35178         * gst-libs/gst/vaapi/gstvaapiobject.c:
35179         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35180         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35181           Include gstvaapicompat.h in source files only, not headers.
35182
35183 2010-03-24 16:21:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35184
35185         * configure.ac:
35186         * gst-libs/gst/vaapi/Makefile.am:
35187         * sys/vaapiconvert/Makefile.am:
35188         * sys/vaapisink/Makefile.am:
35189         * tests/Makefile.am:
35190           Drop tedious LIBVA_EXTRA_{CFLAGS,LIBS} definitions in Makefile.am. Override CFLAGS & LIBS instead.
35191
35192 2010-03-24 16:17:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35193
35194         * NEWS:
35195         * configure.ac:
35196         * gst-libs/gst/vaapi/Makefile.am:
35197         * gst-libs/gst/vaapi/gstvaapicompat.h:
35198         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35199         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
35200         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
35201         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
35202         * gst-libs/gst/vaapi/gstvaapisurface.c:
35203         * gst-libs/gst/vaapi/gstvaapiutils.c:
35204         * gst-libs/gst/vaapi/gstvaapiutils.h:
35205         * pkgconfig/gstreamer-vaapi-x11.pc.in:
35206         * pkgconfig/gstreamer-vaapi.pc.in:
35207         * sys/vaapiconvert/Makefile.am:
35208         * sys/vaapisink/Makefile.am:
35209         * tests/Makefile.am:
35210           Add compatibility with the original VA-API 0.29.
35211
35212 2010-03-24 15:18:33 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35213
35214         * gst-libs/gst/vaapi/gstvaapivalue.h:
35215           Add missing file (gstvaapivalue.h).
35216
35217 2010-03-24 15:12:56 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35218
35219         * gst-libs/gst/vaapi/gstvaapiimage.c:
35220         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35221         * gst-libs/gst/vaapi/gstvaapisurface.c:
35222           Fix g_warning() invocation.
35223
35224 2010-03-24 15:11:26 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35225
35226         * gst-libs/gst/vaapi/gstvaapisurface.c:
35227           Deassociate subpictures while destroying the surface.
35228
35229 2010-03-24 14:57:33 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35230
35231         * gst-libs/gst/vaapi/gstvaapisurface.c:
35232           Fix destruction order of subpictures. They should be destroyed first.
35233
35234 2010-03-24 14:46:33 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35235
35236         * NEWS:
35237         * gst-libs/gst/vaapi/gstvaapiimage.c:
35238         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
35239         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
35240         * tests/test-windows.c:
35241           Add support for AYUV format.
35242
35243 2010-03-24 14:36:39 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35244
35245         * tests/test-windows.c:
35246           Simplify upload process and fallback to subpictures.
35247
35248 2010-03-24 13:44:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35249
35250         * docs/reference/libs/libs-docs.xml.in:
35251         * docs/reference/libs/libs-sections.txt:
35252         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
35253           Fix documentation.
35254
35255 2010-03-24 13:37:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35256
35257         * gst-libs/gst/vaapi/Makefile.am:
35258         * gst-libs/gst/vaapi/gstvaapiobject.c:
35259         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
35260         * gst-libs/gst/vaapi/gstvaapitypes.h:
35261         * gst-libs/gst/vaapi/gstvaapivalue.c:
35262           Move GValue specific stuff to a dedicated file.
35263
35264 2010-03-24 13:22:25 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35265
35266         * tests/test-surfaces.c:
35267           Cosmetics (lowercase for consistency).
35268
35269 2010-03-24 13:21:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35270
35271         * gst-libs/gst/vaapi/gstvaapiobject.c:
35272           Cosmetics (vertical alignment).
35273
35274 2010-03-24 13:20:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35275
35276         * gst-libs/gst/vaapi/gstvaapiobject.c:
35277           Fix return value on error.
35278
35279 2010-03-24 13:19:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35280
35281         * docs/reference/libs/libs-sections.txt:
35282         * gst-libs/gst/vaapi/gstvaapiimage.c:
35283         * gst-libs/gst/vaapi/gstvaapiimage.h:
35284         * gst-libs/gst/vaapi/gstvaapiobject.c:
35285         * gst-libs/gst/vaapi/gstvaapiobject.h:
35286         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
35287         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35288         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
35289         * gst-libs/gst/vaapi/gstvaapisurface.c:
35290         * gst-libs/gst/vaapi/gstvaapisurface.h:
35291         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35292         * tests/test-surfaces.c:
35293           Move "id" down to the GstVaapiObject base.
35294
35295 2010-03-24 12:59:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35296
35297         * gst-libs/gst/vaapi/gstvaapitypes.c:
35298           Cosmetics (drop extraneous empty line).
35299
35300 2010-03-24 12:57:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35301
35302         * gst-libs/gst/vaapi/Makefile.am:
35303         * gst-libs/gst/vaapi/gstvaapiparamspecs.c:
35304         * gst-libs/gst/vaapi/gstvaapiparamspecs.h:
35305           Add GParamSpecs for GstVaapiID.
35306
35307 2010-03-24 12:54:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35308
35309         * docs/reference/libs/libs.types:
35310           Drop gst_vaapi_id_get_type().
35311
35312 2010-03-24 12:38:40 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35313
35314         * docs/reference/libs/libs-sections.txt:
35315         * gst-libs/gst/vaapi/gstvaapitypes.h:
35316           Add GST_VAAPI_ID_FORMAT() and GST_VAAPI_ID_ARGS() helpers.
35317
35318 2010-03-24 09:52:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35319
35320         * docs/reference/libs/libs-sections.txt:
35321         * docs/reference/libs/libs.types:
35322         * gst-libs/gst/vaapi/Makefile.am:
35323         * gst-libs/gst/vaapi/gstvaapitypes.c:
35324         * gst-libs/gst/vaapi/gstvaapitypes.h:
35325           Add GstVaapiID abstraction.
35326
35327 2010-03-24 09:22:00 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35328
35329         * docs/reference/libs/libs.types:
35330           Sort types.
35331
35332 2010-03-24 08:35:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35333
35334         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35335         * gst-libs/gst/vaapi/gstvaapiimage.c:
35336         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35337         * gst-libs/gst/vaapi/gstvaapisurface.c:
35338           Drop useless include (<va/va_backend.h>).
35339
35340 2010-03-24 08:34:11 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35341
35342         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
35343           Optimize GST_VAAPI_OBJECT_GET_DISPLAY to avoid a run-time check.
35344
35345 2010-03-24 08:32:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35346
35347         * gst-libs/gst/vaapi/Makefile.am:
35348         * gst-libs/gst/vaapi/gstvaapiimage.c:
35349         * gst-libs/gst/vaapi/gstvaapiobject.c:
35350         * gst-libs/gst/vaapi/gstvaapiobject.h:
35351         * gst-libs/gst/vaapi/gstvaapiobject_priv.h:
35352         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35353         * gst-libs/gst/vaapi/gstvaapisurface.c:
35354         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35355           Move private definitions and accessors to gstvaapiobject_priv.h.
35356
35357 2010-03-24 08:16:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35358
35359         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35360         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
35361         * gst-libs/gst/vaapi/gstvaapiimage.c:
35362         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
35363         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
35364         * gst-libs/gst/vaapi/gstvaapiobject.c:
35365         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35366         * gst-libs/gst/vaapi/gstvaapisurface.c:
35367         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
35368         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
35369         * gst-libs/gst/vaapi/gstvaapivideopool.c:
35370         * gst-libs/gst/vaapi/gstvaapivideosink.c:
35371         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35372         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35373           Fix short descriptions.
35374
35375 2010-03-23 18:45:09 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35376
35377         * Makefile.am:
35378         * configure.ac:
35379         * debian.upstream/Makefile.am:
35380         * debian.upstream/changelog.in:
35381         * debian.upstream/compat:
35382         * debian.upstream/control.in:
35383         * debian.upstream/copyright:
35384         * debian.upstream/gstreamer-vaapi-doc.install.in:
35385         * debian.upstream/gstreamer-vaapi.install.in:
35386         * debian.upstream/libgstvaapi-dev.install.in:
35387         * debian.upstream/libgstvaapi-x11.install.in:
35388         * debian.upstream/libgstvaapi.install.in:
35389         * debian.upstream/rules:
35390           Generate upstream packages through make deb.upstream.
35391
35392 2010-03-23 17:40:03 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35393
35394         * configure.ac:
35395           Bump version for development.
35396
35397 2010-03-23 17:29:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35398
35399         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
35400           Use a black background for new windows.
35401
35402 2010-03-23 17:18:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35403
35404         * NEWS:
35405           0.1.1.
35406
35407 2010-03-23 17:12:40 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35408
35409         * configure.ac:
35410         * docs/reference/libs/libs.types:
35411         * gst-libs/gst/vaapi/Makefile.am:
35412         * gst-libs/gst/vaapi/gstvaapimarshal.list:
35413         * gst-libs/gst/vaapi/gstvaapiobject.c:
35414         * gst-libs/gst/vaapi/gstvaapiobject.h:
35415         * tests/test-surfaces.c:
35416           Add "destroy" signal.
35417
35418 2010-03-23 16:25:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35419
35420         * docs/reference/libs/libs-docs.xml.in:
35421           Improve gst-plugins-vaapi Library reference template.
35422
35423 2010-03-23 16:21:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35424
35425         * docs/reference/libs/libs-docs.xml.in:
35426         * docs/reference/libs/libs-sections.txt:
35427         * gst-libs/gst/vaapi/Makefile.am:
35428         * gst-libs/gst/vaapi/gstvaapiimage.c:
35429         * gst-libs/gst/vaapi/gstvaapiimage.h:
35430         * gst-libs/gst/vaapi/gstvaapiobject.c:
35431         * gst-libs/gst/vaapi/gstvaapiobject.h:
35432         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35433         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
35434         * gst-libs/gst/vaapi/gstvaapisurface.c:
35435         * gst-libs/gst/vaapi/gstvaapisurface.h:
35436         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35437           Make GstVaapi{Surface,Image,Subpicture} derive from a GstVaapiObject.
35438
35439 2010-03-23 16:11:21 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35440
35441         * sys/vaapisink/gstvaapisink.c:
35442           Fix return value.
35443
35444 2010-03-23 15:34:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35445
35446         * sys/vaapisink/gstvaapisink.c:
35447           Make sure VA display is valid when created with an explicit "display" name.
35448
35449 2010-03-23 15:28:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35450
35451         * sys/vaapisink/gstvaapisink.c:
35452           Use plain "display" property for the X11 display name.
35453
35454 2010-03-23 15:22:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35455
35456         * sys/vaapiconvert/gstvaapiconvert.c:
35457         * sys/vaapisink/gstvaapisink.c:
35458           Document vaapiconvert & vaapisink plugins.
35459
35460 2010-03-23 14:19:21 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35461
35462         * configure.ac:
35463         * docs/reference/Makefile.am:
35464         * docs/reference/plugins/Makefile.am:
35465         * docs/reference/plugins/plugins-docs.xml.in:
35466         * docs/reference/plugins/plugins-overrides.txt:
35467         * docs/reference/plugins/plugins-sections.txt:
35468         * docs/reference/plugins/plugins.types:
35469           Add plugins documentation template.
35470
35471 2010-03-23 14:06:42 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35472
35473         * sys/vaapisink/gstvaapisink.c:
35474         * sys/vaapisink/gstvaapisink.h:
35475           Don't export gst_vaapisink_get_display().
35476
35477 2010-03-23 13:32:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35478
35479         * configure.ac:
35480         * docs/reference/libs/libs-docs.xml.in:
35481         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35482         * gst-libs/gst/vaapi/gstvaapiimage.c:
35483         * gst-libs/gst/vaapi/gstvaapisurface.c:
35484         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35485           Drop introspection annotations since they require gtk-doc >= 1.12.
35486
35487 2010-03-23 10:51:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35488
35489         * gst-libs/gst/vaapi/gstvaapisurface.c:
35490           Add note about the fact that the surface holds an extra reference to the subpicture.
35491
35492 2010-03-23 10:49:33 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35493
35494         * gst-libs/gst/vaapi/gstvaapiimage.c:
35495         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35496         * gst-libs/gst/vaapi/gstvaapisurface.c:
35497           Improve debugging messages.
35498
35499 2010-03-23 10:48:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35500
35501         * tests/test-windows.c:
35502           Unref subpicture earlier as the surface is supposed to hold a reference to it.
35503
35504 2010-03-23 10:36:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35505
35506         * docs/reference/libs/libs-sections.txt:
35507         * gst-libs/gst/vaapi/gstvaapisurface.c:
35508         * gst-libs/gst/vaapi/gstvaapisurface.h:
35509         * tests/test-windows.c:
35510           Add gst_vaapi_surface_{,de}associate_subpicture() API.
35511
35512 2010-03-23 08:13:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35513
35514         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35515           Wait for MapNotify or UnmapNotify events on foreign windows too.
35516
35517 2010-03-23 07:42:05 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35518
35519         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35520           Check whether the foreign XID is mapped at binding time.
35521
35522 2010-03-23 07:34:15 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35523
35524         * sys/vaapisink/gstvaapisink.c:
35525           Add missing includes.
35526
35527 2010-03-23 07:31:04 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35528
35529         * configure.ac:
35530         * debian/Makefile.am:
35531         * debian/control.in:
35532         * debian/gstreamer-vaapi-doc.install.in:
35533         * debian/rules:
35534           Add -doc package.
35535
35536 2010-03-23 06:41:29 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35537
35538         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35539           Fix warnings (drop extraneous var).
35540
35541 2010-03-23 06:40:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35542
35543         * docs/reference/libs/libs-sections.txt:
35544         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
35545           Add GST_VAAPI_WINDOW_XWINDOW() helper macro.
35546
35547 2010-03-22 16:59:29 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35548
35549         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35550           Shorten condition.
35551
35552 2010-03-22 16:57:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35553
35554         * gst-libs/gst/vaapi/Makefile.am:
35555         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35556         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35557         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
35558         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35559           Try to improve switch to fullscreen mode.
35560
35561 2010-03-22 16:01:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35562
35563         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
35564         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
35565         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35566           Improve display locking and rework X event wait functions.
35567
35568 2010-03-22 13:06:41 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35569
35570         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35571         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
35572           Move _GstVaapiWindowPrivate declaration to gstvaapiwindow_priv.h.
35573
35574 2010-03-22 13:05:05 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35575
35576         * gst-libs/gst/vaapi/Makefile.am:
35577         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35578         * gst-libs/gst/vaapi/gstvaapiwindow_priv.h:
35579           Add private API to set window size & fullscreen modes without triggering any notification or virtual functions. This is useful for derived class to fix up sizes whenever appropriate.
35580
35581 2010-03-22 12:47:13 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35582
35583         * docs/reference/libs/libs-sections.txt:
35584         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35585         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35586           Add gst_vaapi_window_get_fullscreen() helper and "fullscreen" property.
35587
35588 2010-03-22 12:39:02 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35589
35590         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35591         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35592         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35593           Add gst_vaapi_window_get_display() to base.
35594
35595 2010-03-22 12:16:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35596
35597         * docs/reference/libs/libs-docs.xml.in:
35598         * docs/reference/libs/libs-sections.txt:
35599         * gst-libs/gst/vaapi/Makefile.am:
35600         * gst-libs/gst/vaapi/gstvaapitypes.h:
35601         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35602         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35603         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35604         * sys/vaapisink/gstvaapisink.c:
35605         * sys/vaapisink/gstvaapisink.h:
35606           Add GstVaapiPoint & GstVaapiRectangle data structures.
35607
35608 2010-03-22 12:05:11 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35609
35610         * NEWS:
35611           0.1.1.
35612
35613 2010-03-22 12:03:26 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35614
35615         * NEWS:
35616         * sys/vaapisink/gstvaapisink.c:
35617         * sys/vaapisink/gstvaapisink.h:
35618           Allow `vaapisink` to render videos in fullscreen mode.
35619
35620 2010-03-22 10:51:49 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35621
35622         * docs/reference/libs/libs-sections.txt:
35623         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35624         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35625         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35626           Add gst_vaapi_window_set_fullscreen() API.
35627
35628 2010-03-22 10:03:24 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35629
35630         * sys/vaapisink/gstvaapisink.c:
35631           Size window so that to respect the video and pixel aspect ratio.
35632
35633 2010-03-22 09:32:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35634
35635         * docs/reference/libs/libs-sections.txt:
35636         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35637         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35638         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
35639         * tests/test-display.c:
35640           Add gst_vaapi_display_get_pixel_aspect_ratio().
35641
35642 2010-03-22 08:45:03 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35643
35644         * docs/reference/libs/libs-sections.txt:
35645           Updates.
35646
35647 2010-03-22 08:44:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35648
35649         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35650         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35651         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
35652         * tests/test-display.c:
35653           Add display size accessors.
35654
35655 2010-03-22 08:03:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35656
35657         * configure.ac:
35658         * debian/control.in:
35659           Build-Requires: gstreamer-plugins-base >= 0.10.16.
35660
35661 2010-03-21 08:45:09 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35662
35663         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35664         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
35665         * gst-libs/gst/vaapi/gstvaapiimage.h:
35666         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
35667         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
35668         * gst-libs/gst/vaapi/gstvaapisurface.h:
35669         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
35670         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
35671         * gst-libs/gst/vaapi/gstvaapivideopool.h:
35672         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35673         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
35674           Fix documentation of *Class'es.
35675
35676 2010-03-21 08:38:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35677
35678         * gst-libs/gst/vaapi/gstvaapiutils.c:
35679         * gst-libs/gst/vaapi/gstvaapiutils.h:
35680         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35681           Move GstVaapiSurfaceRenderFlags conversion to get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags().
35682
35683 2010-03-21 08:22:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35684
35685         * docs/reference/libs/libs-sections.txt:
35686         * gst-libs/gst/vaapi/gstvaapisurface.h:
35687         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35688           Move GstVaapiSurfaceRenderFlags to gstvaapisurface.h since this will also be useful for e.g. a gstvaapitexture.h.
35689
35690 2010-03-21 08:12:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35691
35692         * docs/reference/libs/libs-sections.txt:
35693         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35694         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35695         * sys/vaapisink/gstvaapisink.c:
35696         * tests/test-windows.c:
35697           Rename gst_vaapi_window_put_surface_full() to plain gst_vaapi_window_put_surface().
35698
35699 2010-03-19 17:15:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35700
35701         * docs/reference/libs/Makefile.am:
35702           Fix make dist for --enable-gtk-doc builds.
35703
35704 2010-03-19 17:13:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35705
35706         * autogen.sh:
35707           Improve autogen.sh.
35708
35709 2010-03-19 17:11:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35710
35711         * Makefile.am:
35712         * autogen.sh:
35713           Generate gtk-doc.make from gtkdocize.
35714
35715 2010-03-19 17:04:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35716
35717         * Makefile.am:
35718         * NEWS:
35719         * configure.ac:
35720         * docs/Makefile.am:
35721         * docs/reference/Makefile.am:
35722         * docs/reference/libs/Makefile.am:
35723         * docs/reference/libs/libs-docs.xml.in:
35724         * docs/reference/libs/libs-overrides.txt:
35725         * docs/reference/libs/libs-sections.txt:
35726         * docs/reference/libs/libs.types:
35727           Document public API for libgstvaapi-*.so.*.
35728
35729 2010-03-19 16:41:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35730
35731         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
35732         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
35733           Document GstVaapiVideoBuffer.
35734
35735 2010-03-19 16:08:48 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35736
35737         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
35738         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
35739         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
35740         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
35741         * gst-libs/gst/vaapi/gstvaapivideopool.c:
35742         * gst-libs/gst/vaapi/gstvaapivideopool.h:
35743           Document surface & image pools. Drop obsolete gst_vaapi_video_pool_new() function.
35744
35745 2010-03-19 15:45:21 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35746
35747         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35748         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35749         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
35750         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
35751         * gst-libs/gst/vaapi/gstvaapiimage.c:
35752         * gst-libs/gst/vaapi/gstvaapiimage.h:
35753         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
35754         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
35755         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35756         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
35757         * gst-libs/gst/vaapi/gstvaapisurface.c:
35758         * gst-libs/gst/vaapi/gstvaapisurface.h:
35759         * gst-libs/gst/vaapi/gstvaapivideosink.c:
35760         * gst-libs/gst/vaapi/gstvaapivideosink.h:
35761         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35762         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35763         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35764         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
35765           Add tedious documentation.
35766
35767 2010-03-19 10:42:11 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35768
35769         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35770           Beautify append_formats().
35771
35772 2010-03-19 10:38:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35773
35774         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35775           Simplify GstVaapiDisplay (use GArray).
35776
35777 2010-03-19 08:42:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35778
35779         * NEWS:
35780         * sys/vaapiconvert/gstvaapiconvert.c:
35781         * sys/vaapiconvert/gstvaapiconvert.h:
35782           Factor out direct-rendering infrastructure.
35783
35784 2010-03-18 16:18:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35785
35786         * sys/vaapiconvert/gstvaapiconvert.c:
35787         * sys/vaapiconvert/gstvaapiconvert.h:
35788           Allow user to specify inout-buffers & derive-image optimizations.
35789
35790 2010-03-18 15:58:28 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35791
35792         * sys/vaapiconvert/gstvaapiconvert.c:
35793           Reduce number of debug messaged printed out.
35794
35795 2010-03-18 15:53:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35796
35797         * sys/vaapiconvert/gstvaapiconvert.c:
35798         * sys/vaapiconvert/gstvaapiconvert.h:
35799           Add vaDeriveImage() optimization.
35800
35801 2010-03-18 15:52:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35802
35803         * gst-libs/gst/vaapi/gstvaapiimage.c:
35804           Fix gst_vaapi_image_create() from a foreign VA image.
35805
35806 2010-03-18 15:28:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35807
35808         * gst-libs/gst/vaapi/gstvaapiimage.c:
35809         * gst-libs/gst/vaapi/gstvaapiimage.h:
35810         * gst-libs/gst/vaapi/gstvaapisurface.c:
35811         * gst-libs/gst/vaapi/gstvaapisurface.h:
35812           Add gst_vaapi_surface_derive_image() API.
35813
35814 2010-03-18 13:49:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35815
35816         * gst-libs/gst/vaapi/gstvaapiwindow.c:
35817         * gst-libs/gst/vaapi/gstvaapiwindow.h:
35818         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35819           Make it possible to bin an X11 window to GstVaapiWindowX11 with plain g_object_new() and "xid" property. i.e. get foreign window size in gst_vaapi_window_x11_create().
35820
35821 2010-03-18 13:08:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35822
35823         * tests/test-windows.c:
35824           Try YV12 & I420 image formats too.
35825
35826 2010-03-18 12:59:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35827
35828         * gst-libs/gst/vaapi/gstvaapiimage.c:
35829           Split map/unmap functions into internal functions that don't check preconditions.
35830
35831 2010-03-18 12:56:53 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35832
35833         * gst-libs/gst/vaapi/gstvaapiimage.c:
35834           Improve gst_vaapi_image_new() sanity checks.
35835
35836 2010-03-18 12:52:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35837
35838         * tests/test-windows.c:
35839           Fix typo.
35840
35841 2010-03-18 08:45:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35842
35843         * sys/vaapiconvert/gstvaapiconvert.c:
35844           Check if our inout buffer is still alive or default to a separate output buffer.
35845
35846 2010-03-18 08:16:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35847
35848         * sys/vaapiconvert/gstvaapiconvert.c:
35849         * sys/vaapiconvert/gstvaapiconvert.h:
35850           Factor out buffers negotiation and optimization checks.
35851
35852 2010-03-18 08:02:25 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35853
35854         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35855         * gst-libs/gst/vaapi/gstvaapiimage.c:
35856         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
35857         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
35858         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35859         * sys/vaapiconvert/gstvaapiconvert.h:
35860           Use gtypes.
35861
35862 2010-03-17 10:43:02 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35863
35864         * gst-libs/gst/vaapi/gstvaapiimage.c:
35865           Optimize gst_vaapi_image_is_linear() and simplify gst_vaapi_image_update_from_buffer().
35866
35867 2010-03-17 07:59:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35868
35869         * gst-libs/gst/vaapi/gstvaapidisplay.c:
35870         * gst-libs/gst/vaapi/gstvaapidisplay.h:
35871         * gst-libs/gst/vaapi/gstvaapiimage.c:
35872         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
35873         * gst-libs/gst/vaapi/gstvaapisurface.c:
35874         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35875           Add VA display locking utilities.
35876
35877 2010-03-17 07:20:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35878
35879         * sys/vaapisink/gstvaapisink.c:
35880           Initialize the X window in a ::set_caps() handler. Also fix build with GStreamer < 0.10.25. i.e. use preroll/render hooks.
35881
35882 2010-03-17 07:17:17 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35883
35884         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35885         * tests/test-windows.c:
35886           Don't show window by default during creation.
35887
35888 2010-03-17 06:49:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35889
35890         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
35891           Fix gst_vaapi_window_x11_destroy().
35892
35893 2010-03-16 17:57:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35894
35895         * sys/vaapiconvert/gstvaapiconvert.c:
35896         * sys/vaapiconvert/gstvaapiconvert.h:
35897           Alias sink & src pad buffers whenever possible.
35898
35899 2010-03-16 17:57:23 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35900
35901         * gst-libs/gst/vaapi/gstvaapiimage.c:
35902         * gst-libs/gst/vaapi/gstvaapiimage.h:
35903           Extend GstVaapiImage API with *_get_image(), *_is_linear(), *_get_data_size().
35904
35905 2010-03-16 17:10:02 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35906
35907         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
35908         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
35909           Make GstVaapiVideoBuffer handle two pools. i.e. both image & surface at the same time.
35910
35911 2010-03-16 14:37:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35912
35913         * sys/vaapiconvert/gstvaapiconvert.c:
35914           Fix image & surface size cache.
35915
35916 2010-03-16 14:12:40 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35917
35918         * configure.ac:
35919           Move gstreamer-vaapi package versioning to the top.
35920
35921 2010-03-16 14:11:46 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35922
35923         * configure.ac:
35924           Bump version for development.
35925
35926 2010-03-16 14:07:53 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35927
35928         * configure.ac:
35929           Cosmetics (shorten lines).
35930
35931 2010-03-16 13:58:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35932
35933         * NEWS:
35934         * README:
35935           Update docs.
35936
35937 2010-03-16 13:53:54 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35938
35939         * debian/Makefile.am:
35940         * debian/changelog.in:
35941         * debian/compat:
35942         * debian/control.in:
35943         * debian/copyright:
35944         * debian/gstreamer-vaapi.install.in:
35945         * debian/libgstvaapi-dev.install.in:
35946         * debian/libgstvaapi-x11.install.in:
35947         * debian/libgstvaapi.install.in:
35948         * debian/rules:
35949           Add debian packaging.
35950
35951 2010-03-16 13:53:09 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35952
35953         * Makefile.am:
35954         * configure.ac:
35955           Add debian packaging.
35956
35957 2010-03-16 10:13:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35958
35959         * pkgconfig/Makefile.am:
35960           Silence GNU make extensions warning.
35961
35962 2010-03-16 09:59:03 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35963
35964         * configure.ac:
35965           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'
35966
35967 2010-03-16 09:57:25 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35968
35969         * Makefile.am:
35970         * configure.ac:
35971         * pkgconfig/Makefile.am:
35972         * pkgconfig/gstreamer-vaapi-x11.pc.in:
35973         * pkgconfig/gstreamer-vaapi.pc.in:
35974           Add pkgconfig files.
35975
35976 2010-03-16 09:39:07 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35977
35978         * configure.ac:
35979         * gst-libs/gst/vaapi/Makefile.am:
35980         * sys/vaapisink/Makefile.am:
35981         * tests/Makefile.am:
35982           Split X11 support to libgstvaapi-x11-*.so.*
35983
35984 2010-03-16 09:21:15 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35985
35986         * gst-libs/gst/vaapi/Makefile.am:
35987           Don't install private headers.
35988
35989 2010-03-16 09:18:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35990
35991         * gst-libs/gst/vaapi/gstvaapidebug.h:
35992         * gst-libs/gst/vaapi/gstvaapiutils.c:
35993         * gst-libs/gst/vaapi/gstvaapiutils.h:
35994           Fix header guards.
35995
35996 2010-03-16 09:17:41 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
35997
35998         * gst-libs/gst/vaapi/Makefile.am:
35999         * gst-libs/gst/vaapi/gstvaapidebug.h:
36000         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36001         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36002         * gst-libs/gst/vaapi/gstvaapiimage.c:
36003         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
36004         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
36005         * gst-libs/gst/vaapi/gstvaapisurface.c:
36006         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
36007         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
36008         * gst-libs/gst/vaapi/gstvaapivideopool.c:
36009         * gst-libs/gst/vaapi/gstvaapiwindow.c:
36010         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
36011           Rename vaapi_debug.h to gstvaapidebug.h.
36012
36013 2010-03-16 09:15:48 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36014
36015         * gst-libs/gst/vaapi/Makefile.am:
36016         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36017         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36018         * gst-libs/gst/vaapi/gstvaapiimage.c:
36019         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
36020         * gst-libs/gst/vaapi/gstvaapisurface.c:
36021         * gst-libs/gst/vaapi/gstvaapiutils.c:
36022         * gst-libs/gst/vaapi/gstvaapiutils.h:
36023         * gst-libs/gst/vaapi/vaapi_debug.h:
36024           Move vaapi_utils.* to gstvaapiutils.*
36025
36026 2010-03-16 09:13:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36027
36028         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
36029           Cosmetics (remove an extra line).
36030
36031 2010-03-16 09:12:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36032
36033         * gst-libs/gst/vaapi/Makefile.am:
36034         * gst-libs/gst/vaapi/gstvaapiutils_x11.c:
36035         * gst-libs/gst/vaapi/gstvaapiutils_x11.h:
36036         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
36037           Move X11 utilties to gstvaapiutils_x11.[ch].
36038
36039 2010-03-16 09:03:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36040
36041         * gst-libs/gst/vaapi/Makefile.am:
36042         * gst-libs/gst/vaapi/gstvaapivideosink.c:
36043         * gst-libs/gst/vaapi/gstvaapivideosink.h:
36044         * sys/vaapiconvert/gstvaapiconvert.c:
36045         * sys/vaapisink/gstvaapisink.c:
36046           Rename GstVaapiSinkBase to GstVaapiVideoSink.
36047
36048 2010-03-16 08:49:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36049
36050         * configure.ac:
36051         * tests/Makefile.am:
36052         * tests/examples/Makefile.am:
36053         * tests/examples/generic/Makefile.am:
36054         * tests/test-display.c:
36055         * tests/test-surfaces.c:
36056         * tests/test-windows.c:
36057           Move tests to top-level tests/ directory.
36058
36059 2010-03-16 08:43:16 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36060
36061         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36062         * gst-libs/gst/vaapi/gstvaapiimage.c:
36063         * sys/vaapiconvert/gstvaapiconvert.c:
36064         * sys/vaapiconvert/gstvaapiconvert.h:
36065           Handle I420 formats internally in GstVaapiImage.
36066
36067 2010-03-15 17:44:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36068
36069         * sys/vaapiconvert/gstvaapiconvert.c:
36070         * sys/vaapiconvert/gstvaapiconvert.h:
36071           Implement I420 (resp. YV12) with YV12 (resp. I420) if the driver does not.
36072
36073 2010-03-15 17:43:29 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36074
36075         * gst-libs/gst/vaapi/gstvaapiimage.c:
36076           Implement I420 and YV12 if the underlying implementation does not.
36077
36078 2010-03-15 17:10:56 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36079
36080         * sys/vaapiconvert/Makefile.am:
36081         * sys/vaapiconvert/gstvaapiconvert.c:
36082         * sys/vaapiconvert/gstvaapiconvert.h:
36083           Add initial vaapiconvert plugin.
36084
36085 2010-03-15 17:09:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36086
36087         * sys/vaapisink/gstvaapisink.c:
36088         * sys/vaapisink/gstvaapisink.h:
36089           Display frames.
36090
36091 2010-03-15 16:57:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36092
36093         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
36094           Factor out.
36095
36096 2010-03-15 16:57:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36097
36098         * tests/examples/generic/test-windows.c:
36099           Generate R/G/B rects.
36100
36101 2010-03-15 16:13:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36102
36103         * gst-libs/gst/vaapi/gstvaapisurface.c:
36104         * gst-libs/gst/vaapi/gstvaapisurface.h:
36105           Add gst_vaapi_surface_sync().
36106
36107 2010-03-15 16:13:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36108
36109         * gst-libs/gst/vaapi/gstvaapiimage.c:
36110           Cosmetics (reverse args order).
36111
36112 2010-03-15 15:55:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36113
36114         * gst-libs/gst/vaapi/gstvaapiimage.c:
36115         * gst-libs/gst/vaapi/gstvaapiimage.h:
36116         * gst-libs/gst/vaapi/gstvaapisurface.c:
36117           Cosmetics.
36118
36119 2010-03-15 15:12:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36120
36121         * gst-libs/gst/vaapi/Makefile.am:
36122         * gst-libs/gst/vaapi/gstvaapiwindow.c:
36123         * gst-libs/gst/vaapi/gstvaapiwindow.h:
36124         * gst-libs/gst/vaapi/gstvaapiwindow_x11.c:
36125         * gst-libs/gst/vaapi/gstvaapiwindow_x11.h:
36126         * tests/examples/generic/Makefile.am:
36127         * tests/examples/generic/test-windows.c:
36128           Add VA/X11 window abstraction.
36129
36130 2010-03-15 14:57:57 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36131
36132         * gst-libs/gst/vaapi/gstvaapidisplay.h:
36133         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
36134           Add VA and X11 display accessors.
36135
36136 2010-03-15 14:57:30 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36137
36138         * gst-libs/gst/vaapi/gstvaapiimage.c:
36139           Fix preconditions.
36140
36141 2010-03-15 13:32:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36142
36143         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36144           Cosmetics.
36145
36146 2010-03-15 11:49:03 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36147
36148         * gst-libs/gst/vaapi/gstvaapiimage.c:
36149         * gst-libs/gst/vaapi/gstvaapiimage.h:
36150         * gst-libs/gst/vaapi/gstvaapisurface.c:
36151         * gst-libs/gst/vaapi/gstvaapisurface.h:
36152           Add gst_vaapi_{get,put}_image() API.
36153
36154 2010-03-15 10:27:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36155
36156         * gst-libs/gst/vaapi/gstvaapiimage.c:
36157         * gst-libs/gst/vaapi/gstvaapiimage.h:
36158           Add gst_vaapi_image_update_from_buffer() helper.
36159
36160 2010-03-12 23:53:48 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36161
36162         * sys/vaapisink/Makefile.am:
36163         * sys/vaapisink/gstvaapisink.c:
36164         * sys/vaapisink/gstvaapisink.h:
36165           Implement GstVaapiSinkBase interface and integrate with GST_DEBUG better.
36166
36167 2010-03-12 23:50:09 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36168
36169         * tests/examples/generic/Makefile.am:
36170         * tests/examples/generic/test-surfaces.c:
36171           Add surface tests.
36172
36173 2010-03-12 23:48:50 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36174
36175         * gst-libs/gst/vaapi/Makefile.am:
36176         * gst-libs/gst/vaapi/gstvaapivideobuffer.c:
36177         * gst-libs/gst/vaapi/gstvaapivideobuffer.h:
36178           Add basic GstVaapiVideoBuffer.
36179
36180 2010-03-12 23:47:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36181
36182         * gst-libs/gst/vaapi/Makefile.am:
36183         * gst-libs/gst/vaapi/gstvaapiimagepool.c:
36184         * gst-libs/gst/vaapi/gstvaapiimagepool.h:
36185         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
36186         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
36187         * gst-libs/gst/vaapi/gstvaapivideopool.c:
36188         * gst-libs/gst/vaapi/gstvaapivideopool.h:
36189           Add GstVaapiImagePool and factor out GstVaapiSurfacePool from a base GstVaapiVideoPool.
36190
36191 2010-03-12 22:32:35 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36192
36193         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36194           Simplify format conversion code.
36195
36196 2010-03-12 22:28:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36197
36198         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36199         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
36200           Add gst_vaapi_image_format_from_caps() helper.
36201
36202 2010-03-12 17:45:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36203
36204         * gst-libs/gst/vaapi/Makefile.am:
36205         * gst-libs/gst/vaapi/gstvaapisurfacepool.c:
36206         * gst-libs/gst/vaapi/gstvaapisurfacepool.h:
36207           Add VA surface pool (lazy allocator).
36208
36209 2010-03-12 17:39:11 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36210
36211         * gst-libs/gst/vaapi/gstvaapisurface.c:
36212         * gst-libs/gst/vaapi/gstvaapisurface.h:
36213           Add gst_vaapi_surface_get_size() helper.
36214
36215 2010-03-12 10:52:08 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36216
36217         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36218           Avoid use of GstStaticCaps since older gstreamer versions (0.10.22) write to it.
36219
36220 2010-03-11 15:35:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36221
36222         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36223           Reset display-name if the user provided his own X11 display.
36224
36225 2010-03-11 15:21:43 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36226
36227         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36228         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
36229         * tests/examples/generic/test-display.c:
36230           Add gst_vaapi_display_x11_new_with_display() API.
36231
36232 2010-03-11 15:04:18 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36233
36234         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
36235         * gst-libs/gst/vaapi/gstvaapiimage.h:
36236         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
36237         * gst-libs/gst/vaapi/gstvaapisurface.h:
36238           Fix *_GET_CLASS() definitions...
36239
36240 2010-03-11 15:01:00 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36241
36242         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36243         * gst-libs/gst/vaapi/gstvaapidisplay.h:
36244         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36245         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
36246         * tests/examples/generic/test-display.c:
36247           API change: gst_vaapi_display_x11_new() now takes an X11 display name.
36248
36249 2010-03-11 13:58:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36250
36251         * gst-libs/gst/vaapi/gstvaapisurface.c:
36252         * gst-libs/gst/vaapi/gstvaapisurface.h:
36253           Use GstVaapiChromaType abstraction.
36254
36255 2010-03-11 12:30:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36256
36257         * gst-libs/gst/vaapi/gstvaapiimage.c:
36258         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
36259         * gst-libs/gst/vaapi/gstvaapisurface.c:
36260           New refcounting policy. All getters return a reference, not a copy. So the user shall reference the object itself, should he wish so.
36261
36262 2010-03-11 12:14:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36263
36264         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36265           Don't warn on failure, just return an appropriate error or value.
36266
36267 2010-03-11 12:11:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36268
36269         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36270         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36271         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
36272           Filter out any format that is not supported by the library (libgstvaapi). Also sort the formats by HW preference.
36273
36274 2010-03-11 10:50:27 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36275
36276         * gst-libs/gst/vaapi/Makefile.am:
36277         * gst-libs/gst/vaapi/gstvaapisinkbase.c:
36278         * gst-libs/gst/vaapi/gstvaapisinkbase.h:
36279           Add helper interface that all VA-API sinks must implement. e.g. vaapisink.
36280
36281 2010-03-10 13:13:51 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36282
36283         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36284         * gst-libs/gst/vaapi/gstvaapiimage.c:
36285         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
36286         * gst-libs/gst/vaapi/gstvaapisurface.c:
36287         * gst-libs/gst/vaapi/vaapi_debug.h:
36288           Use GST_DEBUG.
36289
36290 2010-03-10 13:10:59 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36291
36292         * gst-libs/gst/vaapi/gstvaapiimage.c:
36293         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
36294           Fix GstVaapiImage and GstVaapiSubpicture initialization.
36295
36296 2010-03-10 13:02:45 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36297
36298         * gst-libs/gst/vaapi/gstvaapisurface.c:
36299           Fix GstVaapiSurface initialization, override constructed() method, not constructor(). GObject C is awful...
36300
36301 2010-03-10 12:25:38 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36302
36303         * tests/examples/generic/test-display.c:
36304           Dump caps.
36305
36306 2010-03-10 12:25:19 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36307
36308         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36309         * gst-libs/gst/vaapi/gstvaapidisplay.h:
36310         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36311           Fix GstVaapiDisplay initialization.
36312
36313 2010-03-10 10:43:31 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36314
36315         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36316         * gst-libs/gst/vaapi/gstvaapidisplay.h:
36317           Get VA image & subpicture formats as GstCaps.
36318
36319 2010-03-10 10:41:12 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36320
36321         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36322         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
36323           Add helper to convert from GstVaapiImageFormat to GstCaps.
36324
36325 2010-03-09 12:00:32 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36326
36327         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36328         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36329         * gst-libs/gst/vaapi/gstvaapisurface.c:
36330           Cosmetics (drop unused variables).
36331
36332 2010-03-05 17:11:52 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36333
36334         * configure.ac:
36335         * sys/vaapiconvert/Makefile.am:
36336         * sys/vaapiconvert/gstvaapiconvert.c:
36337         * sys/vaapiconvert/gstvaapiconvert.h:
36338         * sys/vaapisink/Makefile.am:
36339         * sys/vaapisink/gstvaapisink.c:
36340         * sys/vaapisink/gstvaapisink.h:
36341           Add boilerplate for vaapiconvert and vaapisink elements.
36342
36343 2010-03-05 15:29:04 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36344
36345         * configure.ac:
36346         * sys/Makefile.am:
36347         * sys/vaapiconvert/Makefile.am:
36348           Add vaapiconvert element hierarchy.
36349
36350 2010-03-05 15:26:36 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36351
36352         * sys/vaapisink/Makefile.am:
36353           Rename to vaapisink.
36354
36355 2010-03-05 10:07:22 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36356
36357         * gst-libs/gst/vaapi/gstvaapisurface.c:
36358           Shorter code (and more correct).
36359
36360 2010-03-05 10:04:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36361
36362         * gst-libs/gst/vaapi/gstvaapisurface.c:
36363         * gst-libs/gst/vaapi/gstvaapisurface.h:
36364           Add helper to get GstVaapiDisplay from a surface.
36365
36366 2010-03-05 08:52:20 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36367
36368         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36369           Fix subpicture formats list length.
36370
36371 2010-03-04 17:41:34 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36372
36373         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36374         * gst-libs/gst/vaapi/gstvaapidisplay.h:
36375           Add utilities to check whether a VA-API driver supports specific image or subpicture format. Likewise for VA profile.
36376
36377 2010-03-04 17:40:47 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36378
36379         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36380         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
36381           Cosmetics (more checks, includes).
36382
36383 2010-03-04 17:39:58 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36384
36385         * gst-libs/gst/vaapi/gstvaapisubpicture.c:
36386         * gst-libs/gst/vaapi/gstvaapisubpicture.h:
36387           Really add VA subpicture abstraction.
36388
36389 2010-03-04 17:39:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36390
36391         * gst-libs/gst/vaapi/Makefile.am:
36392         * gst-libs/gst/vaapi/gstvaapiimage.c:
36393         * gst-libs/gst/vaapi/gstvaapiimage.h:
36394         * gst-libs/gst/vaapi/gstvaapiimageformat.c:
36395         * gst-libs/gst/vaapi/gstvaapiimageformat.h:
36396         * gst-libs/gst/vaapi/gstvaapisurface.c:
36397         * gst-libs/gst/vaapi/gstvaapisurface.h:
36398           Add VA surface, image, subpicture abstractions. Ported over from Gnash.
36399
36400 2010-01-25 16:15:01 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36401
36402         * configure.ac:
36403         * gst-libs/gst/vaapi/Makefile.am:
36404         * gst-libs/gst/vaapi/gstvaapidisplay.c:
36405         * gst-libs/gst/vaapi/gstvaapidisplay.h:
36406         * gst-libs/gst/vaapi/gstvaapidisplay_x11.c:
36407         * gst-libs/gst/vaapi/gstvaapidisplay_x11.h:
36408         * gst-libs/gst/vaapi/vaapi_debug.h:
36409         * gst-libs/gst/vaapi/vaapi_utils.c:
36410         * gst-libs/gst/vaapi/vaapi_utils.h:
36411         * tests/examples/generic/Makefile.am:
36412         * tests/examples/generic/test-display.c:
36413           Add initial VA display abstraction.
36414
36415 2010-01-25 15:04:10 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36416
36417         * Makefile.am:
36418         * configure.ac:
36419         * tests/Makefile.am:
36420         * tests/examples/Makefile.am:
36421         * tests/examples/generic/Makefile.am:
36422           Add tests infrastructure.
36423
36424 2010-01-25 14:59:37 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36425
36426         * configure.ac:
36427           Clean up VA-API checks.
36428
36429 2010-01-25 13:49:55 +0000  gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
36430
36431         * configure.ac:
36432           Check for __attribute__((visibility("hidden"))).
36433