Rockbox Development > Starting Development and Compiling

Codec Performance Comparison

(1/1)

lee321987:
   I'm trying to participate in the Codec Performance Comparison (http://www.rockbox.org/twiki/bin/view/Main/CodecPerformanceComparison), but am getting stuck on one part.  Their is a link to a .zip on that page (in the sentence that starts with "Download the encoder pack here which contains CLI encoders, a debug menu patch...").  I'm guessing that it's a .patch or .diff, but in the downloaded .zip file there is only a "codecs" folder and a batch file. 
 

bascule:
Well, the codecs folder contains a number of .exe files with common encoder names.

Looking at the batch script, you just need to extract the zip, copy the sample.flac file that you downloaded in the previous step into the codecs folder, then run the .bat file.

The next section on the Wiki page, 'Generating Sample Set' does explain what to do...

lee321987:
   Ok, my fault! 
   I think I was looking in my build folder for the SOURCES files.
   Is it just me or have I been staying up too late since I found out about Rockbox...

   There is a line on that page that mentions "debug menu patch", unless I'm missing something, there is no patch involved in that project.

   I think this thread may just be a waste of space...no?
   May I ask that it be deleted?

bascule:

--- Quote from: lee321987 on April 19, 2008, 12:16:42 PM ---I think this thread may just be a waste of space...no?
--- End quote ---

Well, have you got it working or not?

I think the 'debug menu patch' wording is an error (or just poorly worded).

However, you do need to compile your own build of Rockbox in order to perform the test (as described in the Compile including the test_codec plugin), because the test requires the use of a special context menu entry in order to produce a results file.

Is that any clearer, now?

lee321987:
   Oops, sorry -- Yeah, I got it. 
   As far as compiling goes, I only had to change one thing --  I opened the file
C:\cygwin\home\ [User Name] \rockbox\apps\plugins\SOURCES   (SOURCES is a FILE with no extenstion if anyone wants to know), and added the line, "test_codec.c" -- printed here in red

#if CONFIG_CODEC == SWCODEC        /* software codec platforms */
mp3_encoder.c
wav2wv.c
#else                              /* hardware codec platforms */
#ifndef HAVE_MMC                   /* not for Ondio, has no remote control pin */
alpine_cdc.c
#endif
splitedit.c
#endif /* CONFIG_CODEC */
test_codec.c
#if LCD_DEPTH > 1                  /* non-mono bitmap targets */
matrix.c
#endif

   "CONFIG_CODEC == SWCODEC" (the phrase that the Wiki guides you to) appears twice in the file.  The code you see here is the second instance of it (starting at line number 118)

   Configure...make....make zip ---- and you're home.

   Thank you bascule.

   (I'm not sure is this topic is still a waste of space, but if anyone in charge thinks so then please do remove it.)

Navigation

[0] Message Index

Go to full version