[FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution changes little

Fu, Linjie linjie.fu at intel.com
Fri Feb 22 04:40:08 EET 2019


> -----Original Message-----
> From: Li, Zhong
> Sent: Thursday, February 21, 2019 17:53
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Cc: Fu, Linjie <linjie.fu at intel.com>
> Subject: RE: [FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution
> changes little
> 
> > From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On
> Behalf
> > Of Linjie Fu
> > Sent: Wednesday, February 13, 2019 6:00 PM
> > To: ffmpeg-devel at ffmpeg.org
> > Cc: Fu, Linjie <linjie.fu at intel.com>
> > Subject: [FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution
> changes
> > little
> >
> > Currently, resolution change detection is based on 16 alignment, small
> > resolution changes (same after FFALIGN 16) in coded width or coded height
> > will not trigger the reinit and will lead to a decode failure.
> >
> > Modify to use last_coded_width and last_coded_height to detect the small
> > resolution change.
> >
> > Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> 
> Is it still needed if https://patchwork.ffmpeg.org/patch/12112/ applied?

Garbage still exists after applying the patch set. 
Will comment under patch 12112.


More information about the ffmpeg-devel mailing list