Lines Matching refs:bitDepth
229 int bitDepth, encodedColorType; in read_header() local
230 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in read_header()
234 *bitDepthPtr = bitDepth; in read_header()
240 if (bitDepth == 16) { in read_header()
254 if (bitDepth < 8) { in read_header()
276 if (bitDepth < 8) { in read_header()
333 png_structp png_ptr, png_infop info_ptr, int bitDepth, int numberPasses) in SkPngCodec() argument
340 , fBitDepth(bitDepth) in SkPngCodec()
544 SkPngChunkReader* chunkReader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngScanlineDecoder() argument
545 : INHERITED(srcInfo, stream, chunkReader, png_ptr, info_ptr, bitDepth, 1) in SkPngScanlineDecoder()
610 int bitDepth, int numberPasses) in SkPngInterlacedScanlineDecoder() argument
611 : INHERITED(srcInfo, stream, chunkReader, png_ptr, info_ptr, bitDepth, numberPasses) in SkPngInterlacedScanlineDecoder()
734 int bitDepth; in NewFromStream() local
737 if (!read_header(stream, chunkReader, &png_ptr, &info_ptr, &imageInfo, &bitDepth, in NewFromStream()
744 png_ptr, info_ptr, bitDepth); in NewFromStream()
748 png_ptr, info_ptr, bitDepth, numberPasses); in NewFromStream()