/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Blur25.java | 32 private ScriptIntrinsicBlur mIntrinsic; field in Blur25 59 mIntrinsic.setRadius(mRadius); in onBar1Changed() 71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest() 72 mIntrinsic.setRadius(MAX_RADIUS); in createTest() 73 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 95 mIntrinsic.forEach(mOutPixelsAllocation); in runTest() 105 mIntrinsic.setRadius(MAX_RADIUS); in setupBenchmark() 113 mIntrinsic.setRadius(mRadius); in exitBenchmark()
|
D | Blur25G.java | 37 private ScriptIntrinsicBlur mIntrinsic; field in Blur25G 59 mIntrinsic.setRadius(mRadius); in onBar1Changed() 76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS)); in createTest() 77 mIntrinsic.setRadius(MAX_RADIUS); in createTest() 78 mIntrinsic.setInput(mScratchPixelsAllocation1); in createTest() 82 mIntrinsic.forEach(mScratchPixelsAllocation2); in runTest() 86 mIntrinsic.setRadius(MAX_RADIUS); in setupBenchmark() 90 mIntrinsic.setRadius(mRadius); in exitBenchmark()
|
D | CrossProcess.java | 28 private ScriptIntrinsicLUT mIntrinsic; field in CrossProcess 31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS)); in createTest() 42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f)); in createTest() 51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest() 54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f)); in createTest() 60 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
D | ColorMatrix.java | 33 private ScriptIntrinsicColorMatrix mIntrinsic; field in ColorMatrix 49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in createTest() 51 mIntrinsic.setGreyscale(); in createTest() 53 mIntrinsic.setColorMatrix(m); in createTest() 63 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
D | Convolve3x3.java | 33 private ScriptIntrinsicConvolve3x3 mIntrinsic; field in Convolve3x3 53 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in createTest() 54 mIntrinsic.setCoefficients(f); in createTest() 55 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 67 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Convolve5x5.java | 33 private ScriptIntrinsicConvolve5x5 mIntrinsic; field in Convolve5x5 67 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS)); in createTest() 68 mIntrinsic.setCoefficients(f); in createTest() 69 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 81 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Resize.java | 33 private ScriptIntrinsicResize mIntrinsic; field in Resize 68 mIntrinsic = ScriptIntrinsicResize.create(mRS); in createTest() 69 mIntrinsic.setInput(mScratchAllocation); in createTest() 74 mIntrinsic.forEach_bicubic(mOutPixelsAllocation); in runTest()
|
D | ColorCube.java | 35 private ScriptIntrinsic3DLUT mIntrinsic; field in ColorCube 72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS)); in createTest() 76 mIntrinsic.setLUT(mCube); in createTest() 81 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | CrossProcess.java | 25 private ScriptIntrinsicLUT mIntrinsic; field in CrossProcess 28 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS)); in createTest() 39 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f)); in createTest() 48 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest() 51 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f)); in createTest() 57 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
D | ColorMatrix.java | 26 private ScriptIntrinsicColorMatrix mIntrinsic; field in ColorMatrix 42 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in createTest() 44 mIntrinsic.setGreyscale(); in createTest() 46 mIntrinsic.setColorMatrix(m); in createTest() 63 mIntrinsic.setColorMatrix(m); in animateBars() 72 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
D | Blur25G.java | 31 private ScriptIntrinsicBlur mIntrinsic; field in Blur25G 53 mIntrinsic.setRadius(mRadius); in onBar1Changed() 70 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS)); in createTest() 71 mIntrinsic.setRadius(MAX_RADIUS); in createTest() 72 mIntrinsic.setInput(mScratchPixelsAllocation1); in createTest() 76 mIntrinsic.forEach(mScratchPixelsAllocation2); in runTest()
|
D | Convolve3x3.java | 26 private ScriptIntrinsicConvolve3x3 mIntrinsic; field in Convolve3x3 57 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in createTest() 58 mIntrinsic.setCoefficients(f); in createTest() 59 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 72 mIntrinsic.setCoefficients(f); in animateBars() 80 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Blur25.java | 28 private ScriptIntrinsicBlur mIntrinsic; field in Blur25 55 mIntrinsic.setRadius(mRadius); in onBar1Changed() 67 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest() 68 mIntrinsic.setRadius(MAX_RADIUS); in createTest() 69 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 91 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Convolve5x5.java | 26 private ScriptIntrinsicConvolve5x5 mIntrinsic; field in Convolve5x5 76 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS)); in createTest() 77 mIntrinsic.setCoefficients(f); in createTest() 78 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 91 mIntrinsic.setCoefficients(f); in animateBars() 99 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | ColorCube.java | 27 private ScriptIntrinsic3DLUT mIntrinsic; field in ColorCube 64 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS)); in createTest() 68 mIntrinsic.setLUT(mCube); in createTest() 73 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | CrossProcess.java | 28 private ScriptIntrinsicLUT mIntrinsic; field in CrossProcess 31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS)); in createTest() 42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f)); in createTest() 51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f)); in createTest() 54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f)); in createTest() 60 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
D | ColorMatrix.java | 33 private ScriptIntrinsicColorMatrix mIntrinsic; field in ColorMatrix 49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in createTest() 51 mIntrinsic.setGreyscale(); in createTest() 53 mIntrinsic.setColorMatrix(m); in createTest() 70 mIntrinsic.setColorMatrix(m); in animateBars() 79 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
D | Blur25G.java | 37 private ScriptIntrinsicBlur mIntrinsic; field in Blur25G 59 mIntrinsic.setRadius(mRadius); in onBar1Changed() 76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS)); in createTest() 77 mIntrinsic.setRadius(MAX_RADIUS); in createTest() 78 mIntrinsic.setInput(mScratchPixelsAllocation1); in createTest() 82 mIntrinsic.forEach(mScratchPixelsAllocation2); in runTest()
|
D | Convolve3x3.java | 33 private ScriptIntrinsicConvolve3x3 mIntrinsic; field in Convolve3x3 64 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in createTest() 65 mIntrinsic.setCoefficients(f); in createTest() 66 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 79 mIntrinsic.setCoefficients(f); in animateBars() 87 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Blur25.java | 32 private ScriptIntrinsicBlur mIntrinsic; field in Blur25 59 mIntrinsic.setRadius(mRadius); in onBar1Changed() 71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest() 72 mIntrinsic.setRadius(MAX_RADIUS); in createTest() 73 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 95 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Convolve5x5.java | 33 private ScriptIntrinsicConvolve5x5 mIntrinsic; field in Convolve5x5 83 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS)); in createTest() 84 mIntrinsic.setCoefficients(f); in createTest() 85 mIntrinsic.setInput(mInPixelsAllocation); in createTest() 98 mIntrinsic.setCoefficients(f); in animateBars() 106 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
|
D | Resize.java | 33 private ScriptIntrinsicResize mIntrinsic; field in Resize 68 mIntrinsic = ScriptIntrinsicResize.create(mRS); in createTest() 69 mIntrinsic.setInput(mScratchAllocation); in createTest() 74 mIntrinsic.forEach_bicubic(mOutPixelsAllocation); in runTest()
|
D | ColorCube.java | 35 private ScriptIntrinsic3DLUT mIntrinsic; field in ColorCube 72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS)); in createTest() 76 mIntrinsic.setLUT(mCube); in createTest() 81 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation); in runTest()
|
/frameworks/rs/api/ |
D | Specification.h | 354 bool mIntrinsic; // Compiler intrinsic that is lowered to an internal API. variable 405 mIntrinsic(false), mReturn(nullptr) {} in FunctionSpecification() 410 bool isIntrinsic() const { return mIntrinsic; } in isIntrinsic()
|
D | Specification.cpp | 632 spec->mIntrinsic = (scanner->getValue() == "true"); in scanFunctionSpecification()
|