/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rs | 51 static ushort3 rgb2hsv( uchar4 rgb) 55 int ri = rgb.r; 56 int gi = rgb.g; 57 int bi = rgb.b; 170 uchar4 rgb; 172 rgb.r = rr; 173 rgb.g = rg; 174 rgb.b = rb; 176 return rgb;
|
D | exposure.rs | 29 float3 t = convert_float3(in.rgb); 30 out.rgb = convert_uchar3(clamp(convert_int3(t * bright), 0, 255));
|
D | contrast.rs | 30 float3 v = convert_float3(in->rgb) * brightM + brightC; 31 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
|
D | levels.rsh | 26 float3 pixel = convert_float4(in).rgb; 39 pixel.rgb = rsMatrixMultiply(&colorMat, pixel.rgb);
|
D | greyscale.fs | 24 float3 mono = dot(f4.rgb, gMonoMult); 30 return (uchar)dot(f4.rgb, gMonoMult);
|
D | wbalance.rs | 105 float3 t = convert_float3(in.rgb); 110 out.rgb = convert_uchar3(t);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rs | 51 static ushort3 rgb2hsv( uchar4 rgb) 55 int ri = rgb.r; 56 int gi = rgb.g; 57 int bi = rgb.b; 170 uchar4 rgb; 172 rgb.r = rr; 173 rgb.g = rg; 174 rgb.b = rb; 176 return rgb;
|
D | contrast.rs | 34 float3 v = convert_float3(in->rgb) * brightM + brightC; 35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
|
D | levels.rsh | 26 float3 pixel = convert_float4(in).rgb; 39 pixel.rgb = rsMatrixMultiply(&colorMat, pixel.rgb);
|
D | greyscale.fs | 24 float3 mono = dot(f4.rgb, gMonoMult); 30 return (uchar)dot(f4.rgb, gMonoMult);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rs | 51 static ushort3 rgb2hsv( uchar4 rgb) 55 int ri = rgb.r; 56 int gi = rgb.g; 57 int bi = rgb.b; 170 uchar4 rgb; 172 rgb.r = rr; 173 rgb.g = rg; 174 rgb.b = rb; 176 return rgb;
|
D | contrast.rs | 34 float3 v = convert_float3(in->rgb) * brightM + brightC; 35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
|
D | levels.rsh | 26 float3 pixel = convert_float4(in).rgb; 39 pixel.rgb = rsMatrixMultiply(&colorMat, pixel.rgb);
|
D | greyscale.fs | 24 float3 mono = dot(f4.rgb, gMonoMult); 30 return (uchar)dot(f4.rgb, gMonoMult);
|
D | vignette.rsh | 55 fout.rgb = fin.rgb * lumen;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
D | blur_h.glsl | 6 vec3 col = texture2D(UNI_color, blurCoord).rgb; 8 col += texture2D(UNI_color, blurCoord).rgb; 10 col += texture2D(UNI_color, blurCoord).rgb; 12 col += texture2D(UNI_color, blurCoord).rgb;
|
D | blur_v.glsl | 6 vec3 col = texture2D(UNI_color, blurCoord).rgb; 8 col += texture2D(UNI_color, blurCoord).rgb; 10 col += texture2D(UNI_color, blurCoord).rgb; 12 col += texture2D(UNI_color, blurCoord).rgb;
|
D | select_color.glsl | 4 vec3 col = texture2D(UNI_color, varTex0).rgb;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/ |
D | singletexfm.glsl | 4 lowp vec3 col0 = texture2D(UNI_Tex0, varTex0).rgb; 5 gl_FragColor.xyz = col0 * UNI_modulate.rgb;
|
D | singletexf.glsl | 4 lowp vec3 col0 = texture2D(UNI_Tex0, varTex0).rgb;
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 81 const vec3& lms_r(rgb2lms[0].rgb); in update() 83 const vec3& lms_b(rgb2lms[2].rgb); in update() 85 const vec3 lms_w((rgb2lms * vec4(1)).rgb); in update()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 149 color.rgb = max(color.rgb, (float3)0); 150 color.rgb = normalize(color.rgb);
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 87 inline static int rgb565To888(int rgb) in rgb565To888() argument 90 int rgb3 = rgb >> 3; in rgb565To888() 91 return (((rgb << 8) & 0xf80000) | in rgb565To888() 93 ((rgb << 5) & 0x00fc00) | in rgb565To888() 94 ((rgb >> 1) & 0x000300) | in rgb565To888() 96 ((rgb >> 2) & 0x000007)); in rgb565To888()
|
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/ |
D | mono.rs | 25 float3 mono = dot(f4.rgb, gMonoMult);
|
/frameworks/native/opengl/tests/gl_perf/ |
D | fill_common.cpp | 230 static uint32_t rgb(uint32_t r, uint32_t g, uint32_t b) in rgb() function 243 m[y*1024 + x] = rgb(x, (((x+y) & 0xff) == 0x7f) * 0xff, y); in genTextures() 255 m[y*16 + x] = rgb(x << 4, (((x+y) & 0xf) == 0x7) * 0xff, y << 4); in genTextures()
|