[Tremor] Re: Tremor Digest, Vol 25, Issue 4

Sayak sayak.ghosh at samsung.com
Sun Jun 25 20:47:01 PDT 2006


ov_read is the main function where the total decoding process is done 
according to the Tremor code. This function calls the other related 
functions.

ov_read is called once every frame.

So, if I am not missing something, to calculate MCPS, we have to put a clock 
before and after this function in the actual function call.

I hope that your processor equates like 1 MIPS = 1 MCPS and there is no 
parallelism of instructions, i.e., no multiple instructions per cycle.

Then you can calculate MCPS in every frame with this formula,

MCPS = (total count of instructions in a particular frame for ov_read* 
44100)/(1024* 1000000).

As there are 44100 samples/second and per frame it is 1024 output samples.

And thus, you can calculate the maximum MCPS where you will get the max. 
count. Take a note of MCPS every frame.

max. MCPS is a rough idea of what is the max. clock frequency Tremor needs 
and thus do not burn your processor.



----- Original Message ----- 
From: <tremor-request at xiph.org>
To: <tremor at xiph.org>
Sent: Monday, June 26, 2006 12:30 AM
Subject: Tremor Digest, Vol 25, Issue 4


> 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 required to compute mips for tremor (int ogg-vorbis
>      decoder) (rekha devi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Jun 2006 14:23:57 +0100 (BST)
> From: rekha devi <rekha781 at yahoo.co.in>
> Subject: [Tremor] Help required to compute mips for tremor (int
> ogg-vorbis decoder)
> To: tremor at xiph.org
> Message-ID: <20060608132357.14991.qmail at web8411.mail.in.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi
>  I have doubt on mips calculation for ogg/vorbis decoder can anybody clear 
> my doubt please.
>
>  1.when we are calculating mips we are taking cycles for ov_read function, 
> but
>    samples are variable,so haw we can find the frame rate?
>  we are using mips equation like as follows.
>
>  mcps = ((avg .cyclesfor ov_read) * 44100)/(avg.framerate * 1000000)
>
>  avg.framerate = (total filesize in words)/function calls for ov_read
>
>  Is it correct?
>  2.otherwise we have to take function calls for fetch_and_processpacket in 
> ov_read function?
>  please clarify my doubt.
>  i am waiting for reply
>  thanks and regards
>  Rekha
>
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
>
> Stay connected with your friends even when away from PC.  Link: 
> http://in.mobile.yahoo.com/new/messenger/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://lists.xiph.org/pipermail/tremor/attachments/20060608/913c382f/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Tremor mailing list
> Tremor at xiph.org
> http://lists.xiph.org/mailman/listinfo/tremor
>
>
> End of Tremor Digest, Vol 25, Issue 4
> *************************************
>
> 




More information about the Tremor mailing list