| 1557 | #endif // !STBI_NO_STDIO |
| 1558 | |
| 1559 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) |
| 1560 | { |
| 1561 | #ifndef STBI_NO_HDR |
| 1562 | stbi__context s; |
| 1563 | stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user); |
| 1564 | return stbi__hdr_test(&s); |
| 1565 | #else |
| 1566 | STBI_NOTUSED(clbk); |
| 1567 | STBI_NOTUSED(user); |
| 1568 | return 0; |
| 1569 | #endif |
| 1570 | } |
| 1571 | |
| 1572 | #ifndef STBI_NO_LINEAR |
| 1573 | static float stbi__l2h_gamma=2.2f, stbi__l2h_scale=1.0f; |
nothing calls this directly
no test coverage detected