Init from android-gpuimage-demo project