Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_circulant_test.py54 def _spectrum_to_circulant_1d(self, spectrum, shape, dtype): argument
68 spectrum = _to_complex(spectrum)
81 h_convolve_x = fft_ops.ifft(spectrum * fft_x)
110 spectrum = linear_operator_test_util.random_sign_uniform(
113 spectrum = math_ops.abs(spectrum)
116 spectrum = math_ops.cast(spectrum, dtype)
118 lin_op_spectrum = spectrum
121 lin_op_spectrum = array_ops.placeholder_with_default(spectrum, shape=None)
129 mat = self._spectrum_to_circulant_1d(spectrum, shape, dtype=dtype)
136 spectrum = math_ops.cast([1., 1j, -1j], dtypes.complex64)
[all …]
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_circulant.py63 spectrum, argument
106 with ops.name_scope(name, values=[spectrum]):
107 self._spectrum = self._check_spectrum_and_return_tensor(spectrum)
110 if not self.spectrum.dtype.is_complex:
123 s_shape = array_ops.shape(self.spectrum)
127 self._spectrum_complex = _to_complex(self.spectrum)
128 self._abs_spectrum = math_ops.abs(self.spectrum)
133 graph_parents=[self.spectrum],
140 def _check_spectrum_and_return_tensor(self, spectrum): argument
142 spectrum = ops.convert_to_tensor(spectrum, name="spectrum")
[all …]
Dadjoint_registrations.py117 spectrum = circulant_operator.spectrum
118 if spectrum.dtype.is_complex:
119 spectrum = math_ops.conj(spectrum)
123 spectrum=spectrum,
Dmatmul_registrations.py247 spectrum=linop_a.spectrum * linop_b.spectrum,
Dinverse_registrations.py110 spectrum=1. / circulant_operator.spectrum,
/external/libxaac/decoder/
Dixheaacd_aac_tns.c210 VOID ixheaacd_tns_ar_filter_fixed_dec(WORD32 *spectrum, WORD32 size, WORD32 inc, in ixheaacd_tns_ar_filter_fixed_dec() argument
229 y = ixheaacd_shl32_sat((*spectrum), scale_spec); in ixheaacd_tns_ar_filter_fixed_dec()
239 *spectrum = y >> scale_spec; in ixheaacd_tns_ar_filter_fixed_dec()
240 spectrum += inc; in ixheaacd_tns_ar_filter_fixed_dec()
244 y = ixheaacd_shl32_sat((*spectrum), scale_spec); in ixheaacd_tns_ar_filter_fixed_dec()
253 *spectrum = y >> scale_spec; in ixheaacd_tns_ar_filter_fixed_dec()
254 spectrum += inc; in ixheaacd_tns_ar_filter_fixed_dec()
259 VOID ixheaacd_tns_ar_filter_fixed_non_neon_armv7(WORD32 *spectrum, WORD32 size, in ixheaacd_tns_ar_filter_fixed_non_neon_armv7() argument
278 y = ixheaacd_shl32_sat((*spectrum), scale_spec); in ixheaacd_tns_ar_filter_fixed_non_neon_armv7()
288 *spectrum = y >> scale_spec; in ixheaacd_tns_ar_filter_fixed_non_neon_armv7()
[all …]
Dixheaacd_tns.h51 VOID ixheaacd_tns_ar_filter_dec(WORD32 *spectrum, WORD32 size, WORD32 inc,
55 void ixheaacd_tns_ma_filter_fixed_ld(WORD32 *spectrum, WORD32 size, WORD32 inc,
59 VOID ixheaacd_tns_ar_filter_armv7(WORD32 *spectrum, WORD32 size, WORD32 inc,
69 VOID ixheaacd_tns_ar_filter_fixed_dec(WORD32 *spectrum, WORD32 size, WORD32 inc,
73 VOID ixheaacd_tns_ar_filter_fixed_armv7(WORD32 *spectrum, WORD32 size,
77 VOID ixheaacd_tns_ar_filter_fixed_non_neon_armv7(WORD32 *spectrum, WORD32 size,
83 VOID ixheaacd_tns_ar_filter_fixed_armv8(WORD32 *spectrum, WORD32 size,
Dixheaacd_tns.c133 static VOID ixheaacd_tns_ar_filter_usac(WORD32 *spectrum, WORD32 size, in ixheaacd_tns_ar_filter_usac() argument
150 y = *spectrum; in ixheaacd_tns_ar_filter_usac()
161 *spectrum = y; in ixheaacd_tns_ar_filter_usac()
162 spectrum += inc; in ixheaacd_tns_ar_filter_usac()
166 y = *spectrum; in ixheaacd_tns_ar_filter_usac()
176 *spectrum = y; in ixheaacd_tns_ar_filter_usac()
177 spectrum += inc; in ixheaacd_tns_ar_filter_usac()
/external/libxaac/decoder/armv7/
Dixheaacd_tns_ar_filter_fixed.s61 LDR r8 , [r0] @r8 =*spectrum
70 LDR r8 , [r0] @r8 =*spectrum
88 STR r9 , [r0], #4 @*spectrum = y@
137 LDR r8 , [r0] @r8 = y = *spectrum
146 MOV r8, r8, lsl r1 @y = (*spectrum) << scaleSpec
163 STR r9 , [r0], #4 @*spectrum = y@
165 LDRGT r8 , [r0] @r8 = y = *spectrum
172 LDR r8 , [r0] @r8 = y = *spectrum
185 MOV r8, r8, lsl r1 @y = (*spectrum) << scaleSpec
202 STR r9 , [r0], #4 @*spectrum = y@
[all …]
Dixheaacd_function_selector_arm_non_neon.c136 (WORD32 *spectrum, WORD32 size, WORD32 inc, WORD32 *lpc, WORD32 order,
141 (WORD32 *spectrum, WORD32 size, WORD32 inc, WORD16 *lpc, WORD32 order,
/external/aac/libAACenc/src/
Dtonality.cpp114 static void FDKaacEnc_CalcSfbTonality(FIXP_DBL *RESTRICT spectrum,
121 void FDKaacEnc_CalculateFullTonality(FIXP_DBL *RESTRICT spectrum, in FDKaacEnc_CalculateFullTonality() argument
133 FDKaacEnc_CalculateChaosMeasure(spectrum, numberOfLines, in FDKaacEnc_CalculateFullTonality()
157 FDKaacEnc_CalcSfbTonality(spectrum, sfbMaxScaleSpec, chaosMeasurePerLine, in FDKaacEnc_CalculateFullTonality()
175 static void FDKaacEnc_CalcSfbTonality(FIXP_DBL *RESTRICT spectrum, in FDKaacEnc_CalcSfbTonality() argument
194 FIXP_DBL tmp = (*spectrum++) << shiftBits; in FDKaacEnc_CalcSfbTonality()
Daacenc_tns.cpp553 static inline FIXP_DBL FDKaacEnc_CalcAutoCorrValue(const FIXP_DBL *spectrum, in FDKaacEnc_CalcAutoCorrValue() argument
565 result += (fPow2(spectrum[i]) >> scale); in FDKaacEnc_CalcAutoCorrValue()
569 result += (fMult(spectrum[i], spectrum[i + lag]) >> scale); in FDKaacEnc_CalcAutoCorrValue()
620 const FIXP_DBL *spectrum, const INT isLowDelay, in FDKaacEnc_MergedAutoCorrelation() argument
654 INT sc1 = FDKaacEnc_ScaleUpSpectrum(pSpectrum, spectrum, idx0, idx1); in FDKaacEnc_MergedAutoCorrelation()
655 INT sc2 = FDKaacEnc_ScaleUpSpectrum(pSpectrum, spectrum, idx1, idx2); in FDKaacEnc_MergedAutoCorrelation()
656 INT sc3 = FDKaacEnc_ScaleUpSpectrum(pSpectrum, spectrum, idx2, idx3); in FDKaacEnc_MergedAutoCorrelation()
657 INT sc4 = FDKaacEnc_ScaleUpSpectrum(pSpectrum, spectrum, idx3, idx4); in FDKaacEnc_MergedAutoCorrelation()
767 TNS_INFO *tnsInfo, INT sfbCnt, const FIXP_DBL *spectrum, in FDKaacEnc_TnsDetect() argument
808 spectrum, tC->isLowDelay, tC->acfWindow, tC->lpcStartLine, in FDKaacEnc_TnsDetect()
[all …]
Dtns_func.h116 TNS_INFO *tnsInfo, INT sfbCnt, const FIXP_DBL *spectrum,
126 const INT lowPassLine, FIXP_DBL *spectrum,
Dtonality.h109 void FDKaacEnc_CalculateFullTonality(FIXP_DBL *RESTRICT spectrum,
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator_wrapper.c61 static uint32_t BinarySpectrumFix(const uint16_t* spectrum, in BinarySpectrumFix() argument
74 if (spectrum[i] > 0) { in BinarySpectrumFix()
76 int32_t spectrum_q15 = ((int32_t) spectrum[i]) << (15 - q_domain); in BinarySpectrumFix()
84 int32_t spectrum_q15 = ((int32_t) spectrum[i]) << (15 - q_domain); in BinarySpectrumFix()
96 static uint32_t BinarySpectrumFloat(const float* spectrum, in BinarySpectrumFloat() argument
107 if (spectrum[i] > 0.0f) { in BinarySpectrumFloat()
108 threshold_spectrum[i].float_ = (spectrum[i] / 2); in BinarySpectrumFloat()
116 MeanEstimatorFloat(spectrum[i], kScale, &(threshold_spectrum[i].float_)); in BinarySpectrumFloat()
118 if (spectrum[i] > threshold_spectrum[i].float_) { in BinarySpectrumFloat()
/external/aac/libAACdec/src/
Daacdec_pns.cpp329 FIXP_DBL *spectrum = SPEC(pSpectrum, window, granuleLength); in CPns_Apply() local
342 GenerateRandomVector(spectrum + BandOffsets[band], bandWidth, in CPns_Apply()
347 noise_e = GenerateRandomVector(spectrum + BandOffsets[band], in CPns_Apply()
353 ScaleBand(spectrum + BandOffsets[band], bandWidth, in CPns_Apply()
Dconceal.cpp196 FIXP_DBL *spectrum, const SamplingRateInfo *pSamplingRateInfo,
199 static void CConcealment_InterpolateBuffer(FIXP_DBL *spectrum,
1122 FIXP_DBL *spectrum, const SamplingRateInfo *pSamplingRateInfo, in CConcealment_CalcBandEnergy() argument
1150 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy()
1168 (enAccu + (fPow2Div2(*(spectrum + line)) >> sfbScale)) >> 3; in CConcealment_CalcBandEnergy()
1190 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy()
1207 enAccu += fPow2Div2(*(spectrum + (line >> 3))) >> sfbScale; in CConcealment_CalcBandEnergy()
1222 static void CConcealment_InterpolateBuffer(FIXP_DBL *spectrum, in CConcealment_InterpolateBuffer() argument
1241 accu = fMult(*(spectrum + line), facMod4Table[fac_mod]); in CConcealment_InterpolateBuffer()
1247 *(spectrum + line) = accu; in CConcealment_InterpolateBuffer()
/external/adhd/scripts/mic_testing/frontend/
Danalysis.js43 return fft.spectrum;
294 this.drawCurve(fftLeft.spectrum, "#FF0000", sampleRate);
295 this.drawCurve(fftRight.spectrum, "#00FF00", sampleRate);
369 this.spectrum = new Float32Array(bufferSize/2);
410 spectrum = this.spectrum;
474 spectrum[i] = 2 * Math.sqrt(real[i] * real[i] + imag[i] * imag[i]) /
/external/skia/gm/
Dall_bitmap_configs.cpp48 uint8_t spectrum[256]; in make_bitmap() local
50 spectrum[y] = y; in make_bitmap()
54 memcpy(bm.getAddr8(0, y), &spectrum[y], 128); in make_bitmap()
/external/skqp/gm/
Dall_bitmap_configs.cpp48 uint8_t spectrum[256]; in make_bitmap() local
50 spectrum[y] = y; in make_bitmap()
54 memcpy(bm.getAddr8(0, y), &spectrum[y], 128); in make_bitmap()
/external/eigen/unsupported/Eigen/
DFFT40 * half-spectrum for real FFT.
57 * 2) Real FFT half-spectrum
58 * Other libraries use only half the frequency spectrum (plus one extra
64 * How Eigen/FFT differs: The full spectrum is returned from the forward
67 * transform, only half the spectrum is actually used if the output type is real.
392 // create the implicit right-half spectrum (conjugate-mirror of the left-half)
/external/aac/libArithCoding/include/
Dac_arith_coder.h139 FIXP_DBL *RESTRICT spectrum, int lg,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.linalg.-linear-operator-circulant3-d.pbtxt64 name: "spectrum"
73 …argspec: "args=[\'self\', \'spectrum\', \'input_output_dtype\', \'is_non_singular\', \'is_self_adj…
Dtensorflow.linalg.-linear-operator-circulant2-d.pbtxt64 name: "spectrum"
73 …argspec: "args=[\'self\', \'spectrum\', \'input_output_dtype\', \'is_non_singular\', \'is_self_adj…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.linalg.-linear-operator-circulant3-d.pbtxt64 name: "spectrum"
73 …argspec: "args=[\'self\', \'spectrum\', \'input_output_dtype\', \'is_non_singular\', \'is_self_adj…

12