Re: [FFmpeg-devel] [PATCH] vc2enc: replace quantization LUT with a smaller division LUT

2018-03-10 Thread Rostislav Pehlivanov
On 28 February 2018 at 23:38, Michael Niedermayer wrote: > On Tue, Feb 27, 2018 at 11:12:33PM +, Rostislav Pehlivanov wrote: > > This commit replaces the huge and impractical LUT which converted coeffs > > and a quantizer to bits to encode and instead uses a standard > multiplication > > and

Re: [FFmpeg-devel] [PATCH] vc2enc: replace quantization LUT with a smaller division LUT

2018-02-28 Thread Michael Niedermayer
On Tue, Feb 27, 2018 at 11:12:33PM +, Rostislav Pehlivanov wrote: > This commit replaces the huge and impractical LUT which converted coeffs > and a quantizer to bits to encode and instead uses a standard multiplication > and a shift to replace the division and then codes the values using the >

[FFmpeg-devel] [PATCH] vc2enc: replace quantization LUT with a smaller division LUT

2018-02-27 Thread Rostislav Pehlivanov
This commit replaces the huge and impractical LUT which converted coeffs and a quantizer to bits to encode and instead uses a standard multiplication and a shift to replace the division and then codes the values using the regular golomb coding functions. I was unable to see a performance difference