/hardware/intel/img/hwcomposer/ips/common/ |
PixelFormat.cpp | 24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) 29 bpp = 4; 33 bpp = 4; 37 bpp = 4; 41 bpp = 4; 45 bpp = 2;
|
PixelFormat.h | 35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp);
|
/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/qemu/distrib/sdl-1.2.15/src/video/photon/ |
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);
|
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/ |
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 : comps * 8 [all...] |
/external/libpng/arm/ |
arm_init.c | 56 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) 116 if (bpp == 3) 124 else if (bpp == 4)
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
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);
|
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...] |
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/pixman/pixman/ |
pixman-android.h | 25 int bpp; member in struct:_android_simple_image
|
/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/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;
|
/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...] |
/system/extras/tests/framebuffer/ |
fb_test.c | 36 int bpp; member in struct:simple_fb 52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) 72 if (bpp && vi.bits_per_pixel != bpp) { 73 printf("bpp != %d, forcing...\n", bpp); 74 vi.bits_per_pixel = bpp; 76 perror("failed to force bpp"); 100 fb->bpp = vi.bits_per_pixel; 109 fb->bpp = vi.bits_per_pixel 261 int bpp = 0; local [all...] |
/external/qemu/android/ |
multitouch-port.h | 67 int bpp; member in struct:MTFrameHeader
|
/external/qemu/android/utils/ |
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/ |
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/ |
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/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/src/video/nds/ |
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==8 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/ |
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);
|
/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);
|
/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;
|
/hardware/qcom/display/msm8226/libgralloc/ |
gr.h | 119 int (*LINK_adreno_compute_padding) (int width, int bpp, 126 int bpp, 144 int *bpp);
|