Tool/software:
Problem Background:
What I want to do is output four UYUV-format images from the GPU to Gstreamer for encoding.
My implementation plan is to create an EGLImage using a DMA buffer and bind it to a texture. Then, attach the texture to an FBO for rendering, drawing the four images sequentially, and finally obtaining the UYUV output.
Since I have four outputs, and each output has a buffer queue with a buffer count of 3, I need to allocate 12 corresponding FBO, RBO, and EGLImage resources, switching between them during the loop drawing.
Problem: After launching the program, the program will be killed by the system without any prompts. By checking the kernel printout in dmesg, we found PVR_K(Error).