We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a277cf8 + dc39e86 commit 0e545e2Copy full SHA for 0e545e2
1 file changed
tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/convolve3x3.rs
@@ -22,12 +22,7 @@ int32_t gWidth;
22
int32_t gHeight;
23
rs_allocation gIn;
24
25
-float gCoeffs[9] ;
26
-void setCoefficients(float coef[9]) {
27
- for(int i=0; i < 9; i++) {
28
- gCoeffs[i] = coef[i];
29
- }
30
-}
+float gCoeffs[9];
31
32
void root(uchar4 *out, uint32_t x, uint32_t y) {
33
uint32_t x1 = min((int32_t)x+1, gWidth);
0 commit comments