mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavfi/vf_vpp_qsv: accept P010 input in system memory
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
parent
e5faa1d50c
commit
3552dba0e1
@ -245,6 +245,8 @@ static int pix_fmt_to_mfx_fourcc(int format)
|
||||
return MFX_FOURCC_YUY2;
|
||||
case AV_PIX_FMT_BGRA:
|
||||
return MFX_FOURCC_RGB4;
|
||||
case AV_PIX_FMT_P010:
|
||||
return MFX_FOURCC_P010;
|
||||
}
|
||||
|
||||
return MFX_FOURCC_NV12;
|
||||
|
@ -583,6 +583,7 @@ static int query_formats(AVFilterContext *ctx)
|
||||
AV_PIX_FMT_NV12,
|
||||
AV_PIX_FMT_YUYV422,
|
||||
AV_PIX_FMT_RGB32,
|
||||
AV_PIX_FMT_P010,
|
||||
AV_PIX_FMT_QSV,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user