diff options
Diffstat (limited to 'java/tests/ImageProcessing_jb/src/com/android/rs/image/threshold.rs')
-rw-r--r-- | java/tests/ImageProcessing_jb/src/com/android/rs/image/threshold.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/tests/ImageProcessing_jb/src/com/android/rs/image/threshold.rs b/java/tests/ImageProcessing_jb/src/com/android/rs/image/threshold.rs index d30a87b5..40d4fa2d 100644 --- a/java/tests/ImageProcessing_jb/src/com/android/rs/image/threshold.rs +++ b/java/tests/ImageProcessing_jb/src/com/android/rs/image/threshold.rs @@ -70,11 +70,11 @@ void setRadius(int rad) { } } -float4 __attribute__((kernel)) copyIn(uchar4 in) { +float4 RS_KERNEL copyIn(uchar4 in) { return convert_float4(in); } -uchar4 __attribute__((kernel)) vert(uint32_t x, uint32_t y) { +uchar4 RS_KERNEL vert(uint32_t x, uint32_t y) { float3 blurredPixel = 0; int gi = 0; uchar4 out; @@ -96,7 +96,7 @@ uchar4 __attribute__((kernel)) vert(uint32_t x, uint32_t y) { return out; } -float4 __attribute__((kernel)) horz(uint32_t x, uint32_t y) { +float4 RS_KERNEL horz(uint32_t x, uint32_t y) { float4 blurredPixel = 0; int gi = 0; if ((x > radius) && (x < (width - radius))) { |