Other Parts Discussed in Thread: SYSBIOS
We are trying to integrate as customer H264 encoder codec in SDK.
There is a default H264 encoder codec that is part of the SDK(and is part of ipumm fw).
Location of library file and interface header file within SDK :
tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ipumm-fw/3.00.10.00-r1/git/extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264enc/lib/h264enc_ti_host.lib
tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ipumm-fw/3.00.10.00-r1/git/extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264enc/ih264enc.h
We also have a custom codec library file (.lib) and a interface header file.
We hope to replace the above .lib & .h files with our custom files.
Need to find where all these lib and header files is referenced so we can edit them.
Modification we did to integrate our library :
1. Copied our library within "tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ipumm-fw/3.00.10.00-r1/git/extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264enc/lib/"
2. Copied our interface header file within "tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ipumm-fw/3.00.10.00-r1/git/extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264enc/"
3. Edited
./arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ipumm-fw/3.00.10.00-r1/git/extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264enc/ce/H264ENC.xdc
Changed "ialgFxns" param
4. Edited
./arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/ipumm-fw/3.00.10.00-r1/git/extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264enc/package.xs
Changed "lib" parameter in getLibs() function so point of our library.
Compiling the ipumm-fw :
MACHINE=am57xx-evm bitbake ipumm-fw
MACHINE=am57xx-evm bitbake -c clean ipumm-fw
MACHINE=am57xx-evm bitbake -c fetch ipumm-fw
MACHINE=am57xx-evm bitbake -c unpack ipumm-fw
Then did modifications steps 1,2,3 and 4
MACHINE=am57xx-evm bitbake -c compile ipumm-fw
We see compile errors(below is a snippet):
/---------------------------xx-----------------------------------/
| making package/cfg/out/ipu/release/ipu_pem4.src/ipc.aem4 ...
| making package/cfg/out/ipu/release/ipu_pem4.src/utils.aem4 ...
| making package/cfg/out/ipu/release/ipu_pem4.src/sysbios/sysbios.aem4 ...
| making package/cfg/out/ipu/release/qnx_ipu_pem4.src/ipc.aem4 ...
| making package/cfg/out/ipu/release/qnx_ipu_pem4.src/utils.aem4 ...
| making package/cfg/out/ipu/release/qnx_ipu_pem4.src/sysbios/sysbios.aem4 ...
| lnkem4 out/ipu/release/ipu.xem4 ...
|
| undefined first referenced
| symbol in file
| --------- ----------------
| H264ENC_TI_IH264ENC package/cfg/out/ipu/release/ipu_pem4.oem4
| H264ENC_TI_IRES package/cfg/out/ipu/release/ipu_pem4.oem4
/---------------------------xxxxx-----------------------------------/
So there are some more places that we need to edit to integrate our codec library.
Any pointers on which other files we need to edit ?
Regards,
Snehal