[Tremor] AW: Tremor Digest, Vol 29, Issue 2

Lorber, Markus markus.lorber at siemens.com
Wed Oct 25 03:25:42 PDT 2006


Hello Bharan,

one of the possible reasons why the ov_open() fails could be that the stack- and/or the heap-size might be to small. I had compareable problems with Tremor on the Blackfin. So try to increase these sizes.

If you are going to run Tremor on the DSP, you should think about where your OggVorbis File will be located. Do you have enough internal memory or will you copy it to an external RAM? In any case you propably will have to use ov_open_callbacks() instead of ov_open() an you will have to adapt the corresponding callback functions with your own stream-structure. I guess you won't be happy with the standard file-I/O- functions which are used in the example program. 
Maybe you can get the Blackfin port from Analog Devices. There you can see how they do this.

Good luck,
Markus   

-----Ursprüngliche Nachricht-----
Von: tremor-bounces at xiph.org [mailto:tremor-bounces at xiph.org] Im Auftrag von tremor-request at xiph.org
Gesendet: Dienstag, 24. Oktober 2006 21:01
An: tremor at xiph.org
Betreff: Tremor Digest, Vol 29, Issue 2

Send Tremor mailing list submissions to
	tremor at xiph.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.xiph.org/mailman/listinfo/tremor
or, via email, send a message with subject or body 'help' to
	tremor-request at xiph.org

You can reach the person managing the list at
	tremor-owner at xiph.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tremor digest..."


Today's Topics:

   1. Help with tremor implementation on Sharc (Bharan Giridhar)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Oct 2006 11:17:48 +0000
From: "Bharan Giridhar" <bharan.giridhar at gmail.com>
Subject: [Tremor] Help with tremor implementation on Sharc
To: tremor at xiph.org
Message-ID:
	<cd2127090610240417hc3215acyd19f8e907003d6fe at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi all

I am a 4th yr. Electronics student working on Implementation of Ogg Vorbis
on Sharc DSP processors as my final yr. project. However, I am new to this
and am facing the following difficulties:

1. The code compiles very well in VC++, however, in Visual DSP, it gives an
error saying that _setmode() (in ivorbisfile_example.c) is not recognised.
2. On commenting the _setmode() part also, it fails the ov_open() test and
reports 'Input is not an ogg bitstream'.... but same code works brilliantly
on VC++ platform, generating the pcm data.

Please suggest how I should proceed, as I have been stuck with this for
quite some time now...

NOTE: Visual DSP is basically an IDE from Analog Devices Inc. for
development using their DSPs.

If anyone has done a blackfin implementation, even that will be helpful..
Please respond as soon as possible.

Bharan

-- 
Bharan Giridhar
Final Year B.Tech Electronics & Comm. \
Room# 90 ,V Block NITKS Hostels
NITK, Srinivasanagar
Surathkal
DK District, KK
IND-575025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/tremor/attachments/20061024/6f49c33f/attachment-0001.html

------------------------------

_______________________________________________
Tremor mailing list
Tremor at xiph.org
http://lists.xiph.org/mailman/listinfo/tremor


End of Tremor Digest, Vol 29, Issue 2
*************************************


More information about the Tremor mailing list