/frameworks/base/core/jni/ |
android_graphics_PixelFormat.cpp | 35 jfieldID bitsPerPixel; 54 info.bitsPerPixel = 16; 59 info.bitsPerPixel = 12; 64 info.bitsPerPixel = 16; 76 env->SetIntField(pixelFormatObject, offsets.bitsPerPixel, info.bitsPerPixel); 95 offsets.bitsPerPixel = env->GetFieldID(clazz, "bitsPerPixel", "I");
|
/frameworks/native/libs/ui/ |
PixelFormat.cpp | 28 size_t bitsPerPixel; 71 size = (width * bitsPerPixel)>>3; 85 ssize_t bitsPerPixel(PixelFormat format) 89 return (err < 0) ? err : info.bitsPerPixel; 104 info->bitsPerPixel = 16; 108 info->bitsPerPixel = 12; 129 info->bitsPerPixel = i->bitsPerPixel;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelFormatTest.java | 45 assertEquals(32, mPixelFormat.bitsPerPixel); 49 assertEquals(24, mPixelFormat.bitsPerPixel); 53 assertEquals(24, mPixelFormat.bitsPerPixel); 57 assertEquals(16, mPixelFormat.bitsPerPixel); 61 assertEquals(16, mPixelFormat.bitsPerPixel); 65 assertEquals(16, mPixelFormat.bitsPerPixel); 69 assertEquals(8, mPixelFormat.bitsPerPixel); 73 assertEquals(8, mPixelFormat.bitsPerPixel); 77 assertEquals(16, mPixelFormat.bitsPerPixel); 81 assertEquals(8, mPixelFormat.bitsPerPixel); [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
DIBPixelData.h | 60 unsigned short bitsPerPixel() const { return m_bitsPerPixel; }
|
QTMovieGWorld.h | 65 void getCurrentFrameInfo(void*& buffer, unsigned& bitsPerPixel, unsigned& rowBytes, unsigned& width, unsigned& height);
|
QTDecompressionSession.cpp | 93 depth = 32 + std::min<unsigned int>(8, pixelFormatInfo.bitsPerPixel[0]); 97 depth = pixelFormatInfo.bitsPerPixel[0];
|
GraphicsContextCGWin.cpp | 51 // ASSERT(bitmapBits.bitsPerPixel() == 32); 52 if (pixelData.bitsPerPixel() != 32) 105 ASSERT(pixelData.bitsPerPixel() == 32);
|
QTMovieGWorld.cpp | 332 void QTMovieGWorld::getCurrentFrameInfo(void*& buffer, unsigned& bitsPerPixel, unsigned& rowBytes, unsigned& width, unsigned& height) 336 bitsPerPixel = 0; 344 bitsPerPixel = (*offscreenPixMap)->pixelSize;
|
GraphicsContextCairoWin.cpp | 137 ASSERT(pixelData.bitsPerPixel() == 32);
|
/frameworks/native/include/ui/ |
PixelFormat.h | 101 size_t bitsPerPixel; 123 ssize_t bitsPerPixel(PixelFormat format);
|
/development/ide/xcode/ports/ |
SkBitmap_Mac.cpp | 69 size_t bitsPerPixel; 82 bitsPerPixel = 32; 87 bitsPerPixel = 16; 93 bitsPerPixel = 16; 101 return CGImageCreate(bm.width(), bm.height(), bitsPerComp, bitsPerPixel,
|
/external/skia/src/utils/mac/ |
SkBitmap_Mac.cpp | 76 size_t bitsPerPixel; 89 bitsPerPixel = 32; 94 bitsPerPixel = 16; 100 bitsPerPixel = 16; 108 return CGImageCreate(bm.width(), bm.height(), bitsPerComp, bitsPerPixel,
|
/external/webkit/Source/WebKit/mac/Carbon/ |
CarbonUtils.m | 34 extern CGImageRef _NSCreateImageRef( unsigned char *const bitmapData[5], int pixelsWide, int pixelsHigh, int bitsPerSample, int samplesPerPixel, int bitsPerPixel, int bytesPerRow, BOOL isPlanar, BOOL hasAlpha, NSString *colorSpaceName, CGColorSpaceRef customColorSpace, id sourceObj); 124 [rep bitsPerSample], [rep samplesPerPixel], [rep bitsPerPixel],
|
/frameworks/base/graphics/java/android/graphics/ |
PixelFormat.java | 105 public int bitsPerPixel;
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContext3DCairo.cpp | 74 size_t bitsPerPixel = 32; 75 unsigned int padding = bytesPerRow - bitsPerPixel / 8 * width;
|
/external/quake/quake/src/QW/scitech/include/ |
mgldos.h | 58 MGLDC * MGLAPI MGL_createMemoryDC(m_int xSize,m_int ySize,m_int bitsPerPixel,pixel_format_t *pf);
|
mglwin.h | 101 MGLDC * MGLAPI MGL_createMemoryDC(m_int xSize,m_int ySize,m_int bitsPerPixel,pixel_format_t *pf);
|
/external/quake/quake/src/WinQuake/scitech/INCLUDE/ |
MGLDOS.H | 58 MGLDC * MGLAPI MGL_createMemoryDC(m_int xSize,m_int ySize,m_int bitsPerPixel,pixel_format_t *pf);
|
MGLWIN.H | 101 MGLDC * MGLAPI MGL_createMemoryDC(m_int xSize,m_int ySize,m_int bitsPerPixel,pixel_format_t *pf);
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContext3DCG.cpp | 150 size_t bitsPerPixel = CGImageGetBitsPerPixel(cgImage); 153 if (bitsPerPixel % bitsPerComponent) 155 size_t componentsPerPixel = bitsPerPixel / bitsPerComponent; 246 unsigned int padding = bytesPerRow - bitsPerPixel / 8 * width;
|
/external/skia/legacy/src/utils/unix/ |
SkOSWindow_Unix.cpp | 244 int bitsPerPixel = bitmap.bytesPerPixel() * 8; 250 image.bitmap_unit = bitsPerPixel; 252 image.bitmap_pad = bitsPerPixel; 255 image.bits_per_pixel = bitsPerPixel;
|
/system/core/include/pixelflinger/ |
format.h | 106 uint8_t bitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
xf86dga.h | 75 int bitsPerPixel;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
mp4lib_int.h | 103 uint bitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/src/video/dga/ |
SDL_dgavideo.c | 250 mode->depth == 24 ? mode->bitsPerPixel : mode->depth, 289 int a_bpp = a->depth == 24 ? a->bitsPerPixel : a->depth; 290 int b_bpp = b->depth == 24 ? b->bitsPerPixel : b->depth; 372 vformat->BitsPerPixel = DefaultDepth(DGA_Display, DGA_Screen); 380 if ( vformat->BitsPerPixel == pix_format[i].depth ) 384 vformat->BitsPerPixel = pix_format[i].bits_per_pixel; 387 if ( vformat->BitsPerPixel > 8 ) { 423 DGA_AddMode(this, modes[i].bitsPerPixel, 450 return(SDL_modelist[((format->BitsPerPixel+7)/8)-1]); 480 depth = modes[i].bitsPerPixel; [all...] |