• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM816x, C6A816x and AM389x Processors Forum » How to use VLIB on DM8168?
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

How to use VLIB on DM8168?

How to use VLIB on DM8168?

This question is answered
Jin-Yi Wu
Posted by Jin-Yi Wu
on Feb 05 2012 21:36 PM
Prodigy110 points

Hi all,

I want to use DVR RDK on DM8168 to perform some application at DSP, such as object tracking.

And I want to use some of VLIB's functions (Lucas-Kanade Feature Tracking).

Is there anyone can show me how to add VLIB to the DVR RDK example code?

By the way, my development environment is DM8168-EVM + Ubuntu 10.04LTS.

Many thanks,

Jin-Yi Wu

Netra Linux DSP Lib dm8168 RDK mcfw
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • B H Pawan Prasad
    Posted by B H Pawan Prasad
    on Apr 03 2012 06:59 AM
    Verified Answer
    Verified by Jin-Yi Wu
    Prodigy200 points

    Hi Jin-Yi

    All you need to do is to add the appropriate header file for the kernel and link the Vlib library in your project.

    Regards

    Pawan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jin-Yi Wu
    Posted by Jin-Yi Wu
    on Apr 03 2012 07:13 AM
    Prodigy110 points

    Hi Pawan,

    Thanks for your reply, it works.

    Many thanks,

    Jin-Yi Wu

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michael Mayercik
    Posted by Michael Mayercik
    on May 08 2012 08:39 AM
    Intellectual545 points

    Did you do this using a makefile or a CCS project?  Can you share the specifics of your solution with me? 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michael Mayercik
    Posted by Michael Mayercik
    on May 08 2012 14:18 PM
    Intellectual545 points

    How exactly do you link in VLIB with the 8148 C6EZRUN make tools?  As you can see my command line make as such will not build due to unresolved symbols but the makefile syntax is correct. 

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michael Mayercik
    Posted by Michael Mayercik
    on May 08 2012 14:25 PM
    Intellectual545 points

    This doesn't workl from the command line using make any idea why? 

    c6runapp-cc -l"/home/drs/dsplib/VLIB_V_2_1/library/c64plus/vlib.l64p" -l"/home/drs/dsplib/VLIB_V_2_1/library/c64plus/imglib2.l64P" -o main_dsp  main.o

     undefined          first referenced
      symbol                in file    
     ---------          ----------------
     VLIB_imagePyramid8 dsp/RTA.o      

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "rta_dsp.dsp_image.out" not
       built
    make: *** [dsp] Error 1

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sheng Liu
    Posted by Sheng Liu
    on Jun 06 2012 00:51 AM
    Prodigy130 points

    Hi Pawan, WuJinyi:

        Could you pls share the steps to add vlib support in dvrrdk. I met the same problem as Michael.

        I was adding vlib into below LIB_PATHS:

    # Path of the RTS library - normally doesn't change for a given tool-chain
    RTSLIB_PATH = $(CODEGEN_PATH)/lib/rts6740$(RTSLIB_ENDIAN)$(RTSLIB_FORMAT).lib
    LIB_PATHS += $(RTSLIB_PATH) \
    $(fc_INCLUDE)/ti/sdo/fc/ecpy/lib/debug/ecpy.ae674 \
    $(dvr_rdk_PATH)/mcfw/src_bios6/alg/scd/lib/vlib.l64p

    and included VLIB_prototypes.h header where function was called.

    Is there anything missing in my step?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • B H Pawan Prasad
    Posted by B H Pawan Prasad
    on Jun 06 2012 00:56 AM
    Prodigy200 points

    Hi Sheng,

    You have to find out whether you are trying to build using ELF or COFF VLIB library. To find out, in CCS, goto your project properties, and check for output format.

    Regards

    Pawan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sheng Liu
    Posted by Sheng Liu
    on Jun 06 2012 01:18 AM
    Prodigy130 points

    Hi Pawan:

    So you mean the vlib file format should be the same as DVRRDK configured? I saw in DVRRDK makefile there is definition: LOADER = ELF. 

    For vlib.l64p, it is an archive file, could you explain clearly how to identify it is ELF or COFF packed?

    thanks.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michael Mayercik
    Posted by Michael Mayercik
    on Jun 06 2012 05:49 AM
    Intellectual545 points

    In VLIB 2.2 there is a file named vlib_elf.le64p which is the ELF version.  This file did not exist in the previous version.  I hope this helps. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Forest Wang
    Posted by Forest Wang
    on Sep 10 2012 03:09 AM
    Intellectual315 points

    i'm working with vlib2.2 on DM8168 platform.

    if i use the coff format vlib, my algorithm can work, but if i switch to ELF foramt vlib,

    the same code, just switch exexutable option from coff to elf, the algorithm does not work normally.

    is there anything special for elf format vlib?

    thanks very much

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • searKing chan
    Posted by searKing chan
    on Apr 22 2013 01:12 AM
    Prodigy40 points

    能把vlib2.2 库给我一份吗?我用的vlib2.1只有coff,没有elf。471030698@qq.com

    vlib2.2
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use