/frameworks/base/opengl/libs/GLES2_dbg/src/ |
H A D | api.h | 32 if (dbg->IsReadPixelBuffer(pixels)) { \ 37 dbg->Compress(pixels, size, msg.mutable_data()); \ 51 if (pixels) { \ 55 dbg->Compress(pixels, size, msg.mutable_data()); \
|
H A D | egl.cpp | 41 void * pixels = dbg->GetReadPixelsBuffer(viewport[2] * viewport[3] * local 44 viewport[3], GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
H A D | vertex.cpp | 44 void * pixels = NULL; local 77 pixels = dbg->GetReadPixelsBuffer(viewport[2] * viewport[3] * 80 GL_RGBA, GL_UNSIGNED_BYTE, pixels); 154 void * pixels = NULL; local 185 pixels = dbg->GetReadPixelsBuffer(viewport[2] * viewport[3] * 188 GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
H A D | api.cpp | 2182 void Debug_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) argument 2192 GLvoid* pixels; member in struct:__anon1094 2195 _c->glReadPixels(x, y, width, height, format, type, pixels); 2208 caller.pixels = pixels; 2216 msg.set_arg6(ToInt(pixels)); 2522 void Debug_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) argument 2534 const GLvoid* pixels; member in struct:__anon1107 2537 _c->glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); 2552 caller.pixels 2671 Debug_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels) argument 2683 const GLvoid* pixels; member in struct:__anon1112 [all...] |
/frameworks/base/services/camera/libcameraservice/ |
H A D | FakeCamera.cpp | 106 * G = (pixels >> 3) & 0xFC; 107 * R = (pixels >> 8) & 0xF8; 108 * B = (pixels & 0x1f) << 3; 110 * R2 = (pixels >> 11) R = R2*8 111 * B2 = (pixels & 0x1f) B = B2*8 219 uint16_t pixels; local 237 pixels = inputRGB[i]; 238 temp = (BETA*(pixels & 0x001F) + ALPHA*(pixels>>11) ); 239 y0 = y_tab[(temp>>SHIFT1) + ((pixels>> [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 89 int[] pixels = new int[100]; 90 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); 93 assertEquals("getPixels", p, pixels[i]); 114 int[] pixels = new int[100]; 115 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); 118 assertEquals("getPixels", p, pixels[i]);
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | IconLoader.java | 242 int[] pixels = new int[numOfPixels]; 253 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); 259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); 299 int[] pixels = new int[numOfPixels]; 316 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], 321 return Bitmap.createBitmap(pixels, width, height,
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 188 * to try to access its pixels, and the bitmap will not draw. 249 * how pixels are stored. This affects the quality (color depth) as 324 * Copy the bitmap's pixels into the specified buffer (allocated by the 326 * hold all of the pixels (taking into account the number of bytes per 347 throw new RuntimeException("Buffer not large enough for pixels"); 359 * Copy the pixels from the buffer, beginning at the current position, 360 * overwriting the bitmap's pixels. The data in the buffer is not changed 383 throw new RuntimeException("Buffer not large enough for pixels"); 392 * this bitmap's pixels into the new bitmap. If the conversion is not 398 * its pixels ca 920 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 959 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1029 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1193 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccUtils.java | 397 int[] pixels = new int[numOfPixels]; 408 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); 414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 539 ScreenshotPixelRef* pixels = new ScreenshotPixelRef(NULL); local 540 if (pixels->update(width, height, minLayer, maxLayer, allLayers) != NO_ERROR) { 541 delete pixels; 545 uint32_t w = pixels->getWidth(); 546 uint32_t h = pixels->getHeight(); 547 uint32_t s = pixels->getStride(); 548 uint32_t f = pixels->getFormat(); 558 bitmap->setPixelRef(pixels)->unref(); 562 delete pixels;
|
H A D | android_opengl_GLES10.cpp | 2869 /* void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) */ 2876 GLvoid *pixels = (GLvoid *) 0; local 2878 pixels = (GLvoid *)getPointer(_env, pixels_buf, &_array, &_remaining); 2886 (GLvoid *)pixels 2889 releasePointer(_env, _array, pixels, _exception ? JNI_FALSE : JNI_TRUE); 3270 /* void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) */ 3276 GLvoid *pixels = (GLvoid *) 0; local 3279 pixels = (GLvoid *)getPointer(_env, pixels_buf, &_array, &_remaining); 3290 (GLvoid *)pixels 3293 releasePointer(_env, _array, pixels, JNI_FALS 3325 GLvoid *pixels = (GLvoid *) 0; local [all...] |
/frameworks/base/opengl/libagl/ |
H A D | texture.cpp | 487 uint8_t const* pixels = (uint8_t *)data + paletteSize; local 491 pixels += h * ((w * indexBits) / 8); 502 int index = 2 * (*pixels++); 508 int v = *pixels++; 526 int index = 3 * (*pixels++); 533 int v = *pixels++; 553 int index = 4 * (*pixels++); 561 int v = *pixels++; 1170 GLenum format, GLenum type, const GLvoid *pixels) 1198 if (pixels) { [all...] |
/frameworks/base/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 117 const unsigned int pixels[] = local 131 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/base/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 125 double pixels = (gWidth * gHeight) * count; local 126 double mpps = pixels / delta / 1000000;
|
/frameworks/base/opengl/tests/tritex/ |
H A D | tritex.cpp | 209 const unsigned int pixels[] = local 222 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
H A D | test_socket.cpp | 344 GLenum format, GLenum type, const GLvoid* pixels) { 353 EXPECT_EQ(0, memcmp(_pixels, pixels, sizeof(_pixels))); 417 GLenum format, GLenum type, GLvoid* pixels) { 424 ASSERT_TRUE(pixels != NULL); 425 memcpy(pixels, _pixels, sizeof(_pixels)); 342 TexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels) argument 416 ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) argument
|
/frameworks/base/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 819 // Determine the minimum number of pixels that the HWC will ever commit to. 843 uint64_t pixels = dim.width() * dim.height(); local 844 if (!bestSet || (pixels < bestMinPixels)) { 845 bestMinPixels = pixels; 892 uint64_t pixels = dim.width() * dim.height(); local 893 if (!bestSet || (pixels > bestMaxPixels)) { 894 bestMaxPixels = pixels; 989 // Discovers the source crop with the least number of pixels that the 1015 uint64_t pixels = dim.width() * dim.height(); local 1016 if (!bestSet || (pixels < bestMinPixel 1066 uint64_t pixels = dim.width() * dim.height(); local [all...] |
/frameworks/base/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 316 const unsigned int pixels[] = 330 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/base/opengl/tools/glgen/specs/gles11/ |
H A D | GLES10.spec | 82 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) 99 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 102 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
|
H A D | GLES20.spec | 94 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
107 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
112 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 1055 // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) 1064 java.nio.Buffer pixels 1237 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 1248 java.nio.Buffer pixels 1267 // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ) 1278 java.nio.Buffer pixels
|
H A D | GLErrorWrapper.java | 664 int type, Buffer pixels) { 666 mgl.glReadPixels(x, y, width, height, format, type, pixels); 781 Buffer pixels) { 784 format, type, pixels); 814 Buffer pixels) { 817 format, type, pixels); 663 glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) argument 779 glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) argument 812 glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 799 java.nio.Buffer pixels 919 java.nio.Buffer pixels 943 java.nio.Buffer pixels
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 350 /*package*/ static void nativeGetPixels(int nativeBitmap, int[] pixels, int offset, argument 357 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
|
/frameworks/base/opengl/include/GLES2/ |
H A D | gl2ext.h | 487 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); 488 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); 494 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); 495 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
|