On Wed, May 04, 2022 at 11:39:54AM +0200, Tomas Härdin wrote: > tis 2022-05-03 klockan 18:30 +0200 skrev Michael Niedermayer: > > > > + } else if (stereo) { > > + val = 256*values[1] + values[0]; > > + val2 = 256*values[3] + values[2]; > > + for(; i < unp_size; i+=2) { > > + pred[0] += val; > > + pred[1] += val2; > > + *samples++ = pred[0]; > > + *samples++ = pred[1]; > > + } > > + } else { > > + val = 256*values[1] + values[0]; > > + for(; i < unp_size; i++) { > > + pred[0] += val; > > + *samples++ = pred[0]; > > + } > > + } > > Got any numbers on how much faster this is? Just out of curiosity
With the fuzzed sample: before: 3263902379 decicycles in ABBB, 128 runs, 0 skips after: 398977744 decicycles in ABBB, 1024 runs, 0 skips the first times out after 128 runs which is why the runs differ thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Opposition brings concord. Out of discord comes the fairest harmony. -- Heraclitus
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".