HomeSort by relevance Sort by last modified time
    Searched refs:bpp (Results 51 - 75 of 324) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/qemu/distrib/sdl-1.2.15/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...]
  /external/chromium_org/content/browser/compositor/
software_output_device_x11.cc 54 int bpp = gfx::BitsPerPixelForPixmapDepth(display_, attributes_.depth); local
56 if (bpp != 32 && bpp != 16 && ui::QueryRenderSupport(display_)) {
57 // gfx::PutARGBImage only supports 16 and 32 bpp, but Xrender can do other
  /external/chromium_org/third_party/libyuv/unit_test/
video_common_test.cc 31 static bool TestValidFourCC(uint32 fourcc, int bpp) {
38 if (bpp < 0 || bpp > 32) {
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/gdi/
gdi_sw_winsys.c 131 unsigned bpp; local
141 bpp = util_format_get_blocksizebits(format);
155 gdt->bmi.bmiHeader.biBitCount = bpp;
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libwebp.cpp 557 static ScanlineImporter ChooseImporter(SkColorType ct, bool hasAlpha, int* bpp) {
561 *bpp = 4;
564 *bpp = 3;
569 *bpp = 4;
572 *bpp = 3;
576 *bpp = 3;
579 *bpp = 3;
603 int bpp = -1; local
604 const ScanlineImporter scanline_import = ChooseImporter(bm.colorType(), hasAlpha, &bpp);
608 if (-1 == bpp) {
    [all...]
  /external/mesa3d/src/gallium/winsys/sw/gdi/
gdi_sw_winsys.c 131 unsigned bpp; local
141 bpp = util_format_get_blocksizebits(format);
155 gdt->bmi.bmiHeader.biBitCount = bpp;
  /external/pixman/pixman/
pixman-trap.c 239 int bpp; local
250 bpp = PIXMAN_FORMAT_BPP (image->bits.format);
260 t = pixman_sample_ceil_y (t, bpp);
265 b = pixman_sample_floor_y (b, bpp);
270 pixman_edge_init (&l, bpp, t,
276 pixman_edge_init (&r, bpp, t,
351 int bpp; local
366 bpp = PIXMAN_FORMAT_BPP (image->bits.format);
373 t = pixman_sample_ceil_y (t, bpp);
378 b = pixman_sample_floor_y (b, bpp);
    [all...]
  /external/qemu/android/utils/
jpeg-compress.c 155 int bpp, int bpl,
161 const int x_shift = x * bpp;
177 if (bpp == 2) {
  /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/skia/src/images/
SkImageDecoder_libwebp.cpp 557 static ScanlineImporter ChooseImporter(SkColorType ct, bool hasAlpha, int* bpp) {
561 *bpp = 4;
564 *bpp = 3;
569 *bpp = 4;
572 *bpp = 3;
576 *bpp = 3;
579 *bpp = 3;
603 int bpp = -1; local
604 const ScanlineImporter scanline_import = ChooseImporter(bm.colorType(), hasAlpha, &bpp);
608 if (-1 == bpp) {
    [all...]
  /device/generic/goldfish/opengl/system/gralloc/
gralloc.cpp 198 int bpp = 0; local
204 bpp = 4;
209 bpp = 3;
214 bpp = 2;
219 bpp = 2;
220 align = 16*bpp;
230 bpp = 1;
241 bpp = 1; // per-channel bpp
247 bpp = 1; // per-channel bp
737 int bpp = glUtilsPixelBitSize(cb->glFormat, cb->glType) >> 3; local
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/
bitmap.py 134 # dimensions are: bpp, width, height, boxleft, boxtop, boxwidth, boxheight
180 def __init__(self, bpp, width, height, pixels, metadata=None):
181 assert bpp in [3, 4], 'Invalid bytes per pixel'
185 assert bpp * width * height == len(pixels), 'Dimensions and pixels mismatch'
187 self._bpp = bpp
195 def bpp(self): member in class:Bitmap
230 self._metadata['alpha'] = self.bpp == 4
270 if tolerance or self.bpp != other.bpp:
  /external/qemu/distrib/sdl-1.2.15/src/video/gapi/
SDL_gapivideo.c 34 // TODO: optimize 8bpp landscape mode
88 extern int DIB_AddMode(_THIS, int bpp, int w, int h);
93 static SDL_Surface *GAPI_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags);
206 static int GAPI_AddMode(_THIS, int bpp, int w, int h)
213 if ( bpp < 8 ) { /* Not supported */
216 index = ((bpp+7)/8)-1;
455 /* unknown pixel format, try define by BPP! */
527 int i,bpp; local
538 // SDL does not supports 2/4bpp mode, so use 16 bpp
1235 int bpp = 16; \/\/ we always use either 8 or 16 bpp internally local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/swrast/
swrast_priv.h 115 GLuint bpp; member in struct:dri_swrast_renderbuffer
128 #define PF_A8R8G8B8 1 /**< 32bpp TrueColor: 8-A, 8-R, 8-G, 8-B bits */
129 #define PF_R5G6B5 2 /**< 16bpp TrueColor: 5-R, 6-G, 5-B bits */
130 #define PF_R3G3B2 3 /**< 8bpp TrueColor: 3-R, 3-G, 2-B bits */
131 #define PF_X8R8G8B8 4 /**< 32bpp TrueColor: 8-R, 8-G, 8-B bits */
  /external/chromium_org/third_party/skia/src/gpu/
GrAtlas.cpp 40 void GrPlot::init(GrAtlasMgr* mgr, int offX, int offY, int width, int height, size_t bpp,
45 fBytesPerPixel = bpp;
173 size_t bpp = GrBytesPerPixel(fPixelConfig); local
179 currPlot->init(this, x, y, plotWidth, plotHeight, bpp, batchUploads);
GrAtlas.h 50 void init(GrAtlasMgr* mgr, int offX, int offY, int width, int height, size_t bpp,
  /external/chromium_org/ui/ozone/platform/dri/
dri_wrapper.h 59 uint8_t bpp,
  /external/mesa3d/src/mesa/drivers/dri/swrast/
swrast_priv.h 115 GLuint bpp; member in struct:dri_swrast_renderbuffer
128 #define PF_A8R8G8B8 1 /**< 32bpp TrueColor: 8-A, 8-R, 8-G, 8-B bits */
129 #define PF_R5G6B5 2 /**< 16bpp TrueColor: 5-R, 6-G, 5-B bits */
130 #define PF_R3G3B2 3 /**< 8bpp TrueColor: 3-R, 3-G, 2-B bits */
131 #define PF_X8R8G8B8 4 /**< 32bpp TrueColor: 8-R, 8-G, 8-B bits */
  /external/qemu/distrib/sdl-1.2.15/src/video/nanox/
SDL_nxvideo.h 46 int bpp ; member in struct:NX_SDL_VISUAL
  /external/qemu/distrib/sdl-1.2.15/src/video/quartz/
SDL_QuartzWindow.m 36 int bpp = surface->format->BitsPerPixel;
39 if (bpp == 32 && amask != 0) {
  /external/skia/src/gpu/
GrAtlas.cpp 40 void GrPlot::init(GrAtlasMgr* mgr, int offX, int offY, int width, int height, size_t bpp,
45 fBytesPerPixel = bpp;
173 size_t bpp = GrBytesPerPixel(fPixelConfig); local
179 currPlot->init(this, x, y, plotWidth, plotHeight, bpp, batchUploads);
GrAtlas.h 50 void init(GrAtlasMgr* mgr, int offX, int offY, int width, int height, size_t bpp,
  /frameworks/base/libs/hwui/
TextureCache.h 145 void uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp,
  /hardware/qcom/display/msm8960/libgralloc/
alloc_controller.cpp 108 int bpp = 4; local
112 bpp = 3;
115 bpp = 2;
125 stride = LINK_adreno_compute_padding(stride, bpp,

Completed in 1135 milliseconds

1 23 4 5 6 7 8 91011>>