Searched refs:rgbe (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/ |
| H A D | stb_image_write.h | 601 static void stbiw__linear_to_rgbe(unsigned char *rgbe, float *linear) in stbiw__linear_to_rgbe() argument 607 rgbe[0] = rgbe[1] = rgbe[2] = rgbe[3] = 0; in stbiw__linear_to_rgbe() 611 rgbe[0] = (unsigned char)(linear[0] * normalize); in stbiw__linear_to_rgbe() 612 rgbe[1] = (unsigned char)(linear[1] * normalize); in stbiw__linear_to_rgbe() 613 rgbe[2] = (unsigned char)(linear[2] * normalize); in stbiw__linear_to_rgbe() 614 rgbe[3] = (unsigned char)(exponent + 128); in stbiw__linear_to_rgbe() 637 unsigned char rgbe[4]; in stbiw__write_hdr_scanline() local 657 stbiw__linear_to_rgbe(rgbe, linear); in stbiw__write_hdr_scanline() 658 s->func(s->context, rgbe, 4); in stbiw__write_hdr_scanline() 674 stbiw__linear_to_rgbe(rgbe, linear); in stbiw__write_hdr_scanline() [all …]
|
| H A D | stb_image.h | 6819 stbi_uc rgbe[4]; in stbi__hdr_load() local 6821 stbi__getn(s, rgbe, 4); in stbi__hdr_load() 6822 stbi__hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); in stbi__hdr_load() 6836 stbi_uc rgbe[4]; in stbi__hdr_load() local 6837 rgbe[0] = (stbi_uc) c1; in stbi__hdr_load() 6838 rgbe[1] = (stbi_uc) c2; in stbi__hdr_load() 6839 rgbe[2] = (stbi_uc) len; in stbi__hdr_load() 6840 rgbe[3] = (stbi_uc) stbi__get8(s); in stbi__hdr_load() 6841 stbi__hdr_convert(hdr_data, rgbe, req_comp); in stbi__hdr_load()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/ |
| H A D | stb_image_write.h | 601 static void stbiw__linear_to_rgbe(unsigned char *rgbe, float *linear) in stbiw__linear_to_rgbe() argument 607 rgbe[0] = rgbe[1] = rgbe[2] = rgbe[3] = 0; in stbiw__linear_to_rgbe() 611 rgbe[0] = (unsigned char)(linear[0] * normalize); in stbiw__linear_to_rgbe() 612 rgbe[1] = (unsigned char)(linear[1] * normalize); in stbiw__linear_to_rgbe() 613 rgbe[2] = (unsigned char)(linear[2] * normalize); in stbiw__linear_to_rgbe() 614 rgbe[3] = (unsigned char)(exponent + 128); in stbiw__linear_to_rgbe() 637 unsigned char rgbe[4]; in stbiw__write_hdr_scanline() local 657 stbiw__linear_to_rgbe(rgbe, linear); in stbiw__write_hdr_scanline() 658 s->func(s->context, rgbe, 4); in stbiw__write_hdr_scanline() 674 stbiw__linear_to_rgbe(rgbe, linear); in stbiw__write_hdr_scanline() [all …]
|
| H A D | stb_image.h | 6819 stbi_uc rgbe[4]; in stbi__hdr_load() local 6821 stbi__getn(s, rgbe, 4); in stbi__hdr_load() 6822 stbi__hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); in stbi__hdr_load() 6836 stbi_uc rgbe[4]; in stbi__hdr_load() local 6837 rgbe[0] = (stbi_uc) c1; in stbi__hdr_load() 6838 rgbe[1] = (stbi_uc) c2; in stbi__hdr_load() 6839 rgbe[2] = (stbi_uc) len; in stbi__hdr_load() 6840 rgbe[3] = (stbi_uc) stbi__get8(s); in stbi__hdr_load() 6841 stbi__hdr_convert(hdr_data, rgbe, req_comp); in stbi__hdr_load()
|