Toybrick

楼主: hisping

RK3399Pro入门教程(10)RTSP推流介绍

sincsc

新手上路

积分
22
楼主
发表于 2021-4-26 10:58:07 | 显示全部楼层
楼主你好,我执行make的时候,找不到相关函数请问如何解决呢?

V4L2.cpp: In member function 'void V4L2FramedSource::convernt_to_OutputBuffer()':
V4L2.cpp:511:18: error: 'RgaCreate' was not declared in this scope
  rga = RgaCreate();
                  ^
V4L2.cpp:517:7: error: 'class RockchipRga' has no member named 'ops'
  rga->ops->initCtx(rga);
       ^
V4L2.cpp:518:7: error: 'class RockchipRga' has no member named 'ops'
  rga->ops->setRotate(rga, RGA_ROTATE_NONE);
       ^
V4L2.cpp:518:27: error: 'RGA_ROTATE_NONE' was not declared in this scope
  rga->ops->setRotate(rga, RGA_ROTATE_NONE);
                           ^
V4L2.cpp:519:7: error: 'class RockchipRga' has no member named 'ops'
  rga->ops->setSrcFormat(rga, V4L2_PIX_FMT_YUYV, 640, 480);
       ^
V4L2.cpp:520:7: error: 'class RockchipRga' has no member named 'ops'
  rga->ops->setDstFormat(rga, V4L2_PIX_FMT_NV12, 640, 480);
       ^
V4L2.cpp:528:7: error: 'class RockchipRga' has no member named 'ops'
  rga->ops->setDstBufferPtr(rga, frame_nv12);
       ^
V4L2.cpp:529:7: error: 'class RockchipRga' has no member named 'ops'
  rga->ops->setSrcBufferPtr(rga, (unsigned char *) camera_buffers[index].start);
       ^
V4L2.cpp:531:17: error: 'class RockchipRga' has no member named 'ops'
  int ret = rga->ops->go(rga);
                 ^
V4L2.cpp:545:16: error: 'RgaDestroy' was not declared in this scope
  RgaDestroy(rga);
                ^
V4L2.cpp:482:12: warning: unused variable 'pPictureSrc' [-Wunused-variable]
  AVPicture pPictureSrc;
            ^
V4L2.cpp: In member function 'virtual void V4L2FramedSource::doGetNextFrame()':
V4L2.cpp:561:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
回复

使用道具 举报

sincsc

新手上路

积分
22
沙发
发表于 2021-4-26 17:49:06 | 显示全部楼层
sincsc 发表于 2021-4-26 10:58
楼主你好,我执行make的时候,找不到相关函数请问如何解决呢?

V4L2.cpp: In member function 'void V4L2F ...

已解决,谢谢
回复

使用道具 举报

sincsc

新手上路

积分
22
板凳
发表于 2021-4-26 18:31:06 | 显示全部楼层
请教各位大佬,我的是ubuntu系统,更新了源,apt-get install rockchip-rga-dev可以安装rga,但是apt-get install rockchip-mpp-dev却找不到mmp包,有什么办法可以解决吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表