/haiku/src/add-ons/translators/ico/ |
H A D | ICOTranslator.cpp | 36 B_TRANSLATOR_BITMAP, 43 B_TRANSLATOR_BITMAP, 44 B_TRANSLATOR_BITMAP, 56 B_TRANSLATOR_BITMAP, 63 B_TRANSLATOR_BITMAP, 64 B_TRANSLATOR_BITMAP, 91 B_TRANSLATOR_BITMAP, ICO_IMAGE_FORMAT) in ICOTranslator() 107 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 108 if (outType != B_TRANSLATOR_BITMAP && outType != ICO_IMAGE_FORMAT) in DerivedIdentify() 117 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() [all …]
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDTranslator.cpp | 30 B_TRANSLATOR_BITMAP, 31 B_TRANSLATOR_BITMAP, 39 B_TRANSLATOR_BITMAP, 49 B_TRANSLATOR_BITMAP, 50 B_TRANSLATOR_BITMAP, 58 B_TRANSLATOR_BITMAP, 90 B_TRANSLATOR_BITMAP, PSD_IMAGE_FORMAT) in PSDTranslator() 106 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 107 if (outType != B_TRANSLATOR_BITMAP && outType != PSD_IMAGE_FORMAT) in DerivedIdentify() 115 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() [all …]
|
/haiku/src/add-ons/translators/icns/ |
H A D | ICNSTranslator.cpp | 35 B_TRANSLATOR_BITMAP, 42 B_TRANSLATOR_BITMAP, 43 B_TRANSLATOR_BITMAP, 55 B_TRANSLATOR_BITMAP, 62 B_TRANSLATOR_BITMAP, 63 B_TRANSLATOR_BITMAP, 93 B_TRANSLATOR_BITMAP, ICNS_IMAGE_FORMAT) in ICNSTranslator() 109 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 110 if (outType != B_TRANSLATOR_BITMAP && outType != ICNS_IMAGE_FORMAT) in DerivedIdentify() 142 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() [all …]
|
/haiku/src/add-ons/translators/pcx/ |
H A D | PCXTranslator.cpp | 27 B_TRANSLATOR_BITMAP, 54 B_TRANSLATOR_BITMAP, 55 B_TRANSLATOR_BITMAP, 82 B_TRANSLATOR_BITMAP, PCX_IMAGE_FORMAT) in PCXTranslator() 98 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 99 if (outType != B_TRANSLATOR_BITMAP && outType != PCX_IMAGE_FORMAT) in DerivedIdentify() 108 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() 148 if (outType != B_TRANSLATOR_BITMAP) in DerivedTranslate()
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFTranslator.cpp | 59 B_TRANSLATOR_BITMAP, 66 B_TRANSLATOR_BITMAP, 67 B_TRANSLATOR_BITMAP, 78 B_TRANSLATOR_BITMAP, 85 B_TRANSLATOR_BITMAP, 86 B_TRANSLATOR_BITMAP, 135 if (magic != B_TRANSLATOR_BITMAP) in DetermineType() 204 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 206 if (outType != GIF_TYPE && outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 213 if (!isGif && inFormat != NULL && inFormat->type != B_TRANSLATOR_BITMAP) in DerivedIdentify() [all …]
|
/haiku/src/add-ons/translators/webp/ |
H A D | WebPTranslator.cpp | 55 B_TRANSLATOR_BITMAP, 62 B_TRANSLATOR_BITMAP, 63 B_TRANSLATOR_BITMAP, 75 B_TRANSLATOR_BITMAP, 82 B_TRANSLATOR_BITMAP, 83 B_TRANSLATOR_BITMAP, 120 B_TRANSLATOR_BITMAP, WEBP_IMAGE_FORMAT) in WebPTranslator() 136 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 137 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 151 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() [all …]
|
/haiku/src/tests/add-ons/translators/tifftranslator/ |
H A D | TIFFTranslatorTest.cpp | 63 CheckTranslatorInfo(pti, B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, in CheckBits_Tiff() 71 CheckTranslatorInfo(pti, B_TIFF_FORMAT, B_TRANSLATOR_BITMAP, in CheckTiff() 108 B_TRANSLATOR_BITMAP) == B_OK); in IdentifyTests() 266 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 427 B_TRANSLATOR_BITMAP, 428 B_TRANSLATOR_BITMAP, 436 B_TRANSLATOR_BITMAP, 447 B_TRANSLATOR_BITMAP, 448 B_TRANSLATOR_BITMAP, 456 B_TRANSLATOR_BITMAP,
|
/haiku/src/tests/add-ons/translators/pngtranslator/ |
H A D | PNGTranslatorTest.cpp | 85 CheckTranslatorInfo(pti, B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, in CheckBits_PNG() 93 CheckTranslatorInfo(pti, B_PNG_FORMAT, B_TRANSLATOR_BITMAP, in CheckPNG() 127 B_TRANSLATOR_BITMAP) == B_OK); in IdentifyTests() 267 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 275 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 291 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 410 B_TRANSLATOR_BITMAP, 418 B_TRANSLATOR_BITMAP, 425 B_TRANSLATOR_BITMAP, 426 B_TRANSLATOR_BITMAP, [all …]
|
/haiku/src/add-ons/translators/raw/ |
H A D | RAWTranslator.cpp | 61 B_TRANSLATOR_BITMAP, 69 B_TRANSLATOR_BITMAP, 80 B_TRANSLATOR_BITMAP, 81 B_TRANSLATOR_BITMAP, 113 B_TRANSLATOR_BITMAP, RAW_IMAGE_FORMAT) in RAWTranslator() 129 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 130 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 172 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() 205 outType = B_TRANSLATOR_BITMAP; in DerivedTranslate() 206 if (outType != B_TRANSLATOR_BITMAP || baseType != 0) in DerivedTranslate() [all …]
|
/haiku/src/tests/add-ons/translators/tgatranslator/ |
H A D | TGATranslatorTest.cpp | 96 CheckTranslatorInfo(pti, B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, in CheckBits_Tga() 104 CheckTranslatorInfo(pti, B_TGA_FORMAT, B_TRANSLATOR_BITMAP, in CheckTga() 141 B_TRANSLATOR_BITMAP) == B_OK); in IdentifyTests() 323 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 331 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 348 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 571 B_TRANSLATOR_BITMAP, 572 B_TRANSLATOR_BITMAP, 580 B_TRANSLATOR_BITMAP, 591 B_TRANSLATOR_BITMAP, [all …]
|
/haiku/src/add-ons/translators/hvif/ |
H A D | HVIFTranslator.cpp | 32 B_TRANSLATOR_BITMAP, 43 B_TRANSLATOR_BITMAP, 44 B_TRANSLATOR_BITMAP, 80 B_TRANSLATOR_BITMAP, HVIF_FORMAT_CODE) in HVIFTranslator() 96 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 138 if (outType != B_TRANSLATOR_BITMAP) in DerivedTranslate()
|
/haiku/src/add-ons/translators/avif/ |
H A D | AVIFTranslator.cpp | 54 B_TRANSLATOR_BITMAP, 61 B_TRANSLATOR_BITMAP, 62 B_TRANSLATOR_BITMAP, 75 B_TRANSLATOR_BITMAP, 82 B_TRANSLATOR_BITMAP, 83 B_TRANSLATOR_BITMAP, 123 kNumDefaultSettings, B_TRANSLATOR_BITMAP, AVIF_IMAGE_FORMAT) in AVIFTranslator() 141 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 142 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 159 info->group = B_TRANSLATOR_BITMAP; in DerivedIdentify() [all …]
|
/haiku/src/add-ons/translators/shared/ |
H A D | BaseTranslator.cpp | 307 outInfo->type = B_TRANSLATOR_BITMAP; in identify_bits_header() 308 outInfo->group = B_TRANSLATOR_BITMAP; in identify_bits_header() 317 if (fInputFormats[i].type == B_TRANSLATOR_BITMAP && in identify_bits_header() 318 fInputFormats[i].group == B_TRANSLATOR_BITMAP) { in identify_bits_header() 381 outType = B_TRANSLATOR_BITMAP; in BitsCheck() 382 if (outType != B_TRANSLATOR_BITMAP && outType != fTranType) in BitsCheck() 388 const uint32 kBitsMagic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); in BitsCheck() 476 case B_TRANSLATOR_BITMAP: in Identify() 530 if (outType == B_TRANSLATOR_BITMAP) { in translate_from_bits_to_bits() 574 if (result == B_OK && outType == B_TRANSLATOR_BITMAP) { in BitsTranslate() [all …]
|
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | WonderBrushTranslator.cpp | 43 B_TRANSLATOR_BITMAP, 54 B_TRANSLATOR_BITMAP, 55 B_TRANSLATOR_BITMAP, 104 B_TRANSLATOR_BITMAP, WBI_FORMAT) in WonderBrushTranslator() 133 outInfo->group = B_TRANSLATOR_BITMAP; in identify_wbi_header() 222 bitsHeader.magic = B_TRANSLATOR_BITMAP; in _TranslateFromWBI()
|
/haiku/src/tests/kits/translation/ |
H A D | TranslationUtilsTest.cpp | 159 B_TRANSLATOR_BITMAP, 246); in GetBitmapTest() 171 pbits = BTranslationUtils::GetBitmap(B_TRANSLATOR_BITMAP, in GetBitmapTest() 178 B_TRANSLATOR_BITMAP, "res_image"); in GetBitmapTest() 191 pbits = BTranslationUtils::GetBitmap(B_TRANSLATOR_BITMAP, in GetBitmapTest() 206 &stream, B_TRANSLATOR_BITMAP) == B_OK); in GetBitmapTest() 341 B_TRANSLATOR_BITMAP) == B_OK); in AddTranslationItemsTest() 365 B_TRANSLATOR_BITMAP, NULL, NULL, NULL, proster) == B_OK); in AddTranslationItemsTest() 376 B_TRANSLATOR_BITMAP) == B_BAD_VALUE); in AddTranslationItemsTest()
|
H A D | BitmapStreamTest.cpp | 151 B_TRANSLATOR_BITMAP) == B_OK); in DetachBitmapTest() 206 sheader.magic = B_TRANSLATOR_BITMAP; in ReadWriteTest() 338 B_TRANSLATOR_BITMAP) == B_OK); in SeekTest() 428 B_TRANSLATOR_BITMAP) == B_OK); in SetSizeTest()
|
/haiku/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 63 = {{B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.4, 0.8, "image/x-be-bitmap", 65 {PPM_TYPE, B_TRANSLATOR_BITMAP, 0.3, 0.8, "image/x-portable-pixmap", 71 = {{B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.4, 0.8, "image/x-be-bitmap", 73 {PPM_TYPE, B_TRANSLATOR_BITMAP, 0.3, 0.8, "image/x-portable-pixmap", 251 outType = B_TRANSLATOR_BITMAP; in Identify() 253 if (outType != B_TRANSLATOR_BITMAP && outType != PPM_TYPE) in Identify() 267 outInfo->group = B_TRANSLATOR_BITMAP; in Identify() 276 outInfo->type = B_TRANSLATOR_BITMAP; in Identify() 300 outType = B_TRANSLATOR_BITMAP; in Translate() 303 if (outType != B_TRANSLATOR_BITMAP && outType != PPM_TYPE) in Translate() [all …]
|
/haiku/src/add-ons/translators/png/ |
H A D | PNGTranslator.cpp | 53 B_TRANSLATOR_BITMAP, 61 B_TRANSLATOR_BITMAP, 68 B_TRANSLATOR_BITMAP, 69 B_TRANSLATOR_BITMAP, 81 B_TRANSLATOR_BITMAP, 88 B_TRANSLATOR_BITMAP, 89 B_TRANSLATOR_BITMAP, 203 B_TRANSLATOR_BITMAP, B_PNG_FORMAT) in PNGTranslator() 237 outInfo->group = B_TRANSLATOR_BITMAP; in identify_png_header() 411 bitsHeader.magic = B_TRANSLATOR_BITMAP; in translate_from_png_to_bits() [all …]
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGITranslator.cpp | 64 B_TRANSLATOR_BITMAP, 65 B_TRANSLATOR_BITMAP, 73 B_TRANSLATOR_BITMAP, 84 B_TRANSLATOR_BITMAP, 85 B_TRANSLATOR_BITMAP, 93 B_TRANSLATOR_BITMAP, 168 B_TRANSLATOR_BITMAP, SGI_FORMAT) in SGITranslator() 202 outInfo->group = B_TRANSLATOR_BITMAP; in identify_sgi_header() 498 bitsHeader.magic = B_TRANSLATOR_BITMAP; in translate_from_sgi()
|
/haiku/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 47 B_TRANSLATOR_BITMAP, 48 B_TRANSLATOR_BITMAP, 56 B_TRANSLATOR_BITMAP, 67 B_TRANSLATOR_BITMAP, 68 B_TRANSLATOR_BITMAP, 76 B_TRANSLATOR_BITMAP, 239 outInfo->group = B_TRANSLATOR_BITMAP; in identify_tiff_header() 620 B_TRANSLATOR_BITMAP, B_TIFF_FORMAT) in TIFFTranslator() 849 bitsHeader.magic = B_TRANSLATOR_BITMAP; in translate_from_tiff()
|
/haiku/src/add-ons/translators/jpeg2000/ |
H A D | JPEG2000Translator.cpp | 72 { JP2_FORMAT, B_TRANSLATOR_BITMAP, 0.5, 0.5, 74 { B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.5, 0.5, 79 { JP2_FORMAT, B_TRANSLATOR_BITMAP, 0.5, 0.5, 81 { B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.5, 0.5, 782 B_TRANSLATOR_BITMAP, JP2_FORMAT) in JP2Translator() 793 if ((outType != 0) && (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 807 == B_TRANSLATOR_BITMAP) { in DerivedIdentify() 808 if (PopulateInfoFromFormat(outInfo, B_TRANSLATOR_BITMAP) != B_OK) in DerivedIdentify() 833 outType = B_TRANSLATOR_BITMAP; in DerivedTranslate() 838 if (inInfo->type == B_TRANSLATOR_BITMAP && outType == JP2_FORMAT) in DerivedTranslate() [all …]
|
/haiku/src/add-ons/translators/jpeg/ |
H A D | JPEGTranslator.cpp | 81 { JPEG_FORMAT, B_TRANSLATOR_BITMAP, 0.5, 0.5, 83 { B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.5, 0.5, 89 { JPEG_FORMAT, B_TRANSLATOR_BITMAP, 0.5, 0.5, 91 { B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, 0.5, 0.5, 730 if (outType != 0 && outType != B_TRANSLATOR_BITMAP && outType != JPEG_FORMAT) in DerivedIdentify() 741 if (B_BENDIAN_TO_HOST_INT32(((TranslatorBitmap *)header)->magic) == B_TRANSLATOR_BITMAP) { in DerivedIdentify() 742 if (PopulateInfoFromFormat(outInfo, B_TRANSLATOR_BITMAP) != B_OK) in DerivedIdentify() 780 } else if (inInfo->type == B_TRANSLATOR_BITMAP in DerivedTranslate() 784 && (outType == B_TRANSLATOR_BITMAP || outType == 0)) { in DerivedTranslate() 1178 header.magic = B_HOST_TO_BENDIAN_INT32(B_TRANSLATOR_BITMAP); in Decompress() [all …]
|
/haiku/src/tests/add-ons/translators/bmptranslator/ |
H A D | BMPTranslatorTest.cpp | 102 CheckTranslatorInfo(pti, B_TRANSLATOR_BITMAP, B_TRANSLATOR_BITMAP, in CheckBits_Bmp() 110 CheckTranslatorInfo(pti, B_BMP_FORMAT, B_TRANSLATOR_BITMAP, in CheckBmp() 147 B_TRANSLATOR_BITMAP) == B_OK); in IdentifyTests() 901 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 909 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 930 B_TRANSLATOR_BITMAP) == B_OK); in TranslateTests() 1118 B_TRANSLATOR_BITMAP, 1119 B_TRANSLATOR_BITMAP, 1127 B_TRANSLATOR_BITMAP, 1138 B_TRANSLATOR_BITMAP, [all …]
|
/haiku/headers/private/print/ |
H A D | BeUtils.h | 94 BBitmap* LoadBitmap(const char* name, uint32 type_code = B_TRANSLATOR_BITMAP);
|
/haiku/src/kits/print/ |
H A D | BeUtilsTranslation.cpp | 50 if (type_code == B_TRANSLATOR_BITMAP) { in LoadBitmap()
|