/frameworks/base/core/jni/ |
android_graphics_PixelFormat.cpp | 33 jfieldID bytesPerPixel; 58 info.bytesPerPixel = 1; 63 info.bytesPerPixel = 1; 68 info.bytesPerPixel = 1; 80 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel); 99 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
|
android_view_Surface.cpp | 332 ssize_t bpr = info.s * bytesPerPixel(info.format);
|
com_google_android_gles_jni_EGLImpl.cpp | 300 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelFormatTest.java | 58 assertEquals(4, mPixelFormat.bytesPerPixel); 62 assertEquals(4, mPixelFormat.bytesPerPixel); 66 assertEquals(3, mPixelFormat.bytesPerPixel); 70 assertEquals(2, mPixelFormat.bytesPerPixel); 74 assertEquals(2, mPixelFormat.bytesPerPixel); 78 assertEquals(2, mPixelFormat.bytesPerPixel); 82 assertEquals(1, mPixelFormat.bytesPerPixel); 86 assertEquals(1, mPixelFormat.bytesPerPixel); 90 assertEquals(2, mPixelFormat.bytesPerPixel); 94 assertEquals(1, mPixelFormat.bytesPerPixel); [all...] |
/frameworks/base/libs/ui/ |
PixelFormat.cpp | 32 size = width * bytesPerPixel; 37 ssize_t bytesPerPixel(PixelFormat format) 41 return (err < 0) ? err : info.bytesPerPixel; 71 info->bytesPerPixel = 1; 102 info->bytesPerPixel = i->size;
|
GraphicBufferAllocator.cpp | 105 rec.size = h * stride[0] * bytesPerPixel(format);
|
/frameworks/base/graphics/java/android/graphics/ |
PixelFormat.java | 100 public int bytesPerPixel;
|
/frameworks/base/include/ui/ |
PixelFormat.h | 109 size_t bytesPerPixel; 131 ssize_t bytesPerPixel(PixelFormat format);
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscossprite.c | 50 int bytesPerPixel; 56 case 32: bytesPerPixel = 4; break; 57 case 16: bytesPerPixel = 2; break; 59 bytesPerPixel = 1; 67 bytesPerRow = bytesPerPixel * width;
|
SDL_wimpvideo.c | 89 int bytesPerPixel = 1; 107 bytesPerPixel = 2; 114 bytesPerPixel = 4; 152 current->pitch = width * bytesPerPixel; 459 SDL_memcpy(data, this->hidden->bank[0], width * height * this->screen->format->BytesPerPixel);
|
/external/webkit/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.h | 192 inline uint32_t readCurrentPixel(int bytesPerPixel) const 194 const int offset = m_coord.x() * bytesPerPixel; 195 switch (bytesPerPixel) {
|
BMPImageReader.cpp | 691 const size_t bytesPerPixel = m_infoHeader.biBitCount / 8; 694 : (numPixels * bytesPerPixel); 740 const uint32_t pixel = readCurrentPixel(bytesPerPixel);
|
/frameworks/base/services/surfaceflinger/tests/resize/ |
resize.cpp | 46 ssize_t bpr = info.s * bytesPerPixel(info.format);
|
/external/skia/src/images/ |
SkImageRefPool.cpp | 28 ref->fBitmap.bytesPerPixel(), 64 ref->fBitmap.bytesPerPixel(),
|
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 98 bitmap->bytesPerPixel() * 8,
|
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/xorg/ |
servermd.h | 562 int bytesPerPixel; /* only set when notPower2 is TRUE */ 572 (((int)(w) * PixmapWidthPaddingInfo[d].bytesPerPixel + \ 573 PixmapWidthPaddingInfo[d].bytesPerPixel) >> \
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
SDL_wsconsvideo.c | 324 vformat->BytesPerPixel = private->info.depth / 8; 464 int bytesPerPixel = (private->info.depth + 7) / 8; 558 src_start = private->shadowmem + (sha_y1 * width + sha_x1) * bytesPerPixel; 560 scr_x1 * bytesPerPixel;
|
/external/webkit/WebKit/android/plugins/ |
ANPSurfaceInterface.cpp | 131 ssize_t bpr = info.s * bytesPerPixel(info.format);
|
/external/skia/src/gl/ |
SkGL.cpp | 278 glPixelStorei(GL_UNPACK_ALIGNMENT, bitmap->bytesPerPixel()); 309 bitmap->bytesPerPixel());
|
/external/skia/src/core/ |
SkBitmapProcShader.cpp | 266 fRawBitmap.bytesPerPixel());
|
/external/skia/include/core/ |
SkBitmap.h | 113 int bytesPerPixel() const { return fBytesPerPixel; }
|
/frameworks/base/services/surfaceflinger/ |
TextureManager.cpp | 213 int unpack = __builtin_ctz(t.stride * bytesPerPixel(t.format));
|
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
SDL_gapivideo.c | 1067 int bytesPerPixel = (gapi->gxProperties.cBPP + 1) / 8; 1071 unsigned char *srcPointer = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSurface->pitch + rects[i].x * bytesPerPixel; 1079 switch(bytesPerPixel) [all...] |
/external/skia/bench/ |
benchmain.cpp | 40 size_t pixelBytes = bm1.width() * bm1.bytesPerPixel();
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 568 const size_t size = bm0->width() * bm0->bytesPerPixel();
|