Searched refs:ptif (Results 1 - 1 of 1) sorted by relevance

/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp812 TIFF *ptif = NULL; local
816 ret = identify_tiff_header(inSource, ioExtension, NULL, outType, &ptif);
818 if (outType == B_TIFF_FORMAT && ret == B_OK && ptif) {
821 TIFFClose(ptif);
826 while (ret == B_OK && ptif) {
834 if (!TIFFGetField(ptif, TIFFTAG_IMAGEWIDTH, &width)) {
838 if (!TIFFGetField(ptif, TIFFTAG_IMAGELENGTH, &height)) {
845 if (praster && TIFFReadRGBAImage(ptif, width, height, (TIFF_UINT32_TYPE*)praster, 0)) {
897 } // if (praster && TIFFReadRGBAImage(ptif, width, height, praster, 0))
899 } // while (ret == B_OK && ptif)
[all...]

Completed in 38 milliseconds