Home
last modified time | relevance | path

Searched refs:dest8888 (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/src/OpenGL/common/
DImage.cpp773 unsigned char *dest8888 = dest; in TransferRow() local
778 dest8888[4 * x + 0] = ((rgba & 0xF800) >> 8) | ((rgba & 0xF800) >> 13); in TransferRow()
779 dest8888[4 * x + 1] = ((rgba & 0x07C0) >> 3) | ((rgba & 0x07C0) >> 8); in TransferRow()
780 dest8888[4 * x + 2] = ((rgba & 0x003E) << 2) | ((rgba & 0x003E) >> 3); in TransferRow()
781 dest8888[4 * x + 3] = (rgba & 0x0001) ? 0xFF : 0; in TransferRow()
789 unsigned char *dest8888 = dest; in TransferRow() local
794 dest8888[4 * x + 0] = sw::unorm<8>((rgba & 0x000003FF) * (1.0f / 0x000003FF)); in TransferRow()
795 dest8888[4 * x + 1] = sw::unorm<8>((rgba & 0x000FFC00) * (1.0f / 0x000FFC00)); in TransferRow()
796 dest8888[4 * x + 2] = sw::unorm<8>((rgba & 0x3FF00000) * (1.0f / 0x3FF00000)); in TransferRow()
797 dest8888[4 * x + 3] = sw::unorm<8>((rgba & 0xC0000000) * (1.0f / 0xC0000000)); in TransferRow()