Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Dimageformats.h290 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 11>(src->RGB)); in readColor()
291 dst->green = gl::normalizedToFloat<6>(gl::getShiftedData<6, 5>(src->RGB)); in readColor()
292 dst->blue = gl::normalizedToFloat<5>(gl::getShiftedData<5, 0>(src->RGB)); in readColor()
305 …dst->RGB = gl::shiftData<5, 11>(gl::average(gl::getShiftedData<5, 11>(src1->RGB), gl::getShiftedDa… in average()
306 …gl::shiftData<6, 5>(gl::average(gl::getShiftedData<6, 5>(src1->RGB), gl::getShiftedData<6, 5>(s… in average()
307 …gl::shiftData<5, 0>(gl::average(gl::getShiftedData<5, 0>(src1->RGB), gl::getShiftedData<5, 0>(s… in average()
498 dst->alpha = gl::normalizedToFloat<1>(gl::getShiftedData<1, 15>(src->BGRA)); in readColor()
499 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 10>(src->BGRA)); in readColor()
500 dst->green = gl::normalizedToFloat<5>(gl::getShiftedData<5, 5>(src->BGRA)); in readColor()
501 dst->blue = gl::normalizedToFloat<5>(gl::getShiftedData<5, 0>(src->BGRA)); in readColor()
[all …]
/external/chromium_org/third_party/angle/src/common/
Dmathutil.h435 inline T getShiftedData(T input) in getShiftedData() function