Searched refs:STBIR__ENCODE_LINEAR8 (Results 1 – 2 of 2) sorted by relevance
1734 …#define STBIR__ENCODE_LINEAR8(f) stbir__saturate8 (STBIR__ROUND_INT((f) * stbir__max_uint8_as_fl… in stbir__encode_scanline() macro1737 …#define STBIR__ENCODE_LINEAR8(f) (unsigned char ) STBIR__ROUND_INT(stbir__saturate(f) * stbir__m… in stbir__encode_scanline() macro1751 … ((unsigned char*)output_buffer)[index] = STBIR__ENCODE_LINEAR8(encode_buffer[index]); in stbir__encode_scanline()1768 …((unsigned char *)output_buffer)[pixel_index + alpha_channel] = STBIR__ENCODE_LINEAR8(encode_buffe… in stbir__encode_scanline()