search for: rice_parameter_search

Displaying 2 results from an estimated 2 matches for "rice_parameter_search".

2020 Jul 06
2
Possible overflow of _candidate_bits in stream_encoder.c
...> To trigger this overflow, one has to force rice_parameter to 0 > > Ok, that sounds dodgy. Yes, well, it is. It could very well be that without patching, nobody ever has a problem with this, but as the rice code is based on an estimate, it might, perhaps. Especially if someone reenables rice_parameter_search, which is currently marked as deprecated. Patching it doesn't seem to affect speed in a measurable way. But I would very well understand if these two patches are not accepted. Attached is a patch and a PDF with a comparison of the current git versus application of the 4 patches I sent today an...
2020 Jul 02
2
Possible overflow of _candidate_bits in stream_encoder.c
Recently I was trying some new approaches to improve FLAC compression, when I stumbled on a possible overflow. The reason this has not come up earlier is because the encoder only hits this point when the estimate of the rice_parameter is very much off. To trigger this overflow, one has to force rice_parameter to 0 in for example the function evaluate_lpc_subframe in libFLAC/stream_encoder.c. When