Home
last modified time | relevance | path

Searched refs:mImag (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspFftServer.java71 t1 = r.mImag[ii]; in fft()
72 r.mImag[ii] = r.mImag[jj]; in fft()
73 r.mImag[jj] = t1; in fft()
90 t1 = cc * r.mReal[kk + n1] - ss * r.mImag[kk + n1]; in fft()
91 t2 = ss * r.mReal[kk + n1] + cc * r.mImag[kk + n1]; in fft()
93 r.mImag[kk + n1] = r.mImag[kk] - t2; in fft()
95 r.mImag[kk] = r.mImag[kk] + t2; in fft()
DDspBufferMath.java79 ((DspBufferComplex) r).mImag[i] = 0; in add()
86 ((DspBufferComplex) r).mImag[i] = in add()
87 ((DspBufferComplex) x).mImag[i] + ((DspBufferComplex) y).mImag[i]; in add()
94 ((DspBufferComplex) r).mImag[i] = ((DspBufferComplex) x).mImag[i]; in add()
151 ((DspBufferComplex) r).mImag[i] = 0; in mult()
157 double B = ((DspBufferComplex) x).mImag[i]; in mult()
159 double D = ((DspBufferComplex) y).mImag[i]; in mult()
161 ((DspBufferComplex) r).mImag[i] = (C * B) + (A * D); in mult()
167 double B = ((DspBufferComplex) x).mImag[i]; in mult()
171 ((DspBufferComplex) r).mImag[i] = C * B; in mult()
[all …]
DDspBufferComplex.java21 public double[] mImag; field in DspBufferComplex
33 mImag = new double[size]; in setSize()
41 mImag[index] = values[1]; in setValues()
47 mImag[index] = 0; in setValue()
56 sb.append(String.format("(%.3f, %3f) ", mReal[i], mImag[i])); in toString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyLineActivity.java660 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()
DAudioFrequencySpeakerActivity.java676 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()
DAudioFrequencyMicActivity.java809 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()
DAudioFrequencyUnprocessedActivity.java1121 halfMagnitude[i] = Math.sqrt(mC.mReal[i] * mC.mReal[i] + mC.mImag[i] * mC.mImag[i]); in onPeriodicNotification()