gstreamer/gst/vaapi
Víctor Manuel Jáquez Leal 4ae9428072 vaapivideomemory: refactor vaapi memory unmapping
There were duplicated code in gst_video_meta_unmap_vaapi_memory() and
gst_vaapi_video_memory_unmap() when unmapping.

This patch refactors both methods adding the common function
unmap_vaapi_memory(). This also ensures, if direct rendering is enabled, it
is correctly reset.

Additionally, only when mapping flag has the WRITE bit, it set the image as
current, which was done in gst_video_meta_map_vaapi_memory() but no in
gst_vaapi_video_memory_map().

In order to make this, the mapping flags were required, so instead of
overloading mem_unmap() virtual function, mem_unmap_full() is overloaded.

https://bugzilla.gnome.org/show_bug.cgi?id=774213
2016-11-11 11:59:18 +01:00
..
gstcompat.h Remove old gst version guards 2016-01-25 12:09:40 +00:00
gstvaapi.c vaapi: DISPLAY envvar as dependency 2016-09-06 09:49:02 +02:00
gstvaapidecode.c vaapidecode: unref allowed_sinkpad_caps at close() 2016-11-11 10:48:43 +01:00
gstvaapidecode.h vaapidecode: generate source pad caps 2016-11-03 13:04:09 +01:00
gstvaapidecodebin.c vaapidecodebin: resurrect disable-vpp property 2016-10-27 17:35:33 +02:00
gstvaapidecodebin.h vaapidecodebin: remove unused variables 2016-10-27 17:35:33 +02:00
gstvaapidecodedoc.c docs: replace vaapidecode with each codec 2016-10-27 13:04:37 +02:00
gstvaapiencode.c vaapiencode: demote a log to trace level 2016-07-11 19:07:30 +02:00
gstvaapiencode.h encode: Attach the codec-data to out caps only based on negotiated caps 2014-10-29 15:46:12 +02:00
gstvaapiencode_h264.c plugins: fix code style for errors 2016-11-03 12:54:23 +01:00
gstvaapiencode_h264.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_h265.c plugins: fix code style for errors 2016-11-03 12:54:23 +01:00
gstvaapiencode_h265.h HEVC_Encode: Add HEVC(h265) Encoder plugin 2015-05-25 11:58:20 +03:00
gstvaapiencode_jpeg.c vaapi: use new gst_element_class_add_static_pad_template() 2016-09-23 12:33:58 +02:00
gstvaapiencode_jpeg.h plugins: Add JPEG encoder element 2015-02-04 11:18:29 +02:00
gstvaapiencode_mpeg2.c vaapi: use new gst_element_class_add_static_pad_template() 2016-09-23 12:33:58 +02:00
gstvaapiencode_mpeg2.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_vp8.c vaapi: use new gst_element_class_add_static_pad_template() 2016-09-23 12:33:58 +02:00
gstvaapiencode_vp8.h plugins: Add VP8 Encoder 2015-02-13 13:45:32 +02:00
gstvaapiencode_vp9.c Add vp9 encode element to "vaapi" plugin 2016-05-30 11:24:14 +03:00
gstvaapiencode_vp9.h Add vp9 encode element to "vaapi" plugin 2016-05-30 11:24:14 +03:00
gstvaapipluginbase.c plugins: set negotiation caps in src allocator 2016-11-04 13:44:29 +01:00
gstvaapipluginbase.h plugins: remove gst_vaapi_plugin_base_driver_is_whitelisted() 2016-07-22 17:23:23 +02:00
gstvaapipluginutil.c pluginutil: add gst_caps_is_video_raw() 2016-11-03 08:35:29 +01:00
gstvaapipluginutil.h pluginutil: add gst_caps_is_video_raw() 2016-11-03 08:35:29 +01:00
gstvaapipostproc.c vaapipostproc: enhance debug message 2016-11-08 09:35:00 +01:00
gstvaapipostproc.h vaapipostproc: make it enable/disable pass-through mode 2016-07-22 12:08:20 +02:00
gstvaapipostprocutil.c vaapipostproc: Add colorimetry attributes to src caps 2016-06-08 10:17:02 +02:00
gstvaapipostprocutil.h vaapipostproc: move gst_vaapipostproc_fixate_srccaps() 2016-05-09 16:56:10 +02:00
gstvaapisink.c vaapisink: finish event thread at stop() 2016-11-11 10:44:27 +01:00
gstvaapisink.h vaapisink: add support for GST_TAG_IMAGE_ORIENTATION 2016-07-05 20:17:12 +02:00
gstvaapivideobuffer.c docs: add missing long descriptions 2016-10-27 11:06:06 +02:00
gstvaapivideobuffer.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideobufferpool.c vaapivideobufferpool: add video meta to config when needed 2016-06-15 15:44:00 +02:00
gstvaapivideobufferpool.h vaapivideobufferpool: share options flag with pluginbase 2016-06-08 10:19:01 +02:00
gstvaapivideocontext.c plugins: update GstGL deprecated symbol 2016-11-03 09:31:17 +01:00
gstvaapivideocontext.h plugins: add gst_vaapi_plugin_base_find_gl_context() 2016-07-22 17:23:23 +02:00
gstvaapivideomemory.c vaapivideomemory: refactor vaapi memory unmapping 2016-11-11 11:59:18 +01:00
gstvaapivideomemory.h vaapivideomemory: add direct upload flag 2016-11-03 08:35:28 +01:00
gstvaapivideometa.c docs: add missing long descriptions 2016-10-27 11:06:06 +02:00
gstvaapivideometa.h Removal of gstreamer-0.10 support 2015-04-03 16:55:27 +03:00
gstvaapivideometa_texture.c plugins: fix code style for errors 2016-10-25 19:38:26 +02:00
gstvaapivideometa_texture.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
Makefile.am docs: replace vaapidecode with each codec 2016-10-27 13:04:37 +02:00