/frameworks/av/media/libnbaio/ |
H A D | MonoPipeReader.cpp | 60 ssize_t red = availableToRead(); local 61 if (CC_UNLIKELY(red <= 0)) { 65 return red; 67 if (CC_LIKELY((size_t) red > count)) { 68 red = count; 72 if (part1 > (size_t) red) { 73 part1 = red; 78 size_t part2 = red - part1; 83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS); 84 mFramesRead += red; [all...] |
H A D | PipeReader.cpp | 74 size_t red = mPipe.mMaxFrames - front; local 75 if (CC_LIKELY(red > count)) { 76 red = count; 79 memcpy(buffer, (char *) mPipe.mBuffer + (front * mFrameSize), red * mFrameSize); 81 if (CC_UNLIKELY(front + red == mPipe.mMaxFrames)) { 82 if (CC_UNLIKELY((count -= red) > front)) { 86 memcpy((char *) buffer + (red * mFrameSize), mPipe.mBuffer, count * mFrameSize); 87 red += count; 90 mFront += red; 91 mFramesRead += red; [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Description.cpp | 72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument 73 mColor[0] = red;
|
H A D | RenderEngine.cpp | 199 float red, float green, float blue, float alpha) { 218 setupFillWithColor(red, green, blue, alpha); 226 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument 227 glClearColor(red, green, blue, alpha); 198 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | RggbChannelVector.java | 51 * @param red red pixel 58 public RggbChannelVector(final float red, final float greenEven, final float greenOdd, argument 60 mRed = checkArgumentFinite(red, "red"); 67 * Get the red component.
|
H A D | TonemapCurve.java | 33 * <p>This defines red, green, and blue curves that the {@link CameraDevice} will 66 * Index of the red color channel curve. 92 * @param red An array of elements whose length is divisible by {@value #POINT_SIZE} 103 public TonemapCurve(float[] red, float[] green, float[] blue) { argument 106 checkNotNull(red, "red must not be null"); 110 checkArgumentArrayLengthDivisibleBy(red, POINT_SIZE, "red"); 114 checkArgumentArrayLengthNoLessThan(red, MIN_CURVE_LENGTH, "red"); [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 27 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 30 * components are stored as follows (alpha << 24) | (red << 16) | 34 * no contributions from red, green, or blue), and opaque-white would be 60 * Return the red component of a color int. This is the same as saying 63 public static int red(int color) { method in class:Color 84 * Return a color-int from red, green, blue components. 89 * @param red Red component [0..255] of the color 93 public static int rgb(int red, int green, int blue) { argument 94 return (0xFF << 24) | (red << 16) | (green << 8) | blue; 98 * Return a color-int from alpha, red, gree 107 argb(int alpha, int red, int green, int blue) argument 319 RGBToHSV(int red, int green, int blue, float hsv[]) argument 369 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 427 float red; member in struct:android::filterfw::ShaderProgram::RGBAColor 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
|
H A D | shader_program.cpp | 568 glClearColor(clear_color_.red, 602 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { argument 603 clear_color_.red = red;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 27 static void Color_RGBToHSV(JNIEnv* env, jobject, jint red, jint green, jint blue, jfloatArray hsvArray) argument 30 SkRGBToHSV(red, green, blue, hsv);
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 569 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument 571 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
|
H A D | dxt.cpp | 52 #define red(x) (((x) >> 11) & 0x1f) macro 235 int r0 = red(color0); 239 int r1 = red(color1); 365 int r0 = red(color0); 369 int r1 = red(color1); 522 int r0 = red(color0); 526 int r1 = red(color1);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 444 unsigned red = src[redOffset]; local 450 ((red * 66 + green * 129 + blue * 25) >> 8) + 16; 456 ((-red * 38 - green * 74 + blue * 112) >> 8) + 128; 459 ((red * 112 - green * 94 - blue * 18) >> 8) + 128;
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | Palette.java | 556 mRed = Color.red(color); 563 Swatch(int red, int green, int blue, int population) { argument 564 mRed = red; 567 mRgb = Color.rgb(red, green, blue);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 561 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */ 564 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) { 566 (GLubyte)red, 563 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
|
H A D | android_opengl_GLES10.cpp | 385 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */ 388 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 390 (GLclampf)red, 397 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */ 400 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 402 (GLclampx)red, 445 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */ 448 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 450 (GLfloat)red, 457 /* void glColor4x ( GLfixed red, GLfixe 387 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument 399 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument 447 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument 459 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument 471 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 802 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */ 805 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 807 (GLclampx)red, 889 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */ 892 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 894 (GLfixed)red, 804 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument 891 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
|
H A D | android_opengl_GLES20.cpp | 419 /* void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */ 422 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 424 (GLclampf)red, 572 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */ 575 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 577 (GLclampf)red, 602 /* void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) */ 605 (JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) { 607 (GLboolean)red, 421 android_glBlendColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument 574 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument 604 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) 212 byte red, 211 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
|
H A D | GLES11Ext.java | 279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 282 int red, 309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 312 int red, 281 glClearColorxOES( int red, int green, int blue, int alpha ) argument 311 glColor4xOES( int red, int green, int blue, int alpha ) argument
|
H A D | GLErrorWrapper.java | 106 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, gree 980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument [all...] |
H A D | GLES10.java | 313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 316 float red, 322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 325 int red, 355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 358 float red, 364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 367 int red, 373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 376 boolean red, 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...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 189 byte red, 188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 680 const Region& /* clip */, float red, float green, float blue, 685 engine.setupFillWithColor(red, green, blue, alpha); 679 clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& , float red, float green, float blue, float alpha) const argument
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 130 float red, 136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 139 int red, 169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 172 float red, 178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 181 int red, 187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 190 boolean red, 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...] |