Add arm64 code for downsample.
Merge pull request #1091 from zhilwang/arm64-downsample

Add arm64 code for downsample.