Searched refs:shiftData (Results 1 – 5 of 5) sorted by relevance
/external/angle/src/image_util/ |
D | imageformats.cpp | 245 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/ |
D | copy_buffer.metal | 228 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 …]
|
D | common.h | 211 static inline T shiftData(T input) in shiftData() function
|
D | mtl_internal_shaders_autogen.metal | 239 static inline T shiftData(T input) 1851 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) | 1852 shiftData<6, 5>(floatToNormalized<6, ushort>(color.g)) | 1853 shiftData<5, 0>(floatToNormalized<5, ushort>(color.b)); 1872 ushort dst = shiftData<4, 12>(floatToNormalized<4, ushort>(color.r)) | 1873 shiftData<4, 8>(floatToNormalized<4, ushort>(color.g)) | 1874 shiftData<4, 4>(floatToNormalized<4, ushort>(color.b)) | 1875 shiftData<4, 0>(floatToNormalized<4, ushort>(color.a)); 1895 ushort dst = shiftData<5, 11>(floatToNormalized<5, ushort>(color.r)) | 1896 shiftData<5, 6>(floatToNormalized<5, ushort>(color.g)) | [all …]
|
/external/angle/src/common/ |
D | mathutil.h | 619 inline T shiftData(T input) in shiftData() function
|