Firefly Open Source Community

Title: Creating EGL image from MPP Buffer [Print This Page]

Author: chrisward9000    Time: 7/25/2024 01:31
Title: Creating EGL image from MPP Buffer
Hi, I've been trying to decode H264 and then have the output mpp_frame displayed using OpenGL by creating an EGL image. However, it keeps failing in my example below on Line 181 in function eglCreateImage(). There doesn't seem to be any reasonable explanation as to why and the error messages are not very helpful. Any advice on correcting this example so I can get it working would be greatly appreciated, thanks.

https://github.com/MonocleSecuri ... ed236/main.cpp#L181
tchip_askquestions

tmp.rar

71 Bytes, Down times: 0


Author: chrisward9000    Time: 7/29/2024 05:09
RESOLVED.

I needed to use:

  1. PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)eglGetProcAddress("eglCreateImageKHR");
Copy the code

Author: gigihadid    Time: 7 day before
Last edited by gigihadid In 9/10/2024 19:41 Editor

[size=10.6667px]Creating an EGL image from an MPP (Media Processing Platform) buffer involves buy cox internet converting raw video or image data into an EGL-compatible format. This process typi[size=10.6667px]call[size=10.6667px]y requires interfacing with the EGL API to create an image object from the MPP buffer, which can then be used for rendering or processing within an OpenGL or Vulkan environment. Proper handling ensures efficient and high-quality image output.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1