Display Correct Aspect Ratio of Camera Preview in Android
In this post, we’ll dive into the key concepts and techniques for adjusting the size of a SurfaceView to match the camera preview’s aspect ratio and ensure a distortion-free display.
Display Correct Aspect Ratio of Camera Preview in Android
In this post, we’ll dive into the key concepts and techniques for adjusting the size of a SurfaceView to match the camera preview’s aspect ratio and ensure a distortion-free display.
Register native C++ methods for Java to access them.
Rendering Using Native OpenGL on Android - 2
We will load a jpeg file as a texture image and render it on the screen.
Cross Compile libjpeg for Android
Host machine: MacOS
Target device: Android armv8a
Rendering Using Native OpenGL on Android - 1