gstreamer/subprojects/gst-plugins-bad/sys/msdk
Mengkejiergeli Ba c9aa529484 msdkdec: Fix to not trigger SFC scaling when vpp at downstream
When there is vpp scaling downstream, we need to make sure SFC is not
triggered because vpp may fall into passthrough mode which causes
the decoder negotiation to create src caps with vpp scaled width/height.

This patch includes bitstream's original size in first query with
downstream in gst_msdkdec_src_caps, which is the same for what we do for
color format in this query. This is to ensure SFC scaling starts to
work only when downstream directly asks for a different size instead of
through vpp.

Note that here SFC scaling follows the same behavior as msdkvpp:
if user only changes width or height, e.g. dec ! video/x-raw,width=xx !,
the height will be modified to the value which fits the original DAR.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1838>
2022-03-07 07:26:40 +00:00
..
gstmsdk.c
gstmsdk_va.c MSDK: Add helper function to peek VA surface of VA kind gstbuffer. 2022-02-11 07:13:45 +00:00
gstmsdk_va.h MSDK: Add helper function to peek VA surface of VA kind gstbuffer. 2022-02-11 07:13:45 +00:00
gstmsdkallocator.h
gstmsdkallocator_d3d.c
gstmsdkallocator_libva.c
gstmsdkallocator_libva.h
gstmsdkav1dec.c
gstmsdkav1dec.h
gstmsdkbufferpool.c
gstmsdkbufferpool.h
gstmsdkcontext.c msdk: Don't print error log for missing DRM device path 2022-03-03 06:29:11 +00:00
gstmsdkcontext.h MSDK: Add new_with_va_display() helper function to create context. 2022-02-11 07:13:45 +00:00
gstmsdkcontextutil.c MSDK: Add _context_query() and avoid compile error on Windows 2022-02-28 12:54:23 +00:00
gstmsdkcontextutil.h MSDK: Add a handle_context_query() helper function. 2022-02-11 07:13:45 +00:00
gstmsdkdec.c msdkdec: Fix to not trigger SFC scaling when vpp at downstream 2022-03-07 07:26:40 +00:00
gstmsdkdec.h msdkdec: Enable SFC scaling for AVC and HEVC 2022-02-16 08:26:46 +00:00
gstmsdkdecproputil.c
gstmsdkdecproputil.h
gstmsdkenc.c msdkenc: Change default ref frames number as 0 2022-03-04 01:05:30 +00:00
gstmsdkenc.h MSDK: Import VA surface as encoder's input. 2022-02-11 07:13:45 +00:00
gstmsdkh264dec.c msdkdec: Enable SFC csc for AVC and HEVC 2022-02-16 08:26:46 +00:00
gstmsdkh264dec.h
gstmsdkh264enc.c
gstmsdkh264enc.h
gstmsdkh265dec.c msdkdec: Enable SFC csc for AVC and HEVC 2022-02-16 08:26:46 +00:00
gstmsdkh265dec.h
gstmsdkh265enc.c MSDK: Import VA surface as encoder's input. 2022-02-11 07:13:45 +00:00
gstmsdkh265enc.h
gstmsdkmjpegdec.c
gstmsdkmjpegdec.h
gstmsdkmjpegenc.c
gstmsdkmjpegenc.h
gstmsdkmpeg2dec.c
gstmsdkmpeg2dec.h
gstmsdkmpeg2enc.c
gstmsdkmpeg2enc.h
gstmsdksystemmemory.c
gstmsdksystemmemory.h
gstmsdkvc1dec.c
gstmsdkvc1dec.h
gstmsdkvideomemory.c
gstmsdkvideomemory.h
gstmsdkvp8dec.c
gstmsdkvp8dec.h
gstmsdkvp9dec.c
gstmsdkvp9dec.h
gstmsdkvp9enc.c MSDK: Import VA surface as encoder's input. 2022-02-11 07:13:45 +00:00
gstmsdkvp9enc.h
gstmsdkvpp.c msdk: Fix unchecked return values 2022-02-25 02:04:20 +00:00
gstmsdkvpp.h
gstmsdkvpputil.c
gstmsdkvpputil.h
meson.build MSDK: Add helper function to peek VA surface of VA kind gstbuffer. 2022-02-11 07:13:45 +00:00
msdk-enums.c
msdk-enums.h
msdk.c msdk: Fix for MFXUnload symbol re-definition build error 2022-02-08 10:05:35 +00:00
msdk.h MSDK: Import VA surface as encoder's input. 2022-02-11 07:13:45 +00:00
msdk_d3d.c
msdk_libva.c
msdk_libva.h