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: 9/10/2024 14:51
Title: mbp cutter for image and quality image
Last edited by gigihadid In 10/9/2024 17:01 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 typicall[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.
Author: Alrich    Time: 10/3/2024 19:24
Last edited by Alrich In 10/11/2024 14:23 Editor

Creating an EGL image from an MPP (Media Processing Platform) buffer involves utilizing EGL¡¯s capabilities to manage graphics contexts and surfaces. This process typically includes obtaining the centurylink support phone number buffer's native handle, then using EGL functions to create an EGL image that references this buffer. This integration allows efficient rendering and manipulation of multimedia content in applications, optimizing performance and resource usage in graphics applications.        




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