summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c (follow)
Commit message (Collapse)AuthorAge
...
* Add WAV-writing option - currently limited to 16-bit output only; Make it ↵Dave Chapman2007-05-13
| | | | | | work in the sim again (after the change to grab the codec thread stack); Some cosmetic cleanups. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13376 a1c6a512-1295-4272-9138-f99709370657
* Set svn:keywordsDave Chapman2007-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13370 a1c6a512-1295-4272-9138-f99709370657
* Revert the addition of the steal_codec_stack function. Replace by accessing ↵Dave Chapman2007-05-07
| | | | | | the threads structure to grab the codec stack. Maybe a better solution exists. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13349 a1c6a512-1295-4272-9138-f99709370657
* Use a separate thread in test_codec, with the same (IRAM) stack as the main ↵Dave Chapman2007-05-07
| | | | | | codec thread. Add a function to the plugin API to steal the codec thread, which test_codec copies and then restores. Now libmad can be benchmarked. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13347 a1c6a512-1295-4272-9138-f99709370657
* Initial version of a test_codec plugin (viewer). This loads the audio file ↵Dave Chapman2007-05-07
into the audio buffer and decodes it as fast as it can via a locally implemented version of the codec API. Intended for use when optimising codecs - so isn't built by default. Remember to add it to both plugins/SOURCES and viewers.config to enable it. Currently the codec is run in the main thread which means mpa.codec doesn't work - it requires more stack than is available on the main thread. The solution will be to create a new thread in the plugin which steals the main codec thread's IRAM stack, but that's not done yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13345 a1c6a512-1295-4272-9138-f99709370657