static int i=0;
int index = 4 * ( x + width * y );
unsigned char red = pixelsp[i]>>16 ;
unsigned char green = pixelsp[i]>>8;
I am using the following code to return a bitmap from a video using jni then to display it using c++ and Openframeworks.You may not be familiar...