Home
last modified time | relevance | path

Searched refs:mIntrinsic (Results 1 – 25 of 25) sorted by relevance

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DCrossProcess.java25 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()
DColorMatrix.java26 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()
DBlur25G.java31 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()
DConvolve3x3.java26 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()
DBlur25.java28 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()
DConvolve5x5.java26 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()
DColorCube.java27 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/tests/java_api/ImageProcessing/src/com/android/rs/image/
DBlur25.java32 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()
DCrossProcess.java28 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()
DBlur25G.java37 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()
DColorMatrix.java33 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()
DConvolve3x3.java33 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()
DConvolve5x5.java33 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()
DResize.java33 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()
DColorCube.java35 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DCrossProcess.java28 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()
DColorMatrix.java33 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()
DBlur25G.java37 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()
DConvolve3x3.java33 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()
DConvolve5x5.java33 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()
DBlur25.java33 private ScriptIntrinsicBlur mIntrinsic; field in Blur25
62 mIntrinsic.setRadius(mRadius); in onBar1Changed()
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in createTest()
77 mIntrinsic.setRadius(MAX_RADIUS); in createTest()
78 mIntrinsic.setInput(mInPixelsAllocation); in createTest()
116 mIntrinsic.forEach(mOutPixelsAllocation); in runTest()
DResize.java33 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()
DColorCube.java35 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/script_api/
DSpecification.h356 bool mIntrinsic; // Compiler intrinsic that is lowered to an internal API. variable
407 mIntrinsic(false), mReturn(nullptr) {} in FunctionSpecification()
412 bool isIntrinsic() const { return mIntrinsic; } in isIntrinsic()
DSpecification.cpp636 spec->mIntrinsic = (scanner->getValue() == "true"); in scanFunctionSpecification()