First off, are you sure that imageData_in is length long?
My JNI is a little rusty, but I recall that some of the JNI array ops
memory map the arrays (on some platforms), tying up considerable
additional pieces of address space. But I can't offhand think how
that might factor in here.
On Jul
On Jul 15, 11:56 am, philip hays blackspyder31...@gmail.com wrote:
jbyte* imageData_out = (*env)-NewByteArray(env, length);
NewByteArray returns a jbyteArray, not a pointer to jbyte.
(*env)-GetByteArrayRegion(env, imageData_in, 0, length,
(jbyte*)imageData_out);
This copied
2 matches
Mail list logo