Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:samples

24 /* variant for input type TI = int16_t input samples */
27 void mac(int32_t& l, int32_t& r, TC coef, const int16_t* samples)
29 uint32_t rl = *reinterpret_cast<const uint32_t*>(samples);
36 void mac(int32_t& l, TC coef, const int16_t* samples)
38 l = mulAdd(samples[0], coef, l);
41 /* variant for input type TI = float input samples */
44 void mac(float& l, float& r, TC coef, const float* samples)
46 l += *samples++ * coef;
47 r += *samples * coef;
52 void mac(float& l, TC coef, const float* samples)
54 l += *samples * coef;
57 /* variant for output type TO = int32_t output samples */
64 /* variant for output type TO = float output samples */
163 * Calculates a single output frame (two samples).
282 * starting at the original samples pointer and decrementing (by CHANNELS).
284 * @param sN is the negative half of the samples (as viewed by a convolution),
285 * starting at the original samples pointer + CHANNELS and incrementing (by CHANNELS).
342 * @param samples are unaligned input samples. The position is in the "middle" of the
344 * the negative half of the filter is dot product from samples+1 to samples+halfNumCoefs;
345 * the positive half of the filter is dot product from samples to samples-halfNumCoefs+1.
379 const TI* const samples, const TO* const volumeLR)
393 const TI* sP = samples;
394 const TI* sN = samples + CHANNELS;
408 const TI* sP = samples;
409 const TI* sN = samples + CHANNELS;