📄 mp3_options.h
字号:
# ifndef __OPTIONS_H# define __OPTIONS_H /* * $Copyright: * ---------------------------------------------------------------- * This confidential and proprietary software may be used only as * authorised by a licensing agreement from ARM Limited * (C) COPYRIGHT 2001,2002,2004 ARM Limited * ALL RIGHTS RESERVED * The entire notice above must be reproduced on all authorised * copies and copies may only be made to the extent permitted * by a licensing agreement from ARM Limited. * ---------------------------------------------------------------- * File: options.h,v * Revision: 1.13 * ---------------------------------------------------------------- * $ */ /* This file details which sections of code have been replaced */ /* by optimised ARM routines */ /* Each routine R is configured by the #define ARM_R, which can */ /* take one of the following 3 values: */ /* 0 = Original C code is used - ORIGINAL mode */ /* 1 = Both C and ARM code are inlcuded and results compared */ /* - TEST mode */ /* 2 = Just optimised ARM code is used - RELEASE mode */ /* define whether the CRC check is enabled or not */# define ENABLECRC 1 /* define whether MPEG2.5 is supported or not */# define SUPPORT_MPEG2_5 1 /* backward compatibility */ /* if set to 1, decoder does not make optimal use * of the common API; if set to 0, decoder is not * compatible with code that predates the common API. * In particular, if set to 1, * - the decoder does not attempt to identify buffers * that can be reused between calls, instead treating * all state as permanent * - the decoder does not allow the final decode stage * to be split or deferred - instead an entire frame * is completely decoded and output for every call to * MP3DecodeFrame, and MP3ProduceOutput is not provided. */ /* old api compatibility veneer */ /* if set to 1, it will provide a veneer to that presents * the old api built upon the new common api */# define ENABLE_OLD_API_VENEER 1 /* define whether to use the C library divide function */ /* internally, or define our own */# define USE_C_LIBRARY_DIVIDE 0 /* C_MODE -- original code */ /* ARM_TEST -- ARM tested against original code */ /* ARM_MODE -- optimised ARM only */# define C_MODE 0# define ARM_TEST 1# define ARM_MODE 2# define NOT_YET_WRITTEN 3 /* now define the mode for each individual routine. */ /* Much of this is now obsolete... */# define DEFAULT ARM_TEST# define ARM_DecodeInfo ARM_MODE# define ARM_CRC ARM_MODE# define ARM_UnpackBitStream ARM_MODE# define ARM_DequantizeI NOT_YET_WRITTEN# define ARM_DequantizeII ARM_MODE# define ARM_SubBandSynthesis ARM_MODE# define ARM_SeekSync ARM_MODE# define ARM_ANC_LEN ARM_MODE# define ARM_HuffmanIII ARM_MODE# define ARM_ScalingIII ARM_MODE# define ARM_AntiAlias ARM_MODE# define ARM_HybridIII ARM_MODE# define ARM_SubBandSynthIII ARM_MODE# define ARM_JointStereoIII ARM_MODE# define ARM_GetScaleFacIII ARM_MODE /* Select type of final PCM */# define PCM_TYPE_SHORT 2# define PCM_TYPE_INT 4# define PCM_TYPE PCM_TYPE_INT /* Select size of bit bucket buffer */ /* 7680-bit buffer = 960 bytes. Allocate 1024 bytes, */ /* which is the next higher power of two */# define BITBUCKET_POWER 11# define BITBUCKET_SIZE 2048# define REALTIME_PROFILE 0 /* Define the 'key' used by the versioning scripts */# define INCLUDE_LAYER 1 /* end of file */# endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -