Lines Matching refs:bitsPerComponent
58 size_t* bitsPerComponent, in getBitmapInfo() argument
69 *bitsPerComponent = 5; in getBitmapInfo()
76 *bitsPerComponent = 8; in getBitmapInfo()
81 *bitsPerComponent = 8; in getBitmapInfo()
85 *bitsPerComponent = 8; in getBitmapInfo()
89 *bitsPerComponent = 4; in getBitmapInfo()
104 size_t* bitsPerComponent, in prepareForImageRef() argument
107 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { in prepareForImageRef()
125 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRefWithColorspace()
128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
150 CGImageRef ref = CGImageCreate(w, h, bitsPerComponent, in SkCreateCGImageRefWithColorspace()
226 size_t bitsPerComponent; in SkPDFDocumentToBitmap() local
228 getBitmapInfo(bitmap, &bitsPerComponent, &info, nullptr); in SkPDFDocumentToBitmap()
232 bitsPerComponent, bitmap.rowBytes(), in SkPDFDocumentToBitmap()
250 size_t bitsPerComponent = 0; in SkCopyPixelsFromCGImage() local
253 bitsPerComponent = 8; in SkCopyPixelsFromCGImage()
257 bitsPerComponent = 8; in SkCopyPixelsFromCGImage()
265 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage()