Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 25) sorted by relevance

/sof-3.4.0/test/cmocka/src/audio/eq_fir/
Ddebug_files_plot.m10 ref = reshape(iref, size(iref, 1)/2, 2); variable
14 plot(ref)
21 plot(ref - out);
27 ref = reshape(iref, size(iref, 1)/2, 2); variable
31 plot(ref)
38 plot(ref - out);
44 ref = reshape(iref, size(iref, 1)/2, 2); variable
48 plot(ref)
55 plot(ref - out);
Deq_fir_process.c243 int32_t ref; in verify_sink_s16() local
255 ref = sat_int16(Q_SHIFT_RND(fir_ref_2ch[buffer_verify_data.idx++], 31, 15)); in verify_sink_s16()
256 delta = ref - out; in verify_sink_s16()
258 assert_int_equal(out, ref); in verify_sink_s16()
260 fprintf(debug_fh_16, "%d %d\n", ref, out); in verify_sink_s16()
309 int32_t ref; in verify_sink_s24() local
321 ref = sat_int24(Q_SHIFT_RND(fir_ref_2ch[buffer_verify_data.idx++], 31, 23)); in verify_sink_s24()
322 delta = ref - out; in verify_sink_s24()
324 assert_int_equal(out, ref); in verify_sink_s24()
326 fprintf(debug_fh_24, "%d %d\n", ref, out); in verify_sink_s24()
[all …]
/sof-3.4.0/test/cmocka/src/math/numbers/
Dceil_divide.c36 int ref = ceilf((float)params[i] / (float)params[j]); in test_math_numbers_ceil_divide() local
39 if (r != ref) { in test_math_numbers_ceil_divide()
41 params[i], params[j], r, ref); in test_math_numbers_ceil_divide()
44 assert_int_equal(r, ref); in test_math_numbers_ceil_divide()
/sof-3.4.0/test/cmocka/src/audio/eq_iir/
Deq_iir_process.c242 int32_t ref; in verify_sink_s16() local
254 ref = sat_int16(Q_SHIFT_RND(chirp_iir_ref_2ch[buffer_verify_data.idx++], 31, 15)); in verify_sink_s16()
255 delta = ref - out; in verify_sink_s16()
257 assert_int_equal(out, ref); in verify_sink_s16()
305 int32_t ref; in verify_sink_s24() local
317 ref = sat_int24(Q_SHIFT_RND(chirp_iir_ref_2ch[buffer_verify_data.idx++], 31, 23)); in verify_sink_s24()
318 delta = ref - out; in verify_sink_s24()
320 assert_int_equal(out, ref); in verify_sink_s24()
368 int32_t ref; in verify_sink_s32() local
380 ref = chirp_iir_ref_2ch[buffer_verify_data.idx++]; in verify_sink_s32()
[all …]
/sof-3.4.0/tools/tune/eq/
Dcmocka_data_eq_fir.m28 ref(:,1) = filter(eq.b_fir, 1, x(:,1));
29 ref(:,2) = filter(eq.b_fir, 1, x(:,2));
30 refi = scale_saturate(ref, scale);
38 plot(ref)
Dcmocka_data_eq_iir.m29 ref(:,1) = filter(b, a, x(:,1));
30 ref(:,2) = filter(b, a, x(:,2));
32 refi = scale_saturate(ref, scale);
40 plot(ref)
Dmls_freq_resp.m69 mlsfn = 'mls-ref.wav';
/sof-3.4.0/src/include/sof/audio/module_adapter/iadk/
Dprocessing_module_prerequisites.h53 StreamBufferAlignment(const StreamBufferAlignment &ref) in StreamBufferAlignment()
54 : value(ref.value) in StreamBufferAlignment()
/sof-3.4.0/src/audio/google/
Dgoogle_rtc_audio_processing_mock.c145 int16_t *ref = state->aec_reference; in GoogleRtcAudioProcessingProcessCapture_int16() local
152 *out = *mic + *ref; in GoogleRtcAudioProcessingProcessCapture_int16()
153 ref += state->num_aec_reference_channels; in GoogleRtcAudioProcessingProcessCapture_int16()
Dgoogle_rtc_audio_processing.c609 int16_t *src, *dst, *ref; local
627 ref = buffer_c->stream.r_ptr;
636 nmax = audio_stream_samples_without_wrap_s16(&buffer_c->stream, ref);
641 cd->aec_reference_buffer[j++] = ref[channel];
643 ref += buffer_c->stream.channels;
653 ref = audio_stream_wrap(&buffer_c->stream, ref);
/sof-3.4.0/test/cmocka/src/math/dct/
Ddct.c25 static void dct_matrix_16_test(const int16_t *ref, int num_in, int num_out, in dct_matrix_16_test() argument
57 delta = (double)x - (double)ref[k++]; in dct_matrix_16_test()
/sof-3.4.0/src/drivers/intel/dmic/
Ddmic_nhlt.c207 uint32_t ref = 0; in dmic_set_config_nhlt() local
276 ref = OUTCONTROL0_TIE(bf1) | OUTCONTROL0_SIP(bf2) | OUTCONTROL0_FINIT(bf3) | in dmic_set_config_nhlt()
287 ref = OUTCONTROL0_TIE(bf1) | OUTCONTROL0_SIP(bf2) | OUTCONTROL0_FINIT(bf3) | in dmic_set_config_nhlt()
294 if (ref != val) { in dmic_set_config_nhlt()
363 ref = CIC_CONTROL_SOFT_RESET(bf1) | CIC_CONTROL_CIC_START_B(bf2) | in dmic_set_config_nhlt()
368 if (ref != val) { in dmic_set_config_nhlt()
431 ref = FIR_CONTROL_A_START(bf1) | FIR_CONTROL_A_ARRAY_START_EN(bf2) | in dmic_set_config_nhlt()
435 if (ref != val) { in dmic_set_config_nhlt()
Ddmic_computed.c595 uint32_t ref; in configure_registers() local
775 ref = CIC_CONFIG_CIC_SHIFT(cfg->cic_shift + 8) | in configure_registers()
778 (CIC_CONFIG_CIC_SHIFT_MASK | CIC_CONFIG_COMB_COUNT_MASK)) != ref) { in configure_registers()
785 ref = MIC_CONTROL_PDM_CLKDIV(cfg->clkdiv - 2); in configure_registers()
786 if ((val & MIC_CONTROL_PDM_CLKDIV_MASK) != ref) { in configure_registers()
/sof-3.4.0/src/include/sof/audio/igo_nr/
Digo_lib.h136 const struct IgoStreamData *ref,
/sof-3.4.0/tools/test/audio/
Dtdfb_direction_test.m49 ref = 32768^2; variable
52 flev = 10*log10(data(:,2)/ref) + offs;
53 slev = 10*log10(data(:,3)/ref) + offs;
/sof-3.4.0/tools/topology/topology1/
Dsof-eq-iir-dts-codec-smart-amplifier.m4129 PIPELINE_PCM_ADD(sof/pipe-amp-ref-capture.m4,
135 PIPELINE_PCM_ADD(sof/pipe-amp-ref-capture.m4,
183 ifdef(`N_SMART_REF_BUF',`',`errprint(note: Need to define ref buffer name for connection
Dsof-smart-amplifier.m4136 PIPELINE_PCM_ADD(sof/pipe-amp-ref-capture.m4,
142 PIPELINE_PCM_ADD(sof/pipe-amp-ref-capture.m4,
190 ifdef(`N_SMART_REF_BUF',`',`fatal_error(note: Need to define ref buffer name for connection
Dsof-acp-rmb-tdm8ch-dmic2ch-nau8825-max98360.m487 DAI_ADD(sof/pipe-echo-ref-dai-playback.m4,
Dsof-acp-rmb-tdm8ch-dmic4ch.m488 DAI_ADD(sof/pipe-echo-ref-dai-playback.m4,
Dsof-adl-nau8825.m4294 DAI_ADD(sof/pipe-echo-ref-dai-capture.m4,
Dsof-tgl-max98357a-rt5682.m4307 DAI_ADD(sof/pipe-echo-ref-dai-capture.m4,
/sof-3.4.0/tools/topology/topology1/sof/
Dpipe-google-rtc-audio-processing-capture.m462 # ^------- B2 <-- AEC ref
Dpipe-amp-ref-capture.m499 P_GRAPH(pipe-amp-ref-capture, PIPELINE_ID,
Dpipe-rtnr-google-rtc-audio-processing-capture.m4127 # ^------- B3 <-- AEC ref
/sof-3.4.0/scripts/
Dcheckpatch.pl4395 my $ref = $1;
4397 $ref .= $1;
4398 $ref =~ s/\s//g;
4400 "Avoid multiple line dereference - prefer '$ref'\n" . $hereprev);