directly uses output file name specified by the user
separated sao edge filter and pixel restore funcs
temporarily disabled x86 sao edge optimizations