Lines Matching defs:samples
122 * Downmix samples from original signal to stereo or mono (this is for 16-bit samples
123 * and fixed point decoder - original (for 32-bit samples) is in ac3dsp.c).
125 static void ac3_downmix_c_fixed16(int16_t **samples, int16_t (*matrix)[2],
134 v0 += samples[j][i] * matrix[j][0];
135 v1 += samples[j][i] * matrix[j][1];
137 samples[0][i] = (v0+2048)>>12;
138 samples[1][i] = (v1+2048)>>12;
144 v0 += samples[j][i] * matrix[j][0];
145 samples[0][i] = (v0+2048)>>12;