delay bpp convertion as much as possible; enable alpha processing if source has it; minor loop optimizations