Lines Matching refs:round
577 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1()))
580 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2()))
583 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3()))
587 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha))