/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
H A D | 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/distrib/sdl-1.2.15/src/video/photon/ |
H A D | SDL_ph_modes_c.h | 39 extern int ph_GetVideoMode(int width, int height, int bpp); 40 extern int get_mode_any_format(int width, int height, int bpp);
|
H A D | SDL_ph_gl.h | 38 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
H A D | imageinfo.js | 68 var bpp = bpc; 69 if (ct == 4) bpp *= 2; 70 if (ct == 2) bpp *= 3; 71 if (ct == 6) bpp *= 4; 80 bpp : bpp, 91 var bpp = ((data.getByteAt(10) >> 4) & 7) + 1; 98 bpp : bpp, 135 bpp [all...] |
/external/libpng/arm/ |
H A D | arm_init.c | 56 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) argument 116 if (bpp == 3) 124 else if (bpp == 4)
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_pixels_c.h | 29 extern SDL_PixelFormat *SDL_AllocFormat(int bpp, 31 extern SDL_PixelFormat *SDL_ReallocFormat(SDL_Surface *surface, int bpp, 44 extern void SDL_DitherColors(SDL_Color *colors, int bpp);
|
H A D | SDL_stretch.c | 70 static int generate_rowbytes(int src_w, int dst_w, int bpp) argument 73 int bpp; member in struct:__anon28552 86 (dst_w == last.dst_w) && (bpp == last.bpp) ) { 89 last.bpp = bpp; 94 switch (bpp) { 105 SDL_SetError("ASM stretch of %d bytes isn't supported\n", bpp); 124 if ( bpp == 2 ) { 133 if ( bpp 220 const int bpp = dst->format->BytesPerPixel; local [all...] |
H A D | SDL_pixels.c | 37 SDL_PixelFormat *SDL_AllocFormat(int bpp, argument 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/ 224 SDL_ReallocFormat(SDL_Surface *surface, int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument 266 SDL_DitherColors(SDL_Color *colors, int bpp) argument 468 int bpp; local [all...] |
/external/pixman/pixman/ |
H A D | pixman-android.h | 25 int bpp; member in struct:_android_simple_image
|
/external/opencv/otherlibs/highgui/ |
H A D | 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 * heigh [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | 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/android/ |
H A D | multitouch-port.h | 67 int bpp; member in struct:MTFrameHeader
|
/external/qemu/android/utils/ |
H A D | jpeg-compress.h | 85 * bpp - Number of bytes per pixel in the framebuffer. 98 int bpp, int bpl,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | 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/gallium/drivers/llvmpipe/ |
H A D | 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/qemu/distrib/sdl-1.2.15/src/video/nds/ |
H A D | SDL_ndsvideo.c | 43 static SDL_Surface *NDS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 240 int width, int height, int bpp, Uint32 flags) 244 //if(width > 1024 || height > 512 || bpp > 16) 247 if(bpp >8) { 248 bpp=16; 269 if(bpp <= 8) { 270 bpp=8; 282 if(bpp < 15) bpp=15; 290 if(bpp 239 NDS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/ |
H A D | SDL_nullvideo.c | 54 static SDL_Surface *DUMMY_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 162 int width, int height, int bpp, Uint32 flags) 168 this->hidden->buffer = SDL_malloc(width * height * (bpp / 8)); 176 SDL_memset(this->hidden->buffer, 0, width * height * (bpp / 8)); 179 if ( ! SDL_ReallocFormat(current, bpp, 0, 0, 0, 0) ) { 190 current->pitch = current->w * (bpp / 8); 161 DUMMY_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testgamma.c | 34 int get_video_args(char *argv[], int *w, int *h, int *bpp, Uint32 *flags) argument 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);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_tracker.h | 74 #define xa_format(bpp,type,a,r,g,b) (((bpp) << 24) | \ 84 #define xa_format_c(bpp,type,c1,c2) (((bpp) << 24) | \
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/server/ |
H A D | radeon_dri.h | 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon13499
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/server/ |
H A D | radeon_dri.h | 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon13511
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_tracker.h | 74 #define xa_format(bpp,type,a,r,g,b) (((bpp) << 24) | \ 84 #define xa_format_c(bpp,type,c1,c2) (((bpp) << 24) | \
|
/external/mesa3d/src/mesa/drivers/dri/r200/server/ |
H A D | radeon_dri.h | 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon27072
|
/external/mesa3d/src/mesa/drivers/dri/radeon/server/ |
H A D | radeon_dri.h | 70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon27084
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | 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 82 WIMP_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument 442 int bpp = this->screen->format->BitsPerPixel; local [all...] |