HomeSort by relevance Sort by last modified time
    Searched refs:bpp (Results 26 - 50 of 119) sorted by null

12 3 4 5

  /external/qemu/distrib/sdl-1.2.12/src/video/ipod/
SDL_ipodvideo.c 50 static SDL_Surface *iPod_SetVideoMode (_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
334 static SDL_Surface *iPod_SetVideoMode (_THIS, SDL_Surface *current, int width, int height, int bpp,
338 if (bpp > 8) {
347 this->hidden->buffer = SDL_malloc (width * height * (bpp / 8));
353 memset (this->hidden->buffer, 0, width * height * (bpp / 8));
355 if (!SDL_ReallocFormat (current, bpp, Rmask, Gmask, Bmask, 0)) {
362 if (bpp <= 8) {
376 current->pitch = current->w * (bpp / 8);
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscosvideo.c 55 static SDL_Surface *RISCOS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
65 extern SDL_Surface *FULLSCREEN_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
71 extern SDL_Surface *WIMP_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
173 vars[0] = 9; /* Log base 2 bpp */
187 /* Minimum bpp for SDL is 8 */
252 int width, int height, int bpp, Uint32 flags)
260 return FULLSCREEN_SetVideoMode(this, current, width, height, bpp, flags);
264 return WIMP_SetVideoMode(this, current, width, height, bpp, flags);
  /frameworks/base/libs/ui/
GraphicBufferMapper.cpp 118 int bpp = 0; local
123 bpp = 4;
126 bpp = 3;
131 bpp = 2;
136 size_t bpr = (w*bpp + (align-1)) & ~(align-1);
138 size_t stride = bpr / bpp;
  /hardware/libhardware/modules/gralloc/
gralloc.cpp 209 int bpp = 0; local
214 bpp = 4;
217 bpp = 3;
222 bpp = 2;
227 size_t bpr = (w*bpp + (align-1)) & ~(align-1);
229 stride = bpr / bpp;
  /development/tools/yuv420sp2rgb/
yuv420sp2rgb.c 138 int bpp; local
157 bpp = 3 + !!alpha;
158 offset *= bpp;
160 FAILIF(offset + bpp > ctx->size, "point (%d, %d) at offset %d exceeds the size %d of the buffer.\n",
206 int bpp = 3; local
222 bpp = 4;
226 outsize = header_size + width * height * bpp;
  /external/qemu/distrib/sdl-1.2.12/src/video/gapi/
SDL_gapivideo.c 34 // TODO: optimize 8bpp landscape mode
77 extern int DIB_AddMode(_THIS, int bpp, int w, int h);
82 static SDL_Surface *GAPI_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
189 static int GAPI_AddMode(_THIS, int bpp, int w, int h)
196 if ( bpp < 8 ) { /* Not supported */
199 index = ((bpp+7)/8)-1;
427 /* unknown pixel format, try define by BPP! */
499 int i,bpp; local
510 // SDL does not supports 2/4bpp mode, so use 16 bpp
1180 int bpp = 16; \/\/ we always use either 8 or 16 bpp internally local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
SDL_sysvideo.cc 48 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,
360 modes = SDL_modelist[((bpp+7)/8)-1];
374 if ( (bpp == ColorSpaceToBitsPerPixel(dmodes[i].space)) &&
404 int width, height, bpp; local
416 bpp = screen->format->BitsPerPixel
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
SDL_gsvideo.c 47 static SDL_Surface *GS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
141 int bpp; member in struct:__anon6229
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, Uint32 flags
    [all...]
SDL_gsyuv.c 82 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;
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_ph_gl.c 195 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags)
205 if ((oglctx!=NULL) && (oglflags==flags) && (oglbpp==bpp))
263 oglbpp=bpp;
278 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags)
399 oglbpp=bpp;
SDL_ph_video.c 46 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)
331 switch (bpp)
448 static SDL_Surface* ph_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags)
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...]
  /device/htc/common/updater/
recovery_updater.c 86 int width = 0, height = 0, bpp = 0; local
97 (bpp = strtol(bpp_string->data, NULL, 10)) == 0) {
98 printf("%s(): bad bpp argument", name);
128 width, height, bpp,
firmware.c 150 int width, int height, int bpp,
172 width, height, bpp, busy_image, fail_image, log_filename)) {
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzWindow.m 36 int bpp;
38 bpp = surface->format->BitsPerPixel;
40 if (bpp == 32) {
  /external/freetype/src/base/
ftbitmap.c 106 FT_UInt bpp; local
120 bpp = 1;
124 bpp = 2;
128 bpp = 4;
134 bpp = 8;
146 FT_Int bit_last = ( width + xpixels ) * bpp;
181 FT_Int len = ( width * bpp + 7 ) >> 3;
190 FT_Int len = ( width * bpp + 7 ) >> 3;
  /external/qemu/distrib/libpng-1.2.19/
pnggccrd.c 205 * - fixed bug in png_read_filter_row_mmx_avg(), bpp == 2 case; three errors:
298 * 0x0000000000ffffffLL (bpp 3, avg) _amask5_3_0
299 * 0xffffffffffffffffLL (bpp 4, 6, avg) _amask0_8_0
300 * 0x000000000000ffffLL (bpp 2, avg) _amask6_2_0
301 * 0x0000000000ffffffLL (bpp 3, paeth) _amask5_3_0
302 * 0x00000000ffffffffLL (bpp 6, paeth) _amask4_4_0
303 * 0x00000000ffffffffLL (bpp 4, paeth) _amask4_4_0
304 * 0x00000000ffffffffLL (bpp 8, paeth) _amask4_4_0
305 * 0x0000ffffff000000LL (bpp 3, sub) _amask2_3_3
306 * 0x00000000ffff0000LL (bpp 2, sub) _amask4_2_
3247 int bpp; local
4012 int bpp; local
5126 int bpp; local
5883 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
5942 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
5983 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
    [all...]
  /system/core/adb/
framebuffer_service.c 38 unsigned int bpp; member in struct:fbinfo
70 fbinfo.bpp = vinfo.bits_per_pixel;
  /device/samsung/crespo/include/
s5p_fimc.h 99 int bpp; member in struct:yuv_fmt_list
  /external/qemu/distrib/sdl-1.2.12/src/video/nanox/
SDL_nxvideo.h 46 int bpp ; member in struct:NX_SDL_VISUAL
  /external/qemu/
console.c 232 int x, y, bpp; local
234 bpp = (ds_get_bits_per_pixel(ds) + 7) >> 3;
236 ds_get_linesize(ds) * posy + bpp * posx;
239 switch(bpp) {
268 int wb, y, bpp; local
270 bpp = (ds_get_bits_per_pixel(ds) + 7) >> 3;
271 wb = w * bpp;
274 ds_get_linesize(ds) * ys + bpp * xs;
276 ds_get_linesize(ds) * yd + bpp * xd;
284 ds_get_linesize(ds) * (ys + h - 1) + bpp * xs
433 unsigned int font_data, linesize, xorcol, bpp; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11yuv.c 101 int bpp; local
161 /* Precalculate the bpp for the pitch workaround below */
167 bpp = 2;
170 bpp = 1;
255 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) {
258 width = hwdata->image->pitches[0] / bpp;
299 if ( hwdata->image != NULL && hwdata->image->pitches[0] != (width*bpp) ) {
302 width = hwdata->image->pitches[0] / bpp;
  /external/qemu/distrib/sdl-1.2.12/src/video/xbios/
SDL_xbios.c 71 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][mode]->w == width) &
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/dc/
SDL_dcvideo.c 41 static SDL_Surface *DC_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
191 int width, int height, int bpp, Uint32 flags)
204 switch(bpp) {
217 case 24: bpp = 32;
231 // if ( bpp != current->format->BitsPerPixel ) {
232 if ( ! SDL_ReallocFormat(current, bpp, Rmask, Gmask, Bmask, 0) ) {
  /external/qemu/distrib/sdl-1.2.12/src/video/epoc/
SDL_epocvideo.cpp 84 static SDL_Surface *EPOC_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
268 /* It seems that in SA1100 machines for 8bpp displays there is a 512 palette table at the
270 * In 12 bpp machines the table has 16 entries.
341 int width, int height, int bpp, Uint32 flags)
344 if (!((width == 640 && height == 200 && bpp == 12) ||
345 (width == 640 && height == 400 && bpp == 12) ||
346 (width == 640 && height == 480 && bpp == 12) ||
347 (width == 320 && height == 200 && bpp == 12) ||
348 (width == 640 && height == 200 && bpp == 8) ||
349 (width == 640 && height == 400 && bpp == 8) ||
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/windx5/
SDL_dx5video.c 408 static SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
656 int bpp = desc->ddpfPixelFormat.u1.dwRGBBitCount; local
659 int bpp = desc->ddpfPixelFormat.dwRGBBitCount; local
671 switch (bpp) {
676 bpp /= 8; --bpp;
677 if ( enumlists[bpp] &&
678 enumlists[bpp]->r.w == (Uint16)desc->dwWidth &&
679 enumlists[bpp]->r.h == (Uint16)desc->dwHeight ) {
680 if ( refreshRate > enumlists[bpp]->refreshRate &
987 int bpp; local
    [all...]

Completed in 747 milliseconds

12 3 4 5