/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
SDL_xbios_sb3.c | 53 int bpp; local 55 /* Check if current SB3 mode is usable, i.e. 8 or 16bpp */ 57 bpp = 1<<(SDL_XBIOS_scpn_planes_device[scrinfo->device]); 59 if ((bpp==8) || (bpp==16)) {
|
/external/qemu/android/ |
multitouch-port.h | 67 int bpp; member in struct:MTFrameHeader
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
exynos5_format_v4l2.c | 253 // 16bpp 258 // 24bpp 263 // 32bpp 271 // 12bpp 293 // 16bpp 350 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) 354 *bpp = 12; 362 *bpp = 12; 368 *bpp = 12; 375 *bpp = 16 399 unsigned int bpp, planes; local 409 unsigned int bpp, planes; local [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkDecodingImageGenerator.cpp | 164 int bpp = SkBitmap::ComputeBytesPerPixel(SkImageInfoToBitmapConfig(info)); local 165 if (static_cast<size_t>(bpp * info.fWidth) > rowBytes) {
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
ImageFlipper.java | 58 int bpp = img.getFormat().getBitsPerPixel() / 8; local 59 int scanline = w * bpp;
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fb3dfx.c | 54 int bpp; local 69 bpp = dst->format->BitsPerPixel; 70 format = dst->pitch | ((bpp+((bpp==8) ? 0 : 8)) << 13); 97 int bpp; local 116 bpp = src->format->BitsPerPixel; 117 src_format = src->pitch | ((bpp+((bpp==8) ? 0 : 8)) << 13); 119 bpp = dst->format->BitsPerPixel;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testgamma.c | 34 int get_video_args(char *argv[], int *w, int *h, int *bpp, Uint32 *flags) 40 *bpp = 0; 54 if ( strcmp(argv[i], "-bpp") == 0 ) { 56 *bpp = atoi(argv[++i]); 79 int w, h, bpp; local 86 argv += get_video_args(argv, &w, &h, &bpp, &flags); 96 screen = SDL_SetVideoMode(w, h, bpp, flags | SDL_HWPALETTE);
|
graywin.c | 105 SDL_Surface *CreateScreen(Uint16 w, Uint16 h, Uint8 bpp, Uint32 flags) 112 screen = SDL_SetVideoMode(w, h, bpp, flags); 121 if (bpp==8) { 140 int width, height, bpp; local 151 bpp = 8; 163 if ( argv[argc-1] && (strcmp(argv[argc-1], "-bpp") == 0) ) { 164 bpp = atoi(argv[argc]); 185 fprintf(stderr, "Usage: %s [-width] [-height] [-bpp] [-hw] [-hwpalette] [-flip] [-noframe] [-fullscreen] [-resize]\n", 192 screen = CreateScreen(width, height, bpp, videoflags);
|
/external/skia/src/images/ |
SkDecodingImageGenerator.cpp | 164 int bpp = SkBitmap::ComputeBytesPerPixel(SkImageInfoToBitmapConfig(info)); local 165 if (static_cast<size_t>(bpp * info.fWidth) > rowBytes) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/gdi/ |
gdi_sw_winsys.c | 131 unsigned bpp; local 141 bpp = util_format_get_blocksizebits(format); 155 gdt->bmi.bmiHeader.biBitCount = bpp;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/swrast/ |
swrast_priv.h | 115 GLuint bpp; member in struct:dri_swrast_renderbuffer 128 #define PF_A8R8G8B8 1 /**< 32bpp TrueColor: 8-A, 8-R, 8-G, 8-B bits */ 129 #define PF_R5G6B5 2 /**< 16bpp TrueColor: 5-R, 6-G, 5-B bits */ 130 #define PF_R3G3B2 3 /**< 8bpp TrueColor: 3-R, 3-G, 2-B bits */ 131 #define PF_X8R8G8B8 4 /**< 32bpp TrueColor: 8-R, 8-G, 8-B bits */
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
bitmap.py | 42 def __init__(self, bpp, width, height, pixels, metadata=None): 43 assert bpp in [3, 4], 'Invalid bytes per pixel' 47 assert bpp * width * height == len(pixels), 'Dimensions and pixels mismatch' 49 self._bpp = bpp 56 def bpp(self): member in class:Bitmap 80 self._metadata['alpha'] = self.bpp == 4 119 if tolerance or self.bpp != other.bpp: 187 img_data = [[0 for x in xrange(width * self.bpp)] 196 offset = x * self.bpp [all...] |
/external/mesa3d/src/gallium/winsys/sw/gdi/ |
gdi_sw_winsys.c | 131 unsigned bpp; local 141 bpp = util_format_get_blocksizebits(format); 155 gdt->bmi.bmiHeader.biBitCount = bpp;
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
swrast_priv.h | 115 GLuint bpp; member in struct:dri_swrast_renderbuffer 128 #define PF_A8R8G8B8 1 /**< 32bpp TrueColor: 8-A, 8-R, 8-G, 8-B bits */ 129 #define PF_R5G6B5 2 /**< 16bpp TrueColor: 5-R, 6-G, 5-B bits */ 130 #define PF_R3G3B2 3 /**< 8bpp TrueColor: 3-R, 3-G, 2-B bits */ 131 #define PF_X8R8G8B8 4 /**< 32bpp TrueColor: 8-R, 8-G, 8-B bits */
|
/frameworks/native/libs/ui/ |
GraphicBufferAllocator.cpp | 113 int bpp = bytesPerPixel(format); local 114 if (bpp < 0) { 117 bpp = 0; 125 rec.size = h * stride[0] * bpp;
|
/hardware/libhardware/modules/gralloc/ |
gralloc.cpp | 209 int bpp = 0; local 214 bpp = 4; 217 bpp = 3; 221 bpp = 2; 226 size_t bpr = (w*bpp + (align-1)) & ~(align-1); 228 stride = bpr / bpp;
|
/system/core/adb/ |
framebuffer_service.c | 41 unsigned int bpp; member in struct:fbinfo 90 fbinfo.bpp = 32; 104 fbinfo.bpp = 32; 118 fbinfo.bpp = 24; 132 fbinfo.bpp = 16; 146 fbinfo.bpp = 32;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_tile_image.c | 31 * 32bpp. 145 const uint bpp = util_format_get_blocksize(format); local 148 const uint tiles_per_row = src_stride / (tile_w * tile_h * bpp); 150 dst_stride /= bpp; /* convert from bytes to words */ 152 if (bpp == 4) { 175 assert(bpp == 2); 193 const uint bpp = 4; local 195 const uint bytes_per_tile = tile_w * tile_h * bpp; 235 const uint bpp = util_format_get_blocksize(format); local 238 const uint tiles_per_row = dst_stride / (tile_w * tile_h * bpp); 282 const uint bpp = 4; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/server/ |
radeon_dri.h | 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon13340
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_renderbuffer.c | 61 GLuint bpp; local 119 bpp = _mesa_get_format_bytes(rb->Format); 127 srb->RowStride = width * bpp; 138 width, height, bpp);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrAtlas.cpp | 129 size_t bpp = GrBytesPerPixel(fPixelConfig); local 137 currPlot->fBytesPerPixel = bpp;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tile_image.c | 31 * 32bpp. 145 const uint bpp = util_format_get_blocksize(format); local 148 const uint tiles_per_row = src_stride / (tile_w * tile_h * bpp); 150 dst_stride /= bpp; /* convert from bytes to words */ 152 if (bpp == 4) { 175 assert(bpp == 2); 193 const uint bpp = 4; local 195 const uint bytes_per_tile = tile_w * tile_h * bpp; 235 const uint bpp = util_format_get_blocksize(format); local 238 const uint tiles_per_row = dst_stride / (tile_w * tile_h * bpp); 282 const uint bpp = 4; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/server/ |
radeon_dri.h | 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon23807
|
/external/mesa3d/src/mesa/swrast/ |
s_renderbuffer.c | 61 GLuint bpp; local 119 bpp = _mesa_get_format_bytes(rb->Format); 127 srb->RowStride = width * bpp; 138 width, height, bpp);
|
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.cpp | 127 int bpp; // Bytes per pixel local 146 bpp = 1; 152 bpp = 4; /* CG only has 8 and 32 bit color spaces, so we waste a byte */ 158 bitmap = (uchar*)malloc( bpp * m_height * m_width ); 169 bpp * m_width, /* bytes per row */ 213 bitmapIndex += bpp; 282 int bpp = (_channels == 1) ? 1 : 4; local 289 if( bpp == 1 ) 291 else if( bpp == 4 ) 296 bitmapData = (uchar*)malloc( bpp * height * width ) [all...] |