请问现在我参照官方的dmai_2_20_00_15packages
tisdodmaiappsimage_decode_io1这个图片编码demo,可以实现将图片文件编码为jpeg,我现在想要将摄像头采集的图片来实时编码,但是在psplinux-driver-examples-psp03.01.01.38v4l2文件下面的摄像头应用代码中,去尝试调用编码的一些接口函数,编译一直报错,去引用编码函数的头文件,一直报错:
In file included from /usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Engine.h:57,
from v4l2_userptr_loopback.c:100:
/usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Server.h:101: error: expected specifier-qualifier-list before 'Int'
/usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Server.h:114: error: expected specifier-qualifier-list before 'Char'
/usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Server.h:145: error: expected declaration specifiers or '...' before 'Int'
/usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Server.h:167: error: expected declaration specifiers or '...' before 'Int'
/usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Server.h:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Server_fwriteTrace'
/usr/local/dm365/codec-engine_2_26_02_11/packages/ti/sdo/ce/Server.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Server_getAlgInfo'