Searched refs:bpp (Results 1 - 25 of 241) sorted by relevance

12345678910

/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
H A DSDL_xbios_sb3.c53 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/
H A DSDL_ph_modes_c.h39 extern int ph_GetVideoMode(int width, int height, int bpp);
40 extern int get_mode_any_format(int width, int height, int bpp);
H A DSDL_ph_gl.h38 int ph_SetupOpenGLContext(_THIS, int width, int height, int bpp, Uint32 flags);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/
H A Dimageinfo.js68 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
[all...]
/external/libpng/arm/
H A Darm_init.c56 png_init_filter_functions_neon(png_structp pp, unsigned int bpp) argument
116 if (bpp == 3)
124 else if (bpp == 4)
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_pixels_c.h29 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);
H A DSDL_stretch.c70 static int generate_rowbytes(int src_w, int dst_w, int bpp) argument
73 int bpp; member in struct:__anon29433
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
220 const int bpp = dst->format->BytesPerPixel; local
[all...]
H A DSDL_pixels.c37 SDL_PixelFormat *SDL_AllocFormat(int bpp, argument
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/
224 SDL_ReallocFormat(SDL_Surface *surface, int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) argument
266 SDL_DitherColors(SDL_Color *colors, int bpp) argument
468 int bpp; local
[all...]
/external/pixman/pixman/
H A Dpixman-android.h25 int bpp; member in struct:_android_simple_image
/external/opencv/otherlibs/highgui/
H A Dgrfmt_imageio.cpp127 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 * heigh
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fb3dfx.c54 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;
/external/qemu/android/
H A Dmultitouch-port.h67 int bpp; member in struct:MTFrameHeader
/external/qemu/android/utils/
H A Djpeg-compress.h85 * bpp - Number of bytes per pixel in the framebuffer.
98 int bpp, int bpl,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_tile_image.c31 * 32bpp.
145 const uint bpp = util_format_get_blocksize(format); local
148 const uint tiles_per_row = src_stride / (tile_w * tile_h * bpp);
150 dst_stride /= bpp; /* convert from bytes to words */
152 if (bpp == 4) {
175 assert(bpp == 2);
193 const uint bpp = 4; local
195 const uint bytes_per_tile = tile_w * tile_h * bpp;
235 const uint bpp = util_format_get_blocksize(format); local
238 const uint tiles_per_row = dst_stride / (tile_w * tile_h * bpp);
282 const uint bpp = 4; local
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tile_image.c31 * 32bpp.
145 const uint bpp = util_format_get_blocksize(format); local
148 const uint tiles_per_row = src_stride / (tile_w * tile_h * bpp);
150 dst_stride /= bpp; /* convert from bytes to words */
152 if (bpp == 4) {
175 assert(bpp == 2);
193 const uint bpp = 4; local
195 const uint bytes_per_tile = tile_w * tile_h * bpp;
235 const uint bpp = util_format_get_blocksize(format); local
238 const uint tiles_per_row = dst_stride / (tile_w * tile_h * bpp);
282 const uint bpp = 4; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c43 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
239 NDS_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/
H A DSDL_nullvideo.c54 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);
161 DUMMY_SetVideoMode(_THIS, SDL_Surface *current, int width, int height, int bpp, Uint32 flags) argument
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestgamma.c34 int get_video_args(char *argv[], int *w, int *h, int *bpp, Uint32 *flags) argument
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);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_tracker.h74 #define xa_format(bpp,type,a,r,g,b) (((bpp) << 24) | \
84 #define xa_format_c(bpp,type,c1,c2) (((bpp) << 24) | \
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/server/
H A Dradeon_dri.h70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon14499
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/server/
H A Dradeon_dri.h70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon14511
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_tracker.h74 #define xa_format(bpp,type,a,r,g,b) (((bpp) << 24) | \
84 #define xa_format_c(bpp,type,c1,c2) (((bpp) << 24) | \
/external/mesa3d/src/mesa/drivers/dri/r200/server/
H A Dradeon_dri.h70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon27910
/external/mesa3d/src/mesa/drivers/dri/radeon/server/
H A Dradeon_dri.h70 int bpp; /**< \brief bit depth of display (8, 16, 24, 32) */ member in struct:__anon27922
/external/qemu/distrib/sdl-1.2.15/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...]

Completed in 2627 milliseconds

12345678910