Lines Matching refs:bitsPerComponent
54 size_t* bitsPerComponent, in getBitmapInfo() argument
65 *bitsPerComponent = 5; in getBitmapInfo()
72 *bitsPerComponent = 8; in getBitmapInfo()
77 *bitsPerComponent = 8; in getBitmapInfo()
81 *bitsPerComponent = 8; in getBitmapInfo()
85 *bitsPerComponent = 4; in getBitmapInfo()
100 size_t* bitsPerComponent, in prepareForImageRef() argument
103 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { in prepareForImageRef()
121 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRefWithColorspace()
124 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
146 CGImageRef ref = CGImageCreate(w, h, bitsPerComponent, in SkCreateCGImageRefWithColorspace()
222 size_t bitsPerComponent; in SkPDFDocumentToBitmap() local
224 getBitmapInfo(bitmap, &bitsPerComponent, &info, NULL); in SkPDFDocumentToBitmap()
228 bitsPerComponent, bitmap.rowBytes(), in SkPDFDocumentToBitmap()
246 size_t bitsPerComponent = 0; in SkCopyPixelsFromCGImage() local
249 bitsPerComponent = 8; in SkCopyPixelsFromCGImage()
253 bitsPerComponent = 8; in SkCopyPixelsFromCGImage()
261 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage()