Home
last modified time | relevance | path

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

/hardware/google/gfxstream/common/etc/
Detc.cpp308 int intenseMod = LUT[intenseIdx]; in etc2_decode_block_T() local
313 clrTable[3] = clamp(r2 + intenseMod); in etc2_decode_block_T()
314 clrTable[4] = clamp(g2 + intenseMod); in etc2_decode_block_T()
315 clrTable[5] = clamp(b2 + intenseMod); in etc2_decode_block_T()
319 clrTable[9] = clamp(r2 - intenseMod); in etc2_decode_block_T()
320 clrTable[10] = clamp(g2 - intenseMod); in etc2_decode_block_T()
321 clrTable[11] = clamp(b2 - intenseMod); in etc2_decode_block_T()
339 int intenseMod = LUT[intenseIdx]; in etc2_decode_block_H() local
341 clrTable[0] = clamp(r1 + intenseMod); in etc2_decode_block_H()
342 clrTable[1] = clamp(g1 + intenseMod); in etc2_decode_block_H()
[all …]
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DEtc2ShaderLib.comp133 int intenseMod = LUT[intenseIdx];
136 clrTable[1] = ivec3(_clamp(int(r2) + intenseMod), _clamp(int(g2) + intenseMod),
137 _clamp(int(b2) + intenseMod));
139 clrTable[3] = ivec3(_clamp(int(r2) - intenseMod), _clamp(int(g2) - intenseMod),
140 _clamp(int(b2) - intenseMod));
158 int intenseMod = LUT[intenseIdx];
160 clrTable[0] = _clamp(ivec3(rgb1) + intenseMod);
161 clrTable[1] = _clamp(ivec3(rgb1) - intenseMod);
162 clrTable[2] = _clamp(ivec3(rgb2) + intenseMod);
163 clrTable[3] = _clamp(ivec3(rgb2) - intenseMod);