Lines Matching refs:bitDepth
488 png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder() argument
489 : INHERITED(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder()
611 png_infop info_ptr, int bitDepth, int numberPasses) in SkPngInterlacedDecoder() argument
612 : INHERITED(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder()
836 int bitDepth, encodedColorType; in infoCallback() local
837 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
841 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback()
843 bitDepth = 8; in infoCallback()
856 if (bitDepth < 8) { in infoCallback()
858 bitDepth = 8; in infoCallback()
880 if (bitDepth < 8) { in infoCallback()
882 bitDepth = 8; in infoCallback()
936 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(color, alpha, bitDepth); in infoCallback()
958 std::unique_ptr<SkStream>(fStream), fChunkReader, fPng_ptr, fInfo_ptr, bitDepth); in infoCallback()
961 std::unique_ptr<SkStream>(fStream), fChunkReader, fPng_ptr, fInfo_ptr, bitDepth, in infoCallback()
974 void* png_ptr, void* info_ptr, int bitDepth) in SkPngCodec() argument
980 , fBitDepth(bitDepth) in SkPngCodec()