Add arm64 downsample code to processing project

refine processing project to fix merge issue