Searched refs:src32 (Results 1 - 1 of 1) sorted by relevance

/haiku/src/tests/kits/storage/
H A DMimeTypeTest.cpp110 static status_t reduce_color_depth(BBitmap &src32, BBitmap &dest8);
391 // Uses BBitmap::SetBits() to convert the B_RGB32 bitmap in src32
395 reduce_color_depth(BBitmap &src32, BBitmap &dest8) argument
397 status_t err = (src32.ColorSpace() == B_RGB32
399 && src32.InitCheck() == B_OK
401 && src32.Bounds() == dest8.Bounds())
407 char *data = (char*)src32.Bits();
408 for (int32 i = 0; i*4+3 < src32.BitsLength(); data += 4, i++) {

Completed in 38 milliseconds