mobile CCTV,mobile surveillance,police body worn cameras

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

mcp中初始化EGL环境不成功

[copyURL]

23

主题

62

帖子

299

积分

midMem

Rank: 3Rank: 3

积分
299
jumpTo
owner
poston 2022-1-5 11:33 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
我们在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

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
sofa
poston 2022-1-5 17:21 | authorOnly
我们渲染已经用了OpenGL了, 看错误提示可能是这个原因。 试试系统预览。
reply agree Against

使用道具 report

23

主题

62

帖子

299

积分

midMem

Rank: 3Rank: 3

积分
299
bench
 Owner| poston 2022-1-6 14:41 | authorOnly
在系统预览下的话会出现这个提示
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

1

主题

311

帖子

1105

积分

vipMem

Rank: 6Rank: 6

积分
1105
ground
poston 2022-1-6 16:58 | authorOnly
你们有没有写过demo测试通过么?  你这里不是要初始化么,你可以拿到相机数据自己预览下试试。
reply agree Against

使用道具 report

23

主题

62

帖子

299

积分

midMem

Rank: 3Rank: 3

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

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-4-29 21:25 , Processed in 0.116215 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList