android Programming Glossary: temp_colour
How to write a convolution multiplication in Android Renderscript? http://stackoverflow.com/questions/10090583/how-to-write-a-convolution-multiplication-in-android-renderscript mImageWidth y for int i kBlurWidth i 0 i float4 temp_colour if int x i 0 temp_colour rsUnpackColor8888 gPixels x i y_component.. int i kBlurWidth i 0 i float4 temp_colour if int x i 0 temp_colour rsUnpackColor8888 gPixels x i y_component else temp_colour.. rsUnpackColor8888 gPixels x i y_component else temp_colour kWhite colour temp_colour kMultiplier for int i 1 i kBlurWidth..
How to write a convolution multiplication in Android Renderscript? http://stackoverflow.com/questions/10090583/how-to-write-a-convolution-multiplication-in-android-renderscript v_in float4 colour original kMultiplier int y_component mImageWidth y for int i kBlurWidth i 0 i float4 temp_colour if int x i 0 temp_colour rsUnpackColor8888 gPixels x i y_component else temp_colour kWhite colour temp_colour kMultiplier.. colour original kMultiplier int y_component mImageWidth y for int i kBlurWidth i 0 i float4 temp_colour if int x i 0 temp_colour rsUnpackColor8888 gPixels x i y_component else temp_colour kWhite colour temp_colour kMultiplier for int i 1 i kBlurWidth.. int i kBlurWidth i 0 i float4 temp_colour if int x i 0 temp_colour rsUnpackColor8888 gPixels x i y_component else temp_colour kWhite colour temp_colour kMultiplier for int i 1 i kBlurWidth i float4 temp_colour if x i mImageWidth temp_colour rsUnpackColor8888..
|