我用Engine GenSever Wizard生成了一个server,包含了自己的算法库和JPEGENC CODEC。
在GPP端代码中可以正常创建ENGINE和算法实例,也可以执行control接口,但是每次执行到process接口,返回值都会返回-1,报错。
自己的算法库是继承UNIVERSAL的例子,JPEGENC使用的IMGENC1的实例,无论哪个都是返回如下错误:
打印语句:
status = IMGENC1_process(enc, &inBufDesc, &outBufDesc, &inArgs, &outArgs);
if (status != IMGENC1_EOK) {
printf("IMGENC1_process() failed with error (%d ext: 0x%x)\n",
(Int)status, (Uns) outArgs.extendedError);
}
打印LOG:
“IMGENC1_process() failed with error (-1 ext: 0xa000)”
请问有人遇见过相似的问题么?应该如何调试这种问题?是否是哪里配置不对或者其他错误?