/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_video.c | 367 int SDL_VideoModeOK (int width, int height, int bpp, Uint32 flags) 374 /* Currently 1 and 4 bpp are not supported */ 375 if ( bpp < 8 || bpp > 32 ) { 385 table = ((bpp+7)/8)-1; 386 SDL_closest_depths[table][0] = bpp; 571 SDL_Surface * SDL_SetVideoMode (int width, int height, int bpp, Uint32 flags) 598 /* Default to the current video bpp */ 599 if ( bpp == 0 ) { 601 bpp = SDL_VideoSurface->format->BitsPerPixel [all...] |
SDL_sysvideo.h | 70 specified -- the desired bpp will be emulated with a shadow 75 int width, int height, int bpp, Uint32 flags);
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_video.c | 56 static SDL_Surface *DirectFB_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 159 static DFBSurfacePixelFormat GetFormatForBpp (int bpp, IDirectFBDisplayLayer *layer) 162 int bytes = (bpp + 7) / 8; 186 int bpp, 590 static SDL_Surface *DirectFB_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) 598 width, height, bpp, flags); 640 ret = HIDDEN->dfb->SetVideoMode (HIDDEN->dfb, width, height, bpp); 647 ret = HIDDEN->dfb->SetVideoMode (HIDDEN->dfb, width, height, bpp); 660 dsc.pixelformat = GetFormatForBpp (bpp, HIDDEN->layer);
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11video.c | 63 static SDL_Surface *X11_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 669 vformat->BitsPerPixel = this->hidden->visuals[i].bpp; 896 int w, int h, int bpp, Uint32 flags) 934 if ( this->hidden->visuals[i].bpp == bpp ) 945 printf("Choosing %s visual at %d bpp - %d colormap entries\n", vis->class == PseudoColor ? "PseudoColor" : (vis->class == TrueColor ? "TrueColor" : (vis->class == DirectColor ? "DirectColor" : "Unknown")), depth, vis->map_entries); 957 if ( ! SDL_ReallocFormat(screen, bpp, [all...] |
SDL_x11video.h | 110 int bpp; /* pixel quantum in bits */ member in struct:SDL_PrivateVideoData::__anon6243 115 int depth; /* current visual depth (not bpp) */
|
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
SDL_aavideo.c | 46 static SDL_Surface *AA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 246 int width, int height, int bpp, Uint32 flags)
|
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgavideo.c | 54 static SDL_Surface *DGA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 176 static int DGA_AddMode(_THIS, int bpp, int w, int h) 183 if ( bpp < 8 ) { /* Not supported */ 186 index = ((bpp+7)/8)-1; 252 printf("Mode: %s (%dx%d) at %d bpp (%f refresh, %d pitch) num: %d\n", 293 /* Prefer 32 bpp over 24 bpp, 16 bpp over 15 bpp */ 453 int width, int height, int bpp, Uint32 flags [all...] |
/frameworks/base/libs/surfaceflinger_client/ |
Surface.cpp | 69 const size_t bpp = bytesPerPixel(src->format); local 70 const size_t dbpr = dst->stride * bpp; 71 const size_t sbpr = src->stride * bpp; 77 size_t size = r.width() * bpp; 78 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp; 79 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp; [all...] |
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 33 - 1.30: added -loop option for -bgpat (ifdef FEATURE_LOOP); fixed bpp = 1295 int bpp = ximage->bits_per_pixel; local 1420 int bpp = ximage->bits_per_pixel; local 1640 int bpp = ximage->bits_per_pixel; local [all...] |
/external/skia/src/core/ |
SkBitmap.cpp | 154 int bpp; local 158 bpp = 0; // not applicable 163 bpp = 1; 167 bpp = 2; 170 bpp = 4; 174 bpp = 0; // error 177 return bpp; [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemvideo.c | 81 static SDL_Surface *GEM_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 622 int width, int height, int bpp, Uint32 flags) 633 if (VDI_bpp != bpp) { 634 SDL_SetError("%d bpp mode not supported", bpp); 654 printf("sdl:video:gem: setvideomode(): %dx%dx%d = %d\n", width, height, bpp, screensize);
|
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
rate_control.cpp | 172 double L1, L2, L3, bpp; local 249 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8)); 271 if (bpp <= L1) 273 else if (bpp <= L2) 275 else if (bpp <= L3) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
SDL_vglvideo.c | 50 static SDL_Surface *VGL_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags); 313 int width, int height, int bpp, Uint32 flags) 319 modes = VGLListModes(bpp, V_INFO_MM_DIRECT | V_INFO_MM_PACKED);
|
/external/qemu/distrib/libpng-1.2.19/ |
pngrutil.c | 3199 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 3232 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 3258 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 3761 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 3792 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 3817 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local [all...] |
pngwutil.c | 2114 png_uint_32 mins, bpp; local [all...] |
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_video.h | 276 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags); 292 * If 'bpp' is 0, it is treated as the current display bits per pixel. 348 (int width, int height, int bpp, Uint32 flags); [all...] |
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_video.h | 276 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags); 292 * If 'bpp' is 0, it is treated as the current display bits per pixel. 348 (int width, int height, int bpp, Uint32 flags); [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_video.h | 276 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags); 292 * If 'bpp' is 0, it is treated as the current display bits per pixel. 348 (int width, int height, int bpp, Uint32 flags); [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_video.h | 280 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags); 296 * If 'bpp' is 0, it is treated as the current display bits per pixel. 352 (int width, int height, int bpp, Uint32 flags); [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_video.h | 276 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width, int height, int bpp, Uint32 flags); 292 * If 'bpp' is 0, it is treated as the current display bits per pixel. 348 (int width, int height, int bpp, Uint32 flags); [all...] |
/cts/tools/host/src/com/android/cts/ |
HostUtils.java | 65 * Convert a 16bpp RawImage into a BufferedImage. 71 assert rawImage.bpp == 16;
|
/sdk/screenshot/src/com/android/screenshot/ |
Screenshot.java | 220 int IndexInc = rawImage.bpp >> 3;
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbvideo.c | 69 { 0, 0, 1600, 1200 }, /* 16 bpp: 0x11E, or 286 */ 70 { 0, 0, 1408, 1056 }, /* 16 bpp: 0x19A, or 410 */ 71 { 0, 0, 1280, 1024 }, /* 16 bpp: 0x11A, or 282 */ 72 { 0, 0, 1152, 864 }, /* 16 bpp: 0x192, or 402 */ 73 { 0, 0, 1024, 768 }, /* 16 bpp: 0x117, or 279 */ 74 { 0, 0, 960, 720 }, /* 16 bpp: 0x18A, or 394 */ 75 { 0, 0, 800, 600 }, /* 16 bpp: 0x114, or 276 */ 76 { 0, 0, 768, 576 }, /* 16 bpp: 0x182, or 386 */ 79 { 0, 0, 640, 480 }, /* 16 bpp: 0x111, or 273 */ 80 { 0, 0, 640, 400 }, /* 8 bpp: 0x100, or 256 * [all...] |
/external/libpng/ |
pngrutil.c | 2956 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 2987 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local 3012 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local [all...] |
pngwutil.c | 2150 png_uint_32 mins, bpp; local [all...] |