Home
last modified time | relevance | path

Searched refs:rgbe (Results 1 – 3 of 3) sorted by relevance

/third_party/astc-encoder/Source/
Dstb_image_write.h639 static void stbiw__linear_to_rgbe(unsigned char *rgbe, float *linear) in stbiw__linear_to_rgbe() argument
645 rgbe[0] = rgbe[1] = rgbe[2] = rgbe[3] = 0; in stbiw__linear_to_rgbe()
649 rgbe[0] = (unsigned char)(linear[0] * normalize); in stbiw__linear_to_rgbe()
650 rgbe[1] = (unsigned char)(linear[1] * normalize); in stbiw__linear_to_rgbe()
651 rgbe[2] = (unsigned char)(linear[2] * normalize); in stbiw__linear_to_rgbe()
652 rgbe[3] = (unsigned char)(exponent + 128); in stbiw__linear_to_rgbe()
675 unsigned char rgbe[4]; in stbiw__write_hdr_scanline() local
695 stbiw__linear_to_rgbe(rgbe, linear); in stbiw__write_hdr_scanline()
696 s->func(s->context, rgbe, 4); in stbiw__write_hdr_scanline()
712 stbiw__linear_to_rgbe(rgbe, linear); in stbiw__write_hdr_scanline()
[all …]
Dstb_image.h7135 stbi_uc rgbe[4]; in stbi__hdr_load() local
7137 stbi__getn(s, rgbe, 4); in stbi__hdr_load()
7138 stbi__hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); in stbi__hdr_load()
7152 stbi_uc rgbe[4]; in stbi__hdr_load() local
7153 rgbe[0] = (stbi_uc) c1; in stbi__hdr_load()
7154 rgbe[1] = (stbi_uc) c2; in stbi__hdr_load()
7155 rgbe[2] = (stbi_uc) len; in stbi__hdr_load()
7156 rgbe[3] = (stbi_uc) stbi__get8(s); in stbi__hdr_load()
7157 stbi__hdr_convert(hdr_data, rgbe, req_comp); in stbi__hdr_load()
/third_party/python/Lib/test/
Dmime.types1153 image/vnd.radiance hdr rgbe xyze