mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
msdkenc: Remove unsupported image formats for MSDK path
For unsupported encoding formats, please use msdkvpp plugin to do conversion first. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4000>
This commit is contained in:
parent
f292b6061c
commit
76fe73806b
1 changed files with 7 additions and 7 deletions
|
@ -1467,18 +1467,18 @@ _enc_get_static_raw_formats (guint codec_id)
|
|||
{
|
||||
switch (codec_id) {
|
||||
case MFX_CODEC_AVC:
|
||||
return "NV12, I420, YV12, YUY2, UYVY, BGRA";
|
||||
return "NV12, YUY2, UYVY, BGRA";
|
||||
case MFX_CODEC_HEVC:
|
||||
return "NV12, I420, YV12, YUY2, UYVY, BGRA, BGR10A2_LE, "
|
||||
"P010_10LE, VUYA, Y410, Y210, P012_LE";
|
||||
return "NV12, YUY2, BGRA, BGR10A2_LE, P010_10LE, VUYA, Y410, Y210, "
|
||||
"P012_LE";
|
||||
case MFX_CODEC_MPEG2:
|
||||
return "NV12, I420, YV12, YUY2, UYVY, BGRA";
|
||||
return "NV12";
|
||||
case MFX_CODEC_VP9:
|
||||
return "NV12, I420, YV12, YUY2, UYVY, BGRA, P010_10LE, VUYA, Y410";
|
||||
return "NV12, P010_10LE, VUYA, Y410";
|
||||
case MFX_CODEC_AV1:
|
||||
return "NV12, P010_10LE";
|
||||
case MFX_CODEC_JPEG:
|
||||
return "NV12, I420, YV12, YUY2, UYVY, BGRA";
|
||||
return "NV12, YUY2, UYVY, BGRA";
|
||||
default:
|
||||
GST_WARNING ("Unsupported codec %" GST_FOURCC_FORMAT,
|
||||
GST_FOURCC_ARGS (codec_id));
|
||||
|
@ -1498,7 +1498,7 @@ _enc_get_static_dma_formats (guint codec_id)
|
|||
case MFX_CODEC_HEVC:
|
||||
return "NV12, P010_10LE";
|
||||
case MFX_CODEC_MPEG2:
|
||||
return "NV12, BGRx";
|
||||
return "NV12";
|
||||
case MFX_CODEC_VP9:
|
||||
return "NV12, P010_10LE";
|
||||
case MFX_CODEC_AV1:
|
||||
|
|
Loading…
Reference in a new issue