mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
msdkvpp: Add 12bit formats
Add 12bit formats for different chroma samplings at sink pad and src pad, including P012_LE, Y212_LE and Y412_LE. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1218>
This commit is contained in:
parent
0fee1e5d46
commit
3ca6734860
1 changed files with 7 additions and 4 deletions
|
@ -71,11 +71,14 @@
|
|||
#endif
|
||||
|
||||
#if (MFX_VERSION >= 2004)
|
||||
#define EXT_SINK_FORMATS ", RGB16, Y410, Y210"
|
||||
#define EXT_SRC_FORMATS ", YV12, Y410, Y210, RGBP, BGRP"
|
||||
#define EXT_SINK_FORMATS ", RGB16, Y410, Y210, P012_LE, Y212_LE, Y412_LE"
|
||||
#define EXT_SRC_FORMATS ", YV12, Y410, Y210, RGBP, BGRP, P012_LE, Y212_LE, Y412_LE"
|
||||
#elif (MFX_VERSION >= 1032)
|
||||
#define EXT_SINK_FORMATS ", RGB16, Y410, Y210"
|
||||
#define EXT_SRC_FORMATS ", YV12, Y410, Y210"
|
||||
#define EXT_SINK_FORMATS ", RGB16, Y410, Y210, P012_LE, Y212_LE, Y412_LE"
|
||||
#define EXT_SRC_FORMATS ", YV12, Y410, Y210, P012_LE, Y212_LE, Y412_LE"
|
||||
#elif (MFX_VERSION >= 1031)
|
||||
#define EXT_SINK_FORMATS ", RGB16, Y410, Y210, P012_LE, Y212_LE, Y412_LE"
|
||||
#define EXT_SRC_FORMATS ", Y410, Y210, P012_LE, Y212_LE, Y412_LE"
|
||||
#elif (MFX_VERSION >= 1028)
|
||||
#define EXT_SINK_FORMATS ", RGB16, Y410, Y210"
|
||||
#define EXT_SRC_FORMATS ", Y410, Y210"
|
||||
|
|
Loading…
Reference in a new issue