[][src]Function sdl2::gfx::imagefilter::add_byte_to_half

pub fn add_byte_to_half(src1: CVec<u8>, c: u8) -> Result<CVec<u8>, String>

Filter using AddByteToHalf: D = saturation255(S/2 + C).