Lines Matching refs:bitDepth
500 png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder() argument
501 : INHERITED(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder()
617 png_infop info_ptr, int bitDepth, int numberPasses) in SkPngInterlacedDecoder() argument
618 : INHERITED(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder()
845 int bitDepth, encodedColorType; in infoCallback() local
846 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
850 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback()
852 bitDepth = 8; in infoCallback()
865 if (bitDepth < 8) { in infoCallback()
867 bitDepth = 8; in infoCallback()
889 if (bitDepth < 8) { in infoCallback()
891 bitDepth = 8; in infoCallback()
945 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(color, alpha, bitDepth); in infoCallback()
967 std::unique_ptr<SkStream>(fStream), fChunkReader, fPng_ptr, fInfo_ptr, bitDepth); in infoCallback()
970 std::unique_ptr<SkStream>(fStream), fChunkReader, fPng_ptr, fInfo_ptr, bitDepth, in infoCallback()
983 void* png_ptr, void* info_ptr, int bitDepth) in SkPngCodec() argument
989 , fBitDepth(bitDepth) in SkPngCodec()