[FFmpeg-devel] [PATCH v2 3/9] avcodec/av1dec: support setup shear process

Wang, Fei W fei.w.wang at intel.com
Mon Jul 5 08:24:27 EEST 2021


On Mon, 2021-07-05 at 07:12 +0200, Jean-Baptiste Kempf wrote:
> On Mon, 5 Jul 2021, at 04:29, Fei Wang wrote:
> > Defined in spec 7.11.3.6/7.11.3.7.
> 
> ...  
> > +static const uint16_t div_lut[AV1_DIV_LUT_NUM] = {
> > +  16384, 16320, 16257, 16194, 16132, 16070, 16009, 15948, 15888, 
> > 15828, 15768,
> 
> Where are those numbers coming from? From the spec? From an annex?
> Then add a comment in the code for this, and not just in the commit
> log.

It's defined in spec 7.11.3.7. I will add the comment into the code. 

Thanks
Fei


More information about the ffmpeg-devel mailing list