Searched refs:src32 (Results 1 – 1 of 1) sorted by relevance
110 static status_t reduce_color_depth(BBitmap &src32, BBitmap &dest8);395 reduce_color_depth(BBitmap &src32, BBitmap &dest8) in reduce_color_depth() argument397 status_t err = (src32.ColorSpace() == B_RGB32 in reduce_color_depth()399 && src32.InitCheck() == B_OK in reduce_color_depth()401 && src32.Bounds() == dest8.Bounds()) in reduce_color_depth()407 char *data = (char*)src32.Bits(); in reduce_color_depth()408 for (int32 i = 0; i*4+3 < src32.BitsLength(); data += 4, i++) { in reduce_color_depth()