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

2019-05-21 Thread Fu, Linjie
nit if the resolution > changes little > > > -Original Message- > > From: Li, Zhong > > Sent: Thursday, February 21, 2019 17:53 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Cc: Fu, Linjie > > Subject: RE: [FF

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

2019-02-21 Thread Fu, Linjie
> -Original Message- > From: Li, Zhong > Sent: Thursday, February 21, 2019 17:53 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Fu, Linjie > Subject: RE: [FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution > changes little &

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

2019-02-12 Thread Linjie Fu
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