This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 586c392bc7e67355fc13a298ac7a95049e0ebd53 Author: Wassim Lalaoui <[email protected]> AuthorDate: Mon Sep 14 17:21:18 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Tue Sep 22 07:46:17 2026 +0000 avcodec/av1dec: allow D3D11VA for 8/10-bit 4:2:2 and 4:4:4 Offer the D3D11VA hwaccel pixel formats for YUV422P, YUV422P10 (AV1 Profile 2) and YUV444P, YUV444P10 (AV1 Profile 1), enabling hardware decoding of these streams on capable devices. --- libavcodec/av1dec.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 800e882d72..d7ccebfbd5 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -627,11 +627,19 @@ static int get_pixel_format(AVCodecContext *avctx) #endif break; case AV_PIX_FMT_YUV422P: +#if CONFIG_AV1_D3D11VA_HWACCEL + *fmtp++ = AV_PIX_FMT_D3D11VA_VLD; + *fmtp++ = AV_PIX_FMT_D3D11; +#endif #if CONFIG_AV1_VULKAN_HWACCEL *fmtp++ = AV_PIX_FMT_VULKAN; #endif break; case AV_PIX_FMT_YUV422P10: +#if CONFIG_AV1_D3D11VA_HWACCEL + *fmtp++ = AV_PIX_FMT_D3D11VA_VLD; + *fmtp++ = AV_PIX_FMT_D3D11; +#endif #if CONFIG_AV1_VULKAN_HWACCEL *fmtp++ = AV_PIX_FMT_VULKAN; #endif @@ -642,11 +650,19 @@ static int get_pixel_format(AVCodecContext *avctx) #endif break; case AV_PIX_FMT_YUV444P: +#if CONFIG_AV1_D3D11VA_HWACCEL + *fmtp++ = AV_PIX_FMT_D3D11VA_VLD; + *fmtp++ = AV_PIX_FMT_D3D11; +#endif #if CONFIG_AV1_VULKAN_HWACCEL *fmtp++ = AV_PIX_FMT_VULKAN; #endif break; case AV_PIX_FMT_YUV444P10: +#if CONFIG_AV1_D3D11VA_HWACCEL + *fmtp++ = AV_PIX_FMT_D3D11VA_VLD; + *fmtp++ = AV_PIX_FMT_D3D11; +#endif #if CONFIG_AV1_VULKAN_HWACCEL *fmtp++ = AV_PIX_FMT_VULKAN; #endif -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
