| /external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
| SDL_nxvideo.h | 46 int bpp ; member in struct:NX_SDL_VISUAL
|
| /external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
| SDL_wimpvideo.c | 47 SDL_Surface *WIMP_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 52 extern unsigned char *WIMP_CreateBuffer(int width, int height, int bpp); 68 extern int FULLSCREEN_SetMode(int width, int height, int bpp); 83 int width, int height, int bpp, Uint32 flags) 95 switch(bpp) 126 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { 135 if (bpp == 15) bpp = 16; 136 buffer = WIMP_CreateBuffer(width, height, bpp); 144 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first * 442 int bpp = this->screen->format->BitsPerPixel; local [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
| SDL_x11yuv.c | 168 int bpp; local 237 /* Precalculate the bpp for the pitch workaround below */ 243 bpp = 2; 246 bpp = 1; 331 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { 333 width = hwdata->image->pitches[0] / bpp; 375 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) { 378 width = hwdata->image->pitches[0] / bpp;
|
| /external/qemu/distrib/sdl-1.2.15/test/ |
| testvidinfo.c | 143 printf("Running freshly loaded blit test: %dx%d at %d bpp, flags: ", 172 printf("Running freshly loaded cc blit test: %dx%d at %d bpp, flags: ", 205 printf("Running display format blit test: %dx%d at %d bpp, flags: ", 236 printf("Running display format cc blit test: %dx%d at %d bpp, flags: ", 259 /* run the alpha blit test only if screen bpp>8 */ 272 printf("Running display format alpha blit test: %dx%d at %d bpp, flags: ", 296 /* run the cc+alpha blit test only if screen bpp>8 */ 310 printf("Running display format cc+alpha blit test: %dx%d at %d bpp, flags: ", 338 int w, h, bpp; member in struct:__anon33345 359 printf("Setting video mode: %dx%d at %d bpp, flags: " [all...] |
| /external/skia/src/gpu/ |
| GrAtlas.cpp | 40 void GrPlot::init(GrAtlasMgr* mgr, int offX, int offY, int width, int height, size_t bpp, 45 fBytesPerPixel = bpp; 173 size_t bpp = GrBytesPerPixel(fPixelConfig); local 179 currPlot->init(this, x, y, plotWidth, plotHeight, bpp, batchUploads);
|
| /hardware/intel/img/hwcomposer/ips/anniedale/ |
| AnnRGBPlane.cpp | 140 int bpp; local 160 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) { 173 linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1) * bpp; 175 linoff = srcY * stride + srcX * bpp;
|
| /hardware/qcom/display/msm8226/libgralloc/ |
| alloc_controller.cpp | 147 int bpp = 4; local 151 bpp = 3; 154 bpp = 2; 165 height, bpp, tile_enabled, 171 aligned_w = LINK_adreno_compute_padding(width, bpp,
|
| /hardware/qcom/display/msm8960/libgralloc/ |
| alloc_controller.cpp | 108 int bpp = 4; local 112 bpp = 3; 115 bpp = 2; 125 stride = LINK_adreno_compute_padding(stride, bpp,
|
| /hardware/qcom/display/msm8974/libgralloc/ |
| alloc_controller.cpp | 117 int bpp = 4; local 121 bpp = 3; 124 bpp = 2; 134 stride = LINK_adreno_compute_padding(stride, bpp,
|
| /development/tools/yuv420sp2rgb/ |
| yuv420sp2rgb.c | 138 int bpp; local 157 bpp = 3 + !!alpha; 158 offset *= bpp; 160 FAILIF(offset + bpp > ctx->size, "point (%d, %d) at offset %d exceeds the size %d of the buffer.\n", 206 int bpp = 3; local 222 bpp = 4; 226 outsize = header_size + width * height * bpp;
|
| /external/chromium_org/third_party/freetype/src/base/ |
| ftbitmap.c | 108 FT_UInt bpp; local 122 bpp = 1; 126 bpp = 2; 130 bpp = 4; 136 bpp = 8; 148 FT_Int bit_last = ( width + xpixels ) * bpp; 183 FT_Int len = ( width * bpp + 7 ) >> 3; 192 FT_Int len = ( width * bpp + 7 ) >> 3;
|
| /external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
| platform_android.c | 44 int bpp; local 50 bpp = 4; 53 bpp = 3; 58 bpp = 2; 61 bpp = 0; 65 return bpp;
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
| r300_texture_desc.c | 291 unsigned i, bpp; local 294 bpp = util_format_get_blocksizebits(tex->b.b.format); 301 (bpp == 16 || bpp == 32) &&
|
| /external/chromium_org/third_party/mesa/src/src/glx/apple/ |
| apple_glx_drawable.h | 82 int width, height, pitch, /*bytes per pixel */ bpp; member in struct:apple_glx_pixmap
|
| /external/chromium_org/third_party/mesa/src/src/mesa/main/ |
| texgetimage.c | 486 const GLuint bpp = _mesa_get_format_bytes(texImage->TexFormat); local 487 const GLuint bytesPerRow = texImage->Width * bpp;
|
| /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
| st_cb_fbo.c | 717 GLint bpp = _mesa_get_format_bytes(strb->Base.Format); local 720 *mapOut = (GLubyte *) strb->data + y * stride + x * bpp;
|
| /external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
| s_depth.c | 229 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 233 const GLubyte *src = map + y[i] * rowStride+ x[i] * bpp; 266 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 270 void *dst = map + y[i] * rowStride + x[i] * bpp; 287 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 389 dst += bpp;
|
| s_stencil.c | 66 GLint bpp = _mesa_get_format_bytes(format); local 73 for (i = 0; i < bpp; i++) { 310 const GLint bpp = _mesa_get_format_bytes(rb->Format); local 314 const GLubyte *src = map + y[i] * rowStride + x[i] * bpp;
|
| /external/chromium_org/third_party/skia/third_party/ktx/ |
| ktx.cpp | 459 int bpp = bitmap.bytesPerPixel(); local 460 uint32_t dataSz = bpp * width * height; 462 if (0 >= bpp) { 491 if (!stream->write(rowPtr, bpp*width)) {
|
| /external/chromium_org/tools/telemetry/telemetry/core/ |
| bitmap.py | 134 # dimensions are: bpp, width, height, boxleft, boxtop, boxwidth, boxheight 180 def __init__(self, bpp, width, height, pixels, metadata=None): 181 assert bpp in [3, 4], 'Invalid bytes per pixel' 185 assert bpp * width * height == len(pixels), 'Dimensions and pixels mismatch' 187 self._bpp = bpp 195 def bpp(self): member in class:Bitmap 230 self._metadata['alpha'] = self.bpp == 4 270 if tolerance or self.bpp != other.bpp:
|
| bitmaptools.cc | 79 // bpp, width, height, box, pixels 81 int bpp; local 84 if (!(ReadInt(&bpp) && ReadInt(&width) && ReadInt(&height))) { 88 if (bpp <= 0 || width <= 0 || height <= 0) { 93 int size = width * height * bpp; 95 row_stride = width * bpp; 96 pixel_stride = bpp;
|
| /external/deqp/framework/delibs/deimage/ |
| deImage.c | 47 int bpp = deImageFormat_getBytesPerPixel(format); local 54 image->pixels = deMalloc(width * height * bpp); 60 memset(image->pixels, 0, width * height * bpp);
|
| /external/freetype/src/base/ |
| ftbitmap.c | 108 FT_UInt bpp; local 122 bpp = 1; 126 bpp = 2; 130 bpp = 4; 136 bpp = 8; 148 FT_Int bit_last = ( width + xpixels ) * bpp; 183 FT_Int len = ( width * bpp + 7 ) >> 3; 192 FT_Int len = ( width * bpp + 7 ) >> 3;
|
| /external/mesa3d/src/egl/drivers/dri2/ |
| platform_android.c | 44 int bpp; local 50 bpp = 4; 53 bpp = 3; 58 bpp = 2; 61 bpp = 0; 65 return bpp;
|
| /external/mesa3d/src/gallium/drivers/r300/ |
| r300_texture_desc.c | 291 unsigned i, bpp; local 294 bpp = util_format_get_blocksizebits(tex->b.b.format); 301 (bpp == 16 || bpp == 32) &&
|