gstreamer/sys/msdk
Mengkejiergeli Ba 86872b1b46 msdkvpp: Fix frc from lower fps to higher fps
There are three framerate conversion algorithms described in
<https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md>,
interpolation is not implemented so far and thus distributed timestamp algorihtm
is considered to be more practical which evenly distributes output timestamps
according to output framerate. In this case, newly generated frames are inserted
between current frame and previous one, timestamp is calculated by msdk API.

This implementation first pushes newly generated buffers(outbuf_new) forward and
the current buffer(outbuf) is handled at last round by base transform automatically.
A flag "create_new_surface" is used to indicate if new surfaces have been generated
and then push new outbuf forward accordingly.

Considering the upstream element may not be the msdk element, it is necessary to
always set the input surface timestamp as same as input buffer's timestamp and
convert it to msdk timestamp.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2418>
2021-08-18 03:06:59 +00:00
..
gstmsdk.c msdk: declare external dependencies 2021-06-17 02:56:45 +00:00
gstmsdkallocator.h msdk: call vaExportSurfaceHandle() to get DMABuf FD 2020-09-29 02:06:02 +00:00
gstmsdkallocator_d3d.c msdk: don't reset the external frame allocator 2019-01-08 09:11:47 +00:00
gstmsdkallocator_libva.c gstmsdkvpp: add RGBP and BGRP in src pad 2021-07-05 03:47:05 +00:00
gstmsdkallocator_libva.h msdk: Add method to replace internal VASurface of mfxFrameSurface 2018-05-30 16:23:44 -08:00
gstmsdkav1dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkav1dec.h msdk: add support for AV1 decoding 2020-09-22 06:54:27 +00:00
gstmsdkbufferpool.c msdk: bufferpool: set alignment to video meta 2020-05-07 05:45:36 +00:00
gstmsdkbufferpool.h msdk: dmabuf support 2018-03-30 11:06:05 -08:00
gstmsdkcontext.c msdk: make sure child context is destroyed first 2021-08-04 04:50:08 +00:00
gstmsdkcontext.h msdk: call vaExportSurfaceHandle() to get DMABuf FD 2020-09-29 02:06:02 +00:00
gstmsdkcontextutil.c gst: don't use volatile to mean atomic 2021-03-22 14:34:36 +11:00
gstmsdkcontextutil.h msdk: Reorganize context preparation code 2020-01-21 00:38:41 +00:00
gstmsdkdec.c msdkh264dec: report error to user 2021-04-28 08:30:38 +00:00
gstmsdkdec.h msdkh264dec: report error to user 2021-04-28 08:30:38 +00:00
gstmsdkdecproputil.c msdkh264dec: report error to user 2021-04-28 08:30:38 +00:00
gstmsdkdecproputil.h msdkh264dec: report error to user 2021-04-28 08:30:38 +00:00
gstmsdkenc.c msdk: fix qp range for vp9enc 2021-06-24 01:30:18 +00:00
gstmsdkenc.h msdk: fix qp range for vp9enc 2021-06-24 01:30:18 +00:00
gstmsdkh264dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkh264dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkh264enc.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkh264enc.h msdkh264enc: add dblk-idc property 2021-03-31 02:27:10 +00:00
gstmsdkh265dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkh265dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkh265enc.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkh265enc.h msdkh265enc: add dblk-idc property 2021-03-31 02:27:10 +00:00
gstmsdkmjpegdec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkmjpegdec.h msdk: add mjpeg decoder 2016-12-13 00:06:42 +01:00
gstmsdkmjpegenc.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkmjpegenc.h msdk: add mjpeg encoder 2016-12-13 00:06:42 +01:00
gstmsdkmpeg2dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkmpeg2dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkmpeg2enc.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkmpeg2enc.h
gstmsdksystemmemory.c gstmsdkvpp: add RGBP and BGRP in src pad 2021-07-05 03:47:05 +00:00
gstmsdksystemmemory.h msdk: supports bufferpool 2018-02-13 13:44:08 -09:00
gstmsdkvc1dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkvc1dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkvideomemory.c gstmsdkvpp: add RGBP and BGRP in src pad 2021-07-05 03:47:05 +00:00
gstmsdkvideomemory.h msdk: fix for mfx frame alloc response 2019-09-23 09:58:28 +08:00
gstmsdkvp8dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkvp8dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkvp9dec.c doc: add the msdk elements 2021-06-03 10:30:18 +08:00
gstmsdkvp9dec.h msdkdec: move output-order out of decode bass class. 2018-11-23 12:26:40 +00:00
gstmsdkvp9enc.c msdk: fix qp range for vp9enc 2021-06-24 01:30:18 +00:00
gstmsdkvp9enc.h msdkvp9enc: output raw vp9 stream instead of IVF stream 2020-02-10 06:46:28 +00:00
gstmsdkvpp.c msdkvpp: Fix frc from lower fps to higher fps 2021-08-18 03:06:59 +00:00
gstmsdkvpp.h msdkvpp: refact, put input and output surface in diffrent list 2020-08-13 01:43:19 +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: declare external dependencies 2021-06-17 02:56:45 +00:00
msdk-enums.c msdkenc{h264,h265}: add intra-refresh-type property 2021-03-29 01:36:57 +00:00
msdk-enums.h msdkenc{h264,h265}: add intra-refresh-type property 2021-03-29 01:36:57 +00:00
msdk.c gstmsdkvpp: add RGBP and BGRP in src pad 2021-07-05 03:47:05 +00:00
msdk.h msdk: use a new method to create mfx session when using oneVPL dispatcher 2021-05-17 01:58:24 +00:00
msdk_d3d.c msdk: implements GstMsdkContext. 2018-02-13 12:41:28 -09:00
msdk_libva.c gstmsdkvpp: add RGBP and BGRP in src pad 2021-07-05 03:47:05 +00:00
msdk_libva.h msdk: add mfx in include path 2019-01-08 12:59:45 +00:00