• Home
  • Raw
  • Download

Lines Matching refs:src

36 static void remap_mono_to_stereo_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned …  in remap_mono_to_stereo_s16ne_c()  argument
40 dst[0] = dst[1] = src[0]; in remap_mono_to_stereo_s16ne_c()
41 dst[2] = dst[3] = src[1]; in remap_mono_to_stereo_s16ne_c()
42 dst[4] = dst[5] = src[2]; in remap_mono_to_stereo_s16ne_c()
43 dst[6] = dst[7] = src[3]; in remap_mono_to_stereo_s16ne_c()
44 src += 4; in remap_mono_to_stereo_s16ne_c()
48 dst[0] = dst[1] = src[0]; in remap_mono_to_stereo_s16ne_c()
49 src++; in remap_mono_to_stereo_s16ne_c()
54 static void remap_mono_to_stereo_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned … in remap_mono_to_stereo_s32ne_c() argument
58 dst[0] = dst[1] = src[0]; in remap_mono_to_stereo_s32ne_c()
59 dst[2] = dst[3] = src[1]; in remap_mono_to_stereo_s32ne_c()
60 dst[4] = dst[5] = src[2]; in remap_mono_to_stereo_s32ne_c()
61 dst[6] = dst[7] = src[3]; in remap_mono_to_stereo_s32ne_c()
62 src += 4; in remap_mono_to_stereo_s32ne_c()
66 dst[0] = dst[1] = src[0]; in remap_mono_to_stereo_s32ne_c()
67 src++; in remap_mono_to_stereo_s32ne_c()
72 static void remap_mono_to_stereo_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned … in remap_mono_to_stereo_float32ne_c() argument
76 dst[0] = dst[1] = src[0]; in remap_mono_to_stereo_float32ne_c()
77 dst[2] = dst[3] = src[1]; in remap_mono_to_stereo_float32ne_c()
78 dst[4] = dst[5] = src[2]; in remap_mono_to_stereo_float32ne_c()
79 dst[6] = dst[7] = src[3]; in remap_mono_to_stereo_float32ne_c()
80 src += 4; in remap_mono_to_stereo_float32ne_c()
84 dst[0] = dst[1] = src[0]; in remap_mono_to_stereo_float32ne_c()
85 src++; in remap_mono_to_stereo_float32ne_c()
90 static void remap_stereo_to_mono_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned … in remap_stereo_to_mono_s16ne_c() argument
94 dst[0] = (src[0] + src[1])/2; in remap_stereo_to_mono_s16ne_c()
95 dst[1] = (src[2] + src[3])/2; in remap_stereo_to_mono_s16ne_c()
96 dst[2] = (src[4] + src[5])/2; in remap_stereo_to_mono_s16ne_c()
97 dst[3] = (src[6] + src[7])/2; in remap_stereo_to_mono_s16ne_c()
98 src += 8; in remap_stereo_to_mono_s16ne_c()
102 dst[0] = (src[0] + src[1])/2; in remap_stereo_to_mono_s16ne_c()
103 src += 2; in remap_stereo_to_mono_s16ne_c()
108 static void remap_stereo_to_mono_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned … in remap_stereo_to_mono_s32ne_c() argument
114 dst[0] = (src[0]/2 + src[1]/2); in remap_stereo_to_mono_s32ne_c()
115 dst[1] = (src[2]/2 + src[3]/2); in remap_stereo_to_mono_s32ne_c()
116 dst[2] = (src[4]/2 + src[5]/2); in remap_stereo_to_mono_s32ne_c()
117 dst[3] = (src[6]/2 + src[7]/2); in remap_stereo_to_mono_s32ne_c()
118 src += 8; in remap_stereo_to_mono_s32ne_c()
124 dst[0] = (src[0]/2 + src[1]/2); in remap_stereo_to_mono_s32ne_c()
125 src += 2; in remap_stereo_to_mono_s32ne_c()
130 static void remap_stereo_to_mono_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned … in remap_stereo_to_mono_float32ne_c() argument
134 dst[0] = (src[0] + src[1])*0.5f; in remap_stereo_to_mono_float32ne_c()
135 dst[1] = (src[2] + src[3])*0.5f; in remap_stereo_to_mono_float32ne_c()
136 dst[2] = (src[4] + src[5])*0.5f; in remap_stereo_to_mono_float32ne_c()
137 dst[3] = (src[6] + src[7])*0.5f; in remap_stereo_to_mono_float32ne_c()
138 src += 8; in remap_stereo_to_mono_float32ne_c()
142 dst[0] = (src[0] + src[1])*0.5f; in remap_stereo_to_mono_float32ne_c()
143 src += 2; in remap_stereo_to_mono_float32ne_c()
148 static void remap_mono_to_ch4_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned n) { in remap_mono_to_ch4_s16ne_c() argument
152 dst[0] = dst[1] = dst[2] = dst[3] = src[0]; in remap_mono_to_ch4_s16ne_c()
153 dst[4] = dst[5] = dst[6] = dst[7] = src[1]; in remap_mono_to_ch4_s16ne_c()
154 dst[8] = dst[9] = dst[10] = dst[11] = src[2]; in remap_mono_to_ch4_s16ne_c()
155 dst[12] = dst[13] = dst[14] = dst[15] = src[3]; in remap_mono_to_ch4_s16ne_c()
156 src += 4; in remap_mono_to_ch4_s16ne_c()
160 dst[0] = dst[1] = dst[2] = dst[3] = src[0]; in remap_mono_to_ch4_s16ne_c()
161 src++; in remap_mono_to_ch4_s16ne_c()
166 static void remap_mono_to_ch4_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned n) { in remap_mono_to_ch4_s32ne_c() argument
170 dst[0] = dst[1] = dst[2] = dst[3] = src[0]; in remap_mono_to_ch4_s32ne_c()
171 dst[4] = dst[5] = dst[6] = dst[7] = src[1]; in remap_mono_to_ch4_s32ne_c()
172 dst[8] = dst[9] = dst[10] = dst[11] = src[2]; in remap_mono_to_ch4_s32ne_c()
173 dst[12] = dst[13] = dst[14] = dst[15] = src[3]; in remap_mono_to_ch4_s32ne_c()
174 src += 4; in remap_mono_to_ch4_s32ne_c()
178 dst[0] = dst[1] = dst[2] = dst[3] = src[0]; in remap_mono_to_ch4_s32ne_c()
179 src++; in remap_mono_to_ch4_s32ne_c()
184 static void remap_mono_to_ch4_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned n) { in remap_mono_to_ch4_float32ne_c() argument
188 dst[0] = dst[1] = dst[2] = dst[3] = src[0]; in remap_mono_to_ch4_float32ne_c()
189 dst[4] = dst[5] = dst[6] = dst[7] = src[1]; in remap_mono_to_ch4_float32ne_c()
190 dst[8] = dst[9] = dst[10] = dst[11] = src[2]; in remap_mono_to_ch4_float32ne_c()
191 dst[12] = dst[13] = dst[14] = dst[15] = src[3]; in remap_mono_to_ch4_float32ne_c()
192 src += 4; in remap_mono_to_ch4_float32ne_c()
196 dst[0] = dst[1] = dst[2] = dst[3] = src[0]; in remap_mono_to_ch4_float32ne_c()
197 src++; in remap_mono_to_ch4_float32ne_c()
202 static void remap_ch4_to_mono_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned n) { in remap_ch4_to_mono_s16ne_c() argument
206 dst[0] = (src[0] + src[1] + src[2] + src[3])/4; in remap_ch4_to_mono_s16ne_c()
207 dst[1] = (src[4] + src[5] + src[6] + src[7])/4; in remap_ch4_to_mono_s16ne_c()
208 dst[2] = (src[8] + src[9] + src[10] + src[11])/4; in remap_ch4_to_mono_s16ne_c()
209 dst[3] = (src[12] + src[13] + src[14] + src[15])/4; in remap_ch4_to_mono_s16ne_c()
210 src += 16; in remap_ch4_to_mono_s16ne_c()
214 dst[0] = (src[0] + src[1] + src[2] + src[3])/4; in remap_ch4_to_mono_s16ne_c()
215 src += 4; in remap_ch4_to_mono_s16ne_c()
220 static void remap_ch4_to_mono_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned n) { in remap_ch4_to_mono_s32ne_c() argument
226 dst[0] = (src[0]/4 + src[1]/4 + src[2]/4 + src[3]/4); in remap_ch4_to_mono_s32ne_c()
227 dst[1] = (src[4]/4 + src[5]/4 + src[6]/4 + src[7]/4); in remap_ch4_to_mono_s32ne_c()
228 dst[2] = (src[8]/4 + src[9]/4 + src[10]/4 + src[11]/4); in remap_ch4_to_mono_s32ne_c()
229 dst[3] = (src[12]/4 + src[13]/4 + src[14]/4 + src[15]/4); in remap_ch4_to_mono_s32ne_c()
230 src += 16; in remap_ch4_to_mono_s32ne_c()
236 dst[0] = (src[0]/4 + src[1]/4 + src[2]/4 + src[3]/4); in remap_ch4_to_mono_s32ne_c()
237 src += 4; in remap_ch4_to_mono_s32ne_c()
242 static void remap_ch4_to_mono_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned n) { in remap_ch4_to_mono_float32ne_c() argument
246 dst[0] = (src[0] + src[1] + src[2] + src[3])*0.25f; in remap_ch4_to_mono_float32ne_c()
247 dst[1] = (src[4] + src[5] + src[6] + src[7])*0.25f; in remap_ch4_to_mono_float32ne_c()
248 dst[2] = (src[8] + src[9] + src[10] + src[11])*0.25f; in remap_ch4_to_mono_float32ne_c()
249 dst[3] = (src[12] + src[13] + src[14] + src[15])*0.25f; in remap_ch4_to_mono_float32ne_c()
250 src += 16; in remap_ch4_to_mono_float32ne_c()
254 dst[0] = (src[0] + src[1] + src[2] + src[3])*0.25f; in remap_ch4_to_mono_float32ne_c()
255 src += 4; in remap_ch4_to_mono_float32ne_c()
260 static void remap_channels_matrix_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned… in remap_channels_matrix_s16ne_c() argument
274 const int16_t *s = src + ic; in remap_channels_matrix_s16ne_c()
291 static void remap_channels_matrix_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned… in remap_channels_matrix_s32ne_c() argument
304 const int32_t *s = src + ic; in remap_channels_matrix_s32ne_c()
321 static void remap_channels_matrix_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned… in remap_channels_matrix_float32ne_c() argument
334 const float *s = src + ic; in remap_channels_matrix_float32ne_c()
384 static void remap_arrange_mono_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned n)… in remap_arrange_mono_s16ne_c() argument
388 src += arrange[0]; in remap_arrange_mono_s16ne_c()
390 *dst++ = *src; in remap_arrange_mono_s16ne_c()
391 src += n_ic; in remap_arrange_mono_s16ne_c()
395 static void remap_arrange_stereo_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned … in remap_arrange_stereo_s16ne_c() argument
401 *dst++ = (ic0 >= 0) ? *(src + ic0) : 0; in remap_arrange_stereo_s16ne_c()
402 *dst++ = (ic1 >= 0) ? *(src + ic1) : 0; in remap_arrange_stereo_s16ne_c()
403 src += n_ic; in remap_arrange_stereo_s16ne_c()
407 static void remap_arrange_ch4_s16ne_c(pa_remap_t *m, int16_t *dst, const int16_t *src, unsigned n) { in remap_arrange_ch4_s16ne_c() argument
414 *dst++ = (ic0 >= 0) ? *(src + ic0) : 0; in remap_arrange_ch4_s16ne_c()
415 *dst++ = (ic1 >= 0) ? *(src + ic1) : 0; in remap_arrange_ch4_s16ne_c()
416 *dst++ = (ic2 >= 0) ? *(src + ic2) : 0; in remap_arrange_ch4_s16ne_c()
417 *dst++ = (ic3 >= 0) ? *(src + ic3) : 0; in remap_arrange_ch4_s16ne_c()
418 src += n_ic; in remap_arrange_ch4_s16ne_c()
422 static void remap_arrange_mono_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned n)… in remap_arrange_mono_s32ne_c() argument
426 src += arrange[0]; in remap_arrange_mono_s32ne_c()
428 *dst++ = *src; in remap_arrange_mono_s32ne_c()
429 src += n_ic; in remap_arrange_mono_s32ne_c()
433 static void remap_arrange_stereo_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned … in remap_arrange_stereo_s32ne_c() argument
439 *dst++ = (ic0 >= 0) ? *(src + ic0) : 0; in remap_arrange_stereo_s32ne_c()
440 *dst++ = (ic1 >= 0) ? *(src + ic1) : 0; in remap_arrange_stereo_s32ne_c()
441 src += n_ic; in remap_arrange_stereo_s32ne_c()
445 static void remap_arrange_ch4_s32ne_c(pa_remap_t *m, int32_t *dst, const int32_t *src, unsigned n) { in remap_arrange_ch4_s32ne_c() argument
452 *dst++ = (ic0 >= 0) ? *(src + ic0) : 0; in remap_arrange_ch4_s32ne_c()
453 *dst++ = (ic1 >= 0) ? *(src + ic1) : 0; in remap_arrange_ch4_s32ne_c()
454 *dst++ = (ic2 >= 0) ? *(src + ic2) : 0; in remap_arrange_ch4_s32ne_c()
455 *dst++ = (ic3 >= 0) ? *(src + ic3) : 0; in remap_arrange_ch4_s32ne_c()
456 src += n_ic; in remap_arrange_ch4_s32ne_c()
460 static void remap_arrange_mono_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned n)… in remap_arrange_mono_float32ne_c() argument
464 src += arrange[0]; in remap_arrange_mono_float32ne_c()
466 *dst++ = *src; in remap_arrange_mono_float32ne_c()
467 src += n_ic; in remap_arrange_mono_float32ne_c()
471 static void remap_arrange_stereo_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned … in remap_arrange_stereo_float32ne_c() argument
477 *dst++ = (ic0 >= 0) ? *(src + ic0) : 0.0f; in remap_arrange_stereo_float32ne_c()
478 *dst++ = (ic1 >= 0) ? *(src + ic1) : 0.0f; in remap_arrange_stereo_float32ne_c()
479 src += n_ic; in remap_arrange_stereo_float32ne_c()
483 static void remap_arrange_ch4_float32ne_c(pa_remap_t *m, float *dst, const float *src, unsigned n) { in remap_arrange_ch4_float32ne_c() argument
490 *dst++ = (ic0 >= 0) ? *(src + ic0) : 0.0f; in remap_arrange_ch4_float32ne_c()
491 *dst++ = (ic1 >= 0) ? *(src + ic1) : 0.0f; in remap_arrange_ch4_float32ne_c()
492 *dst++ = (ic2 >= 0) ? *(src + ic2) : 0.0f; in remap_arrange_ch4_float32ne_c()
493 *dst++ = (ic3 >= 0) ? *(src + ic3) : 0.0f; in remap_arrange_ch4_float32ne_c()
494 src += n_ic; in remap_arrange_ch4_float32ne_c()