/haiku-fatelf/src/add-ons/accelerants/et6x00/ |
H A D | SetDisplayMode.c | 32 uint8 bpp; local 45 bpp = 3; 51 bpp = 2; 56 si->fbc.bytes_per_row = target.virtual_width * bpp; 58 si->bytesPerPixel = bpp; 59 et6000aclInit(bpp);
|
H A D | Acceleration.c | 43 * bpp must be bytes per pixel, not bits! 45 void et6000aclInit(uint8 bpp) { argument 51 set8(mmRegs+0x8e, 0xcf, (bpp - 1) << 4); /* set pixel color depth */ 80 uint8 bpp = si->bytesPerPixel; local 92 *((vuint16 *)(mmRegs+0x8a)) = screenWidth * bpp - 1; 95 *((vuint16 *)(mmRegs+0x8c)) = screenWidth * bpp - 1; 114 *((vuint16 *)(mmRegs+0x98)) = (width + 1) * bpp - 1; 121 srcAddr = (src_top * screenWidth + src_left) * bpp; 122 destAddr = (dest_top * screenWidth + dest_left) * bpp; 126 srcAddr = (src_top * screenWidth + src_left + width) * bpp 170 uint8 bpp = si->bytesPerPixel; local [all...] |
H A D | generic.h | 40 void et6000aclInit(uint8 bpp);
|
/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/ |
H A D | print-image-thumbnail.c | 38 gint w, h, bpp; member in struct:__anon5081 65 stpui_image_thumbnail_new(const guchar *data, gint w, gint h, gint bpp) argument 75 im->bpp = bpp; 100 const guchar *where = im->data + (row * im->w * im->bpp); 101 memcpy(data, where, im->w * im->bpp);
|
/haiku-fatelf/src/add-ons/accelerants/common/ |
H A D | dp.cpp | 63 dp_get_pixel_clock_max(int linkRate, int laneCount, int bpp) argument 65 return (linkRate * laneCount * 8) / bpp;
|
/haiku-fatelf/src/add-ons/accelerants/vmware/ |
H A D | SetDisplayMode.c | 19 int bpp; local 28 bpp = BppForSpace(target.space); 31 target.virtual_height, bpp);
|
/haiku-fatelf/headers/private/graphics/vmware/ |
H A D | svga_reg.h | 87 SVGA_REG_BITS_PER_PIXEL = 7, /* Current bpp in the guest */ 111 SVGA_REG_HOST_BITS_PER_PIXEL = 28, /* Current bpp in the host */ 313 #define SVGA_PIXMAP_SIZE(w,h,bpp) ((( ((w)*(bpp))+31 ) >> 5) * (h)) 314 #define SVGA_PIXMAP_SCANLINE_SIZE(w,bpp) (( ((w)*(bpp))+31 ) >> 5) 322 #define SVGA_PIXMAP_INCREMENT(w,bpp) ((( ((w)*(bpp))+31 ) >> 5) * sizeof (uint32))
|
/haiku-fatelf/headers/private/graphics/common/ |
H A D | dp.h | 46 uint32 dp_get_pixel_clock_max(int linkRate, int laneCount, int bpp);
|
/haiku-fatelf/src/libs/print/libgutenprint/test/ |
H A D | unprint.c | 61 int bpp; /* bits per pixel */ member in struct:__anon5190 212 * indexth bpp bit width field and return that value. Ignore byte 217 switch (pstate.bpp) 230 addr = (idx * pstate.bpp); 232 for (b = 0; b < pstate.bpp; b++) 252 * indexth bpp bit width field to value value. Ignore byte 257 switch (pstate.bpp) 278 for (b = pstate.bpp - 1; b >= 0; b--) 281 p[(idx * pstate.bpp + b) / 8] |= 282 1 << (7 - ((idx * pstate.bpp [all...] |
H A D | pixma_parse.c | 188 if(color && color->bpp && img->width < size*8/color->bpp){ 189 unsigned int newwidth = size * 8 / color->bpp; 225 if(c->bpp && c->pos && c->pos->line==y && c->pos->len && (c->pos->len *8 >= c->bpp*x)) 298 img->color[i].value = get_bits(&gb[i],img->color[i].bpp); 353 img->color[i].dots=calloc(1,sizeof(int)*(1<<(img->color[i].bpp)+1)); 357 img->color[i].usedlevels=calloc(1,sizeof(int)*(1<<(img->color[i].bpp)+1)); 376 if (img->color[i].bpp > 0) { 378 for(level=0;level < 1<<(img->color[i].bpp);leve [all...] |
/haiku-fatelf/src/system/boot/arch/arm/ |
H A D | arch_framebuffer_pxa.cpp | 174 int bpp; local 179 bpp = 2; 182 bpp = 3; 185 bpp = 3; 188 bpp = 9; 196 write_io_32(LCCR3, (pdfor << 30) | ((bpp >> 3) << 29) 197 | ((bpp & 0x07) << 24));
|
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/ |
H A D | image.c | 59 comp->bpp = cmptparms[compno].bpp;
|
/haiku-fatelf/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTest.cpp | 263 int32 bpp, BString &reason) 269 memcpy(&color1, pixel1, bpp); 270 memcpy(&color2, pixel2, bpp); 304 int32 bpp = (int32)pixelChunk; local 313 for (int x = 0; x < width; x ++, pixel1 += bpp, pixel2 += bpp) { 314 if (memcmp(pixel1, pixel2, bpp) != 0) { 315 setMismatchReason(x, y, pixel1, pixel2, bpp, reason); 262 setMismatchReason(int32 x, int32 y, uint8 *pixel1, uint8 *pixel2, int32 bpp, BString &reason) argument
|
/haiku-fatelf/src/libs/print/libgutenprint/src/gimp2/ |
H A D | print-image-gimp.c | 178 if (im->drawable->bpp == 2 || im->drawable->bpp == 4) 229 im->tmp = stp_malloc(im->drawable->bpp * im->w); 232 if (im->drawable->bpp == 2) 233 im->tmp = stp_malloc(im->drawable->bpp * im->w); 236 if (im->drawable->bpp == 4) 237 im->tmp = stp_malloc(im->drawable->bpp * im->w); 287 gint32 tval = inter[(i * im->drawable->bpp) + j]; 290 inter[((i + 1) * im->drawable->bpp) - 1]);
|
/haiku-fatelf/src/add-ons/accelerants/radeon/ |
H A D | SetDisplayMode.c | 44 int virtual_width, int bpp ) 61 if( bpp != 3 ) 62 return (virtual_width + 64/bpp - 1) & ~(64/bpp - 1); 113 int bpp; local 195 Radeon_GetFormat( mode->space, &format, &bpp ); 197 vc->bpp = bpp; 431 int format, bpp; local 453 Radeon_GetFormat( mode.space, &format, &bpp ); [all...] |
H A D | overlay_management.c | 77 uint ati_space, test_reg, bpp; local 84 bpp = 2; 90 bpp = 2; 96 bpp = 4; 102 bpp = 2; 113 bpp = 2; 138 buffer->bytes_per_row = (width * bpp + 0xf) & ~0xf;
|
H A D | radeon_accelerant.h | 79 uint32 Radeon_RoundVWidth( int virtual_width, int bpp ); 95 bool Radeon_GetFormat( int space, int *format, int *bpp );
|
/haiku-fatelf/src/add-ons/accelerants/s3/ |
H A D | virge_mode.cpp | 45 switch (mode.bpp) { 439 } else if (mode.bpp == 8) { 441 } else if (mode.bpp == 16) { 532 switch (mode.bpp) { 547 if (mode.bpp == 8) { 549 regRec.CR67 = 0x00; // 8bpp, 135MHz 551 regRec.CR67 = 0x10; // 8bpp, 220MHz 552 } else if (mode.bpp == 16) { 554 regRec.CR67 = 0x40; // 16bpp, 135MHz 556 regRec.CR67 = 0x50; // 16bpp, 22 [all...] |
H A D | trio64_mode.cpp | 114 switch (mode.bpp) { 176 InitCrtcTimingValues(mode, (mode.bpp > 8) ? 2 : 1, crtc, cr3b, cr3c, cr5d, cr5e); 218 int clock2 = mode.timing.pixel_clock * (mode.bpp / 8); 293 * (mode.bpp / 8)) >> 2) & ~1;
|
/haiku-fatelf/src/add-ons/accelerants/matrox/engine/ |
H A D | tvp3026.c | 42 status_t mil2_dac_set_pix_pll (float f_need, int bpp) argument 52 LOG(4,("mil2_dac_set_pix_pll need %fMHz, %dbpp\n", f_need, bpp)); 58 switch (bpp) { 79 // now compute parameters for the loop PLL (24bpp not available) see 2.4.3.1 82 // n = (65 - (4 * (PIXEL_BUS_WIDTH64? 64: 32)) / bpp); 83 n = (65 - (4 * 64) / bpp);
|
/haiku-fatelf/src/add-ons/translators/icns/ |
H A D | ICNSLoader.cpp | 194 int bpp = 32; local 225 iconInfo.iconBitDepth = bpp; 226 iconInfo.iconChannels = (bpp == 32 ? 4 : 1); 227 iconInfo.iconPixelDepth = bpp / iconInfo.iconChannels;
|
/haiku-fatelf/src/add-ons/accelerants/matrox/ |
H A D | ProposeDisplayMode.c | 123 uint8 m,n,p, bpp; local 300 bpp = 1; 305 bpp = 2; 309 bpp = 3; 313 bpp = 4; 318 bpp = 4; 338 ((uint16)(row_bytes / bpp) >= (target->timing.h_display * 2)))
|
/haiku-fatelf/src/add-ons/accelerants/nvidia/ |
H A D | ProposeDisplayMode.c | 123 uint8 m,n,p, bpp; local 336 bpp = 1; 341 bpp = 2; 345 bpp = 3; 349 bpp = 4; 354 bpp = 4; 366 && (uint16)(row_bytes / bpp) >= target->timing.h_display * 2)
|
/haiku-fatelf/src/add-ons/accelerants/skeleton/ |
H A D | ProposeDisplayMode.c | 115 uint8 m,n,p, bpp; local 417 bpp = 1; 422 bpp = 2; 426 bpp = 3; 430 bpp = 4; 435 bpp = 4; 449 ((uint16)(row_bytes / bpp) >= (target->timing.h_display * 2)))
|
/haiku-fatelf/src/add-ons/accelerants/via/ |
H A D | ProposeDisplayMode.c | 115 uint8 m,n,p, bpp; local 417 bpp = 1; 422 bpp = 2; 426 bpp = 3; 430 bpp = 4; 435 bpp = 4; 449 ((uint16)(row_bytes / bpp) >= (target->timing.h_display * 2)))
|