Got into Android by rooting, patching and flashing custom firmwares somewhen around Android Gingerbread.
Worked in product teams since 2014 and joined a core team at Bumble in 2022 to make other developers happy.
Konstantin Zolotov
From realtime CameraX filters to General Purpose GPU computing in simple steps
Did you ever think that that the computational complexity of image processing is comparable to that of AI training, and both tasks use GPUs?
Modern phones have powerful GPUs that are typically used for photo, graphics and image processing which naturally brings us to OpenGL and Vulkan C++ APIs.
Luckily, on Android we have OpenGL Java bindings, so we don't need to dive into C++. And combined with the CameraX effects API, we can build advanced filters for the camera. What is more, mobile GPUs are also not limited to these types of tasks and can be used for general purpose computing, even the ones completely unrelated to graphics.
In this session I will show you how to set up and write your own shaders for real-time image processing with CameraX. I will also show you how to make a step forward and use shaders for general purpose GPU computing, so that you can take advantage of the GPU power.
Come to this talk and learn how to harness the computing power of your phone's GPU!