Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkCompressedDataUtils.cpp31 static inline int extend_5To8bits(int b) { in extend_5To8bits() function
39 return extend_5To8bits((0x1f & base) + kLookup[0x7 & diff]); in extend_5plus3To8Bits()
104 colors[0].fR = extend_5To8bits(high >> 27); in decompress_etc1()
106 colors[0].fG = extend_5To8bits(high >> 19); in decompress_etc1()
108 colors[0].fB = extend_5To8bits(high >> 11); in decompress_etc1()
/third_party/skia/src/gpu/
DGrDataUtils.cpp34 static inline int extend_5To8bits(int b) { in extend_5To8bits() function
83 int r8 = extend_5To8bits(r5); in create_etc1_block()
84 int g8 = extend_5To8bits(g5); in create_etc1_block()
85 int b8 = extend_5To8bits(b5); in create_etc1_block()