/rgb2yuv-neon

transform from rgb to yuv using ARM NEON

Primary LanguageC++MIT LicenseMIT

rgb2yuv-neon

Transform from RGB888 to YUV444 using ARM NEON.

Compile

Install NDK

cd <repo root path>
ndk-build NDK_PROJECT_PATH=.

Run

  • Generate a testcase
make test
# Save the test data to <filename>
# <width>: image width
# <height>: image height
./gen_testcase <width> <height> <filename>
  • Run program without ARM NEON:
./serial <input rgb file> <output yuv file>
  • Run program with ARM NEON:
./neon <input rgb file> <output yuv file>