• 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 » Embedded Software » Android » Android forum » Running CE programs in Rowboat Gingerbread-dsp
Share
Android
  • Forum
Options
  • Subscribe via RSS

Running CE programs in Rowboat Gingerbread-dsp

Running CE programs in Rowboat Gingerbread-dsp

This question is answered
Subin P Thomas
Posted by Subin P Thomas
on Jun 29 2011 07:38 AM
Intellectual400 points

I wrote a capture and encoding program. It uses h264enc. The encoding part is built in to a shared library and

an application is calling the functions. It was running fine in Arago mage built along with DVSDK 4.01. I ported it

in to android. I didn't use any Android.mk files. Now the application is receiving SIGILL as soon as it make a call

to CERuntime_init(). There are calls to the same in video/omx_dsp_video_omap3530/package/cfg/omx_dsp_video_omap3530_xv5T.c

and many other files in hardware/ti/omx. They seem to work fine and I am able to play HD videos as well. Do I need to take

care of something else? Should the program or library be linked with any other libraries?

gingerbread rowboat-dsp CERuntime_init SIGILL
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Subin P Thomas
    Posted by Subin P Thomas
    on Jun 29 2011 08:41 AM
    Intellectual400 points

    To add, a simple application which opens an engine and create a codec instance is running fine.

    I can see the CE_DEBUG messages also. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bin Liu
    Posted by Bin Liu
    on Jun 29 2011 18:43 PM
    Expert6590 points

    Currently we don't support directly access DSP interface in Rowboat.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Subin P Thomas
    Posted by Subin P Thomas
    on Jun 29 2011 23:17 PM
    Intellectual400 points

    As the simple program is running fine, which I am attaching, I don't think that is the case. Also 

    the OpenMAX components are doing good. So is there any simple way of accessing the DSP?0537.encoder.txt. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bin Liu
    Posted by Bin Liu
    on Jun 30 2011 07:14 AM
    Verified Answer
    Verified by Anonymous
    Expert6590 points

    I meant we don't provide technical support on any application development in C/C++ directly accessing DSP interface as in the example you attached.

    In Android, multimedia features such as video decoding or encoding are provided as OpenMAX components and integrated in Stagefright (in Gingerbread), Java applications access the multimedia features through Android media player Java interface, for example, the Gallery app Android provided.

    I would recommend you to implement H.264 encoding as a OMX component as video decoding in hardware/ti/omx/.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Subin P Thomas
    Posted by Subin P Thomas
    on Jun 30 2011 07:34 AM
    Intellectual400 points

    Ah, completely misunderstood the last message. Ok, I will go on with OpenMAX. The problem is me

    and something object oriented doesn't go good. And difficult to get a java program to test whatever I

    do. So was trying to be independent. :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bin Liu
    Posted by Bin Liu
    on Jun 30 2011 10:18 AM
    Expert6590 points

    That probably is the right way to go.

    The problem with implementing apps in C/C++ directly accessing DSP interface is that your apps have to handle all multimedia stuff, such as A/V mux'ing, A/V sync, which is  already done in Stagefright framework.

    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