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.

How to compile the codec engine with video image coprocessor(HDVICP v2) Engine on DM8148 EVM

Hello,

I have been working on DM8148 EVM to implement a H.264 decoder which has to support H264 4M pixels - 2048 x 2048 size. As far as I understand, TI OMX doesn't take care of it. I believe that the maximum size would be 1080 - 1920x1080. So, the best bet would be to use Codec Engine framework. I tried to compile example apps on Codec Engine framework.  I have followed "Build/Run Instructions for Codec Engine Examples" instruction but the "gmake " complained something like below, even though  I have changed xdcpath.mak as the instruction suggests.

../../../../../xdcpaths.mak:647: *** CGTOOLS_C674 is set to "", which is invalid (could not find file "/bin/cl6x*"). Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error..  Stop.

I think that I don't need CGTOOLS_C674 because the DSP will not be used for H264 decoder. Rather, the HDVICP engine is going to be used. I checked some document as much as possible to figure out how to compile the codec engine with HDVICP engine. So far, I don't have luck.

If anyone has an idea or advice for that, please let me know

Best Regards,

Seungsik Kwak.



  • Oops, I found a mistake  on xdcpaths.mak. I got all example compiled with correct configuration on xdcpaths.mak. Simply speaking of modification of the file(xdcpaths.mak), it looks something like below. I'd like to point where I changed.

    #DEVICES  := OMAP3530 TI816X C6472 C6474 DM6437 OMAPL137 OMAPL138 DM8168 DM8148 TI814X
    DEVICES := DM8148
    
    
    #GPPOS := LINUX_GCC LINUX_UCLIBC WINCE
    GPPOS := LINUX_GCC
    
    
    #PROGRAMS := APP_CLIENT DSP_SERVER APP_LOCAL
    PROGRAMS := APP_LOCAL
    
    
    #C64P_FORMAT := COFF ELF
    #C674_FORMAT := COFF ELF
    C64P_FORMAT :=
    C674_FORMAT :=
    
    
    CE_INSTALL_DIR        := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/codec_engine_3_21_02_25
    XDC_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/xdctools_3_22_04_46
    BIOS_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/bios_6_32_05_54
    SYSLINK_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/syslink_2_00_05_8
    
    
    XDAIS_INSTALL_DIR     := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/xdais_7_21_01_07
    OSAL_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/osal_1_21_01_08
    FC_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/framework_components_3_21_03_34
    CMEM_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/linuxutils_3_21_00_04
    EDMA3_LLD_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/edma3lld_02_11_02_04
    IPC_INSTALL_DIR := /home/user/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/ipc_1_23_05_40
    
    
    CGTOOLS_V5T :=  /home/user/CodeSourcery/Sourcery_G++_Lite
    CC_V5T := bin/arm-none-linux-gnueabi-gcc
    CGTARGET := gnu.targets.arm.GCArmv5T
    
    
    I believe that those above would be all modification I made. Hopefully, it helps someone who is looking for the solution like me.
    
    
    Regards,
    
    
    Seungsik Kwak.

  • Oops again. It is not real example with HDVICP2 codec but just shows what codec engine looks like using "COPYING" function. I have a big mistake about that. So far I found a couple of threads and "distributed codec engine" library but HDVICP2 code is missing on them - actually the link (http://software-dl.ti.com/dsps/dsps_public_sw/codecs/HDVICP2/index_FDS.html) is broken. Please let me know how to get it or how to get codec engine with HDVICP2 compiled.

    Best Regards,

    Seungsik Kwak.