Home
last modified time | relevance | path

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

/external/angle/src/image_util/
Dimageformats.cpp245 dst->RGB = gl::shiftData<5, 11>(gl::floatToNormalized<5, uint16_t>(src->red)) | in writeColor()
246 gl::shiftData<6, 5>(gl::floatToNormalized<6, uint16_t>(src->green)) | in writeColor()
247 gl::shiftData<5, 0>(gl::floatToNormalized<5, uint16_t>(src->blue)); in writeColor()
252 dst->RGB = gl::shiftData<5, 11>(gl::average(gl::getShiftedData<5, 11>(src1->RGB), in average()
254 gl::shiftData<6, 5>(gl::average(gl::getShiftedData<6, 5>(src1->RGB), in average()
256 gl::shiftData<5, 0>(gl::average(gl::getShiftedData<5, 0>(src1->RGB), in average()
270 dst->BGR = gl::shiftData<5, 0>(gl::floatToNormalized<5, unsigned short>(src->blue)) | in writeColor()
271 gl::shiftData<6, 5>(gl::floatToNormalized<6, unsigned short>(src->green)) | in writeColor()
272 gl::shiftData<5, 11>(gl::floatToNormalized<5, unsigned short>(src->red)); in writeColor()
277 dst->BGR = gl::shiftData<5, 11>(gl::average(gl::getShiftedData<5, 11>(src1->BGR), in average()
[all …]
/external/angle/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal228 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) |
229 shiftData<6, 5>(floatToNormalized<6, ushort>(color.g)) |
230 shiftData<5, 0>(floatToNormalized<5, ushort>(color.b));
249 ushort dst = shiftData<4, 12>(floatToNormalized<4, ushort>(color.r)) |
250 shiftData<4, 8>(floatToNormalized<4, ushort>(color.g)) |
251 shiftData<4, 4>(floatToNormalized<4, ushort>(color.b)) |
252 shiftData<4, 0>(floatToNormalized<4, ushort>(color.a));
272 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) |
273 shiftData<5, 6>(floatToNormalized<5, ushort>(color.g)) |
274 shiftData<5, 1>(floatToNormalized<5, ushort>(color.b)) |
[all …]
Dcommon.h199 static inline T shiftData(T input) in shiftData() function
Dmtl_default_shaders_src_autogen.inc231 static inline T shiftData(T input)
1829 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) |
1830 shiftData<6, 5>(floatToNormalized<6, ushort>(color.g)) |
1831 shiftData<5, 0>(floatToNormalized<5, ushort>(color.b));
1850 ushort dst = shiftData<4, 12>(floatToNormalized<4, ushort>(color.r)) |
1851 shiftData<4, 8>(floatToNormalized<4, ushort>(color.g)) |
1852 shiftData<4, 4>(floatToNormalized<4, ushort>(color.b)) |
1853 shiftData<4, 0>(floatToNormalized<4, ushort>(color.a));
1873 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) |
1874 shiftData<5, 6>(floatToNormalized<5, ushort>(color.g)) |
[all …]
/external/angle/src/common/
Dmathutil.h574 inline T shiftData(T input) in shiftData() function
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...