[−][src]Function sdl2::gfx::imagefilter::add_uint
pub fn add_uint(src1: CVec<u8>, c: u32) -> Result<CVec<u8>, String>
Filter using AddUint
: D = saturation255((S[i] + Cs[i % 4]), Cs=Swap32((uint)C).
pub fn add_uint(src1: CVec<u8>, c: u32) -> Result<CVec<u8>, String>
Filter using AddUint
: D = saturation255((S[i] + Cs[i % 4]), Cs=Swap32((uint)C).