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 use dm8168 ,dvr_rdk 3.5, vlib3.0

I have dm8168,dvr_rdk3.5 and vlib3.0. I want to use vlib in dm8168.This forum's post tell me McFW Platform loading DMVAL and VLIB libraries by default. And I find DMVAL, analytics.ae674 and vlib.ae674 in the kit.But where is the head file about vlib?  I cannot find it. 

I used "find ./ | xargs grep -rH "vlib" ",find vlib.ae674,rules_c674.mk. 

can you tell me how to used the vlib ? where is the head file about vlib?  

best regards

  • vlib library functions are used internally by DMVAL analytics library. They are not used by links code in dvrrdk running on c674. The header file for vlib is not included because they are not needed for dvr rdk compilation. You will have to get the vlib headers from vlib package.

  • Hello Badri Narayanan:

          thanks for you reply.Then I know dvr_rdk have no vlib head file.But how to use vlib in dvr_rdk?

    I had installed vlib3.0,and I find the "packages/ti/vlib"  directory has lib and head file that I need,  then I add this File directory in  "dvr_rdk/mcfw/src_bios6/Makefile" INCDIR variable like scd(INCDIR  += $(MODULE_SRC_BASE_PATH)/alg/scd ) . I add "#include<vlib.h>" to sw_osd_ti_alg.c .And run "make -s dvr_rdk_bios6 " to rebuild the dsp file.Compile won't error.     Is it right ? can I use vlib function by this way?

    best regards 

  • Yes you can use vlib in this way.

  • Hi Badri Narayanan

         thanks for you reply . Now I use the dvr_rdk2.8,because I had modify many of the source file . So I most use the dvr_rdk2.8. But 2.8 don't work by this way . why?    dvr_rdk2.8 has no vlib.ae674?  

         "mkdir mcfw/src_bios6/alg/va" ,and I add all of the lib file in "packages/ti/vlib/lib " to this dictionary。then I modify ”dvr_rdk/makerules/rule_c674.mk“  add the lib file like this.

    LIB_PATHS += $(RTSLIB_PATH) \
    $(fc_INCLUDE)/ti/sdo/fc/ecpy/lib/debug/ecpy.ae674 \
    $(dvr_rdk_PATH)/mcfw/src_bios6/alg/scd/lib/scd.ae674\
    $(dvr_rdk_PATH)/mcfw/src_bios6/alg/va/lib/vlib.ae674\

    is it right ? how the dvr_rdk2.8 use vlib?

    best regards

  • dsp 怎么加库,不错