For the initial switch from a JNA implementation to a JNI implementation, it was essentially a straight port. I was more concerned with getting something working as quickly as possible than I was with coming up with the most optimal solution. It is likely that the JNI implementation could be further improved, at the very least there may be a buffer copy that could be removed.
For the initial switch from a JNA implementation to a JNI implementation, it was essentially a straight port. I was more concerned with getting something working as quickly as possible than I was with coming up with the most optimal solution. It is likely that the JNI implementation could be further improved, at the very least there may be a buffer copy that could be removed.
Any suggestions would be welcome.
The JNI project is at picam-native.