Searched refs:pixel (Results 1 – 3 of 3) sorted by relevance
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
D | levels.rscript | 29 float3 pixel = convert_float4(in[0]).rgb; 30 pixel = rsMatrixMultiply(&colorMat, pixel); 31 pixel = clamp(pixel, 0.f, 255.f); 32 pixel = (pixel - inBlack) * overInWMinInB; 34 pixel = pow(pixel, (float3)gamma); 35 pixel = pixel * outWMinOutB + outBlack; 36 pixel = clamp(pixel, 0.f, 255.f); 37 out->xyz = convert_uchar3(pixel);
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
D | ImagePixelization.java | 169 int pixel = 0, red = 0, green = 0, blue = 0, numPixels = 0; in customImagePixelization() local 188 pixel = bitmapPixels[j * width + i]; in customImagePixelization() 189 red += Color.red(pixel); in customImagePixelization() 190 green += Color.green(pixel); in customImagePixelization() 191 blue += Color.blue(pixel); in customImagePixelization() 196 pixel = Color.rgb(red / numPixels, green / numPixels, blue / numPixels); in customImagePixelization() 198 Arrays.fill(pixels, pixel); in customImagePixelization()
|
/development/samples/browseable/HdrViewfinder/src/rs/ |
D | hdr_merge.rscript | 29 // Read in pixel values from latest frame - YUV color space 74 // Store current pixel for next frame
|