[flac-dev] A patch for precompute_partition_info_sums_()

lvqcl lvqcl.mail at gmail.com
Sat May 23 09:29:58 PDT 2015


Here I attach a preliminary version of a patch for precompute_partition_info_sums_()
function that should accelerate encoding of 24-bit input data.

1) SSE2, SSSE3 and AVX2 versions of this function should be updated, too

2) the patch also changes
     if(FLAC__bitmath_ilog2(default_partition_samples) + bps + FLAC__MAX_EXTRA_RESIDUAL_BPS < 32)
into (in effect)
     if(FLAC__bitmath_ilog2(default_partition_samples) + bps + FLAC__MAX_EXTRA_RESIDUAL_BPS <= 32)

So, should the value of FLAC__MAX_EXTRA_RESIDUAL_BPS be increased (to 5? or to 6?)

3) any comments?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: precomp_partitions.patch
Type: application/octet-stream
Size: 3069 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20150523/a55b2278/attachment.obj 


More information about the flac-dev mailing list