/external/webp/src/utils/ |
filters.c | 29 assert(bpp > 0); \ 30 assert(stride >= width * bpp); 46 int width, int height, int bpp, int stride, int inverse, uint8_t* out) { 55 memcpy((void*)out, (const void*)in, bpp); 57 PredictLine(in, preds - stride, out, bpp, inverse); 59 PredictLine(in + bpp, preds, out + bpp, bpp * (width - 1), inverse); 67 int bpp, int stride, uint8_t* filtered_data) { 68 DoHorizontalFilter(data, width, height, bpp, stride, 0, filtered_data) [all...] |
filters.h | 33 int bpp, int stride, uint8_t* out); 38 // 'bpp' is number of bytes per pixel, and
|
/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/webkit/Source/WebKit2/Shared/qt/ |
UpdateChunk.cpp | 106 int bpp; local 108 bpp = 2; 110 bpp = 4; 112 return ((m_rect.width() * bpp + 3) & ~0x3) 123 int bpp; local 126 bpp = 2; 129 bpp = 4; 132 return QImage(reinterpret_cast<unsigned char*>(m_sharedMemory->data()), m_rect.width(), m_rect.height(), (m_rect.width() * bpp + 3) & ~0x3, format);
|
/external/chromium/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/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:__anon13348 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/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 | 269 // 16bpp 276 // 24bpp 281 // 32bpp 289 // 12bpp 311 // 16bpp 368 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) 372 *bpp = 12; 380 *bpp = 12; 386 *bpp = 12; 393 *bpp = 16 417 unsigned int bpp, planes; local 427 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/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
ImageFlipper.java | 58 int bpp = img.getFormat().getBitsPerPixel() / 8; local 59 int scanline = w * bpp;
|
DDSLoader.java | 111 private int bpp; field in class:DDSLoader 157 bpp = 8; 264 bpp = 4; 272 bpp = 8; 276 bpp = 8; 283 bpp = 4; 287 bpp = 8; 300 int size = ((width + 3) / 4) * ((height + 3) / 4) * bpp * 2; 319 bpp = in.readInt(); 332 switch (bpp) { [all...] |
/external/qemu/android/ |
multitouch-port.h | 67 int bpp; member in struct:MTFrameHeader
|
/external/qemu/android/utils/ |
jpeg-compress.h | 81 * bpp - Number of bytes per pixel in the framebuffer. 94 int bpp, int bpl,
|
/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;
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
ImageToAwt.java | 53 final int bpp, am, rm, gm, bm, as, rs, gs, bs, im, is; field in class:ImageToAwt.DecodeParams 55 public DecodeParams(int bpp, int am, int rm, int gm, int bm, int as, int rs, int gs, int bs, int im, int is) { 56 this.bpp = bpp; 69 public DecodeParams(int bpp, int rm, int rs, int im, int is, boolean alpha){ 70 this.bpp = bpp; 91 public DecodeParams(int bpp, int rm, int rs, int im, int is){ 92 this(bpp, rm, rs, im, is, false); 182 private static int readPixel(ByteBuffer buf, int idx, int bpp){ 272 int bpp = image.getFormat().getBitsPerPixel(); local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
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 == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first * 442 int bpp = this->screen->format->BitsPerPixel; local [all...] |