Searched refs:numTrans (Results 1 - 2 of 2) sorted by relevance
/external/skia/src/codec/ |
H A D | SkCodec_libpng.cpp | 135 int numTrans; local 137 png_get_tRNS(fPng_ptr, fInfo_ptr, &trans, &numTrans, NULL); 139 numTrans = 0; 143 if (numTrans > numPalette) { 144 numTrans = numPalette; 158 for (; index < numTrans; index++) { 305 // numTrans is greater than 0. Why does the other code not make that
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libpng.cpp | 669 int numTrans; local 677 png_get_tRNS(png_ptr, info_ptr, &trans, &numTrans, NULL); 678 *hasAlphap = (numTrans > 0); 680 numTrans = 0; 684 if (numTrans > numPalette) { 685 numTrans = numPalette; 699 for (; index < numTrans; index++) { 1228 int numTrans = pack_palette(ct, paletteColors, trans, hasAlpha); local 1230 if (numTrans > 0) { 1231 png_set_tRNS(png_ptr, info_ptr, trans, numTrans, NUL [all...] |
Completed in 121 milliseconds