diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-06-19 02:56:00 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-06-19 02:56:00 +0000 |
| commit | 6a0d931f383259b4b82fcfd1cc87700f53bbcb02 (patch) | |
| tree | 04960b8122f35101bb31603af084536f307e0ae1 /apps/plugins | |
| parent | 4c58ad26ba462309f95790c32421130a73909f05 (diff) | |
| download | rockbox-6a0d931f383259b4b82fcfd1cc87700f53bbcb02.zip rockbox-6a0d931f383259b4b82fcfd1cc87700f53bbcb02.tar.gz rockbox-6a0d931f383259b4b82fcfd1cc87700f53bbcb02.tar.bz2 rockbox-6a0d931f383259b4b82fcfd1cc87700f53bbcb02.tar.xz | |
Core JPEG decoder improvements:
For >8-point vertical IDCT, transpose the coefficients while decoding them, so that the vertical IDCT can read in rows rather than columns. This improves speed a bit for this size even using the C IDCT.
Remove inline ARM asm, replacing it with an external file containing pure asm IDCT functions.
Add jpeg_ prefix to JPEG IDCT functions since some of them will now be visible globally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21345 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/lib/SOURCES | 3 | ||||
| -rw-r--r-- | apps/plugins/lib/pluginlib_jpeg_idct_arm.S | 24 |
2 files changed, 27 insertions, 0 deletions
diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES index 7211109..2ed38c4 100644 --- a/apps/plugins/lib/SOURCES +++ b/apps/plugins/lib/SOURCES @@ -27,6 +27,9 @@ playergfx.c profile_plugin.c #endif #ifdef HAVE_LCD_BITMAP +#ifdef CPU_ARM +pluginlib_jpeg_idct_arm.S +#endif pluginlib_jpeg_mem.c pluginlib_resize.c #ifndef HAVE_JPEG diff --git a/apps/plugins/lib/pluginlib_jpeg_idct_arm.S b/apps/plugins/lib/pluginlib_jpeg_idct_arm.S new file mode 100644 index 0000000..5e6149d --- /dev/null +++ b/apps/plugins/lib/pluginlib_jpeg_idct_arm.S @@ -0,0 +1,24 @@ +/*************************************************************************** +* __________ __ ___. +* Open \______ \ ____ ____ | | _\_ |__ _______ ___ +* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +* \/ \/ \/ \/ \/ +* $Id$ +* +* Copyright (C) 2009 by Andrew Mahone +* +* This is a wrapper for the core jpeg_idct_arm.S +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY +* KIND, either express or implied. +* +****************************************************************************/ + +#include "recorder/jpeg_idct_arm.S" |