Searched refs:pbits (Results 1 - 6 of 6) sorted by relevance
/haiku/src/tests/kits/translation/ |
H A D | TranslationUtilsTest.cpp | 85 CheckBitmap(BBitmap *pbits) argument 87 CPPUNIT_ASSERT(pbits); 88 CPPUNIT_ASSERT(pbits->Bits()); 89 CPPUNIT_ASSERT(pbits->BitsLength() == 443904); 90 CPPUNIT_ASSERT(pbits->BytesPerRow() == 1536); 91 CPPUNIT_ASSERT(pbits->Bounds().IntegerWidth() == 383); 92 CPPUNIT_ASSERT(pbits->Bounds().IntegerHeight() == 288); 102 BBitmap *pbits = NULL; local 103 pbits = BTranslationUtils::GetBitmap( 105 CheckBitmap(pbits); [all...] |
H A D | BitmapStreamTest.cpp | 101 BBitmap *pbits = NULL; local 104 CPPUNIT_ASSERT(streamEmpty.DetachBitmap(&pbits) == B_ERROR); 105 CPPUNIT_ASSERT(pbits == NULL); 109 pbits = new BBitmap(BRect(0,0,5,5), B_RGB32); 110 CPPUNIT_ASSERT(pbits); 113 pstreamWithBits = new BBitmapStream(pbits); 119 CPPUNIT_ASSERT(pbits == poutbits); 124 delete pbits; 125 pbits = NULL; 148 BBitmap *pbits local [all...] |
/haiku/src/add-ons/translators/png/ |
H A D | PNGTranslator.cpp | 525 // Convert width pixels from pbits to PNG format, storing the 528 pix_bits_to_png(uint8 *pbits, uint8 *ppng, color_space fromspace, argument 537 memcpy(ppng, pbits, bytescopied); 544 memcpy(ppng, pbits, 3); 546 pbits += bitsBytesPerPixel; 553 ppng[0] = pbits[3]; 554 ppng[1] = pbits[2]; 555 ppng[2] = pbits[1]; 556 ppng[3] = pbits[0]; 559 pbits [all...] |
/haiku/src/add-ons/translators/tga/ |
H A D | TGATranslator.cpp | 443 // Convert width pixels from pbits to TGA format, storing the 446 pix_bits_to_tga(uint8 *pbits, uint8 *ptga, color_space fromspace, argument 454 memcpy(ptga, pbits, bytescopied); 460 ptga[0] = pbits[3]; 461 ptga[1] = pbits[2]; 462 ptga[2] = pbits[1]; 463 ptga[3] = pbits[0]; 466 pbits += 4; 473 ptga[0] = 255 - pbits[2]; 474 ptga[1] = 255 - pbits[ 688 pix_bits_to_tgarle(uint8 *pbits, uint8 *ptga, color_space fromspace, uint16 width, const color_map *pmap, int32 bitsBytesPerPixel) argument 1403 pix_tganm_to_bits(uint8 *pbits, uint8 *ptga, uint16 width, uint8 depth, uint8 tgaBytesPerPixel, uint8 nalpha) argument 1738 pix_tgam_to_bits(uint8 *pbits, uint8 *ptgaindices, uint16 width, uint8 depth, uint8 *pmap) argument [all...] |
/haiku/src/system/libnetwork/netresolv/inet/ |
H A D | inet_cidr_pton.c | 96 inet_cidr_pton_ipv4(const char *src, u_char *dst, int *pbits, int ipv6) { argument 151 *pbits = bits; 164 inet_cidr_pton_ipv6(const char *src, u_char *dst, int *pbits) { argument 254 *pbits = bits;
|
/haiku/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 875 uint8 *pbits, *prgba; local 876 pbits = pbitsrow; 880 pbits[0] = prgba[2]; 881 pbits[1] = prgba[1]; 882 pbits[2] = prgba[0]; 883 pbits[3] = prgba[3]; 884 pbits += 4;
|
Completed in 42 milliseconds