Re: [FFmpeg-devel] [PATCH] opus_celt: move quantization and band decoding to opus_pvq.c

2016-11-10 Thread Rostislav Pehlivanov
On 10 November 2016 at 15:23, James Almer wrote: > On 11/10/2016 2:01 AM, Rostislav Pehlivanov wrote: > > On 10 November 2016 at 03:13, Rostislav Pehlivanov > > wrote: > > > >> A huge amount can be reused by the encoder, as the only thing > >> which needs to be done would be to add a 10 line ce

Re: [FFmpeg-devel] [PATCH] opus_celt: move quantization and band decoding to opus_pvq.c

2016-11-10 Thread James Almer
On 11/10/2016 2:01 AM, Rostislav Pehlivanov wrote: > On 10 November 2016 at 03:13, Rostislav Pehlivanov > wrote: > >> A huge amount can be reused by the encoder, as the only thing >> which needs to be done would be to add a 10 line celt_icwrsi, >> a wrapper around it (celt_alg_quant) and templat

Re: [FFmpeg-devel] [PATCH] opus_celt: move quantization and band decoding to opus_pvq.c

2016-11-09 Thread Rostislav Pehlivanov
On 10 November 2016 at 03:13, Rostislav Pehlivanov wrote: > A huge amount can be reused by the encoder, as the only thing > which needs to be done would be to add a 10 line celt_icwrsi, > a wrapper around it (celt_alg_quant) and templating the > ff_celt_decode_band to replace entropy decoding fu

[FFmpeg-devel] [PATCH] opus_celt: move quantization and band decoding to opus_pvq.c

2016-11-09 Thread Rostislav Pehlivanov
A huge amount can be reused by the encoder, as the only thing which needs to be done would be to add a 10 line celt_icwrsi, a wrapper around it (celt_alg_quant) and templating the ff_celt_decode_band to replace entropy decoding functions with entropy encoding. There is no performance loss but in f