• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:dst

35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count)  in memcpy_to_i16_from_u8()  argument
37 dst += 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_u8_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_u8_from_float() argument
54 *dst++ = clamp8_from_float(*src++); in memcpy_to_u8_from_float()
58 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() argument
61 *dst++ = *src++ >> 16; in memcpy_to_i16_from_i32()
65 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) in memcpy_to_i16_from_float() argument
68 *dst++ = clamp16_from_float(*src++); in memcpy_to_i16_from_float()
72 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q4_27() argument
75 *dst++ = float_from_q4_27(*src++); in memcpy_to_float_from_q4_27()
79 void memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) in memcpy_to_float_from_i16() argument
82 *dst++ = float_from_i16(*src++); in memcpy_to_float_from_i16()
86 void memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count) in memcpy_to_float_from_u8() argument
89 *dst++ = float_from_u8(*src++); in memcpy_to_float_from_u8()
93 void memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) in memcpy_to_float_from_p24() argument
96 *dst++ = float_from_p24(src); in memcpy_to_float_from_p24()
101 void memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_p24() argument
105 *dst++ = src[1] | (src[0] << 8); in memcpy_to_i16_from_p24()
107 *dst++ = src[1] | (src[2] << 8); in memcpy_to_i16_from_p24()
113 void memcpy_to_i32_from_p24(int32_t *dst, const uint8_t *src, size_t count) in memcpy_to_i32_from_p24() argument
117 *dst++ = (src[2] << 8) | (src[1] << 16) | (src[0] << 24); in memcpy_to_i32_from_p24()
119 *dst++ = (src[0] << 8) | (src[1] << 16) | (src[2] << 24); in memcpy_to_i32_from_p24()
125 void memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_p24_from_i16() argument
129 *dst++ = *src >> 8; in memcpy_to_p24_from_i16()
130 *dst++ = *src++; in memcpy_to_p24_from_i16()
131 *dst++ = 0; in memcpy_to_p24_from_i16()
133 *dst++ = 0; in memcpy_to_p24_from_i16()
134 *dst++ = *src; in memcpy_to_p24_from_i16()
135 *dst++ = *src++ >> 8; in memcpy_to_p24_from_i16()
140 void memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_p24_from_float() argument
146 *dst++ = ival >> 16; in memcpy_to_p24_from_float()
147 *dst++ = ival >> 8; in memcpy_to_p24_from_float()
148 *dst++ = ival; in memcpy_to_p24_from_float()
150 *dst++ = ival; in memcpy_to_p24_from_float()
151 *dst++ = ival >> 8; in memcpy_to_p24_from_float()
152 *dst++ = ival >> 16; in memcpy_to_p24_from_float()
157 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
163 *dst++ = ival >> 16; in memcpy_to_p24_from_q8_23()
164 *dst++ = ival >> 8; in memcpy_to_p24_from_q8_23()
165 *dst++ = ival; in memcpy_to_p24_from_q8_23()
167 *dst++ = ival; in memcpy_to_p24_from_q8_23()
168 *dst++ = ival >> 8; in memcpy_to_p24_from_q8_23()
169 *dst++ = ival >> 16; in memcpy_to_p24_from_q8_23()
174 void memcpy_to_p24_from_i32(uint8_t *dst, const int32_t *src, size_t count) in memcpy_to_p24_from_i32() argument
180 *dst++ = ival >> 16; in memcpy_to_p24_from_i32()
181 *dst++ = ival >> 8; in memcpy_to_p24_from_i32()
182 *dst++ = ival; in memcpy_to_p24_from_i32()
184 *dst++ = ival; in memcpy_to_p24_from_i32()
185 *dst++ = ival >> 8; in memcpy_to_p24_from_i32()
186 *dst++ = ival >> 16; in memcpy_to_p24_from_i32()
191 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
194 *dst++ = (int32_t)*src++ << 8; in memcpy_to_q8_23_from_i16()
198 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
201 *dst++ = clamp24_from_float(*src++); in memcpy_to_q8_23_from_float_with_clamp()
205 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
209 *dst++ = (int8_t)src[0] << 16 | src[1] << 8 | src[2]; in memcpy_to_q8_23_from_p24()
211 *dst++ = (int8_t)src[2] << 16 | src[1] << 8 | src[0]; in memcpy_to_q8_23_from_p24()
217 void memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) in memcpy_to_q4_27_from_float() argument
220 *dst++ = clampq4_27_from_float(*src++); in memcpy_to_q4_27_from_float()
224 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
227 *dst++ = clamp16(*src++ >> 8); in memcpy_to_i16_from_q8_23()
231 void memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_q8_23() argument
234 *dst++ = float_from_q8_23(*src++); in memcpy_to_float_from_q8_23()
238 void memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) in memcpy_to_i32_from_i16() argument
241 *dst++ = (int32_t)*src++ << 16; in memcpy_to_i32_from_i16()
245 void memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) in memcpy_to_i32_from_float() argument
248 *dst++ = clamp32_from_float(*src++); in memcpy_to_i32_from_float()
252 void memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) in memcpy_to_float_from_i32() argument
255 *dst++ = float_from_i32(*src++); in memcpy_to_float_from_i32()
259 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
262 *dst++ = (int16_t)(((int32_t)src[0] + (int32_t)src[1]) >> 1); in downmix_to_mono_i16_from_stereo_i16()
267 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
271 dst[0] = temp; in upmix_to_stereo_i16_from_mono_i16()
272 dst[1] = temp; in upmix_to_stereo_i16_from_mono_i16()
273 dst += 2; in upmix_to_stereo_i16_from_mono_i16()
277 void downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) in downmix_to_mono_float_from_stereo_float() argument
280 *dst++ = (src[0] + src[1]) * 0.5; in downmix_to_mono_float_from_stereo_float()
285 void upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) in upmix_to_stereo_float_from_mono_float() argument
289 dst[0] = temp; in upmix_to_stereo_float_from_mono_float()
290 dst[1] = temp; in upmix_to_stereo_float_from_mono_float()
291 dst += 2; in upmix_to_stereo_float_from_mono_float()
345 #define copy_frame_by_mask(dst, dmask, src, smask, count, zero) \ argument
354 *dst++ = smask & bit ? *src++ : zero; \
362 void memcpy_by_channel_mask(void *dst, uint32_t dst_mask, in memcpy_by_channel_mask() argument
372 memcpy_by_idxary(dst, dst_channels, src, src_channels, idxary, sample_size, count); in memcpy_by_channel_mask()
375 memcpy(dst, src, sample_size * popcount(dst_mask) * count); in memcpy_by_channel_mask()
380 uint8_t *udst = (uint8_t*)dst; in memcpy_by_channel_mask()
386 uint16_t *udst = (uint16_t*)dst; in memcpy_by_channel_mask()
392 uint8x3_t *udst = (uint8x3_t*)dst; in memcpy_by_channel_mask()
399 uint32_t *udst = (uint32_t*)dst; in memcpy_by_channel_mask()
416 #define copy_frame_by_idx(dst, dst_channels, src, src_channels, idxary, count, zero) \ argument
423 *dst++ = index < 0 ? zero : src[index]; \
429 void memcpy_by_index_array(void *dst, uint32_t dst_channels, in memcpy_by_index_array() argument
435 uint8_t *udst = (uint8_t*)dst; in memcpy_by_index_array()
441 uint16_t *udst = (uint16_t*)dst; in memcpy_by_index_array()
447 uint8x3_t *udst = (uint8x3_t*)dst; in memcpy_by_index_array()
454 uint32_t *udst = (uint32_t*)dst; in memcpy_by_index_array()