Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_circulant.py59 spectrum, argument
102 with ops.name_scope(name, values=[spectrum]):
103 self._spectrum = self._check_spectrum_and_return_tensor(spectrum)
106 if not self.spectrum.dtype.is_complex:
126 self._set_graph_parents([self.spectrum])
128 def _check_spectrum_and_return_tensor(self, spectrum): argument
130 spectrum = linear_operator_util.convert_nonref_to_tensor(spectrum,
133 if spectrum.shape.ndims is not None:
134 if spectrum.shape.ndims < self.block_depth:
137 (self.block_depth, spectrum))
[all …]
Dadjoint_registrations.py118 spectrum = circulant_operator.spectrum
119 if spectrum.dtype.is_complex:
120 spectrum = math_ops.conj(spectrum)
124 spectrum=spectrum,
Dsolve_registrations.py182 spectrum=linop_b.spectrum / linop_a.spectrum,
Dmatmul_registrations.py210 spectrum=linop_a.spectrum * linop_b.spectrum,
Dinverse_registrations.py214 spectrum=1. / circulant_operator.spectrum,
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_circulant_test.py69 def _spectrum_to_circulant_1d(self, spectrum, shape, dtype): argument
83 spectrum = _to_complex(spectrum)
95 fft_x = fft_ops.fft(math_ops.cast(x, spectrum.dtype))
96 h_convolve_x = fft_ops.ifft(spectrum * fft_x)
125 spectrum = linear_operator_test_util.random_sign_uniform(
130 spectrum = math_ops.abs(spectrum)
133 spectrum = math_ops.cast(spectrum, dtype)
135 lin_op_spectrum = spectrum
138 lin_op_spectrum = array_ops.placeholder_with_default(spectrum, shape=None)
146 mat = self._spectrum_to_circulant_1d(spectrum, shape, dtype=dtype)
[all …]
/external/libxaac/decoder/
Dixheaacd_aac_tns.c201 VOID ixheaacd_tns_ar_filter_fixed_dec(WORD32 *spectrum, WORD32 size, WORD32 inc, in ixheaacd_tns_ar_filter_fixed_dec() argument
220 y = ixheaacd_shl32_sat((*spectrum), scale_spec); in ixheaacd_tns_ar_filter_fixed_dec()
230 *spectrum = y >> scale_spec; in ixheaacd_tns_ar_filter_fixed_dec()
231 spectrum += inc; in ixheaacd_tns_ar_filter_fixed_dec()
235 y = ixheaacd_shl32_sat((*spectrum), scale_spec); in ixheaacd_tns_ar_filter_fixed_dec()
244 *spectrum = y >> scale_spec; in ixheaacd_tns_ar_filter_fixed_dec()
245 spectrum += inc; in ixheaacd_tns_ar_filter_fixed_dec()
250 VOID ixheaacd_tns_ar_filter_fixed_non_neon_armv7(WORD32 *spectrum, WORD32 size, in ixheaacd_tns_ar_filter_fixed_non_neon_armv7() argument
269 y = ixheaacd_shl32_sat((*spectrum), scale_spec); in ixheaacd_tns_ar_filter_fixed_non_neon_armv7()
279 *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()
Dtns_func.h116 TNS_INFO *tnsInfo, INT sfbCnt, const FIXP_DBL *spectrum,
126 const INT lowPassLine, FIXP_DBL *spectrum,
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 …]
Dtonality.h109 void FDKaacEnc_CalculateFullTonality(FIXP_DBL *RESTRICT spectrum,
/external/u-boot/doc/device-tree-bindings/clock/
Dti,cdce9xx.txt29 spectrum clocking parameters for a board.
30 - spread-spectrum: SSC mode as defined in the data sheet.
31 - spread-spectrum-center: Use "centered" mode instead of "max" mode. When
46 spread-spectrum = <4>;
47 spread-spectrum-center;
/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,
1124 FIXP_DBL *spectrum, const SamplingRateInfo *pSamplingRateInfo, in CConcealment_CalcBandEnergy() argument
1152 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy()
1170 (enAccu + (fPow2Div2(*(spectrum + line)) >> sfbScale)) >> 3; in CConcealment_CalcBandEnergy()
1192 enAccu += fPow2Div2(*(spectrum + line)) >> sfbScale; in CConcealment_CalcBandEnergy()
1209 enAccu += fPow2Div2(*(spectrum + (line >> 3))) >> sfbScale; in CConcealment_CalcBandEnergy()
1224 static void CConcealment_InterpolateBuffer(FIXP_DBL *spectrum, in CConcealment_InterpolateBuffer() argument
1243 FIXP_DBL accu = fMult(*(spectrum + line), facMod4Table[fac_mod]); in CConcealment_InterpolateBuffer()
1244 *(spectrum + line) = scaleValue(accu, fac_shift); 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/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/skia/gm/
Dall_bitmap_configs.cpp62 uint8_t spectrum[256]; in make_bitmap() local
64 spectrum[y] = y; in make_bitmap()
68 memcpy(bm.getAddr8(0, y), &spectrum[y], 128); in make_bitmap()
/external/aac/libArithCoding/include/
Dac_arith_coder.h139 FIXP_DBL *RESTRICT spectrum, int lg,
/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/libFDK/include/
Dmdct.h245 INT imlt_block(H_MDCT hMdct, FIXP_DBL *output, FIXP_DBL *spectrum,

123