Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Speed up NativeImageLoader a bit on Android by avoiding direct NIO buffers #507
What changes were proposed in this pull request?
Reading from direct NIO buffers on Android is slow, so avoid them when copying image data.
How was this patch tested?
Unit tests pass. Checked manually performance on Android emulator with 640x480 RGB image: