|
楼主你好,我执行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=]
|
|