Join Slack
Powered by
<How to convert ByteBuffer to bitmap and vice vers...
# stackoverflow
u
user
06/22/2022, 4:11 AM
How to convert ByteBuffer to bitmap and vice versa without dropping the frames?
I have a ByteBuffer: var rgbaData = JniUtil.nativeAllocateByteBuffer(frame.width * frame.height * 4) where the frame is the VideoFrame obtained from live streaming media. I want to apply the
HighPassSkinSmoothing
filter to the bitmap obtained from the above's buffer, convert the bitmap back to ByteArray,...
5
Views
Open in Slack
Previous
Next