/sof-3.4.0/src/audio/selector/ |
D | selector_generic.c | 52 nmax = audio_stream_bytes_without_wrap(source, src) / source_frame_bytes; in sel_s16le_1ch() 54 nmax = audio_stream_bytes_without_wrap(sink, dest) >> BYTES_TO_S16_SAMPLES; in sel_s16le_1ch() 87 bmax = audio_stream_bytes_without_wrap(source, src); in sel_s16le_nch() 89 bmax = audio_stream_bytes_without_wrap(sink, dst); in sel_s16le_nch() 124 nmax = audio_stream_bytes_without_wrap(source, src) / source_frame_bytes; in sel_s32le_1ch() 126 nmax = audio_stream_bytes_without_wrap(sink, dest) >> BYTES_TO_S32_SAMPLES; in sel_s32le_1ch() 159 bmax = audio_stream_bytes_without_wrap(source, src); in sel_s32le_nch() 161 bmax = audio_stream_bytes_without_wrap(sink, dst); in sel_s32le_nch() 224 nmax = audio_stream_bytes_without_wrap(source, src) / source_frame_bytes; in sel_s16le() 226 nmax = audio_stream_bytes_without_wrap(sink, dest) / sink_frame_bytes; in sel_s16le() [all …]
|
/sof-3.4.0/src/audio/pcm_converter/ |
D | pcm_converter_generic.c | 49 nmax = audio_stream_bytes_without_wrap(source, src) >> BYTES_TO_S16_SAMPLES; in pcm_convert_s16_to_s24() 51 nmax = audio_stream_bytes_without_wrap(sink, dst) >> BYTES_TO_S32_SAMPLES; in pcm_convert_s16_to_s24() 78 nmax = audio_stream_bytes_without_wrap(source, src) >> BYTES_TO_S32_SAMPLES; in pcm_convert_s24_to_s16() 80 nmax = audio_stream_bytes_without_wrap(sink, dst) >> BYTES_TO_S16_SAMPLES; in pcm_convert_s24_to_s16() 111 nmax = audio_stream_bytes_without_wrap(source, src) >> BYTES_TO_S16_SAMPLES; in pcm_convert_s16_to_s32() 113 nmax = audio_stream_bytes_without_wrap(sink, dst) >> BYTES_TO_S32_SAMPLES; in pcm_convert_s16_to_s32() 140 nmax = audio_stream_bytes_without_wrap(source, src) >> BYTES_TO_S32_SAMPLES; in pcm_convert_s32_to_s16() 142 nmax = audio_stream_bytes_without_wrap(sink, dst) >> BYTES_TO_S16_SAMPLES; in pcm_convert_s32_to_s16() 173 nmax = audio_stream_bytes_without_wrap(source, src) >> BYTES_TO_S32_SAMPLES; in pcm_convert_s24_to_s32() 175 nmax = audio_stream_bytes_without_wrap(sink, dst) >> BYTES_TO_S32_SAMPLES; in pcm_convert_s24_to_s32() [all …]
|
D | pcm_converter.c | 43 N1 = audio_stream_bytes_without_wrap(source, r_ptr) >> in pcm_convert_as_linear() 45 N2 = audio_stream_bytes_without_wrap(sink, w_ptr) >> in pcm_convert_as_linear()
|
D | pcm_converter_hifi3.c | 1129 nmax = audio_stream_bytes_without_wrap(source, in) / 3; in pcm_convert_s24_c24_to_s24_c32() 1178 nmax = audio_stream_bytes_without_wrap(sink, out) / 3; in pcm_convert_s24_c32_to_s24_c24()
|
/sof-3.4.0/src/audio/eq_fir/ |
D | eq_fir_generic.c | 38 nmax = EQ_FIR_BYTES_TO_S16_SAMPLES(audio_stream_bytes_without_wrap(source, x)); in eq_fir_s16() 40 nmax = EQ_FIR_BYTES_TO_S16_SAMPLES(audio_stream_bytes_without_wrap(sink, y)); in eq_fir_s16() 76 nmax = EQ_FIR_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(source, x)); in eq_fir_s24() 78 nmax = EQ_FIR_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(sink, y)); in eq_fir_s24() 113 nmax = EQ_FIR_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(source, x)); in eq_fir_s32() 115 nmax = EQ_FIR_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(sink, y)); in eq_fir_s32()
|
/sof-3.4.0/src/audio/eq_iir/ |
D | eq_iir.c | 88 n1 = audio_stream_bytes_without_wrap(source, x) >> 1; in eq_iir_s16_default() 89 n2 = audio_stream_bytes_without_wrap(sink, y) >> 1; in eq_iir_s16_default() 136 n1 = audio_stream_bytes_without_wrap(source, x) >> 2; in eq_iir_s24_default() 137 n2 = audio_stream_bytes_without_wrap(sink, y) >> 2; in eq_iir_s24_default() 184 n1 = audio_stream_bytes_without_wrap(source, x) >> 2; in eq_iir_s32_default() 185 n2 = audio_stream_bytes_without_wrap(sink, y) >> 2; in eq_iir_s32_default() 233 n1 = audio_stream_bytes_without_wrap(source, x) >> 2; /* divide 4 */ in eq_iir_s32_16_default() 234 n2 = audio_stream_bytes_without_wrap(sink, y) >> 1; /* divide 2 */ in eq_iir_s32_16_default() 281 n1 = audio_stream_bytes_without_wrap(source, x) >> 2; in eq_iir_s32_24_default() 282 n2 = audio_stream_bytes_without_wrap(sink, y) >> 2; in eq_iir_s32_24_default() [all …]
|
/sof-3.4.0/tools/testbench/ |
D | file.c | 50 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in mask_sink_s24() 70 bytes_src = audio_stream_bytes_without_wrap(source, src); in sign_extend_source_s24() 95 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in read_binary_s32() 125 bytes_src = audio_stream_bytes_without_wrap(source, src); in write_binary_s32() 153 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in read_text_s32() 183 bytes_src = audio_stream_bytes_without_wrap(source, src); in write_text_s32() 264 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in read_binary_s16() 294 bytes_src = audio_stream_bytes_without_wrap(source, src); in write_binary_s16() 323 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in read_text_s16() 353 bytes_src = audio_stream_bytes_without_wrap(source, src); in write_text_s16()
|
/sof-3.4.0/src/audio/ |
D | component.c | 242 bytes_src = audio_stream_bytes_without_wrap(source, src); in audio_stream_copy() 243 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in audio_stream_copy() 269 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in audio_stream_copy_from_linear() 289 bytes_src = audio_stream_bytes_without_wrap(source, src); in audio_stream_copy_to_linear()
|
D | ipcgtw.c | 122 bytes_snk = audio_stream_bytes_without_wrap(sink, snk); in audio_stream_copy_bytes_from_linear() 140 bytes_src = audio_stream_bytes_without_wrap(source, src); in audio_stream_copy_bytes_to_linear()
|
D | kpb.c | 1880 nmax = KPB_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(sink, dst)); in kpb_convert_24b_to_32b() 1977 nmax = KPB_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(source, src)); in kpb_convert_32b_to_24b() 2131 nmax = KPB_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(source, src)); in kpb_copy_24b_in_32b() 2133 nmax = KPB_BYTES_TO_S32_SAMPLES(audio_stream_bytes_without_wrap(sink, dst)); in kpb_copy_24b_in_32b()
|
/sof-3.4.0/src/include/sof/audio/ |
D | audio_stream.h | 622 audio_stream_bytes_without_wrap(const struct audio_stream __sparse_cache *source, in audio_stream_bytes_without_wrap() function 708 uint32_t bytes = audio_stream_bytes_without_wrap(source, ptr); in audio_stream_frames_without_wrap()
|
/sof-3.4.0/src/audio/module_adapter/ |
D | module_adapter.c | 461 const int without_wrap = audio_stream_bytes_without_wrap(source, source->r_ptr); in ca_copy_from_source_to_module() 487 const int without_wrap = audio_stream_bytes_without_wrap(sink, sink->w_ptr); in ca_copy_from_module_to_sink() 517 tmp = audio_stream_bytes_without_wrap(&sink->stream, ptr); in generate_zeroes()
|
/sof-3.4.0/src/audio/mixin_mixout/ |
D | mixin_mixout.c | 259 n = MIN(audio_stream_bytes_without_wrap(stream, ptr), size); in silence()
|