mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
msdkvpp: use NV12 as default format on srcpad
By default, sinkpad is NV12 format and srcpad is BGRA format, the different format will trigger an implicit format conversion in msdkvpp, which will cause performance drop. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2394>
This commit is contained in:
parent
ff6442f6f9
commit
2c70641b42
1 changed files with 2 additions and 2 deletions
|
@ -95,9 +95,9 @@ GST_DEBUG_CATEGORY_EXTERN (gst_msdkvpp_debug);
|
|||
#define SUPPORTED_DMABUF_FORMAT \
|
||||
"{ NV12, BGRA, YUY2, UYVY, VUYA, P010_10LE" EXT_SINK_FORMATS "}"
|
||||
#define SRC_SYSTEM_FORMAT \
|
||||
"{ BGRA, NV12, YUY2, UYVY, VUYA, BGRx, P010_10LE" EXT_FORMATS EXT_SRC_FORMATS "}"
|
||||
"{ NV12, BGRA, YUY2, UYVY, VUYA, BGRx, P010_10LE" EXT_FORMATS EXT_SRC_FORMATS "}"
|
||||
#define SRC_DMABUF_FORMAT \
|
||||
"{ BGRA, YUY2, UYVY, NV12, VUYA, BGRx, P010_10LE" EXT_FORMATS EXT_SRC_FORMATS "}"
|
||||
"{ NV12, BGRA, YUY2, UYVY, VUYA, BGRx, P010_10LE" EXT_FORMATS EXT_SRC_FORMATS "}"
|
||||
|
||||
#ifndef _WIN32
|
||||
#define DMABUF_SINK_CAPS_STR \
|
||||
|
|
Loading…
Reference in a new issue