Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 17 of 17) sorted by relevance

/sof-2.7.6/src/audio/pcm_converter/
Dpcm_converter_generic.c36 int32_t *dst; in pcm_convert_s16_to_s24() local
41 dst = audio_stream_write_frag_s32(sink, buff_frag + ooffset); in pcm_convert_s16_to_s24()
42 *dst = *src << 8; in pcm_convert_s16_to_s24()
55 int16_t *dst; in pcm_convert_s24_to_s16() local
60 dst = audio_stream_write_frag_s16(sink, buff_frag + ooffset); in pcm_convert_s24_to_s16()
61 *dst = sat_int16(Q_SHIFT_RND(sign_extend_s24(*src), 23, 15)); in pcm_convert_s24_to_s16()
78 int32_t *dst; in pcm_convert_s16_to_s32() local
83 dst = audio_stream_write_frag_s32(sink, buff_frag + ooffset); in pcm_convert_s16_to_s32()
84 *dst = *src << 16; in pcm_convert_s16_to_s32()
97 int16_t *dst; in pcm_convert_s32_to_s16() local
[all …]
/sof-2.7.6/src/audio/codec_adapter/codec/
Dgeneric.c26 struct codec_config *dst; in codec_load_config() local
38 dst = (type == CODEC_CFG_SETUP) ? &codec->s_cfg : in codec_load_config()
41 if (!dst->data) { in codec_load_config()
43 dst->data = rballoc(0, SOF_MEM_CAPS_RAM, size); in codec_load_config()
44 } else if (dst->size != size) { in codec_load_config()
48 rfree(dst->data); in codec_load_config()
49 dst->data = rballoc(0, SOF_MEM_CAPS_RAM, size); in codec_load_config()
51 if (!dst->data) { in codec_load_config()
57 ret = memcpy_s(dst->data, size, cfg, size); in codec_load_config()
59 ret = validate_config(dst->data); in codec_load_config()
[all …]
/sof-2.7.6/src/init/
Dinit.c54 uint32_t *src, *dst; in lp_sram_unpack() local
62 dst = (uint32_t *)*ptr++; in lp_sram_unpack()
65 memcpy_s(dst, size, src, size); in lp_sram_unpack()
66 dcache_writeback_region(dst, size); in lp_sram_unpack()
/sof-2.7.6/test/cmocka/src/audio/selector/
Dselector_test.c127 const uint16_t *dst = (uint16_t *)sink->w_ptr; in verify_s16le_Xch_to_1ch() local
139 destination = dst[j++]; in verify_s16le_Xch_to_1ch()
151 const uint16_t *dst = (uint16_t *)sink->w_ptr; in verify_s16le_2ch_to_2ch() local
160 assert_int_equal(dst[i + channel], processed); in verify_s16le_2ch_to_2ch()
170 const uint16_t *dst = (uint16_t *)sink->w_ptr; in verify_s16le_4ch_to_4ch() local
179 assert_int_equal(dst[i + channel], processed); in verify_s16le_4ch_to_4ch()
207 const uint32_t *dst = (uint32_t *)sink->w_ptr; in verify_s32le_Xch_to_1ch() local
219 destination = dst[j++]; in verify_s32le_Xch_to_1ch()
231 const uint32_t *dst = (uint32_t *)sink->w_ptr; in verify_s32le_2ch_to_2ch() local
240 assert_int_equal(dst[i + channel], processed); in verify_s32le_2ch_to_2ch()
[all …]
/sof-2.7.6/src/audio/mux/
Dmux_generic.c172 int16_t *dst; in demux_s16le() local
193 dst = (int16_t *)lookup->copy_elem[elem].dest; in demux_s16le()
194 *dst = *src; in demux_s16le()
197 lookup->copy_elem[elem].dest = dst + in demux_s16le()
226 int16_t *dst; in mux_s16le() local
247 dst = (int16_t *)lookup->copy_elem[elem].dest; in mux_s16le()
248 *dst = *src; in mux_s16le()
251 lookup->copy_elem[elem].dest = dst + in mux_s16le()
384 int32_t *dst; in demux_s32le() local
405 dst = (int32_t *)lookup->copy_elem[elem].dest; in demux_s32le()
[all …]
/sof-2.7.6/test/cmocka/src/audio/volume/
Dvolume_process.c141 const int16_t *dst = (int16_t *)sink->stream.w_ptr; in verify_s16_to_s16() local
161 delta = dst[i + channel] - sample; in verify_s16_to_s16()
163 assert_int_equal(dst[i + channel], sample); in verify_s16_to_s16()
191 const int32_t *dst = (int32_t *)sink->stream.w_ptr; in verify_s24_to_s24_s32() local
213 dst_sample = dst[i + channel]; in verify_s24_to_s24_s32()
249 const int32_t *dst = (int32_t *)sink->stream.w_ptr; in verify_s32_to_s24_s32() local
270 dst_sample = dst[i + channel]; in verify_s32_to_s24_s32()
291 const int32_t *dst = (int32_t *)sink->w_ptr;
319 dst_sample = dst[i + channel];
336 const int16_t *dst = (int16_t *)sink->w_ptr;
[all …]
/sof-2.7.6/src/lib/
Dlib.c65 void *__vec_memcpy(void *dst, const void *src, size_t len) in __vec_memcpy() argument
67 return memcpy(dst, src, len); in __vec_memcpy()
/sof-2.7.6/src/arch/xtensa/include/arch/
Dstring.h29 void *xthal_memcpy(void *dst, const void *src, size_t len);
36 void *__vec_memcpy(void *dst, const void *src, size_t len);
/sof-2.7.6/test/cmocka/src/math/fft/
Dfft.c34 static void fft_real(struct comp_buffer *src, struct comp_buffer *dst, uint32_t size) in fft_real() argument
45 dst->stream.size < size * sizeof(struct icomplex32)) in fft_real()
70 *((int32_t *)dst->stream.addr + 2 * i) = outb[i].real; in fft_real()
71 *((int32_t *)dst->stream.addr + 2 * i + 1) = outb[i].imag; in fft_real()
88 static void ifft_complex(struct comp_buffer *src, struct comp_buffer *dst, uint32_t size) in ifft_complex() argument
99 dst->stream.size < size * sizeof(struct icomplex32)) in ifft_complex()
125 *((int32_t *)dst->stream.addr + 2 * i) = outb[i].real; in ifft_complex()
126 *((int32_t *)dst->stream.addr + 2 * i + 1) = outb[i].imag; in ifft_complex()
/sof-2.7.6/test/cmocka/src/audio/mixer/
Dmixer_test.c39 void *dst; in comp_register() local
43 dst = &mixer_drv_mock; in comp_register()
44 err = memcpy_s(dst, sizeof(mixer_drv_mock), in comp_register()
49 dst = &drv_mock; in comp_register()
50 err = memcpy_s(dst, sizeof(drv_mock), info->drv, in comp_register()
/sof-2.7.6/src/audio/
Dkpb.c1332 void *dst; in kpb_drain_samples() local
1345 dst = audio_stream_write_frag_s16(sink, j); in kpb_drain_samples()
1346 *((int16_t *)dst) = *((int16_t *)src); in kpb_drain_samples()
1358 dst = audio_stream_write_frag_s32(sink, j); in kpb_drain_samples()
1359 *((int32_t *)dst) = *((int32_t *)src); in kpb_drain_samples()
1385 void *dst = sink; in kpb_buffer_samples() local
1397 *((int16_t *)dst) = *((int16_t *)src); in kpb_buffer_samples()
1398 dst = ((int16_t *)dst) + 1; in kpb_buffer_samples()
1404 *((int32_t *)dst) = *((int32_t *)src); in kpb_buffer_samples()
1405 dst = ((int32_t *)dst) + 1; in kpb_buffer_samples()
[all …]
/sof-2.7.6/src/arch/host/include/arch/
Dstring.h30 void *__vec_memcpy(void *dst, const void *src, size_t len);
/sof-2.7.6/src/arch/xtensa/include/xtensa/
Doverlay.h84 int xt_overlay_start_map(void * dst, void * src, unsigned int len, int ov_id);
Dhal.h379 extern void* xthal_memcpy(void *dst, const void *src, unsigned len);
380 extern void* xthal_bcopy(const void *src, void *dst, unsigned len);
/sof-2.7.6/src/audio/codec_adapter/
Dcodec_adapter.c486 char *dst, *src; in codec_adapter_set_params() local
536 dst = (char *)codec->runtime_params + offset; in codec_adapter_set_params()
539 ret = memcpy_s(dst, size - offset, src, cdata->num_elems); in codec_adapter_set_params()
/sof-2.7.6/src/trace/
Dtrace.c73 static void put_header(void *dst, const struct sof_uuid_entry *uid, in put_header() argument
90 ret = memcpy_s(dst, sizeof(header), &header, sizeof(header)); in put_header()
/sof-2.7.6/tools/tplg_parser/
Dtplg_parser.c1580 uint8_t *dst = (uint8_t *)object + offset; in get_token_uuid() local
1582 memcpy(dst, velem->uuid, UUID_SIZE); in get_token_uuid()