Home
last modified time | relevance | path

Searched refs:mGFlop (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp312 int halfKX = (mGFlop.kernelXSize / 2); in GflopKernelC()
313 for (int x = halfKX; x < (mGFlop.imageXSize - halfKX - 1); x++) { in GflopKernelC()
314 const float * krnPtr = mGFlop.kernelBuffer; in GflopKernelC()
317 int srcInc = mGFlop.imageXSize - mGFlop.kernelXSize; in GflopKernelC()
318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX]; in GflopKernelC()
320 for (int ix = 0; ix < mGFlop.kernelXSize; ix++) { in GflopKernelC()
326 float * dstPtr = &mGFlop.dstBuffer[x]; in GflopKernelC()
349 mGFlop.kernelXSize = 27; in runGFlopsTest()
350 mGFlop.imageXSize = 1024 * 1024; in runGFlopsTest()
352 mGFlop.srcBuffer = (float *)malloc(mGFlop.imageXSize * sizeof(float)); in runGFlopsTest()
[all …]
DBench.h45 GFlop mGFlop; variable