Lines Matching refs:count
30 void memcpy_to_i16_from_q4_27(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_q4_27() argument
32 for (; count > 0; --count) { in memcpy_to_i16_from_q4_27()
37 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_u8() argument
39 dst += count; in memcpy_to_i16_from_u8()
40 src += count; in memcpy_to_i16_from_u8()
41 for (; count > 0; --count) { in memcpy_to_i16_from_u8()
46 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_u8_from_i16() argument
48 for (; count > 0; --count) { in memcpy_to_u8_from_i16()
53 void memcpy_to_u8_from_p24(uint8_t *dst, const uint8_t *src, size_t count) in memcpy_to_u8_from_p24() argument
55 for (; count > 0; --count) { in memcpy_to_u8_from_p24()
65 void memcpy_to_u8_from_i32(uint8_t *dst, const int32_t *src, size_t count) in memcpy_to_u8_from_i32() argument
67 for (; count > 0; --count) { in memcpy_to_u8_from_i32()
72 void memcpy_to_u8_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) in memcpy_to_u8_from_q8_23() argument
74 for (; count > 0; --count) { in memcpy_to_u8_from_q8_23()
79 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_u8_from_float() argument
81 for (; count > 0; --count) { in memcpy_to_u8_from_float()
86 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() argument
88 for (; count > 0; --count) { in memcpy_to_i16_from_i32()
93 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) in memcpy_to_i16_from_float() argument
95 for (; count > 0; --count) { in memcpy_to_i16_from_float()
100 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q4_27() argument
102 for (; count > 0; --count) { in memcpy_to_float_from_q4_27()
107 void memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) in memcpy_to_float_from_i16() argument
109 dst += count; in memcpy_to_float_from_i16()
110 src += count; in memcpy_to_float_from_i16()
111 for (; count > 0; --count) { in memcpy_to_float_from_i16()
116 void memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count) in memcpy_to_float_from_u8() argument
118 dst += count; in memcpy_to_float_from_u8()
119 src += count; in memcpy_to_float_from_u8()
120 for (; count > 0; --count) { in memcpy_to_float_from_u8()
125 void memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) in memcpy_to_float_from_p24() argument
127 dst += count; in memcpy_to_float_from_p24()
128 src += count * 3; in memcpy_to_float_from_p24()
129 for (; count > 0; --count) { in memcpy_to_float_from_p24()
135 void memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_p24() argument
137 for (; count > 0; --count) { in memcpy_to_i16_from_p24()
147 void memcpy_to_i32_from_p24(int32_t *dst, const uint8_t *src, size_t count) in memcpy_to_i32_from_p24() argument
149 dst += count; in memcpy_to_i32_from_p24()
150 src += count * 3; in memcpy_to_i32_from_p24()
151 for (; count > 0; --count) { in memcpy_to_i32_from_p24()
161 void memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_p24_from_i16() argument
163 dst += count * 3; in memcpy_to_p24_from_i16()
164 src += count; in memcpy_to_p24_from_i16()
165 for (; count > 0; --count) { in memcpy_to_p24_from_i16()
180 void memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_p24_from_float() argument
182 for (; count > 0; --count) { in memcpy_to_p24_from_float()
197 void memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) in memcpy_to_p24_from_q8_23() argument
199 for (; count > 0; --count) { in memcpy_to_p24_from_q8_23()
214 void memcpy_to_p24_from_i32(uint8_t *dst, const int32_t *src, size_t count) in memcpy_to_p24_from_i32() argument
216 for (; count > 0; --count) { in memcpy_to_p24_from_i32()
231 void memcpy_to_q8_23_from_i16(int32_t *dst, const int16_t *src, size_t count) in memcpy_to_q8_23_from_i16() argument
233 dst += count; in memcpy_to_q8_23_from_i16()
234 src += count; in memcpy_to_q8_23_from_i16()
235 for (; count > 0; --count) { in memcpy_to_q8_23_from_i16()
240 void memcpy_to_q8_23_from_float_with_clamp(int32_t *dst, const float *src, size_t count) in memcpy_to_q8_23_from_float_with_clamp() argument
242 for (; count > 0; --count) { in memcpy_to_q8_23_from_float_with_clamp()
247 void memcpy_to_q8_23_from_p24(int32_t *dst, const uint8_t *src, size_t count) in memcpy_to_q8_23_from_p24() argument
249 dst += count; in memcpy_to_q8_23_from_p24()
250 src += count * 3; in memcpy_to_q8_23_from_p24()
251 for (; count > 0; --count) { in memcpy_to_q8_23_from_p24()
261 void memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) in memcpy_to_q4_27_from_float() argument
263 for (; count > 0; --count) { in memcpy_to_q4_27_from_float()
268 void memcpy_to_i16_from_q8_23(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_q8_23() argument
270 for (; count > 0; --count) { in memcpy_to_i16_from_q8_23()
275 void memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q8_23() argument
277 for (; count > 0; --count) { in memcpy_to_float_from_q8_23()
282 void memcpy_to_i32_from_u8(int32_t *dst, const uint8_t *src, size_t count) in memcpy_to_i32_from_u8() argument
284 dst += count; in memcpy_to_i32_from_u8()
285 src += count; in memcpy_to_i32_from_u8()
286 for (; count > 0; --count) { in memcpy_to_i32_from_u8()
291 void memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) in memcpy_to_i32_from_i16() argument
293 dst += count; in memcpy_to_i32_from_i16()
294 src += count; in memcpy_to_i32_from_i16()
295 for (; count > 0; --count) { in memcpy_to_i32_from_i16()
300 void memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) in memcpy_to_i32_from_float() argument
302 for (; count > 0; --count) { in memcpy_to_i32_from_float()
307 void memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_i32() argument
309 for (; count > 0; --count) { in memcpy_to_float_from_i32()
314 void memcpy_to_float_from_float_with_clamping(float *dst, const float *src, size_t count, in memcpy_to_float_from_float_with_clamping() argument
320 for (; count > 0; --count) { in memcpy_to_float_from_float_with_clamping()
326 void downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) in downmix_to_mono_i16_from_stereo_i16() argument
328 for (; count > 0; --count) { in downmix_to_mono_i16_from_stereo_i16()
334 void upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) in upmix_to_stereo_i16_from_mono_i16() argument
336 dst += count * 2; in upmix_to_stereo_i16_from_mono_i16()
337 src += count; in upmix_to_stereo_i16_from_mono_i16()
338 for (; count > 0; --count) { in upmix_to_stereo_i16_from_mono_i16()
366 size_t nonZeroMono32(const int32_t *samples, size_t count) in nonZeroMono32() argument
369 for (; count > 0; --count) { in nonZeroMono32()
375 size_t nonZeroMono16(const int16_t *samples, size_t count) in nonZeroMono16() argument
378 for (; count > 0; --count) { in nonZeroMono16()
384 size_t nonZeroStereo32(const int32_t *frames, size_t count) in nonZeroStereo32() argument
387 for (; count > 0; --count) { in nonZeroStereo32()
394 size_t nonZeroStereo16(const int16_t *frames, size_t count) in nonZeroStereo16() argument
397 for (; count > 0; --count) { in nonZeroStereo16()
408 #define copy_frame_by_mask(dst, dmask, src, smask, count, zero) \ argument
411 for (; (count) > 0; --(count)) { \
426 const void *src, uint32_t src_mask, size_t sample_size, size_t count) in memcpy_by_channel_mask() argument
435 memcpy_by_idxary(dst, dst_channels, src, src_channels, idxary, sample_size, count); in memcpy_by_channel_mask()
438 memcpy(dst, src, sample_size * __builtin_popcount(dst_mask) * count); in memcpy_by_channel_mask()
446 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
452 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
459 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, zero); in memcpy_by_channel_mask()
465 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
479 #define copy_frame_by_idx(dst, dst_channels, src, src_channels, idxary, count, zero) \ argument
483 for (; (count) > 0; --(count)) { \
494 const int8_t *idxary, size_t sample_size, size_t count) in memcpy_by_index_array() argument
501 copy_frame_by_idx(udst, dst_channels, usrc, src_channels, idxary, count, 0); in memcpy_by_index_array()
507 copy_frame_by_idx(udst, dst_channels, usrc, src_channels, idxary, count, 0); in memcpy_by_index_array()
514 copy_frame_by_idx(udst, dst_channels, usrc, src_channels, idxary, count, zero); in memcpy_by_index_array()
520 copy_frame_by_idx(udst, dst_channels, usrc, src_channels, idxary, count, 0); in memcpy_by_index_array()
591 void accumulate_i16(int16_t *dst, const int16_t *src, size_t count) { in accumulate_i16() argument
592 while (count--) { in accumulate_i16()
598 void accumulate_u8(uint8_t *dst, const uint8_t *src, size_t count) { in accumulate_u8() argument
600 for (; count > 0; --count) { in accumulate_u8()
608 void accumulate_p24(uint8_t *dst, const uint8_t *src, size_t count) { in accumulate_p24() argument
609 for (; count > 0; --count) { in accumulate_p24()
626 void accumulate_q8_23(int32_t *dst, const int32_t *src, size_t count) { in accumulate_q8_23() argument
627 for (; count > 0; --count) { in accumulate_q8_23()
633 void accumulate_i32(int32_t *dst, const int32_t *src, size_t count) { in accumulate_i32() argument
634 for (; count > 0; --count) { in accumulate_i32()
640 void accumulate_float(float *dst, const float *src, size_t count) { in accumulate_float() argument
641 for (; count > 0; --count) { in accumulate_float()