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

12 3 4

  /external/qemu/android/skin/
file.h 31 int bpp; /* bits per pixel, 32 or 16 */ member in struct:SkinDisplay
  /external/qemu/distrib/sdl-1.2.15/src/video/
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/qemu/distrib/sdl-1.2.15/src/video/bwindow/
SDL_sysvideo.cc 48 static SDL_Surface *BE_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
264 int bpp; local
292 bpp = ColorSpaceToBitsPerPixel(modes[i].space);
293 //if ( bpp != 0 ) { // There are bugs in changing colorspace
295 BE_AddMode(_this, ((bpp+7)/8)-1,
346 static bool BE_FindClosestFSMode(_THIS, int width, int height, int bpp,
359 modes = SDL_modelist[((bpp+7)/8)-1];
382 if ( (bpp == ColorSpaceToBitsPerPixel(dmodes[i].space)) &&
434 int bpp = screen->format->BitsPerPixel; local
435 if (bpp != ColorSpaceToBitsPerPixel(mode.space) |
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/photon/
SDL_ph_image.c 39 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...]
SDL_ph_video.h 69 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.15/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:__anon13508
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.15/src/video/quartz/
SDL_QuartzVideo.h 97 Uint32 width, height, bpp; /* frequently used data about the display */ member in struct:SDL_PrivateVideoData
139 #define device_bpp (this->hidden->bpp)
192 int QZ_SetupOpenGL (_THIS, int bpp, Uint32 flags);
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscosFullScreenVideo.c 53 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 == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first *
751 int bpp = this->screen->format->BitsPerPixel; 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/test/
testgl.c 452 int logo, int logocursor, int slowly, int bpp, float gamma, int noframe, int fsaa, int sync, int accel )
486 if ( bpp == 0 ) {
488 bpp = 8;
490 bpp = 16; /* More doesn't seem to work */
511 switch (bpp) {
546 if ( SDL_SetVideoMode( w, h, bpp, video_flags ) == NULL ) {
552 printf("Screen BPP: %d\n", SDL_GetVideoSurface()->format->BitsPerPixel);
567 printf( "SDL_GL_DEPTH_SIZE: requested %d, got %d\n", bpp, value );
788 int bpp = 0; local
817 if ( strcmp(argv[i], "-bpp") == 0 )
    [all...]
  /hardware/msm7k/libgralloc/
gralloc.cpp 470 int bpp = 0; local
475 bpp = 4;
478 bpp = 3;
483 bpp = 2;
495 size = stride * h * bpp;
498 size_t bpr = (w*bpp + (align-1)) & ~(align-1);
500 stride = bpr / bpp;
  /hardware/samsung_slsi/exynos5/gralloc/
gralloc.cpp 138 int bpp = 0, vstride, fd, err; local
145 bpp = 4;
148 bpp = 3;
154 bpp = 2;
166 bpr = ALIGN(w*bpp, 64);
172 *stride = bpr / bpp;
  /hardware/samsung_slsi/exynos5/include/
s5p_fimc_v4l2.h 115 int bpp; member in struct:yuv_fmt_list
  /hardware/ti/omap4xxx/camera/
Encoder_libjpeg.cpp 364 int bpp = 2; // for uyvy local
390 bpp = 1;
433 row_uv = src + out_width * out_height * bpp;
447 row_src = row_src + out_width*bpp;
452 row_uv = row_uv + out_width * bpp;
  /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/distrib/sdl-1.2.15/src/video/x11/
SDL_x11video.h 107 int bpp; /* pixel quantum in bits */ member in struct:SDL_PrivateVideoData::__anon13523
112 int depth; /* current visual depth (not bpp) */
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp 172 double L1, L2, L3, bpp; local
247 bpp = 1.0 * rateCtrl->bitRate / (rateCtrl->frame_rate * (video->PicSizeInMbs << 8));
269 if (bpp <= L1)
271 else if (bpp <= L2)
273 else if (bpp <= L3)
    [all...]
  /hardware/libhardware/tests/camera2/
camera2.cpp 491 size_t bpp = 2; local
494 (const char *)(buffer.data + y * buffer.stride * bpp),
495 buffer.width * bpp);
794 size_t bpp = 1; local
797 (const char *)(buffer.data + y * buffer.stride * bpp),
798 buffer.width * bpp);
  /hardware/qcom/media/libc2dcolorconvert/
C2DColorConverter.cpp 533 //add bpp?
644 int bpp = 1; //bytes per pixel local
646 bpp = 2;
648 bpp = 4;
653 ret = write(fd, base, mDstWidth*bpp);
  /cts/tests/src/android/opengl/cts/
CompressedTextureLoader.java 413 int bpp = 0; local
417 bpp = 4;
421 bpp = 8;
428 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3;
  /device/generic/goldfish/opengl/system/gralloc/
gralloc.cpp 202 int bpp = 0; local
208 bpp = 4;
213 bpp = 3;
218 bpp = 2;
223 bpp = 2;
228 bpp = 2;
233 bpp = 2;
234 align = 16*bpp;
244 bpp = 1;
255 bpp = 1; // per-channel bp
751 int bpp = glUtilsPixelBitSize(cb->glFormat, cb->glType) >> 3; local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/texture/
Image.java 260 private int bpp; field in class:Image.Format
265 private Format(int bpp){
266 this.bpp = bpp;
269 private Format(int bpp, boolean isFP){
270 this(bpp);
274 private Format(int bpp, boolean isDepth, boolean isCompressed, boolean isFP){
275 this(bpp, isFP);
284 return bpp;
  /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/libpng-1.2.19/
pngvcrd.c 21 * [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
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...]

Completed in 1633 milliseconds

12 3 4