gstreamer/sys/msdk
Julien Isorce a1584b6f99 msdkdec: make sure to use video memory on Linux
The block that sets use_video_memory flag is after the
the condition `if gst_msdk_context_prepare` but it
always returns false when there is no other msdk elements.
So the decoder ends up with use_video_memory as FALSE.
Note that msdkvpp always set use_video_memory as TRUE.

When use_video_memory is FALSE then the msdkdec allocates
the output frames with posix_memalign (see gstmsdksystemmemory.c).
The result is then copied back to the GstVideoPool's buffers
(or to the downstream pool's buffers if any).
When use_video_memory is TRUE then the msdkdec uses vaCreateSurfaces
to create vaapi surfaces for the hw decoder to decode into
(see gstmsdkvideomemory.c). The result is then copied to either
the internal GstVideoPool and to the downstream pool if any.
(vaDeriveImage/vaMapBuffer is used in order to read the surfaces)
2020-01-03 07:08:23 +00:00
..
gstmsdk.c msdk: remove msdkvp8enc 2019-11-08 08:44:46 +00:00
gstmsdkallocator.h msdk: allocator: get dmabuf handle during allocation if required 2018-03-30 11:04:28 -08:00
gstmsdkallocator_d3d.c msdk: don't reset the external frame allocator 2019-01-08 09:11:47 +00:00
gstmsdkallocator_libva.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkallocator_libva.h msdk: Add method to replace internal VASurface of mfxFrameSurface 2018-05-30 16:23:44 -08:00
gstmsdkbufferpool.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkbufferpool.h msdk: dmabuf support 2018-03-30 11:06:05 -08:00
gstmsdkcontext.c msdk: don't cache mfxFrameAllocResponse pointer 2019-09-21 19:51:38 +00:00
gstmsdkcontext.h msdk: fix for mfx frame alloc response 2019-09-23 09:58:28 +08:00
gstmsdkcontextutil.c msdk: context: add job type to figure out if joining session is necessary 2018-02-13 13:50:48 -09:00
gstmsdkcontextutil.h msdk: context: add job type to figure out if joining session is necessary 2018-02-13 13:50:48 -09:00
gstmsdkdec.c msdkdec: make sure to use video memory on Linux 2020-01-03 07:08:23 +00:00
gstmsdkdec.h msdkdec: use decoder base class packetized flag 2019-10-29 14:58:54 +00:00
gstmsdkdecproputil.c msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkdecproputil.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkenc.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkenc.h msdkenc: add need_conversion method 2019-11-02 09:52:36 +00:00
gstmsdkh264dec.c msdk: add Hardware tag to element metadata 2019-02-19 23:44:42 +00:00
gstmsdkh264dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkh264enc.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkh264enc.h msdk: h264_enc: Enable B-pyramid prediction support 2018-02-20 12:41:18 -09:00
gstmsdkh265dec.c msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
gstmsdkh265dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkh265enc.c msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
gstmsdkh265enc.h msdkh265enc: Add support for tiled encoding 2019-10-27 18:40:15 +00:00
gstmsdkmjpegdec.c msdk: Remove all DMABuf caps features on Windows 2019-09-10 13:29:11 +00:00
gstmsdkmjpegdec.h msdk: add mjpeg decoder 2016-12-13 00:06:42 +01:00
gstmsdkmjpegenc.c msdkmjpegenc: convert UYVY to YUY2 instead of NV12 2019-11-02 09:52:36 +00:00
gstmsdkmjpegenc.h msdk: add mjpeg encoder 2016-12-13 00:06:42 +01:00
gstmsdkmpeg2dec.c msdk: add Hardware tag to element metadata 2019-02-19 23:44:42 +00:00
gstmsdkmpeg2dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkmpeg2enc.c msdk: add Hardware tag to element metadata 2019-02-19 23:44:42 +00:00
gstmsdkmpeg2enc.h msdk: Create plugin for Intel's Media SDK 2016-11-14 15:16:45 +01:00
gstmsdksystemmemory.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdksystemmemory.h msdk: supports bufferpool 2018-02-13 13:44:08 -09:00
gstmsdkvc1dec.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkvc1dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkvideomemory.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkvideomemory.h msdk: fix for mfx frame alloc response 2019-09-23 09:58:28 +08:00
gstmsdkvp8dec.c msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
gstmsdkvp8dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkvp9dec.c msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
gstmsdkvp9dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkvp9enc.c msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
gstmsdkvp9enc.h msdk: add msdkvp9enc element 2019-07-07 15:16:28 +00:00
gstmsdkvpp.c msdkvpp: check mfx surface nullity for the input buffer 2019-12-10 03:00:13 +00:00
gstmsdkvpp.h msdkvpp: allow cropping via properties 2019-10-24 12:44:49 +00:00
gstmsdkvpputil.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
gstmsdkvpputil.h msdk: vpp: Add deinterlacing support 2018-04-03 10:38:52 -08:00
meson.build msdk: Fixes for meson include directory setup 2019-11-17 17:39:44 +00:00
msdk-enums.c msdkvpp: support video-direction property 2019-08-26 16:39:39 +00:00
msdk-enums.h msdk:dec: Add new propery to dump frames in decoded order 2018-05-07 14:12:10 -08:00
msdk.c msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
msdk.h msdk: ignore MFX_ERR_UNDEFINED_BEHAVIOR when loading a plugin 2019-12-10 17:23:53 +00:00
msdk_d3d.c msdk: implements GstMsdkContext. 2018-02-13 12:41:28 -09:00
msdk_libva.c msdk: support for MFX_FOURCC_BGR4 frame allocation 2019-11-02 09:52:36 +00:00
msdk_libva.h msdk: add mfx in include path 2019-01-08 12:59:45 +00:00