Searched refs:STBIR__ENCODE_LINEAR16 (Results 1 – 2 of 2) sorted by relevance
1735 …#define STBIR__ENCODE_LINEAR16(f) stbir__saturate16(STBIR__ROUND_INT((f) * stbir__max_uint16_as_f… in stbir__encode_scanline() macro1738 …#define STBIR__ENCODE_LINEAR16(f) (unsigned short) STBIR__ROUND_INT(stbir__saturate(f) * stbir__m… in stbir__encode_scanline() macro1780 … ((unsigned short*)output_buffer)[index] = STBIR__ENCODE_LINEAR16(encode_buffer[index]); in stbir__encode_scanline()1797 …((unsigned short*)output_buffer)[pixel_index + alpha_channel] = STBIR__ENCODE_LINEAR16(encode_buff… in stbir__encode_scanline()