/haiku/src/add-ons/translators/ico/ |
H A D | ICOTranslator.cpp | 104 translator_info *info, uint32 outType) in DerivedIdentify() argument 106 if (!outType) in DerivedIdentify() 107 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 108 if (outType != B_TRANSLATOR_BITMAP && outType != ICO_IMAGE_FORMAT) in DerivedIdentify() 132 uint32 outType, BPositionIO *target, int32 baseType) in DerivedTranslate() argument 134 if (!outType) in DerivedTranslate() 135 outType = B_TRANSLATOR_BITMAP; in DerivedTranslate() 136 if (outType != B_TRANSLATOR_BITMAP && outType != ICO_IMAGE_FORMAT) in DerivedTranslate() 142 if (outType != ICO_IMAGE_FORMAT) in DerivedTranslate() 158 if (outType != B_TRANSLATOR_BITMAP) in DerivedTranslate()
|
/haiku/src/add-ons/translators/rtf/ |
H A D | RTFTranslator.cpp | 156 translator_info *info, uint32 outType) in Identify() argument 158 if (!outType) in Identify() 159 outType = B_TRANSLATOR_TEXT; in Identify() 160 else if (outType != B_TRANSLATOR_TEXT && outType != B_STYLED_TEXT_FORMAT in Identify() 161 && outType != RTF_TEXT_FORMAT) in Identify() 183 if (outType != RTF_TEXT_FORMAT) in Identify() 220 uint32 outType, BPositionIO *target) in Translate() argument 225 if (!outType) in Translate() 226 outType = B_TRANSLATOR_TEXT; in Translate() 227 if (outType != B_TRANSLATOR_TEXT && outType != B_STYLED_TEXT_FORMAT in Translate() [all …]
|
/haiku/src/add-ons/translators/shared/ |
H A D | BaseTranslator.cpp | 378 uint32 &outType) in BitsCheck() argument 380 if (!outType) in BitsCheck() 381 outType = B_TRANSLATOR_BITMAP; in BitsCheck() 382 if (outType != B_TRANSLATOR_BITMAP && outType != fTranType) in BitsCheck() 414 translator_info *outInfo, uint32 outType) in BitsIdentify() argument 416 status_t result = BitsCheck(inSource, ioExtension, outType); in BitsIdentify() 427 outInfo, outType); in BitsIdentify() 473 translator_info *outInfo, uint32 outType) in Identify() argument 478 outInfo, outType); in Identify() 482 outInfo, outType); in Identify() [all …]
|
H A D | BaseTranslator.h | 75 translator_info *outInfo, uint32 outType); 81 uint32 outType, BPositionIO *outDestination); 100 translator_info *outInfo, uint32 outType); 104 uint32 outType, BPositionIO *outDestination, int32 baseType); 113 uint32 &outType); 117 translator_info *outInfo, uint32 outType); 123 const translator_info *inInfo, BMessage *ioExtension, uint32 outType, 127 uint32 outType, BPositionIO *outDestination);
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDTranslator.cpp | 103 translator_info *info, uint32 outType) in DerivedIdentify() argument 105 if (!outType) in DerivedIdentify() 106 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 107 if (outType != B_TRANSLATOR_BITMAP && outType != PSD_IMAGE_FORMAT) in DerivedIdentify() 130 uint32 outType, BPositionIO *target, int32 baseType) in DerivedTranslate() argument 132 if (outType != B_TRANSLATOR_BITMAP in DerivedTranslate() 133 && outType != PSD_IMAGE_FORMAT) { in DerivedTranslate() 140 if (outType != B_TRANSLATOR_BITMAP) in DerivedTranslate() 151 if (outType == PSD_IMAGE_FORMAT) { in DerivedTranslate()
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | Resampler.cpp | 22 template<typename inType, typename outType, int gnum, int gden, 38 *(outType *)dest = min; in kernel() 40 *(outType *)dest = max; in kernel() 42 *(outType *)dest = (outType)tmp; in kernel() 56 *(outType *)dest = min; in kernel() 58 *(outType *)dest = max; in kernel() 60 *(outType *)dest = (outType)tmp; in kernel()
|
H A D | Interpolate.cpp | 22 template<typename inType, typename outType, int gnum, int gden, 38 *(outType *)dest = min; in kernel() 40 *(outType *)dest = max; in kernel() 42 *(outType *)dest = (outType)tmp; in kernel() 59 *(outType *)dest = min; in kernel() 61 *(outType *)dest = max; in kernel() 63 *(outType *)dest = (outType)tmp; in kernel()
|
/haiku/src/add-ons/translators/icns/ |
H A D | ICNSTranslator.cpp | 106 translator_info *info, uint32 outType) in DerivedIdentify() argument 108 if (!outType) in DerivedIdentify() 109 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 110 if (outType != B_TRANSLATOR_BITMAP && outType != ICNS_IMAGE_FORMAT) in DerivedIdentify() 158 uint32 outType, BPositionIO *target, int32 baseType) in DerivedTranslate() argument 160 if (!outType) in DerivedTranslate() 161 outType = B_TRANSLATOR_BITMAP; in DerivedTranslate() 162 if (outType != B_TRANSLATOR_BITMAP && outType != ICNS_IMAGE_FORMAT) in DerivedTranslate() 179 if (outType == ICNS_IMAGE_FORMAT) { in DerivedTranslate() 190 if (outType != B_TRANSLATOR_BITMAP) in DerivedTranslate()
|
/haiku/src/add-ons/translators/pcx/ |
H A D | PCXTranslator.cpp | 95 translator_info *info, uint32 outType) in DerivedIdentify() argument 97 if (!outType) in DerivedIdentify() 98 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 99 if (outType != B_TRANSLATOR_BITMAP && outType != PCX_IMAGE_FORMAT) in DerivedIdentify() 122 uint32 outType, BPositionIO *target, int32 baseType) in DerivedTranslate() argument 148 if (outType != B_TRANSLATOR_BITMAP) in DerivedTranslate()
|
/haiku/src/add-ons/translators/webp/ |
H A D | WebPTranslator.cpp | 133 translator_info* info, uint32 outType) in DerivedIdentify() argument 135 if (!outType) in DerivedIdentify() 136 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 137 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 163 const translator_info* info, BMessage* ioExtension, uint32 outType, in DerivedTranslate() argument 168 return _TranslateFromBits(stream, ioExtension, outType, target); in DerivedTranslate() 171 return _TranslateFromWebP(stream, ioExtension, outType, target); in DerivedTranslate() 188 uint32 outType, BPositionIO* target) in _TranslateFromBits() argument 190 if (!outType) in _TranslateFromBits() 191 outType = WEBP_IMAGE_FORMAT; in _TranslateFromBits() [all …]
|
H A D | WebPTranslator.h | 57 uint32 outType); 61 BMessage* settings, uint32 outType, 74 BMessage* settings, uint32 outType, 78 BMessage* settings, uint32 outType,
|
/haiku/src/add-ons/translators/stxt/ |
H A D | STXTTranslator.cpp | 135 BPositionIO *inSource, translator_info *outInfo, uint32 outType, in identify_stxt_header() argument 225 translator_info* outInfo, uint32 outType, BString& encoding) in identify_text() argument 290 uint32 outType, const TranslatorStyledTextTextHeader &txtheader) in translate_from_stxt() argument 299 if (outType == B_TRANSLATOR_TEXT) in translate_from_stxt() 301 else if (outType == B_STYLED_TEXT_FORMAT) in translate_from_stxt() 478 BPositionIO* destination, uint32 outType) in translate_from_text() argument 480 if (outType != B_TRANSLATOR_TEXT && outType != B_STYLED_TEXT_FORMAT) in translate_from_text() 487 if (size > UINT32_MAX && outType == B_STYLED_TEXT_FORMAT) in translate_from_text() 494 if (outType == B_STYLED_TEXT_FORMAT) { in translate_from_text() 623 if (outType != B_STYLED_TEXT_FORMAT) in translate_from_text() [all …]
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGITranslator.h | 75 translator_info *outInfo, uint32 outType); 79 uint32 outType, BPositionIO *outDestination, int32 baseType); 91 status_t translate_from_bits(BPositionIO *inSource, uint32 outType, 94 status_t translate_from_sgi(BPositionIO *inSource, uint32 outType,
|
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | WonderBrushTranslator.cpp | 122 uint32 outType, WonderBrushImage** _wbImage = NULL) in identify_wbi_header() argument 160 translator_info* outInfo, uint32 outType) in DerivedIdentify() argument 162 return identify_wbi_header(inSource, outInfo, outType); in DerivedIdentify() 169 uint32 outType, BPositionIO* outDestination, int32 baseType) in DerivedTranslate() argument 173 return _TranslateFromWBI(inSource, outType, outDestination); in DerivedTranslate() 193 WonderBrushTranslator::_TranslateFromWBI(BPositionIO* inSource, uint32 outType, in _TranslateFromWBI() argument 197 if (outType == WBI_FORMAT) { in _TranslateFromWBI() 203 ssize_t ret = identify_wbi_header(inSource, NULL, outType, &wbImage); in _TranslateFromWBI()
|
H A D | WonderBrushTranslator.h | 47 translator_info* outInfo, uint32 outType); 51 BMessage* ioExtension, uint32 outType, 65 uint32 outType, BPositionIO* outDestination);
|
/haiku/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.h | 71 translator_info *outInfo, uint32 outType); 75 uint32 outType, BPositionIO *outDestination, int32 baseType); 86 status_t translate_from_bits(BPositionIO *inSource, uint32 outType, 90 uint32 outType, BPositionIO *outDestination);
|
/haiku/src/add-ons/translators/avif/ |
H A D | AVIFTranslator.h | 58 uint32 outType); 62 BMessage* settings, uint32 outType, 75 BMessage* settings, uint32 outType, 79 BMessage* settings, uint32 outType,
|
H A D | AVIFTranslator.cpp | 136 translator_info* info, uint32 outType) in DerivedIdentify() argument 140 if (!outType) in DerivedIdentify() 141 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 142 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 171 const translator_info* info, BMessage* ioExtension, uint32 outType, in DerivedTranslate() argument 177 return _TranslateFromBits(stream, ioExtension, outType, target); in DerivedTranslate() 180 return _TranslateFromAVIF(stream, ioExtension, outType, target); in DerivedTranslate() 197 uint32 outType, BPositionIO* target) in _TranslateFromBits() argument 203 if (!outType) in _TranslateFromBits() 204 outType = AVIF_IMAGE_FORMAT; in _TranslateFromBits() [all …]
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFTranslator.cpp | 197 translator_info* outInfo, uint32 outType) in DerivedIdentify() argument 203 if (outType == 0) in DerivedIdentify() 204 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 206 if (outType != GIF_TYPE && outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 241 const translator_info* inInfo, BMessage* ioExtension, uint32 outType, in DerivedTranslate() argument 248 if (outType == 0) in DerivedTranslate() 249 outType = B_TRANSLATOR_BITMAP; in DerivedTranslate() 251 if (outType != GIF_TYPE && outType != B_TRANSLATOR_BITMAP) in DerivedTranslate()
|
/haiku/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.h | 96 translator_info *outInfo, uint32 outType); 100 uint32 outType, BPositionIO *outDestination, int32 baseType); 112 status_t translate_from_bits(BPositionIO *inSource, uint32 outType, 115 status_t translate_from_bmp(BPositionIO *inSource, uint32 outType,
|
/haiku/src/kits/translation/ |
H A D | FuncTranslator.h | 26 BMessage* ioExtension, translator_info* outInfo, uint32 outType); 29 BMessage* ioExtension, uint32 outType, BPositionIO* destination); 50 translator_info *outInfo, uint32 outType); 52 const translator_info *inInfo, BMessage *ioExtension, uint32 outType,
|
/haiku/src/add-ons/translators/png/ |
H A D | PNGTranslator.h | 68 translator_info *outInfo, uint32 outType); 72 uint32 outType, BPositionIO *outDestination, int32 baseType); 86 status_t translate_from_png(BPositionIO *inSource, uint32 outType,
|
/haiku/src/add-ons/translators/raw/ |
H A D | RAWTranslator.cpp | 126 translator_info *info, uint32 outType) in DerivedIdentify() argument 128 if (!outType) in DerivedIdentify() 129 outType = B_TRANSLATOR_BITMAP; in DerivedIdentify() 130 if (outType != B_TRANSLATOR_BITMAP) in DerivedIdentify() 202 uint32 outType, BPositionIO* target, int32 baseType) in DerivedTranslate() argument 204 if (!outType) in DerivedTranslate() 205 outType = B_TRANSLATOR_BITMAP; in DerivedTranslate() 206 if (outType != B_TRANSLATOR_BITMAP || baseType != 0) in DerivedTranslate() 285 return roster->Translate(&io, NULL, settings, target, outType); in DerivedTranslate()
|
/haiku/src/add-ons/translators/tga/ |
H A D | TGATranslator.h | 138 translator_info *outInfo, uint32 outType); 142 uint32 outType, BPositionIO *outDestination, int32 baseType); 156 status_t translate_from_bits(BPositionIO *inSource, uint32 outType, 171 status_t translate_from_tga(BPositionIO *inSource, uint32 outType,
|
/haiku/src/add-ons/translators/hvif/ |
H A D | HVIFTranslator.h | 23 uint32 outType); 27 BMessage *ioExtension, uint32 outType,
|