Searched refs:phi (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/tests/audiotests/ |
D | shared_mem_test.cpp | 78 unsigned long phi; in Test01() local 87 phi = 0; in Test01() 88 Generate(smpBuf, BUF_SZ, amplitude, phi, dPhi); // fill buffer in Test01() 134 void AudioTrackTest::Generate(short *buffer, long bufferSz, long amplitude, unsigned long &phi, lon… in Generate() argument 138 buffer[i0] = ComputeSine( amplitude, phi); in Generate() 139 phi += dPhi; in Generate() 149 short AudioTrackTest::ComputeSine(long amplitude, long phi) in ComputeSine() argument 155 sample = (amplitude*sin1024[(phi>>22) & 0x3ff]) >> 15; in ComputeSine() 157 l0 = (phi>>12) & 0x3ff; // 2^20 * x / (2*pi) in ComputeSine() 158 l1 = (amplitude*sin1024[((phi>>22) + 256) & 0x3ff]) >> 15; // 2^15*cosine in ComputeSine() [all …]
|
D | shared_mem_test.h | 16 void Generate(short *buffer, long bufferSz, long amplitude, unsigned long &phi, long dPhi); 18 short ComputeSine(long amplitude, long phi);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | KalmanFilterTest.java | 85 double phi = mStepSizeRadians * i; in idealSignal() local 87 phi = phi + Math.PI * .75; in idealSignal() 89 return mAmplitude * Math.sin(phi); in idealSignal()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | mandelbulb.rscript | 29 float phi = atan2(p.y, p.x); 32 out.x = sin(n * theta) * cos(n * phi); 33 out.y = sin(n * theta) * sin(n * phi);
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | tbaa-through-alloca.ll | 28 %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %1 ]
|
D | test_reduce_general_metadata.ll | 258 %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %2 ] 286 %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next, %8 ] 287 %mode.01 = phi i32 [ 0, %0 ], [ %i.0.mode.0, %8 ]
|
D | test_reduce_general_cleanup.ll | 278 %i.01 = phi i32 [ 0, %0 ], [ %8, %2 ] 305 %i.02 = phi i32 [ 1, %0 ], [ %13, %7 ] 306 %mode.01 = phi i32 [ 0, %0 ], [ %i.0.mode.0, %7 ]
|