Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Creating EGL image from MPP Buffer

15

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
15

【Linux】 Creating EGL image from MPP Buffer

Posted at 7/25/2024 01:31:40      View:1651 | Replies:3        Print      Only Author   [Copy Link] 1#
Problem description and steps to reproduce:
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

tmp.rar

71 Bytes, Down times: 0

Reply

Use props Report

15

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
15
Posted at 7/29/2024 05:09:47        Only Author  2#
RESOLVED.

I needed to use:

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

Use props Report

60

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
60
Posted at 9/10/2024 14:51:34        Only Author  3#

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.
Reply

Use props Report

57

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
57
Posted at 10/3/2024 19:24:20        Only Author  4#
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.        
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list