HomeSort by relevance Sort by last modified time
    Searched refs:mIntrinsic (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
CrossProcess.java 28 private ScriptIntrinsicLUT mIntrinsic;
31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));
60 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
ColorMatrix.java 33 private ScriptIntrinsicColorMatrix mIntrinsic;
49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
51 mIntrinsic.setGreyscale();
53 mIntrinsic.setColorMatrix(m);
63 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
Convolve3x3.java 33 private ScriptIntrinsicConvolve3x3 mIntrinsic;
53 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
54 mIntrinsic.setCoefficients(f);
55 mIntrinsic.setInput(mInPixelsAllocation);
67 mIntrinsic.forEach(mOutPixelsAllocation);
Blur25.java 32 private ScriptIntrinsicBlur mIntrinsic;
59 mIntrinsic.setRadius(mRadius);
71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
72 mIntrinsic.setRadius(MAX_RADIUS);
73 mIntrinsic.setInput(mInPixelsAllocation);
95 mIntrinsic.forEach(mOutPixelsAllocation);
105 mIntrinsic.setRadius(MAX_RADIUS);
113 mIntrinsic.setRadius(mRadius);
Blur25G.java 37 private ScriptIntrinsicBlur mIntrinsic;
59 mIntrinsic.setRadius(mRadius);
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
77 mIntrinsic.setRadius(MAX_RADIUS);
78 mIntrinsic.setInput(mScratchPixelsAllocation1);
82 mIntrinsic.forEach(mScratchPixelsAllocation2);
86 mIntrinsic.setRadius(MAX_RADIUS);
90 mIntrinsic.setRadius(mRadius);
Convolve5x5.java 33 private ScriptIntrinsicConvolve5x5 mIntrinsic;
67 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS));
68 mIntrinsic.setCoefficients(f);
69 mIntrinsic.setInput(mInPixelsAllocation);
81 mIntrinsic.forEach(mOutPixelsAllocation);
ColorCube.java 35 private ScriptIntrinsic3DLUT mIntrinsic;
72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
76 mIntrinsic.setLUT(mCube);
81 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
Resize.java 33 private ScriptIntrinsicResize mIntrinsic;
68 mIntrinsic = ScriptIntrinsicResize.create(mRS);
69 mIntrinsic.setInput(mScratchAllocation);
74 mIntrinsic.forEach_bicubic(mOutPixelsAllocation);
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
ColorMatrix.java 26 private ScriptIntrinsicColorMatrix mIntrinsic;
42 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
44 mIntrinsic.setGreyscale();
46 mIntrinsic.setColorMatrix(m);
63 mIntrinsic.setColorMatrix(m);
72 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
CrossProcess.java 25 private ScriptIntrinsicLUT mIntrinsic;
28 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
39 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
48 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
51 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));
57 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
Blur25.java 28 private ScriptIntrinsicBlur mIntrinsic;
55 mIntrinsic.setRadius(mRadius);
67 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
68 mIntrinsic.setRadius(MAX_RADIUS);
69 mIntrinsic.setInput(mInPixelsAllocation);
91 mIntrinsic.forEach(mOutPixelsAllocation);
Blur25G.java 31 private ScriptIntrinsicBlur mIntrinsic;
53 mIntrinsic.setRadius(mRadius);
70 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
71 mIntrinsic.setRadius(MAX_RADIUS);
72 mIntrinsic.setInput(mScratchPixelsAllocation1);
76 mIntrinsic.forEach(mScratchPixelsAllocation2);
Convolve3x3.java 26 private ScriptIntrinsicConvolve3x3 mIntrinsic;
57 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
58 mIntrinsic.setCoefficients(f);
59 mIntrinsic.setInput(mInPixelsAllocation);
72 mIntrinsic.setCoefficients(f);
80 mIntrinsic.forEach(mOutPixelsAllocation);
Convolve5x5.java 26 private ScriptIntrinsicConvolve5x5 mIntrinsic;
76 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS));
77 mIntrinsic.setCoefficients(f);
78 mIntrinsic.setInput(mInPixelsAllocation);
91 mIntrinsic.setCoefficients(f);
99 mIntrinsic.forEach(mOutPixelsAllocation);
ColorCube.java 27 private ScriptIntrinsic3DLUT mIntrinsic;
64 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
68 mIntrinsic.setLUT(mCube);
73 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
ColorMatrix.java 33 private ScriptIntrinsicColorMatrix mIntrinsic;
49 mIntrinsic = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
51 mIntrinsic.setGreyscale();
53 mIntrinsic.setColorMatrix(m);
70 mIntrinsic.setColorMatrix(m);
79 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
CrossProcess.java 28 private ScriptIntrinsicLUT mIntrinsic;
31 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
42 mIntrinsic.setRed(ct, (int)(r * 255.f + 0.5f));
51 mIntrinsic.setGreen(ct, (int)(g * 255.f + 0.5f));
54 mIntrinsic.setBlue(ct, (int)(b * 255.f + 0.5f));
60 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
Blur25G.java 37 private ScriptIntrinsicBlur mIntrinsic;
59 mIntrinsic.setRadius(mRadius);
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
77 mIntrinsic.setRadius(MAX_RADIUS);
78 mIntrinsic.setInput(mScratchPixelsAllocation1);
82 mIntrinsic.forEach(mScratchPixelsAllocation2);
Convolve3x3.java 33 private ScriptIntrinsicConvolve3x3 mIntrinsic;
64 mIntrinsic = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS));
65 mIntrinsic.setCoefficients(f);
66 mIntrinsic.setInput(mInPixelsAllocation);
79 mIntrinsic.setCoefficients(f);
87 mIntrinsic.forEach(mOutPixelsAllocation);
Blur25.java 33 private ScriptIntrinsicBlur mIntrinsic;
62 mIntrinsic.setRadius(mRadius);
76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
77 mIntrinsic.setRadius(MAX_RADIUS);
78 mIntrinsic.setInput(mInPixelsAllocation);
116 mIntrinsic.forEach(mOutPixelsAllocation);
Convolve5x5.java 33 private ScriptIntrinsicConvolve5x5 mIntrinsic;
83 mIntrinsic = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS));
84 mIntrinsic.setCoefficients(f);
85 mIntrinsic.setInput(mInPixelsAllocation);
98 mIntrinsic.setCoefficients(f);
106 mIntrinsic.forEach(mOutPixelsAllocation);
ColorCube.java 35 private ScriptIntrinsic3DLUT mIntrinsic;
72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
76 mIntrinsic.setLUT(mCube);
81 mIntrinsic.forEach(mInPixelsAllocation, mOutPixelsAllocation);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IntrinsicLut.java 23 private ScriptIntrinsicLUT mIntrinsic;
33 if (mIntrinsic != null) {
34 mIntrinsic.destroy();
45 mIntrinsic = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS));
53 mIntrinsic.setRed(ct, mRed[ct]);
54 mIntrinsic.setGreen(ct, mGreen[ct]);
55 mIntrinsic.setBlue(ct, mBlue[ct]);
56 mIntrinsic.setAlpha(ct, mAlpha[ct]);
70 mIntrinsic.forEach(mAllocSrc, mAllocDst);
85 mIntrinsic.forEach(mAllocSrc, mAllocDst, lo)
    [all...]
IntrinsicBlur.java 23 private ScriptIntrinsicBlur mIntrinsic;
33 if (mIntrinsic != null) {
34 mIntrinsic.destroy();
57 mIntrinsic = ScriptIntrinsicBlur.create(mRS, e);
58 mIntrinsic.setRadius(MAX_RADIUS);
59 mIntrinsic.setInput(mAllocSrc);
106 mIntrinsic.forEach(mAllocDst);
120 mIntrinsic.forEach(mAllocDst);
136 mIntrinsic.forEach(mAllocDst, lo);
151 mIntrinsic.forEach(mAllocDst, lo)
    [all...]
Intrinsic3DLut.java 25 private ScriptIntrinsic3DLUT mIntrinsic;
38 if (mIntrinsic != null) {
39 mIntrinsic.destroy();
91 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
92 mIntrinsic.setLUT(mCube);
99 mIntrinsic.forEach(mAllocSrc, mAllocDst);
113 mIntrinsic.forEach(mAllocSrc, mAllocDst);
128 mIntrinsic.forEach(mAllocSrc, mAllocDst, lo);
144 mIntrinsic.forEach(mAllocSrc, mAllocDst, lo);

Completed in 847 milliseconds

1 2