Fix type settings, wait for swizzle
Remove unused parameters and header files
fix uchar type and add trival swizzle filter