Searched defs:blue (Results 1 - 25 of 30) sorted by path

12

/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp481 unsigned blue = src[blueOffset]; local
485 ((red * 66 + green * 129 + blue * 25) >> 8) + 16;
491 ((-red * 38 - green * 74 + blue * 112) >> 8) + 128;
494 ((red * 112 - green * 94 - blue * 18) >> 8) + 128;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DRggbChannelVector.java54 * @param blue blue pixel
59 final float blue) {
63 mBlue = checkArgumentFinite(blue, "blue");
94 * Get the blue component.
58 RggbChannelVector(final float red, final float greenEven, final float greenOdd, final float blue) argument
H A DTonemapCurve.java33 * <p>This defines red, green, and blue curves that the {@link CameraDevice} will
74 * Index of the blue color channel curve.
94 * @param blue An array of elements whose length is divisible by {@value #POINT_SIZE}
103 public TonemapCurve(float[] red, float[] green, float[] blue) { argument
108 checkNotNull(blue, "blue must not be null");
112 checkArgumentArrayLengthDivisibleBy(blue, POINT_SIZE, "blue");
116 checkArgumentArrayLengthNoLessThan(blue, MIN_CURVE_LENGTH, "blue");
[all...]
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp18 static void Color_RGBToHSV(JNIEnv* env, jobject, jint red, jint green, jint blue, jfloatArray hsvArray) argument
21 SkRGBToHSV(red, green, blue, hsv);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp503 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
506 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
510 (GLclampf)blue,
515 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
518 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
522 (GLclampx)blue,
563 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
566 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
570 (GLfloat)blue,
575 /* void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixe
505 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
517 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
565 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
577 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
589 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
[all...]
H A Dandroid_opengl_GLES11.cpp679 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */
682 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) {
686 (GLubyte)blue,
681 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
H A Dandroid_opengl_GLES11Ext.cpp920 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
923 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
927 (GLclampx)blue,
1007 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */
1010 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
1014 (GLfixed)blue,
922 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
1009 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
H A Dandroid_opengl_GLES20.cpp537 /* void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
540 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
544 (GLclampf)blue,
690 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
693 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
697 (GLclampf)blue,
720 /* void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) */
723 (JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) {
727 (GLboolean)blue,
539 android_glBlendColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
692 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
722 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp323 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */
326 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
330 (GLclampf)blue,
335 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
338 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
342 (GLclampx)blue,
383 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */
386 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) {
390 (GLfloat)blue,
395 /* void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixe
325 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
337 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
385 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument
397 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
409 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
4348 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DColor.java30 * green, blue. The values are unpremultiplied, meaning any transparency is
33 * (green << 8) | blue. Each component ranges between 0..255 with 0
36 * no contributions from red, green, or blue), and opaque-white would be
78 * Return the blue component of a color int. This is the same as saying
81 public static int blue(int color) { method in class:Color
86 * Return a color-int from red, green, blue components.
93 * @param blue Blue component [0..255] of the color
96 public static int rgb(int red, int green, int blue) { argument
97 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
101 * Return a color-int from alpha, red, green, blue component
111 argb(int alpha, int red, int green, int blue) argument
176 RGBToHSV(int red, int green, int blue, @Size(3) float hsv[]) argument
226 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument
[all...]
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp38 U8CPU blue = lerp(SkColorGetB(fromColor), SkColorGetB(toColor), fraction); local
39 *outColor = SkColorSetARGB(alpha, red, green, blue);
/frameworks/base/libs/hwui/debug/
H A Dnullgles.cpp172 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {} argument
180 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {} argument
183 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {} argument
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java500 int blue = data[pos] & 0x03;
501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue);
506 blue = data[pos] & 0x03;
507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue);
511 blue = data[pos] & 0x03;
513 CaptionColor.OPACITY_SOLID, red, green, blue);
545 int blue = data[pos] & 0x03;
546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue);
550 blue = data[pos + 1] & 0x03;
552 CaptionColor.OPACITY_SOLID, red, green, blue);
844 public final int blue; field in class:Cea708CCParser.CaptionColor
846 CaptionColor(int opacity, int red, int green, int blue) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp563 clear_color_.blue,
595 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { argument
598 clear_color_.blue = blue;
H A Dshader_program.h350 void SetClearColor(float red, float green, float blue, float alpha);
429 float blue; member in struct:android::filterfw::ShaderProgram::RGBAColor
432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
318 float blue,
322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
327 int blue,
355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
360 float blue,
364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
369 int blue,
373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
378 boolean blue,
315 glClearColor( float red, float green, float blue, float alpha ) argument
324 glClearColorx( int red, int green, int blue, int alpha ) argument
357 glColor4f( float red, float green, float blue, float alpha ) argument
366 glColor4x( int red, int green, int blue, int alpha ) argument
375 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
[all...]
H A DGLES11.java209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
214 byte blue,
211 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
H A DGLES11Ext.java279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
284 int blue,
309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
314 int blue,
281 glClearColorxOES( int red, int green, int blue, int alpha ) argument
311 glColor4xOES( int red, int green, int blue, int alpha ) argument
H A DGLES20.java385 // C function void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
390 float blue,
453 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
458 float blue,
474 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
479 boolean blue,
387 glBlendColor( float red, float green, float blue, float alpha ) argument
455 glClearColor( float red, float green, float blue, float alpha ) argument
476 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
H A DGLErrorWrapper.java106 public void glClearColor(float red, float green, float blue, float alpha) { argument
108 mgl.glClearColor(red, green, blue, alpha);
112 public void glClearColorx(int red, int green, int blue, int alpha) { argument
114 mgl.glClearColorx(red, green, blue, alpha);
142 public void glColor4f(float red, float green, float blue, float alpha) { argument
144 mgl.glColor4f(red, green, blue, alpha);
148 public void glColor4x(int red, int green, int blue, int alpha) { argument
150 mgl.glColor4x(red, green, blue, alpha);
154 public void glColorMask(boolean red, boolean green, boolean blue, argument
157 mgl.glColorMask(red, green, blue, alph
980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
H A DGLLogWrapper.java1231 public void glClearColor(float red, float green, float blue, float alpha) { argument
1235 arg("blue", blue);
1239 mgl.glClearColor(red, green, blue, alpha);
1243 public void glClearColorx(int red, int green, int blue, int alpha) { argument
1247 arg("blue", blue);
1251 mgl.glClearColorx(red, green, blue, alpha);
1291 public void glColor4f(float red, float green, float blue, float alpha) { argument
1295 arg("blue", blu
1303 glColor4x(int red, int green, int blue, int alpha) argument
1315 glColorMask(boolean red, boolean green, boolean blue, boolean alpha) argument
2801 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
132 float blue,
136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
141 int blue,
169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
174 float blue,
178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
183 int blue,
187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
192 boolean blue,
129 glClearColor( float red, float green, float blue, float alpha ) argument
138 glClearColorx( int red, int green, int blue, int alpha ) argument
171 glColor4f( float red, float green, float blue, float alpha ) argument
180 glColor4x( int red, int green, int blue, int alpha ) argument
189 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
1223 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java292 float blue,
299 int blue,
322 float blue,
329 int blue,
336 boolean blue,
289 glClearColor( float red, float green, float blue, float alpha ) argument
296 glClearColorx( int red, int green, int blue, int alpha ) argument
319 glColor4f( float red, float green, float blue, float alpha ) argument
326 glColor4x( int red, int green, int blue, int alpha ) argument
333 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument
H A DGL11.java191 byte blue,
188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
/frameworks/native/opengl/libagl/
H A Ddxt.cpp54 #define blue(x) ( (x) & 0x1f) macro
237 int b0 = blue(color0);
241 int b1 = blue(color1);
367 int b0 = blue(color0);
371 int b1 = blue(color1);
524 int b0 = blue(color0);
528 int b1 = blue(color1);

Completed in 595 milliseconds

12