• Home
  • Raw
  • Download

Lines Matching refs:src

35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count)  in memcpy_to_i16_from_u8()  argument
38 src += count; in memcpy_to_i16_from_u8()
40 *--dst = (int16_t)(*--src - 0x80) << 8; in memcpy_to_i16_from_u8()
44 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_u8_from_i16() argument
47 *dst++ = (*src++ >> 8) + 0x80; in memcpy_to_u8_from_i16()
51 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() argument
54 *dst++ = *src++ >> 16; in memcpy_to_i16_from_i32()
58 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) in memcpy_to_i16_from_float() argument
61 *dst++ = clamp16_from_float(*src++); in memcpy_to_i16_from_float()
65 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q4_27() argument
68 *dst++ = float_from_q4_27(*src++); in memcpy_to_float_from_q4_27()
72 void memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) in memcpy_to_float_from_i16() argument
75 *dst++ = float_from_i16(*src++); in memcpy_to_float_from_i16()
79 void memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) in memcpy_to_float_from_p24() argument
82 *dst++ = float_from_p24(src); in memcpy_to_float_from_p24()
83 src += 3; in memcpy_to_float_from_p24()
87 void memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_p24() argument
91 *dst++ = src[1] | (src[0] << 8); in memcpy_to_i16_from_p24()
93 *dst++ = src[1] | (src[2] << 8); in memcpy_to_i16_from_p24()
95 src += 3; in memcpy_to_i16_from_p24()
99 void memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_p24_from_i16() argument
103 *dst++ = *src >> 8; in memcpy_to_p24_from_i16()
104 *dst++ = *src++; in memcpy_to_p24_from_i16()
108 *dst++ = *src; in memcpy_to_p24_from_i16()
109 *dst++ = *src++ >> 8; in memcpy_to_p24_from_i16()
114 void memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_p24_from_float() argument
117 int32_t ival = clamp24_from_float(*src++); in memcpy_to_p24_from_float()
131 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
134 int32_t ival = clamp24_from_q8_23(*src++); in memcpy_to_p24_from_q8_23()
148 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
151 *dst++ = (int32_t)*src++ << 8; in memcpy_to_q8_23_from_i16()
155 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
158 *dst++ = clamp24_from_float(*src++); in memcpy_to_q8_23_from_float_with_clamp()
162 void memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) in memcpy_to_q4_27_from_float() argument
165 *dst++ = clampq4_27_from_float(*src++); in memcpy_to_q4_27_from_float()
169 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
172 *dst++ = clamp16(*src++ >> 8); in memcpy_to_i16_from_q8_23()
176 void memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q8_23() argument
179 *dst++ = float_from_q8_23(*src++); in memcpy_to_float_from_q8_23()
183 void memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) in memcpy_to_i32_from_i16() argument
186 *dst++ = (int32_t)*src++ << 16; in memcpy_to_i32_from_i16()
190 void memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) in memcpy_to_i32_from_float() argument
193 *dst++ = clamp32_from_float(*src++); in memcpy_to_i32_from_float()
197 void memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_i32() argument
200 *dst++ = float_from_i32(*src++); in memcpy_to_float_from_i32()
204 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
207 *dst++ = (int16_t)(((int32_t)src[0] + (int32_t)src[1]) >> 1); in downmix_to_mono_i16_from_stereo_i16()
208 src += 2; in downmix_to_mono_i16_from_stereo_i16()
212 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
215 int32_t temp = *src++; in upmix_to_stereo_i16_from_mono_i16()
272 #define copy_frame_by_mask(dst, dmask, src, smask, count, zero) \ argument
281 *dst++ = smask & bit ? *src++ : zero; \
283 ++src; \
290 const void *src, uint32_t src_mask, size_t sample_size, size_t count) in memcpy_by_channel_mask() argument
299 memcpy_by_idxary(dst, dst_channels, src, src_channels, idxary, sample_size, count); in memcpy_by_channel_mask()
302 memcpy(dst, src, sample_size * popcount(dst_mask) * count); in memcpy_by_channel_mask()
308 const uint8_t *usrc = (const uint8_t*)src; in memcpy_by_channel_mask()
314 const uint16_t *usrc = (const uint16_t*)src; in memcpy_by_channel_mask()
320 const uint8x3_t *usrc = (const uint8x3_t*)src; in memcpy_by_channel_mask()
327 const uint32_t *usrc = (const uint32_t*)src; in memcpy_by_channel_mask()
343 #define copy_frame_by_idx(dst, dst_channels, src, src_channels, idxary, count, zero) \ argument
350 *dst++ = index < 0 ? zero : src[index]; \
352 src += src_channels; \
357 const void *src, uint32_t src_channels, in memcpy_by_index_array() argument
363 const uint8_t *usrc = (const uint8_t*)src; in memcpy_by_index_array()
369 const uint16_t *usrc = (const uint16_t*)src; in memcpy_by_index_array()
375 const uint8x3_t *usrc = (const uint8x3_t*)src; in memcpy_by_index_array()
382 const uint32_t *usrc = (const uint32_t*)src; in memcpy_by_index_array()