Lines Matching refs:round
579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1()))
582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2()))
585 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3()))
589 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha))