> On Apr 12, 2025, at 20:51, Zhao Zhili <quinkblack-at-foxmail....@ffmpeg.org> 
> wrote:
> 
> From: Zhao Zhili <zhiliz...@tencent.com>
> 
> ---
> I don't have hardware which support 4:2:2. Please help test this feature.

Please ignore this patch. There is a more complete patch on the mailing list

https://patchwork.ffmpeg.org/project/ffmpeg/patch/20241113032625.1243-1-aicomman...@gmail.com/

> 
> libavcodec/hevc/hevcdec.c | 4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
> index da8fdc5935..e5e63f57fe 100644
> --- a/libavcodec/hevc/hevcdec.c
> +++ b/libavcodec/hevc/hevcdec.c
> @@ -681,6 +681,10 @@ static enum AVPixelFormat get_format(HEVCContext *s, 
> const HEVCSPS *sps)
>         break;
>     case AV_PIX_FMT_YUV422P:
>     case AV_PIX_FMT_YUV422P10LE:
> +#if CONFIG_HEVC_D3D11VA_HWACCEL
> +        *fmt++ = AV_PIX_FMT_D3D11VA_VLD;
> +        *fmt++ = AV_PIX_FMT_D3D11;
> +#endif
> #if CONFIG_HEVC_VAAPI_HWACCEL
>        *fmt++ = AV_PIX_FMT_VAAPI;
> #endif
> -- 
> 2.42.0
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to