[flac-dev] "keep qlp coeff precision such that only 32-bit math is required"

lvqcl lvqcl.mail at gmail.com
Sat Apr 18 08:05:01 PDT 2015


stream_encoder.c has the following code:


	/* try to keep qlp coeff precision such that only 32-bit math is required for decode of <=16bps streams */
	if(subframe_bps <= 16) {
...


But FLAC can convert 16-bit input to 17-bit if mid-side coding is used.
So, does it make sense to compare subframe_bps with 17?

(The patch is attached. What do you think about it?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bps.patch
Type: application/octet-stream
Size: 1299 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20150418/9ead9436/attachment.obj 


More information about the flac-dev mailing list