mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Fix typos found by codespell
- Typos were found by codespell v1.17.0.dev0 (commit 44fea6d) - Command used: codespell -q 2 \ -L ba,bloc,blocs,doubleclick,dur,fille,frmat,numer,optin,passtime \ -L pres,strack,te,tim,tre,uint,whn \ --skip="*.de-DE.resx,./Bwg*,./Freedb,./MusicBrainz,./ProgressODoom" \ --skip="./ThirdParty"
This commit is contained in:
@@ -1019,7 +1019,7 @@ void clEstimateResidual(
|
||||
for (int offs = tid; offs < (MAX_BLOCKSIZE >> ESTPARTLOG); offs += GROUP_SIZE)
|
||||
psum[offs] = 0;
|
||||
data[tid] = 0.0f;
|
||||
// need to initialize "extra" data, because NaNs can produce wierd results even when multipled by zero extra coefs
|
||||
// need to initialize "extra" data, because NaNs can produce weird results even when multiplied by zero extra coefs
|
||||
if (tid < 32)
|
||||
data[GROUP_SIZE * 2 + tid] = 0.0f;
|
||||
|
||||
@@ -1467,7 +1467,7 @@ void clCalcPartition(
|
||||
int s = (offs >= task.residualOrder && offs < end) ? residual[task.residualOffs + offs] : 0;
|
||||
// convert to unsigned
|
||||
uint t = (s << 1) ^ (s >> 31);
|
||||
// calc number of unary bits for each residual sample with each rice paramater
|
||||
// calc number of unary bits for each residual sample with each rice parameter
|
||||
int part = (offs - start) / psize;
|
||||
// we must ensure that psize * (t >> k) doesn't overflow;
|
||||
uint lim = 0x7fffffffU / (uint)psize;
|
||||
|
||||
Reference in New Issue
Block a user