Home
last modified time | relevance | path

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

/external/angle/src/image_util/
Dimageformats.cpp237 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 11>(src->RGB)); in readColor()
238 dst->green = gl::normalizedToFloat<6>(gl::getShiftedData<6, 5>(src->RGB)); in readColor()
239 dst->blue = gl::normalizedToFloat<5>(gl::getShiftedData<5, 0>(src->RGB)); in readColor()
252 dst->RGB = gl::shiftData<5, 11>(gl::average(gl::getShiftedData<5, 11>(src1->RGB), in average()
253 gl::getShiftedData<5, 11>(src2->RGB))) | in average()
254 gl::shiftData<6, 5>(gl::average(gl::getShiftedData<6, 5>(src1->RGB), in average()
255 gl::getShiftedData<6, 5>(src2->RGB))) | in average()
256 gl::shiftData<5, 0>(gl::average(gl::getShiftedData<5, 0>(src1->RGB), in average()
257 gl::getShiftedData<5, 0>(src2->RGB))); in average()
262 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 11>(src->BGR)); in readColor()
[all …]
Dloadimage.cpp425 uint16_t r5 = gl::getShiftedData<5, 11>(rgb); in LoadRGB565ToBGR565()
426 uint16_t g6 = gl::getShiftedData<6, 5>(rgb); in LoadRGB565ToBGR565()
427 uint16_t b5 = gl::getShiftedData<5, 0>(rgb); in LoadRGB565ToBGR565()
/external/angle/src/libANGLE/renderer/metal/shaders/
Dcopy_buffer.metal220 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
221 color.g = normalizedToFloat<6>(getShiftedData<6, 5>(src));
222 color.b = normalizedToFloat<5>(getShiftedData<5, 0>(src));
241 color.r = normalizedToFloat<4>(getShiftedData<4, 12>(src));
242 color.g = normalizedToFloat<4>(getShiftedData<4, 8>(src));
243 color.b = normalizedToFloat<4>(getShiftedData<4, 4>(src));
244 color.a = normalizedToFloat<4>(getShiftedData<4, 0>(src));
264 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
265 color.g = normalizedToFloat<5>(getShiftedData<5, 6>(src));
266 color.b = normalizedToFloat<5>(getShiftedData<5, 1>(src));
[all …]
Dmtl_default_shaders_src_autogen.inc222 static inline T getShiftedData(T input)
1821 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
1822 color.g = normalizedToFloat<6>(getShiftedData<6, 5>(src));
1823 color.b = normalizedToFloat<5>(getShiftedData<5, 0>(src));
1842 color.r = normalizedToFloat<4>(getShiftedData<4, 12>(src));
1843 color.g = normalizedToFloat<4>(getShiftedData<4, 8>(src));
1844 color.b = normalizedToFloat<4>(getShiftedData<4, 4>(src));
1845 color.a = normalizedToFloat<4>(getShiftedData<4, 0>(src));
1865 color.r = normalizedToFloat<5>(getShiftedData<5, 11>(src));
1866 color.g = normalizedToFloat<5>(getShiftedData<5, 6>(src));
[all …]
Dcommon.h190 static inline T getShiftedData(T input) in getShiftedData() function
/external/angle/src/common/
Dmathutil.h565 inline T getShiftedData(T input) in getShiftedData() function
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBlit11.cpp185 uint32_t convertedStencil = gl::getShiftedData<8, 0>(static_cast<uint32_t>(source[1])); in LoadStencilHelper()