/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/pixman/pixman/ |
pixman-android.h | 25 int bpp; member in struct:_android_simple_image
|
/external/chromium_org/content/browser/compositor/ |
software_output_device_x11.cc | 54 int bpp = gfx::BitsPerPixelForPixmapDepth(display_, attributes_.depth); local 56 if (bpp != 32 && bpp != 16 && ui::QueryRenderSupport(display_)) { 57 // gfx::PutARGBImage only supports 16 and 32 bpp, but Xrender can do other
|
/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/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/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/deqp/framework/delibs/deimage/ |
deTarga.c | 79 int bpp = 4; local 86 deARGB* dst = (deUint32*)((deUint8*)image->pixels + dstY*image->width*bpp);
|
/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:__anon18124
|
/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 | 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);
|
/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:__anon31683
|
/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_stretch.c | 70 static int generate_rowbytes(int src_w, int dst_w, int bpp) 73 int bpp; member in struct:__anon33151 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 == 2 ) 220 const int bpp = dst->format->BytesPerPixel; local [all...] |