FixedPoint

所属分类:处理器开发
开发工具:MultiPlatform
文件大小:286KB
下载次数:155
上传日期:2007-06-23 12:45:37
上 传 者34695152
说明:  在arm下的AAC解码程序,采用定点计算,速度很快,有很多手机的解码程序就是用的这个解码程序。经本人调试通过,需要的人可参考。
(arm in the AAC decoding procedures, using fixed-point calculations, very fast, Many cell phone decoding procedure is used in the decoding process. After I debugging passed, the person may need to reference.)

文件列表:
FixedPoint\aacdec.c (14333, 2007-05-11)
FixedPoint\aactabs.c (6831, 2007-05-11)
FixedPoint\docs\callgraph_aac.doc (25088, 2007-05-11)
FixedPoint\docs\callgraph_sbr.doc (23552, 2007-05-11)
FixedPoint\docs\cpuusage.xls (16896, 2007-05-11)
FixedPoint\docs\memory.xls (16896, 2007-05-11)
FixedPoint\docs (0, 2007-05-11)
FixedPoint\hxwrap\aacdecdll.cpp (16339, 2007-05-11)
FixedPoint\hxwrap\aacdecdll.h (4078, 2007-05-11)
FixedPoint\hxwrap\aacdecdrm.cpp (2824, 2007-05-11)
FixedPoint\hxwrap\aacdecdrm.h (2485, 2007-05-11)
FixedPoint\hxwrap\initguid.cpp (1801, 2007-05-11)
FixedPoint\hxwrap\platform\win\nodefaultlibs.c (103, 2007-05-11)
FixedPoint\hxwrap\platform\win\raac.rc (3893, 2007-05-11)
FixedPoint\hxwrap\platform\win (0, 2007-05-11)
FixedPoint\hxwrap\platform (0, 2007-05-11)
FixedPoint\hxwrap\raac.ver (488, 2007-05-11)
FixedPoint\hxwrap\raacentrydrm.cpp (4321, 2007-05-11)
FixedPoint\hxwrap\symbian.pcf (1760, 2007-05-11)
FixedPoint\hxwrap\Umakefil.htm (1879, 2007-05-11)
FixedPoint\hxwrap\umake_dll.htm (4765, 2007-05-11)
FixedPoint\hxwrap\umake_dll_symbian.pcf (2290, 2007-05-11)
FixedPoint\hxwrap\umake_lib.htm (5689, 2007-05-11)
FixedPoint\hxwrap\umake_lib_symbian.pcf (2479, 2007-05-11)
FixedPoint\hxwrap\umake_test.htm (2112, 2007-05-11)
FixedPoint\hxwrap\win32.pcf (1979, 2007-05-11)
FixedPoint\hxwrap (0, 2007-05-11)
FixedPoint\ipp\buffers.c (4551, 2007-05-11)
FixedPoint\ipp\coder.h (4044, 2007-05-11)
FixedPoint\ipp\decelmnt.c (13925, 2007-05-11)
FixedPoint\ipp\dequant.c (4439, 2007-05-11)
FixedPoint\ipp\filefmt.c (15153, 2007-05-11)
FixedPoint\ipp\imdct.c (4297, 2007-05-11)
FixedPoint\ipp\noiseless.c (5220, 2007-05-11)
FixedPoint\ipp\pns.c (3487, 2007-05-11)
FixedPoint\ipp\projects\visualc\aacdec.dsp (4663, 2007-05-11)
FixedPoint\ipp\projects\visualc\aacdec.dsw (813, 2007-05-11)
FixedPoint\ipp\projects\visualc\testwrap.dsp (4646, 2007-05-11)
FixedPoint\ipp\projects\visualc (0, 2007-05-11)
FixedPoint\ipp\projects (0, 2007-05-11)
... ...

Fixed-point HE-AAC decoder Developed by RealNetworks, 2005 =============================== Overview -------- This module contains a high-performance HE-AAC decoder for 32-bit fixed-point processors. The following is a summary of what is and is not supported: Supported: - MPEG2, MPEG4 low complexity decoding (intensity stereo, M-S, TNS, PNS) - spectral band replication (SBR), high-quality mode - mono, stereo, and multichannel modes - ADTS, ADIF, and raw data block file formats Not currently supported: - main or SSR profile, LTP - coupling channel elements (CCE) - 960/1920-sample frame size - low-power mode SBR - downsampled (single-rate) SBR - parametric stereo Highlights ---------- - highly optimized for ARM processors (details in docs/ subdirectory) - reference x86 implementation - C and assembly code only (C++ not required for codec library) - reentrant, statically linkable - low memory (details in docs/ subdirectory) - option to use Intel Integrated Performance Primitives (details below) Supported platforms and toolchains ---------------------------------- This codec should run on any 32-bit fixed-point processor which can perform a full 32x32-bit multiply (providing a ***-bit result). The following processors and toolchains are supported: - x86, Microsoft Visual C++ - x86, GNU toolchain (gcc) - ARM, ARM Developer Suite (ADS) - ARM, Microsoft Embedded Visual C++ - ARM, GNU toolchain (gcc) ARM refers to any processor supporting ARM architecture v.4 or above. Thumb is not required. Generally ADS produces the fastest code. EVC 3 does not support inline assembly code for ARM targets, so calls to MULSHIFT32 (smull on ARM) are left as function calls. This incurs a significant performance penalty. For the fastest code on targets which do not normally use ADS consider compiling with ADS, using the -S option to output assembly code, and feeding this assembly code to the assembler of your choice. This might require some syntax changes in the .S file. Adding support for a new processor is fairly simple. Simply add a new block to the file real/assembly.h which implements the required inline assembly functions for your processor. Something like ... #elif defined NEW_PROCESSOR /* you implement MULSHIFT32() and so forth */ #else #error Unsupported platform in assembly.h #endif Optionally you can rewrite or add assembly language files optimized for your platform. Note that many of the algorithms are designed for an ARM-type processor, so performance of the unmodified C code might be noticeably worse on other architectures. Adding support for a new toolchain is straightforward. Use the sample projects or the Helix makefiles as a template for which source files to include. Multichannel ------------ For multichannel, just set AAC_MAX_NCHANS in pub/aacdec.h to the desired max number of channels (default = 2) and recompile. This increases RAM usage since more memory is required to save state for multiple channels. See docs/memory.xls for details. Directory structure ------------------- fixpt/ platform-independent code and tables, public API fixpt/docs memory and CPU usage figures, callgraphs fixpt/hxwrap Helix wrapper code and makefiles fixpt/ipp source code which uses IPP for decoding (see the "IPP" section below) fixpt/pub public header files fixpt/real source code for RealNetworks' AAC decoder fixpt/testwrap sample code to build a command-line test application Code organization ----------------- fixpt/ aacdec.c main decode functions, exports C-only API aactabs.c common tables used by all implementations fixpt/pub/ aaccommon.h low-level codec API which aacdec.c calls aacdec.h high-level codec API which applications call statname.h symbols which get name-mangled by C preprocessor to allow static linking fixpt/ipp source code for wrapper files which link in IPP libraries fixpt/real full source code for RealNetworks AAC decoder, including SBR fixpt/real/asm optimized assembly code files for certain platforms To build an AAC decoder library, you'll need to compile the top-level files and EITHER real/*.c OR ipp/*.c and the appropriate IPP library. Decoder using Real code: aacdec.c + aactabs.c + real/*.c + real/asm/[platform]/*.s (if necessary) Decoder using IPP code: aacdec.c + aactabs.c + ipp/*.c + ippac*.lib IPP --- For certain platforms Intel has created highly-optimized object code libraries of DSP routines. These are called the Intel Integrated Performance Primitives (IPP). If IPP libraries are available for a platform, this AAC decoder can link them in and use them instead of the RealNetworks source code. To use IPP, you still need to build the top-level files (aacdec.c, aactabs.c). You also build the files in ipp/*.c. These are just thin wrappers which provide the glue logic between the top-level decode functions in aacdec.c and the optimized DSP primitives in the IPP libraries. IPP libraries are not included in this module. You must obtain them WITH A LICENSE directly from Intel. Further info on the latest versions of IPP (as of the date of this readme) is available from the URL below: http://www.intel.com/software/products/ipp/ This site explains how to obtain IPP and the terms under which IPP libraries may be used. The code in this module is merely wrapper code which calls IPP functions. You are fully responsible for adhering to the license agreement under which you obtain the IPP libraries from Intel. readme.txt last updated 02/25/05

近期下载者

相关文件


收藏者