| /external/mesa3d/src/glx/apple/ |
| apple_glx_drawable.h | 82 int width, height, pitch, /*bytes per pixel */ bpp; member in struct:apple_glx_pixmap
|
| /external/mesa3d/src/mesa/main/ |
| texgetimage.c | 486 const GLuint bpp = _mesa_get_format_bytes(texImage->TexFormat); local 487 const GLuint bytesPerRow = texImage->Width * bpp;
|
| /external/mesa3d/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/mesa3d/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
| fxft_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/pixman/pixman/ |
| pixman-trap.c | 239 int bpp; local 250 bpp = PIXMAN_FORMAT_BPP (image->bits.format); 260 t = pixman_sample_ceil_y (t, bpp); 265 b = pixman_sample_floor_y (b, bpp); 270 pixman_edge_init (&l, bpp, t, 276 pixman_edge_init (&r, bpp, t, 351 int bpp; local 366 bpp = PIXMAN_FORMAT_BPP (image->bits.format); 373 t = pixman_sample_ceil_y (t, bpp); 378 b = pixman_sample_floor_y (b, bpp); [all...] |
| /external/pixman/test/ |
| alphamap.c | 41 uint8_t bpp = PIXMAN_FORMAT_BPP (format) / 8; local 44 bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp); 46 image = pixman_image_create_bits (format, WIDTH, HEIGHT, bits, WIDTH * bpp);
|
| glyph-test.c | 120 int bpp; local 141 bpp = PIXMAN_FORMAT_BPP (format); 142 stride = (width * bpp + 7) / 8 + prng_rand_n (17);
|
| /external/qemu/android/skin/ |
| file.h | 31 int bpp; /* bits per pixel, 32 or 16 */ member in struct:SkinDisplay
|
| /external/qemu/distrib/sdl-1.2.15/src/video/ |
| SDL_pixels.c | 37 SDL_PixelFormat *SDL_AllocFormat(int bpp, 53 format->BitsPerPixel = bpp; 54 format->BytesPerPixel = (bpp+7)/8; 93 } else if ( bpp > 8 ) { /* Packed pixels with standard mask */ 95 if ( bpp > 24 ) 96 bpp = 24; 97 format->Rloss = 8-(bpp/3); 98 format->Gloss = 8-(bpp/3)-(bpp%3); 99 format->Bloss = 8-(bpp/3) 468 int bpp; local [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
| SDL_sysvideo.cc | 48 static SDL_Surface *BE_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 264 int bpp; local 292 bpp = ColorSpaceToBitsPerPixel(modes[i].space); 293 //if ( bpp != 0 ) { // There are bugs in changing colorspace 295 BE_AddMode(_this, ((bpp+7)/8)-1, 346 static bool BE_FindClosestFSMode(_THIS, int width, int height, int bpp, 359 modes = SDL_modelist[((bpp+7)/8)-1]; 382 if ( (bpp == ColorSpaceToBitsPerPixel(dmodes[i].space)) && 434 int bpp = screen->format->BitsPerPixel; local 435 if (bpp != ColorSpaceToBitsPerPixel(mode.space) | [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
| SDL_ph_image.c | 39 int bpp; local 41 bpp=screen->format->BitsPerPixel; 44 switch(bpp) 67 SDL_SetError("ph_SetupImage(): unsupported bpp=%d !\n", bpp); 74 if ((bpp==8) && (desktoppal==SDLPH_PAL_EMULATE)) 88 SDL_SetError("ph_SetupImage(): PhCreateImage() failed for bpp=8 !\n"); 98 SDL_SetError("ph_SetupImage(): PhCreateImage() failed for bpp=%d !\n", bpp); 114 int bpp; local [all...] |
| SDL_ph_video.h | 69 Uint32 bpp; member in struct:ColourMasks 88 Uint32 OGLBPP; /* OpenGL bpp */ 116 Uint32 visualbpp; /* current visual bpp */ 117 Uint32 desktopbpp; /* bpp of desktop at the moment of start */
|
| /external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
| SDL_gsvideo.c | 47 static SDL_Surface *GS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 141 int bpp; member in struct:__anon33313 158 -1, /* 0 bpp, not a legal value */ 159 -1, /* 8 bpp, not supported (yet?) */ 160 PS2_GS_PSMCT16, /* 16 bpp */ 161 PS2_GS_PSMCT24, /* 24 bpp */ 162 PS2_GS_PSMCT32 /* 32 bpp */ 325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; 381 // FIXME - what's wrong with the stretch code at 16 bpp? 413 int width, int height, int bpp, Uint32 flags [all...] |
| SDL_gsyuv.c | 82 int bpp; local 182 bpp = this->screen->format->BytesPerPixel; 185 width * height * bpp + 199 hwdata->dma_tags = hwdata->ipu_omem + width * height * bpp; 245 tags[10] = ((16*16*bpp) >> 4) | (2LL << 58); 248 packet[pnum].len = 16 * 16 * bpp; 257 base += 16 * 16 * bpp;
|
| /external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
| SDL_QuartzVideo.h | 99 Uint32 width, height, bpp; /* frequently used data about the display */ member in struct:SDL_PrivateVideoData 141 #define device_bpp (this->hidden->bpp) 194 int QZ_SetupOpenGL (_THIS, int bpp, Uint32 flags);
|
| /external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
| SDL_riscosFullScreenVideo.c | 53 int pixel_depth; // 2^pixel_depth = bpp,i.e. 0 = 1, 1 = 2, 4 = 16, 5 = 32 61 int FULLSCREEN_SetMode(int width, int height, int bpp); 80 static int FULLSCREEN_AddMode(_THIS, int bpp, int w, int h); 91 extern unsigned char *WIMP_CreateBuffer(int width, int height, int bpp); 97 int width, int height, int bpp, Uint32 flags) 105 switch(bpp) 130 if (FULLSCREEN_SetMode(width, height, bpp) == 0) 139 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) { 194 this->hidden->bank[0] = WIMP_CreateBuffer(width, height, bpp); 215 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first * 751 int bpp = this->screen->format->BitsPerPixel; local [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
| SDL_svgavideo.c | 56 static SDL_Surface *SVGA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 340 int width, int height, int bpp, Uint32 flags) 354 bpp = (bpp+7)/8-1; 355 for ( mode=0; SDL_modelist[bpp][mode]; ++mode ) { 356 if ( (SDL_modelist[bpp][mode]->w == width) && 357 (SDL_modelist[bpp][mode]->h == height) ) { 361 if ( SDL_modelist[bpp][mode] == NULL ) { 365 vgamode = SDL_vgamode[bpp][mode]; 375 modeinfo = vga_getmodeinfo(SDL_vgamode[bpp][mode]) 498 int bpp = this->screen->format->BytesPerPixel; local [all...] |
| /external/qemu/distrib/sdl-1.2.15/test/ |
| testgl.c | 452 int logo, int logocursor, int slowly, int bpp, float gamma, int noframe, int fsaa, int sync, int accel ) 486 if ( bpp == 0 ) { 488 bpp = 8; 490 bpp = 16; /* More doesn't seem to work */ 511 switch (bpp) { 546 if ( SDL_SetVideoMode( w, h, bpp, video_flags ) == NULL ) { 552 printf("Screen BPP: %d\n", SDL_GetVideoSurface()->format->BitsPerPixel); 567 printf( "SDL_GL_DEPTH_SIZE: requested %d, got %d\n", bpp, value ); 788 int bpp = 0; local 817 if ( strcmp(argv[i], "-bpp") == 0 ) [all...] |
| /external/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)) {
|
| /hardware/qcom/display/msm8084/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/media/libc2dcolorconvert/ |
| C2DColorConverter.h | 96 C2DBytesPerPixel bpp; member in struct:android::__anon41017
|
| /hardware/samsung_slsi/exynos5/gralloc/ |
| gralloc.cpp | 133 int bpp = 0, vstride, fd, err; local 157 bpp = 4; 160 bpp = 3; 164 bpp = 2; 176 bpr = ALIGN(w*bpp, 64); 182 *stride = bpr / bpp;
|
| /hardware/samsung_slsi/exynos5/include/ |
| s5p_fimc_v4l2.h | 115 int bpp; member in struct:yuv_fmt_list
|