DavidSunny86 / rgb2yuv-neon

transform from rgb to yuv using ARM NEON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

transform from rgb to yuv using ARM NEON

License:MIT License


Languages

Language:C++ 73.4%Language:C 22.3%Language:Makefile 4.3%