[FFmpeg-devel] [PATCH 8/9] lavc/hevcdec: add 4:2:2 8-bit/10-bit VAAPI decode support
Fu, Linjie
linjie.fu at intel.com
Mon Feb 24 03:19:43 EET 2020
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Mark Thompson
> Sent: Monday, February 24, 2020 08:25
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH 8/9] lavc/hevcdec: add 4:2:2 8-bit/10-bit
> VAAPI decode support
>
> On 15/01/2020 07:02, Linjie Fu wrote:
> > Add decode support for 4:2:2 8-bt and 10-bit HEVC Range Extension clips.
> >
> > Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> > ---
> > libavcodec/hevcdec.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
> > index 19b0cd8..f60bcf6 100644
> > --- a/libavcodec/hevcdec.c
> > +++ b/libavcodec/hevcdec.c
> > @@ -427,6 +427,12 @@ static enum AVPixelFormat
> get_format(HEVCContext *s, const HEVCSPS *sps)
> > *fmt++ = AV_PIX_FMT_CUDA;
> > #endif
> > break;
> > + case AV_PIX_FMT_YUV422P:
> > + case AV_PIX_FMT_YUV422P10LE:
> > +#if CONFIG_HEVC_VAAPI_HWACCEL
> > + *fmt++ = AV_PIX_FMT_VAAPI;
> > +#endif
> > + break;
> > case AV_PIX_FMT_YUV420P12:
> > case AV_PIX_FMT_YUV444P10:
> > case AV_PIX_FMT_YUV444P12:
> >
>
> We seem to have agreement that the Y210 / wider YUYV is fine (bit-packed
> Y410 was the case people had problems with) and everything else looks good,
> so set tested and applied.
>
> Thanks,
>
> - Mark
Thanks a lot for the review and suggestions.
Regards,
Linjie
More information about the ffmpeg-devel
mailing list