mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 576|reply: 4
打印 prevThread nextThread

mcp中初始化EGL环境不成功

[copyURL]

23

主题

62

帖子

299

积分

midMem

Rank: 3Rank: 3

积分
299
jumpTo
owner
poston 2022-1-5 11:33 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
我们在mcp中集成了视频防抖功能,要初始化egl环境,现在egl环境初始化不成功,请问一下这个应该怎么修改

libEGL:eglCreateWindowSurface:native_window_api_connect (win=0xbd16c008) failed (0xffffffea)
(already connected to another API?)
libEGL:eglCreateWindowSurface:695 error 3003 (EGL_BAD_ALLOC)



图片为初始化egl相关代码



本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply

使用道具 report

23

主题

62

帖子

299

积分

midMem

Rank: 3Rank: 3

积分
299
sofa
 Owner| poston 2022-1-6 14:41 | 显示全部楼层
在系统预览下的话会出现这个提示
01-06 14:30:34.049 19000 19000 E libEGL  : call to OpenGL ES API with no current context (logged once per thread)
01-06 14:30:34.050 19000 19000 I chatty  : uid=10080(com.smarteye.mcu) identical 4 lines
01-06 14:30:34.050 19000 19000 E libEGL  : call to OpenGL ES API with no current context (logged once per thread)
reply agree Against

使用道具 report

23

主题

62

帖子

299

积分

midMem

Rank: 3Rank: 3

积分
299
bench
 Owner| poston 2022-1-6 17:31 | 显示全部楼层
在Demo里面试过了可以初始化成功,移植到Mcp中的时候就不行了
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-17 04:32 , Processed in 0.106450 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList