Lines Matching refs:bitsPerComponent
59 size_t* bitsPerComponent, in getBitmapInfo() argument
70 *bitsPerComponent = 5; in getBitmapInfo()
77 *bitsPerComponent = 8; in getBitmapInfo()
82 *bitsPerComponent = 8; in getBitmapInfo()
86 *bitsPerComponent = 8; in getBitmapInfo()
90 *bitsPerComponent = 4; in getBitmapInfo()
105 size_t* bitsPerComponent, in prepareForImageRef() argument
108 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { in prepareForImageRef()
127 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRefWithColorspace()
130 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
149 CGImageRef ref = CGImageCreate(w, h, bitsPerComponent, in SkCreateCGImageRefWithColorspace()
183 size_t bitsPerComponent = 0; in SkCreateCGContext() local
186 bitsPerComponent = 8; in SkCreateCGContext()
190 bitsPerComponent = 8; in SkCreateCGContext()
200 bitsPerComponent, rb, cs, cg_bitmap_info); in SkCreateCGContext()
208 size_t bitsPerComponent = 0; in SkCopyPixelsFromCGImage() local
211 bitsPerComponent = 8; in SkCopyPixelsFromCGImage()
215 bitsPerComponent = 8; in SkCopyPixelsFromCGImage()
223 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, in SkCopyPixelsFromCGImage()