gstreamer/gst/vaapi
He Junyan ee21fd9053 vaapivideomemory: Prefer same format for surface and image
We prefer to use the same format between image and surface for gst
vaapi allocator. The old way may choose different formats between
image and surface. For example, the RGBA image may have a NV12 surface.

So we need to do format conversion when we put/get image to surface.

Some drivers such as iHD can not support such conversion and always
cause a data flow error. There may also have some performance cost
for format conversion when put/get images.

So we prefer to use the same format for image and surface in the
allocator. If the surface can not support that format, we then
fallback to find a best one as the surface format.

Co-authored-by: Víctor Jáquez <vjaquez@igalia.com>
2019-02-21 13:41:46 +01:00
..
gstcompat.h Remove old gst version guards 2016-01-25 12:09:40 +00:00
gstvaapi.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapi.h vaapidecodebin: Register element if no VPP support is available too 2017-10-20 12:59:10 +02:00
gstvaapidecode.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapidecode.h vaapidecode: update internal decoder sink caps 2017-01-18 11:30:49 +01:00
gstvaapidecode_props.c vaapidecode: set h264 base-only to decoder 2017-08-03 17:07:14 +02:00
gstvaapidecode_props.h vaapidecode_props: h264: add base-only property 2017-08-03 17:07:01 +02:00
gstvaapidecodebin.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapidecodebin.h vaapidecodebin: skips configuration once it's done 2017-04-21 11:48:16 +02:00
gstvaapidecodedoc.c docs: replace vaapidecode with each codec 2016-10-27 13:04:37 +02:00
gstvaapiencode.c vaapiencode: don't start src pad task in set_format 2018-11-14 12:55:49 +01:00
gstvaapiencode.h FEI: plugin: Add virtual methods to base encode 2017-09-01 11:36:49 +02:00
gstvaapiencode_h264.c libs: enc: h264: set max profile idc with correct profile. 2018-12-15 14:48:03 +08:00
gstvaapiencode_h264.h vaapiencode: h264: verify if requested profile is supported 2017-07-03 15:33:20 +02:00
gstvaapiencode_h264_fei.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_h264_fei.h FEI: plugin: Add vaapih264feienc element 2017-09-01 13:15:05 +02:00
gstvaapiencode_h265.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_h265.h HEVC_Encode: Add HEVC(h265) Encoder plugin 2015-05-25 11:58:20 +03:00
gstvaapiencode_jpeg.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_jpeg.h plugins: Add JPEG encoder element 2015-02-04 11:18:29 +02:00
gstvaapiencode_mpeg2.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_mpeg2.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_vp8.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_vp8.h plugins: Add VP8 Encoder 2015-02-13 13:45:32 +02:00
gstvaapiencode_vp9.c gst: Advertise elements interacting with hardware devices 2018-10-12 15:39:53 +01:00
gstvaapiencode_vp9.h Add vp9 encode element to "vaapi" plugin 2016-05-30 11:24:14 +03:00
gstvaapifeivideometa.c FEI: plugin: Add fei specific video meta 2017-09-01 11:36:49 +02:00
gstvaapifeivideometa.h FEI: plugin: Add fei specific video meta 2017-09-01 11:36:49 +02:00
gstvaapipluginbase.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapipluginbase.h plugins: Add more check for allowed raw caps. 2018-12-24 10:46:23 +00:00
gstvaapipluginutil.c plugins: Fix build error when GL is enabled while EGL is disabled. 2018-11-05 14:28:01 +01:00
gstvaapipluginutil.h libs: dec: h265: support decode for main-444 10bit streams. 2018-12-04 13:25:59 +08:00
gstvaapipostproc.c vaapipostproc: before set surface proxy, check if it already been created and exist. 2019-01-15 14:48:19 +08:00
gstvaapipostproc.h vaapipostproc: make it enable/disable pass-through mode 2016-07-22 12:08:20 +02:00
gstvaapipostprocutil.c vaapipostproc: remove spurious code 2018-01-18 20:46:22 +01:00
gstvaapipostprocutil.h vaapipostproc: move gst_vaapipostproc_fixate_srccaps() 2016-05-09 16:56:10 +02:00
gstvaapisink.c libs: wayland: add support for XDG-shell protocol 2019-02-16 23:55:42 +01:00
gstvaapisink.h vaapisink: add support for GST_TAG_IMAGE_ORIENTATION 2016-07-05 20:17:12 +02:00
gstvaapivideobuffer.c remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideobuffer.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideobufferpool.c Update for g_type_class_add_private() deprecation in recent GLib 2018-06-24 13:07:20 +02:00
gstvaapivideobufferpool.h vaapibufferpool: add gst_vaapi_video_buffer_pool_copy_buffer() 2018-02-20 10:57:12 -06:00
gstvaapivideocontext.c plugin: remove custom GstGL context handling 2018-04-26 19:37:54 +02:00
gstvaapivideocontext.h plugin: remove custom GstGL context handling 2018-04-26 19:37:54 +02:00
gstvaapivideomemory.c vaapivideomemory: Prefer same format for surface and image 2019-02-21 13:41:46 +01:00
gstvaapivideomemory.h vaapivideomemory: remove unused macro 2018-02-07 09:22:29 +01:00
gstvaapivideometa.c libs: display: remove gst_vaapi_display_ref() 2018-06-14 16:41:00 +02:00
gstvaapivideometa.h remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideometa_texture.c libs: object: separation of internal API and plugins 2018-09-25 17:41:55 +02:00
gstvaapivideometa_texture.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
Makefile.am vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
meson.build meson: build h264 fei encoder if possible 2019-01-07 17:46:42 +00:00