> On Apr 12, 2025, at 20:51, Zhao Zhili <[email protected]> > wrote: > > From: Zhao Zhili <[email protected]> > > --- > 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/[email protected]/ > > 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 > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
