Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DSurface.cpp100 *(char*)element = scast<8>(r); in write()
106 *(short*)element = scast<16>(r); in write()
161 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(a)) << 24) | in write()
162 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
163 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
164 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
181 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
182 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
183 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
202 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(g)) << 8) | in write()
[all …]
/external/swiftshader/src/System/
DMath.hpp326 inline int scast(float x) in scast() function
/external/swiftshader/src/Common/
DMath.hpp326 inline int scast(float x) in scast() function
/external/swiftshader/src/Device/
DSurface.cpp94 *(char*)element = scast<8>(r); in write()
100 *(short*)element = scast<16>(r); in write()
137 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(a)) << 24) | in write()
138 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
139 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
140 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
160 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(g)) << 8) | in write()
161 (static_cast<unsigned short>(scast<8>(r)) << 0); in write()
170 *(unsigned int*)element = (static_cast<unsigned int>(scast<16>(g)) << 16) | in write()
171 (static_cast<unsigned int>(scast<16>(r)) << 0); in write()
[all …]