learning about android ndk and bitmap manipulation