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:365 | Replies:1        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

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

This forum Credits Rules

Quick Reply Back to top Back to list