Searched refs:pbits (Results 1 - 6 of 6) sorted by relevance
/haiku-fatelf/src/tests/kits/translation/ |
H A D | TranslationUtilsTest.cpp | 83 CheckBitmap(BBitmap *pbits) argument 85 CPPUNIT_ASSERT(pbits); 86 CPPUNIT_ASSERT(pbits->Bits()); 87 CPPUNIT_ASSERT(pbits->BitsLength() == 443904); 88 CPPUNIT_ASSERT(pbits->BytesPerRow() == 1536); 89 CPPUNIT_ASSERT(pbits->Bounds().IntegerWidth() == 383); 90 CPPUNIT_ASSERT(pbits->Bounds().IntegerHeight() == 288); 100 BBitmap *pbits = NULL; local 101 pbits = BTranslationUtils::GetBitmap( 103 CheckBitmap(pbits); [all...] |
H A D | BitmapStreamTest.cpp | 98 BBitmap *pbits = NULL; local 101 CPPUNIT_ASSERT(streamEmpty.DetachBitmap(&pbits) == B_ERROR); 102 CPPUNIT_ASSERT(pbits == NULL); 106 pbits = new BBitmap(BRect(0,0,5,5), B_RGB32); 107 CPPUNIT_ASSERT(pbits); 110 pstreamWithBits = new BBitmapStream(pbits); 116 CPPUNIT_ASSERT(pbits == poutbits); 121 delete pbits; 122 pbits = NULL; 145 BBitmap *pbits local [all...] |
/haiku-fatelf/src/add-ons/translators/png/ |
H A D | PNGTranslator.cpp | 509 // Convert width pixels from pbits to PNG format, storing the 512 pix_bits_to_png(uint8 *pbits, uint8 *ppng, color_space fromspace, argument 521 memcpy(ppng, pbits, bytescopied); 528 memcpy(ppng, pbits, 3); 530 pbits += bitsBytesPerPixel; 537 ppng[0] = pbits[3]; 538 ppng[1] = pbits[2]; 539 ppng[2] = pbits[1]; 540 ppng[3] = pbits[0]; 543 pbits [all...] |
/haiku-fatelf/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-fatelf/src/kits/network/libbind/inet/ |
H A D | inet_cidr_pton.c | 85 inet_cidr_pton_ipv4(const char *src, u_char *dst, int *pbits, int ipv6) { argument 139 *pbits = bits; 152 inet_cidr_pton_ipv6(const char *src, u_char *dst, int *pbits) { argument 242 *pbits = bits;
|
/haiku-fatelf/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 868 uint8 *pbits, *prgba; local 869 pbits = pbitsrow; 873 pbits[0] = prgba[2]; 874 pbits[1] = prgba[1]; 875 pbits[2] = prgba[0]; 876 pbits[3] = prgba[3]; 877 pbits += 4;
|
Completed in 99 milliseconds