This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[求助]DM6446 如何在codecs中应用VICP进行加速处理?



各位大侠辛苦,小弟初用Davinci DM6446,是合众达的seed-dtk6446实验箱。

该实验箱附带的例程中并未有VICP的实例,我自己在下载安装了vicplib3.2、EDMA3_LLD33后,在CCS3.3下用实验箱运行了vicplib3.2的test中的部分实例代码,可以运行。

于是我想在有codecs包的实例中加入有关VICP的调用,我基本做法是:

在codecs包中的videnc_copy.c内添加了调用VICP的代码:

//定义

void procFunction(Uint8 *in_data,Uint8 *out_data)

{.............

memInit();

intSetup(CPIS_isr);

intEnable();

CPIS_init(&vicpInit);

..............................

}

//调用

XDAS_Int32 VIDENCCOPY_TI_process(IVIDENC_Handle h, XDM_BufDesc *inBufs,
XDM_BufDesc *outBufs, IVIDENC_InArgs *inArgs, IVIDENC_OutArgs *outArgs)
{.......................

procFunction(inBufs->bufs[curBuf],outBufs->bufs[curBuf]);

...........................

}

算法打包没出问题,但sever打包时出现错误:

warning: creating output section $build.attributes without SECTIONS
specification

undefined first referenced
symbol in file
--------- ----------------
_intEnable /opt/dvevm_1_20/seed_exp/06.SEED-IMGEXP/60406_SobelEdge_VICP/codecs/SobelEdge_part/lib/SobelEdge_part_dma.a64P
_intSetup /opt/dvevm_1_20/seed_exp/06.SEED-IMGEXP/60406_SobelEdge_VICP/codecs/SobelEdge_part/lib/SobelEdge_part_dma.a64P

..................................................................

网上搜了一下,一般认为是cgt版本不匹配,我用的是cg6x_6_0_14和bios_5_31_01,但我换为cg6x_6_1_12和bios_5_33_06后,仍有问题。

希望各位有经验的大侠给小弟指点指点。