Lines Matching refs:nchannels
166 int nsamples, int nchannels) in sbc_enc_process_input_4s() argument
172 for (c = 0; c < nchannels; c++) in sbc_enc_process_input_4s()
179 for (; nsamples >= 8; nsamples -= 8, pcm += 16 * nchannels) { in sbc_enc_process_input_4s()
181 for (c = 0; c < nchannels; c++) { in sbc_enc_process_input_4s()
183 x[0] = AV_RN16(pcm + 14*nchannels + 2*c); in sbc_enc_process_input_4s()
184 x[1] = AV_RN16(pcm + 6*nchannels + 2*c); in sbc_enc_process_input_4s()
185 x[2] = AV_RN16(pcm + 12*nchannels + 2*c); in sbc_enc_process_input_4s()
186 x[3] = AV_RN16(pcm + 8*nchannels + 2*c); in sbc_enc_process_input_4s()
187 x[4] = AV_RN16(pcm + 0*nchannels + 2*c); in sbc_enc_process_input_4s()
188 x[5] = AV_RN16(pcm + 4*nchannels + 2*c); in sbc_enc_process_input_4s()
189 x[6] = AV_RN16(pcm + 2*nchannels + 2*c); in sbc_enc_process_input_4s()
190 x[7] = AV_RN16(pcm + 10*nchannels + 2*c); in sbc_enc_process_input_4s()
199 int nsamples, int nchannels) in sbc_enc_process_input_8s() argument
205 for (c = 0; c < nchannels; c++) in sbc_enc_process_input_8s()
214 for (c = 0; c < nchannels; c++) { in sbc_enc_process_input_8s()
216 x[0] = AV_RN16(pcm + 14*nchannels + 2*c); in sbc_enc_process_input_8s()
217 x[2] = AV_RN16(pcm + 12*nchannels + 2*c); in sbc_enc_process_input_8s()
218 x[3] = AV_RN16(pcm + 0*nchannels + 2*c); in sbc_enc_process_input_8s()
219 x[4] = AV_RN16(pcm + 10*nchannels + 2*c); in sbc_enc_process_input_8s()
220 x[5] = AV_RN16(pcm + 2*nchannels + 2*c); in sbc_enc_process_input_8s()
221 x[6] = AV_RN16(pcm + 8*nchannels + 2*c); in sbc_enc_process_input_8s()
222 x[7] = AV_RN16(pcm + 4*nchannels + 2*c); in sbc_enc_process_input_8s()
223 x[8] = AV_RN16(pcm + 6*nchannels + 2*c); in sbc_enc_process_input_8s()
225 pcm += 16 * nchannels; in sbc_enc_process_input_8s()
229 for (; nsamples >= 16; nsamples -= 16, pcm += 32 * nchannels) { in sbc_enc_process_input_8s()
231 for (c = 0; c < nchannels; c++) { in sbc_enc_process_input_8s()
233 x[0] = AV_RN16(pcm + 30*nchannels + 2*c); in sbc_enc_process_input_8s()
234 x[1] = AV_RN16(pcm + 14*nchannels + 2*c); in sbc_enc_process_input_8s()
235 x[2] = AV_RN16(pcm + 28*nchannels + 2*c); in sbc_enc_process_input_8s()
236 x[3] = AV_RN16(pcm + 16*nchannels + 2*c); in sbc_enc_process_input_8s()
237 x[4] = AV_RN16(pcm + 26*nchannels + 2*c); in sbc_enc_process_input_8s()
238 x[5] = AV_RN16(pcm + 18*nchannels + 2*c); in sbc_enc_process_input_8s()
239 x[6] = AV_RN16(pcm + 24*nchannels + 2*c); in sbc_enc_process_input_8s()
240 x[7] = AV_RN16(pcm + 20*nchannels + 2*c); in sbc_enc_process_input_8s()
241 x[8] = AV_RN16(pcm + 22*nchannels + 2*c); in sbc_enc_process_input_8s()
242 x[9] = AV_RN16(pcm + 6*nchannels + 2*c); in sbc_enc_process_input_8s()
243 x[10] = AV_RN16(pcm + 12*nchannels + 2*c); in sbc_enc_process_input_8s()
244 x[11] = AV_RN16(pcm + 0*nchannels + 2*c); in sbc_enc_process_input_8s()
245 x[12] = AV_RN16(pcm + 10*nchannels + 2*c); in sbc_enc_process_input_8s()
246 x[13] = AV_RN16(pcm + 2*nchannels + 2*c); in sbc_enc_process_input_8s()
247 x[14] = AV_RN16(pcm + 8*nchannels + 2*c); in sbc_enc_process_input_8s()
248 x[15] = AV_RN16(pcm + 4*nchannels + 2*c); in sbc_enc_process_input_8s()
254 for (c = 0; c < nchannels; c++) { in sbc_enc_process_input_8s()
256 x[-7] = AV_RN16(pcm + 14*nchannels + 2*c); in sbc_enc_process_input_8s()
257 x[1] = AV_RN16(pcm + 6*nchannels + 2*c); in sbc_enc_process_input_8s()
258 x[2] = AV_RN16(pcm + 12*nchannels + 2*c); in sbc_enc_process_input_8s()
259 x[3] = AV_RN16(pcm + 0*nchannels + 2*c); in sbc_enc_process_input_8s()
260 x[4] = AV_RN16(pcm + 10*nchannels + 2*c); in sbc_enc_process_input_8s()
261 x[5] = AV_RN16(pcm + 2*nchannels + 2*c); in sbc_enc_process_input_8s()
262 x[6] = AV_RN16(pcm + 8*nchannels + 2*c); in sbc_enc_process_input_8s()
263 x[7] = AV_RN16(pcm + 4*nchannels + 2*c); in sbc_enc_process_input_8s()