<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17095" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>I'm
developing a flac decoder in an embedded environment. I have it fully up and
running but I am trying to optimise the performance vs. the power it takes to
decode the stream.</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>Using the
reference decoder code with a few optimisations for the hw I'm on I experience
quite a difference in mips depending on the level.</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>For
instance, on a 192kHz/24 bit file the difference is almost that it takes twice
as many mips on level 8 vs. level 1.</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2>Unfortunately I can't tell our customer that they need to decode at a
certain level, BUT I want to minimize the frequency the processor is running on.
</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>Since I
have no problem reading a 441/16 from a memory stick and decode it on 40 MHz,
but I require almost 240 MHz on a 192/24 file, I would like to dynamically
change the frequency depending on the file I'm about to
decode.</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>Now,
since you managed to plough through all this, I would really appreciate if you
could answer one simple question:</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>Is there
any way I can read out the compression level from the encoding process from the
file?</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic" size=2>Thanks in
advance!</FONT></SPAN></DIV>
<DIV><SPAN class=646040117-23032011><FONT face="Century Gothic"
size=2>Hjalmar</FONT></SPAN></DIV><BR>
_____________________________________________________________________<BR>
**********************************************************************<BR>
<BR>
This message has been checked for all known viruses by the Naim Audio E-mail Virus Protection service, powered by MessageLabs.<BR>
<BR>
***********************************************************************<BR>
</BODY></HTML>