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?

Attachment: precomp_partitions.patch
Description: Binary data

_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to