Searched defs:bpp (Results 26 - 50 of 83) sorted by relevance

1234

/external/qemu/distrib/sdl-1.2.12/src/video/photon/
H A DSDL_ph_image.c39 int bpp; local
41 bpp=screen->format->BitsPerPixel;
44 switch(bpp)
67 SDL_SetError("ph_SetupImage(): unsupported bpp=%d !\n", bpp);
74 if ((bpp==8) && (desktoppal==SDLPH_PAL_EMULATE))
88 SDL_SetError("ph_SetupImage(): PhCreateImage() failed for bpp=8 !\n");
98 SDL_SetError("ph_SetupImage(): PhCreateImage() failed for bpp=%d !\n", bpp);
114 int bpp; local
[all...]
H A DSDL_ph_video.c46 static SDL_Surface *ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
320 static const struct ColourMasks* ph_GetColourMasks(int bpp) argument
331 switch (bpp)
448 static SDL_Surface* ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
458 if (((current->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && (ph_GetVideoMode(width, height, bpp)==0))
467 mask = ph_GetColourMasks(bpp);
470 SDL_ReallocFormat(current, mask->bpp, mask->red, mask->green, mask->blue, 0);
474 SDL_SetError("ph_SetVideoMode(): desired bpp is not supported by photon !\n");
492 if (bpp==8)
508 if (desktopbpp!=bpp)
[all...]
H A DSDL_ph_video.h69 Uint32 bpp; member in struct:ColourMasks
88 Uint32 OGLBPP; /* OpenGL bpp */
116 Uint32 visualbpp; /* current visual bpp */
117 Uint32 desktopbpp; /* bpp of desktop at the moment of start */
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/
H A DSDL_pgvideo.c41 static SDL_Surface *PG_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
177 vformat->BitsPerPixel = this->hidden->mi.bpp;
178 vformat->BytesPerPixel = this->hidden->mi.bpp >> 3;
179 if (this->hidden->mi.bpp & 7)
192 int width, int height, int bpp, Uint32 flags)
204 if ( ! SDL_ReallocFormat(current, bpp, 0, 0, 0, 0) ) {
244 current->format->BitsPerPixel = this->hidden->shm.bpp;
245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3;
246 if (this->hidden->shm.bpp & 7)
191 PG_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
H A DSDL_gsyuv.c82 int bpp; local
182 bpp = this->screen->format->BytesPerPixel;
185 width * height * bpp +
199 hwdata->dma_tags = hwdata->ipu_omem + width * height * bpp;
245 tags[10] = ((16*16*bpp) >> 4) | (2LL << 58);
248 packet[pnum].len = 16 * 16 * bpp;
257 base += 16 * 16 * bpp;
H A DSDL_gsvideo.c47 static SDL_Surface *GS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
141 int bpp; member in struct:__anon8347
158 -1, /* 0 bpp, not a legal value */
159 -1, /* 8 bpp, not supported (yet?) */
160 PS2_GS_PSMCT16, /* 16 bpp */
161 PS2_GS_PSMCT24, /* 24 bpp */
162 PS2_GS_PSMCT32 /* 32 bpp */
325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp;
381 // FIXME - what's wrong with the stretch code at 16 bpp?
413 int width, int height, int bpp, Uint3
412 GS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/
H A DSDL_sysvideo.cc56 static SDL_Surface *QT_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
276 int width, int height, int bpp, Uint32 flags)
304 qimage = new QImage(current->w, current->h, bpp);
275 QT_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
H A DSDL_QuartzVideo.h90 Uint32 width, height, bpp; /* frequently used data about the display */ member in struct:SDL_PrivateVideoData
138 #define device_bpp (this->hidden->bpp)
189 int QZ_SetupOpenGL (_THIS, int bpp, Uint32 flags);
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
H A DSDL_wimpvideo.c47 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...]
H A DSDL_riscosFullScreenVideo.c53 int pixel_depth; // 2^pixel_depth = bpp,i.e. 0 = 1, 1 = 2, 4 = 16, 5 = 32
61 int FULLSCREEN_SetMode(int width, int height, int bpp);
80 static int FULLSCREEN_AddMode(_THIS, int bpp, int w, int h);
91 extern unsigned char *WIMP_CreateBuffer(int width, int height, int bpp);
97 int width, int height, int bpp, Uint32 flags)
105 switch(bpp)
130 if (FULLSCREEN_SetMode(width, height, bpp) == 0)
139 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
194 this->hidden->bank[0] = WIMP_CreateBuffer(width, height, bpp);
215 if (bpp
96 FULLSCREEN_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
573 FULLSCREEN_AddMode(_THIS, int bpp, int w, int h) argument
669 FULLSCREEN_SetMode(int width, int height, int bpp) argument
751 int bpp = this->screen->format->BitsPerPixel; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/svga/
H A DSDL_svgavideo.c56 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][mod
339 SVGA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
498 int bpp = this->screen->format->BytesPerPixel; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/
H A DSDL_vglvideo.c50 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);
312 VGL_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
/external/skia/gpu/src/
H A DGrAtlas.cpp104 const int bpp = GrMaskFormatBytesPerPixel(fMaskFormat); local
105 const size_t dstRB = dstW * bpp;
110 dst = zerofill(dst, bpp); // zero left edge
111 memcpy(dst, image, width * bpp);
112 dst += width * bpp;
113 dst = zerofill(dst, bpp); // zero right edge
114 image = (const void*)((const char*)image + width * bpp);
/external/webkit/Source/WebCore/platform/graphics/android/
H A DTransferQueue.cpp397 int bpp = 4; // Now we only deal with RGBA8888 format. local
406 uint8_t* dst = &(img[buffer.stride * row * bpp]);
407 uint8_t* src = &(bitmapOrigin[bitmap.width() * row * bpp]);
408 memcpy(dst, src, bpp * bitmap.width());
411 memcpy(img, bitmapOrigin, bpp * bitmap.width() * bitmap.height());
/external/mesa3d/test/
H A Dimage_file.h44 fwrite("\x20\0", 2, 1, file); // 32bpp
52 // for non 32bpp image, need padding at end of each row for 4 byte alignment
105 unsigned char bpp; member in struct:TGAHeader
138 if (24 == header.bpp)
149 else if (32 == header.bpp)
164 if (8 == header.bpp)
178 if (24 == header.bpp)
207 else if (32 == header.bpp)
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_cgxvideo.c47 static SDL_Surface *CGX_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
256 Uint32 MakeBitMask(_THIS,int type,int format,int *bpp) argument
260 if(this->hidden->depth==*bpp)
381 switch(*bpp)
410 *bpp=24;
538 vformat->BitsPerPixel = this->hidden->visuals[i].depth; /* this->hidden->visuals[i].bpp; */
665 int w, int h, int bpp, Uint32 flags)
696 if ( this->hidden->visuals[i].depth == bpp ) /* era .depth */
727 if(bpp!=this->hidden->depth)
729 bpp
664 CGX_CreateWindow(_THIS, SDL_Surface *screen, int w, int h, int bpp, Uint32 flags) argument
900 CGX_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/
H A DSDL_romvideo.c58 static SDL_Surface *ROM_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
482 int width, int height, int bpp, Uint32 flags)
481 ROM_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/
H A DSDL_wsconsvideo.c55 static SDL_Surface *WSCONS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
206 WSCONS_ReportError("Displays with 8 bpp or less are not supported");
273 "available for this %d bpp.", private->info.depth);
343 int width, int height, int bpp, Uint32 flags)
351 if (bpp != private->info.depth) {
352 WSCONS_ReportError("Requested video depth %d bpp not supported.", bpp);
357 bpp,
472 WSCONS_ReportError("Shadow copy only implemented for 16 bpp");
342 WSCONS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11video.h110 int bpp; /* pixel quantum in bits */ member in struct:SDL_PrivateVideoData::__anon8361
115 int depth; /* current visual depth (not bpp) */
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/
H A DSDL_xbios.c71 static SDL_Surface *XBIOS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
225 /* Keep the list sorted: bpp, width, height */
506 int width, int height, int bpp, Uint32 flags)
517 /* Limit bpp */
518 if (bpp>16) {
519 bpp = 16;
521 bpp >>= 4;
523 /* Search if the mode exists (width, height, bpp) */
524 for ( mode=0; SDL_modelist[bpp][mode]; ++mode ) {
525 if ( (SDL_modelist[bpp][mod
505 XBIOS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
[all...]
/external/opencv/otherlibs/highgui/
H A Dutils.cpp351 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative ) argument
353 int i, length = 1 << bpp;
365 bool IsColorPalette( PaletteEntry* palette, int bpp )
367 int i, length = 1 << bpp;
/external/qemu/distrib/libpng-1.2.19/
H A Dpngvcrd.c21 * [png_read_filter_row_mmx_avg() bpp == 2 bugfix, GRR 20000916]
150 __int64 mask2=0x0101010202020404, //24bpp
276 } // end 24 bpp
285 __int64 mask3=0x0101010102020202, //32bpp
420 } // end 32 bpp
526 } // end 8 bpp
808 } // end 16 bpp
972 } // end 48 bpp
1942 int bpp; local
1948 bpp
2382 int bpp; local
3279 int bpp; local
3769 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
3828 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
3867 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
H A DSDL_sysvideo.cc48 static SDL_Surface *BE_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
265 int bpp; local
293 bpp = ColorSpaceToBitsPerPixel(modes[i].space);
294 //if ( bpp != 0 ) { // There are bugs in changing colorspace
296 BE_AddMode(_this, ((bpp+7)/8)-1,
347 static bool BE_FindClosestFSMode(_THIS, int width, int height, int bpp, argument
360 modes = SDL_modelist[((bpp+7)/8)-1];
374 if ( (bpp == ColorSpaceToBitsPerPixel(dmodes[i].space)) &&
404 int width, height, bpp; local
416 bpp
490 BE_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgavideo.c54 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) argument
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, Uint3
452 DGA_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/
H A DSDL_DirectFB_video.c56 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) argument
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) argument
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);
184 EnumModesCallback(int width, int height, int bpp, void *data) argument

Completed in 3673 milliseconds

1234