/sof-2.7.6/src/audio/pcm_converter/ |
D | pcm_converter_hifi3.c | 52 ae_int16 *in = audio_stream_read_frag(source, ioffset, sizeof(int16_t)); in pcm_convert_s16_to_s24() local 65 while (!IS_ALIGNED((uintptr_t)in, 8)) { in pcm_convert_s16_to_s24() 70 AE_L16_XC(sample, in, sizeof(ae_int16)); in pcm_convert_s16_to_s24() 83 in16x4 = (ae_int16x4 *)in; in pcm_convert_s16_to_s24() 109 in = (ae_int16 *)in16x4; in pcm_convert_s16_to_s24() 117 AE_L16_XC(sample, in, sizeof(ae_int16)); in pcm_convert_s16_to_s24() 157 ae_int32x2 *in = audio_stream_read_frag(source, ioffset, in pcm_convert_s24_to_s16() local 173 if (!IS_ALIGNED((uintptr_t)in, 8)) { in pcm_convert_s24_to_s16() 178 AE_L32_XC(sample_1, (ae_int32 *)in, sizeof(ae_int32)); in pcm_convert_s24_to_s16() 200 AE_L32X2_XC(sample_1, in, sizeof(ae_int32x2)); in pcm_convert_s24_to_s16() [all …]
|
/sof-2.7.6/src/math/ |
D | iir_df2t_generic.c | 49 int32_t in; in iir_df2t() local 63 in = x; in iir_df2t() 70 acc = ((int64_t)iir->coef[c + 4]) * in + iir->delay[d]; /* Coef b0 */ in iir_df2t() 75 acc += ((int64_t)iir->coef[c + 3]) * in; /* Coef b1 */ in iir_df2t() 80 acc = ((int64_t)iir->coef[c + 2]) * in; /* Coef b2 */ in iir_df2t() 93 in = sat_int32(acc); in iir_df2t() 102 out = sat_int32((int64_t)out + in); in iir_df2t()
|
D | iir_df2t_hifi3.c | 57 ae_f32 in; in iir_df2t() local 74 in = x; in iir_df2t() 91 AE_MULAF32R_HH(acc, coef_b0shift, in); /* Coef b0 */ in iir_df2t() 98 AE_MULAF32R_LL(acc, coef_b2b1, in); /* Coef b1 */ in iir_df2t() 105 acc = AE_MULF32R_HH(coef_b2b1, in); /* Coef b2 */ in iir_df2t() 119 in = AE_ROUND32F48SSYM(acc); in iir_df2t() 129 out = AE_F32_ADDS_F32(out, in); in iir_df2t()
|
/sof-2.7.6/src/audio/drc/ |
D | drc_math_hifi3.c | 147 ae_f32 in = x; /* Q2.30 */ in drc_asin_fixed() local 154 in2 = drc_mult_lshift(in, in, lshift); in drc_asin_fixed() 156 if (ABS((int32_t)in) <= ONE_OVER_SQRT2_Q30) { in drc_asin_fixed() 177 acc = drc_mult_lshift(acc, in, lshift); in drc_asin_fixed() 193 ae_f32 in; in drc_inv_fixed() local 200 in = rexp_fixed(x, precision_x, &e); /* Q2.30 */ in drc_inv_fixed() 202 if (ABS((int32_t)in) < ONE_OVER_SQRT2_Q30) { in drc_inv_fixed() 204 in = drc_mult_lshift(in, SQRT2_Q30, lshift); in drc_inv_fixed() 209 acc = drc_mult_lshift(INV_FUNC_A5_Q25, in, lshift); in drc_inv_fixed() 211 acc = drc_mult_lshift(acc, in, lshift); in drc_inv_fixed() [all …]
|
/sof-2.7.6/tools/tune/drc/ |
D | example_drc.m | 16 % threshold: The value above which the compression starts, in dB 18 % knee: The value above which the knee region starts, in dB 22 % attack: The time to reduce the gain by 10dB, in seconds 24 % release: The time to increase the gain by 10dB, in seconds 26 % pre_delay: The lookahead time for the compressor, in seconds 30 % release_spacing: The value of spacing per frame while releasing, in dB 32 % post_gain: The static boost value in output, in dB 51 % Plot x-y response in dB
|
/sof-2.7.6/tools/tune/multiband_drc/ |
D | example_multiband_drc.m | 26 % anchor: The frequency of the first emphasis filter, in normalized frequency 27 % (in [0, 1], relative to half of the sample rate) 32 % threshold: The value above which the compression starts, in dB 33 % knee: The value above which the knee region starts, in dB 35 % attack: The time to reduce the gain by 10dB, in seconds 36 % release: The time to increase the gain by 10dB, in seconds 37 % pre_delay: The lookahead time for the compressor, in seconds 39 % release_spacing: The value of spacing per frame while releasing, in dB 40 % post_gain: The static boost value in output, in dB 41 % band_lower_freq: The lower frequency of the band, in normalized frequency [all …]
|
/sof-2.7.6/tools/topology/topology1/m4/ |
D | debug.m4 | 18 …D dai_index $2 should match the member (index) in struct dai array (firmware platform specific, us… 22 …int(/* note: $1 DAI CONFIG id $2 should match the member (id) in struct snd_soc_dai_link in kernel…
|
/sof-2.7.6/src/audio/tdfb/ |
D | tdfb_generic.c | 46 cd->in[i] = *x << 16; in tdfb_fir_s16() 60 y0 = fir_32x16(filter, cd->in[is]) >> 4; in tdfb_fir_s16() 61 y1 = fir_32x16(filter, cd->in[is2]) >> 4; in tdfb_fir_s16() 109 cd->in[i] = *x << 8; in tdfb_fir_s24() 123 y0 = fir_32x16(filter, cd->in[is]) >> 4; in tdfb_fir_s24() 124 y1 = fir_32x16(filter, cd->in[is2]) >> 4; in tdfb_fir_s24() 172 cd->in[i] = *x; in tdfb_fir_s32() 186 y0 = fir_32x16(filter, cd->in[is]) >> 4; in tdfb_fir_s32() 187 y1 = fir_32x16(filter, cd->in[is2]) >> 4; in tdfb_fir_s32()
|
D | tdfb_hifiep.c | 49 cd->in[i] = *x << 16; in tdfb_fir_s16() 62 fir_32x16_2x_hifiep(f, cd->in[is], cd->in[is2], in tdfb_fir_s16() 114 cd->in[i] = *x << 8; in tdfb_fir_s24() 127 fir_32x16_2x_hifiep(f, cd->in[is], cd->in[is2], in tdfb_fir_s24() 179 cd->in[i] = *x; in tdfb_fir_s32() 192 fir_32x16_2x_hifiep(f, cd->in[is], cd->in[is2], in tdfb_fir_s32()
|
D | tdfb_hifi3.c | 48 cd->in[i] = (ae_int32)AE_CVT32X2F16_32(d); in tdfb_fir_s16() 63 fir_32x16_2x_hifi3(f, cd->in[is], cd->in[is2], &y0, &y1, in tdfb_fir_s16() 120 cd->in[i] = AE_SLAI32(d, 8); in tdfb_fir_s24() 134 fir_32x16_2x_hifi3(f, cd->in[is], cd->in[is2], &y0, &y1, in tdfb_fir_s24() 191 cd->in[i] = d; in tdfb_fir_s32() 205 fir_32x16_2x_hifi3(f, cd->in[is], cd->in[is2], &y0, &y1, in tdfb_fir_s32()
|
/sof-2.7.6/tools/scripts/ |
D | cross-arch64.cmake | 4 # This can be used when running cmake in the following way: 18 # search programs in the host environment only. 21 # Search headers and libraries in the target environment only.
|
/sof-2.7.6/tools/ |
D | README.md | 18 searching log entries in *.ldc file generated by smex. 20 Every entry declared in FW is placed in elf output file (e.g. sof-apl) in 21 .static_log_entries section in a form of struct defined in 22 sof/src/include/sof/trace.h in sof fw repo. 24 *.ldc file contains `snd_sof_logs_header` (defined in 31 FW dma_trace mechanism and searching suitable entry in *.ldc file by its 48 -c Set timestamp clock in MHz 53 -s state_name Take a snapshot of state. Save the debugfs entries in 103 `c` flag is intended for defining clock value (in MHz) used to format log 124 -l COLUMNCOUNT set how many colums to group the output in [all …]
|
/sof-2.7.6/src/audio/volume/ |
D | volume_hifi3.c | 55 ae_int32 *in = (ae_int32 *)source->r_ptr; in vol_s24_to_s24_s32() local 66 AE_L32_XC(in_sample, in, sizeof(ae_int32)); in vol_s24_to_s24_s32() 116 ae_int32 *in = (ae_int32 *)source->r_ptr; in vol_s32_to_s24_s32() local 127 AE_L32_XC(in_sample, in, sizeof(ae_int32)); in vol_s32_to_s24_s32() 175 ae_int16 *in = (ae_int16 *)source->r_ptr; in vol_s16_to_s16() local 186 AE_L16_XC(in_sample, in, sizeof(ae_int16)); in vol_s16_to_s16()
|
/sof-2.7.6/src/audio/eq_fir/ |
D | eq_fir_hifi3.c | 87 ae_int32x2 in = 0; in eq_fir_s32() local 113 AE_L32_XC(in, src, sizeof(int32_t)); in eq_fir_s32() 120 AE_L32_XC(in, snk, sizeof(int32_t)); in eq_fir_s32() 125 AE_L32_XC(in, x, inc); in eq_fir_s32() 129 fir_32x16_hifi3(f, in, &out, shift); in eq_fir_s32() 208 ae_int32 in; in eq_fir_s24() local 250 in = AE_SLAA32(d, 8); in eq_fir_s24() 254 fir_32x16_hifi3(f, in, &out, shift); in eq_fir_s24() 339 ae_int32 in; in eq_fir_s16() local 378 in = AE_CVT32X2F16_32(d); in eq_fir_s16() [all …]
|
/sof-2.7.6/src/include/sof/audio/crossover/ |
D | crossover.h | 75 typedef void (*crossover_split)(int32_t in, int32_t out[], 148 static inline int32_t crossover_generic_process_lr4(int32_t in, in crossover_generic_process_lr4() argument 152 return iir_df2t(lr4, in); in crossover_generic_process_lr4()
|
/sof-2.7.6/tools/test/audio/std_utils/ |
D | aip_test_input.m | 12 % t.bits_in - number of bits in signal 14 % t.nch - total number of channels in data 19 % t.f - frequencies in sweep 21 % t.tl - tone length in seconds 23 % t.tr - tone gain ramp length in seconds 27 % t.mark_t - length of marker tone in seconds 36 % Redistribution and use in source and binary forms, with or without 40 % * Redistributions in binary form must reproduce the above copyright 41 % notice, this list of conditions and the following disclaimer in the
|
D | aap_test_input.m | 12 % t.bits_in - number of bits in signal 14 % t.nch - total number of channels in data 19 % t.f - frequencies in sweep 21 % t.tl - tone length in seconds 23 % t.tr - tone gain ramp length in seconds 27 % t.mark_t - length of marker tone in seconds 36 % Redistribution and use in source and binary forms, with or without 40 % * Redistributions in binary form must reproduce the above copyright 41 % notice, this list of conditions and the following disclaimer in the
|
D | dr_test_input.m | 12 % t.nch - total number of channels in data 18 % t.tl - tone length in seconds 20 % t.tr - tone gain ramp length in seconds 24 % t.mark_t - length of marker tone in seconds 33 % Redistribution and use in source and binary forms, with or without 37 % * Redistributions in binary form must reproduce the above copyright 38 % notice, this list of conditions and the following disclaimer in the
|
D | stdlpf_get.m | 20 % Redistribution and use in source and binary forms, with or without 24 % * Redistributions in binary form must reproduce the above copyright 25 % notice, this list of conditions and the following disclaimer in the 47 rp = 0.001; % Since this may need to be in frequency response measurement the ripple must be very s… 52 % in specification.
|
/sof-2.7.6/tools/tune/eq/ |
D | eq_align.m | 14 % offs - offset (gain) in decibels used 15 % p - index of f_align in f 22 % Redistribution and use in source and binary forms, with or without 26 % * Redistributions in binary form must reproduce the above copyright 27 % notice, this list of conditions and the following disclaimer in the
|
D | eq_norm.m | 7 % Redistribution and use in source and binary forms, with or without 11 % * Redistributions in binary form must reproduce the above copyright 12 % notice, this list of conditions and the following disclaimer in the 82 % Provides frequency weight that is useful in normalization of 91 % an implementation of it. This weight may help in avoiding a designed EQ to 92 % exceed safe playback levels in othervise compliant device. 94 % Input f - frequencies vector in Hz 96 % Output w_lin - weight curve, aligned to peak of 1.0 in the requested f
|
D | eq_iir_blob_quant.m | 19 % Redistribution and use in source and binary forms, with or without 23 % * Redistributions in binary form must reproduce the above copyright 24 % notice, this list of conditions and the following disclaimer in the 57 % available word length in EQ in SOF. This poles and zeros allocation to 58 % biquads is base only in ascending sort of angular frequency. 87 n_section_header = 6; % Two plus reserved[4] in ABI 91 iir_resp(2) = nbr_sections; % Note: All sections in series
|
D | eq_fir_blob_merge.m | 15 % Redistribution and use in source and binary forms, with or without 19 % * Redistributions in binary form must reproduce the above copyright 20 % notice, this list of conditions and the following disclaimer in the 42 error("Incorrect length in EQ assign vector!");
|
/sof-2.7.6/tools/tune/src/ |
D | src_param.m | 17 % Redistribution and use in source and binary forms, with or without 21 % * Redistributions in binary form must reproduce the above copyright 22 % notice, this list of conditions and the following disclaimer in the 62 cnv.rs = 70; % Stopband attenuation in dB 63 cnv.rp = 0.1; % Passband ripple in dB 64 cnv.rp_tot = 0.1; % Max +/- passband ripple allowed, used in test script only 65 cnv.gain = -1; % Gain in decibels at 0 Hz
|
/sof-2.7.6/tools/test/audio/test_utils/ |
D | chirp_test_input.m | 12 % t.nch - total number of channels in data 18 % t.tl - tone length in seconds 20 % t.tr - tone gain ramp length in seconds 24 % t.mark_t - length of marker tone in seconds 33 % Redistribution and use in source and binary forms, with or without 37 % * Redistributions in binary form must reproduce the above copyright 38 % notice, this list of conditions and the following disclaimer in the
|