vlc | branch: master | Steve Lhomme <[email protected]> | Tue Mar 10 11:14:45 2020 +0100| [6b0522a3b06361abbddcd21e49f2144adb2f8e9d] | committer: Steve Lhomme
avcodec: va: allow 444/422 decoding with DXVA2/D3D11VA Not sure why we should restrict the input we accept if lavc proposes to decode that format. We can always check and refuse later if the hardware can't do it. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b0522a3b06361abbddcd21e49f2144adb2f8e9d --- modules/codec/avcodec/va.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/codec/avcodec/va.c b/modules/codec/avcodec/va.c index 014112f3c4..855d5a67bf 100644 --- a/modules/codec/avcodec/va.c +++ b/modules/codec/avcodec/va.c @@ -50,6 +50,12 @@ bool vlc_va_MightDecode(enum PixelFormat hwfmt, enum PixelFormat swfmt) case AV_PIX_FMT_YUV420P10LE: case AV_PIX_FMT_YUVJ420P: case AV_PIX_FMT_YUV420P: + case AV_PIX_FMT_YUV444P: + case AV_PIX_FMT_YUV420P12: + case AV_PIX_FMT_YUV444P10: + case AV_PIX_FMT_YUV444P12: + case AV_PIX_FMT_YUV422P10: + case AV_PIX_FMT_YUV422P12: return true; default: return false; @@ -62,6 +68,12 @@ bool vlc_va_MightDecode(enum PixelFormat hwfmt, enum PixelFormat swfmt) case AV_PIX_FMT_YUV420P10LE: case AV_PIX_FMT_YUVJ420P: case AV_PIX_FMT_YUV420P: + case AV_PIX_FMT_YUV444P: + case AV_PIX_FMT_YUV420P12: + case AV_PIX_FMT_YUV444P10: + case AV_PIX_FMT_YUV444P12: + case AV_PIX_FMT_YUV422P10: + case AV_PIX_FMT_YUV422P12: return true; default: return false; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
