Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs51 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;
Dexposure.rs29 float3 t = convert_float3(in.rgb);
30 out.rgb = convert_uchar3(clamp(convert_int3(t * bright), 0, 255));
Dcontrast.rs30 float3 v = convert_float3(in->rgb) * brightM + brightC;
31 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
Dlevels.rsh26 float3 pixel = convert_float4(in).rgb;
39 pixel.rgb = rsMatrixMultiply(&colorMat, pixel.rgb);
Dgreyscale.fs24 float3 mono = dot(f4.rgb, gMonoMult);
30 return (uchar)dot(f4.rgb, gMonoMult);
Dwbalance.rs105 float3 t = convert_float3(in.rgb);
110 out.rgb = convert_uchar3(t);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs51 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;
Dcontrast.rs34 float3 v = convert_float3(in->rgb) * brightM + brightC;
35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
Dlevels.rsh26 float3 pixel = convert_float4(in).rgb;
39 pixel.rgb = rsMatrixMultiply(&colorMat, pixel.rgb);
Dgreyscale.fs24 float3 mono = dot(f4.rgb, gMonoMult);
30 return (uchar)dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs51 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;
Dcontrast.rs34 float3 v = convert_float3(in->rgb) * brightM + brightC;
35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
Dlevels.rsh26 float3 pixel = convert_float4(in).rgb;
39 pixel.rgb = rsMatrixMultiply(&colorMat, pixel.rgb);
Dgreyscale.fs24 float3 mono = dot(f4.rgb, gMonoMult);
30 return (uchar)dot(f4.rgb, gMonoMult);
Dvignette.rsh55 fout.rgb = fin.rgb * lumen;
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Dblur_h.glsl6 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;
Dblur_v.glsl6 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;
Dselect_color.glsl4 vec3 col = texture2D(UNI_color, varTex0).rgb;
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/
Dsingletexfm.glsl4 lowp vec3 col0 = texture2D(UNI_Tex0, varTex0).rgb;
5 gl_FragColor.xyz = col0 * UNI_modulate.rgb;
Dsingletexf.glsl4 lowp vec3 col0 = texture2D(UNI_Tex0, varTex0).rgb;
/frameworks/native/services/surfaceflinger/Effects/
DDaltonizer.cpp81 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/
Dball_physics.rs149 color.rgb = max(color.rgb, (float3)0);
150 color.rgb = normalize(color.rgb);
/frameworks/native/opengl/libagl/
Ddxt.cpp87 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/
Dmono.rs25 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp230 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()

12