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:696 | Replies:2        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

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42
Posted at 7 day before        Only Author  3#
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.
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