Lines Matching refs:sample

4586 …frame.sbsample[ch][s][sb] = nb ? this.sample(stream, nb) * tables.SF_TABLE[scalefactor[ch][sb]] : …
4593 var sample = this.sample(stream, nb);
4596 frame.sbsample[ch][s][sb] = sample * tables.SF_TABLE[scalefactor[ch][sb]];
4607 Layer1.prototype.sample = function(stream, nb) { method in Layer1
4608 var sample = stream.read(nb);
4611 sample ^= 1 << (nb - 1);
4612 sample |= -(sample & (1 << (nb - 1)));
4613 sample /= (1 << (nb - 1));
4617 sample += 1 >> (nb - 1);
4618 return sample * LINEAR_TABLE[nb - 2];
4875 var sample = this.samples;
4884 sample[s] = c % nlevels;
4890 sample[s] = stream.read(nb);
4896 var requantized = sample[s] ^ (1 << (nb - 1));
4901 sample[s] = (requantized + quantclass.D) * quantclass.C;
5204 var sample = frame.sbsample[ch].slice(18 * gr);
5234 this.overlap(output, frame.overlap[ch][sb], sample, sb);
5240 this.overlap(output, frame.overlap[ch][sb], sample, sb);
5244 this.freqinver(sample, 1);
5258 this.overlap(output, frame.overlap[ch][sb], sample, sb);
5261 this.freqinver(sample, sb);
5267 this.overlap(output, frame.overlap[ch][sb], sample, sb);
5270 this.freqinver(sample, sb);
5276 this.overlap_z(frame.overlap[ch][sb], sample, sb);
5279 this.freqinver(sample, sb);
6066 Layer3.prototype.overlap = function (output, overlap, sample, sb) { argument
6068 sample[i][sb] = output[i] + overlap[i];
6073 Layer3.prototype.freqinver = function (sample, sb) { argument
6075 sample[i][sb] = -sample[i][sb];
6078 Layer3.prototype.overlap_z = function (overlap, sample, sb) { argument
6080 sample[i][sb] = overlap[i];