Searched refs:phi (Results 1 – 8 of 8) 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/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/native/libs/input/ |
D | MotionPredictor.cpp | 58 const TfLiteMotionPredictorSample::Point& axisTo, float r, float phi) { in convertPrediction() argument 61 const float x_delta = r * std::cos(axis_phi + phi); in convertPrediction() 62 const float y_delta = r * std::sin(axis_phi + phi); in convertPrediction()
|
D | TfLiteMotionPredictor.cpp | 218 float phi = 0; in pushSample() local 233 phi = std::atan2(v.y, v.x) - axisPhi; in pushSample() 249 mInputPhi.pushBack(phi); in pushSample()
|
/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 ]
|