📄 options.h
字号:
# ifndef _OPTIONS_H_
# define _OPTIONS_H_
COMMENT /*
COMMENT * $Copyright:
COMMENT * ----------------------------------------------------------------
COMMENT * This confidential and proprietary software may be used only as
COMMENT * authorised by a licensing agreement from ARM Limited
COMMENT * (C) COPYRIGHT 2001 ARM Limited
COMMENT * ALL RIGHTS RESERVED
COMMENT * The entire notice above must be reproduced on all authorised
COMMENT * copies and copies may only be made to the extent permitted
COMMENT * by a licensing agreement from ARM Limited.
COMMENT * ----------------------------------------------------------------
COMMENT * File: options.h,v
COMMENT * Revision: 1.1
COMMENT * ----------------------------------------------------------------
COMMENT * $
COMMENT *
COMMENT * Options relating to ARM-specific parts of the decoder
COMMENT */
COMMENT /* The following ASM defines shoule be 1 for release mode */
# define ASM_POST_FFT 1
# define ASM_PRE_FFT 1
# define ASM_OUT_SAMP 1
# define ASM_STEREO 1
# define ASM_TNS 1
# define ASM_PNS 1
# define ASM_INTENSITY 1
COMMENT /* define the following to include MPEG4 tools */
# define AAC_LC_MP4 1
# define M4A 1
# define MINIMIZE 1
COMMENT /* define the following for reduced quality products */
COMMENT /* NOT FULLY tested yet */
# define AAC_REDUCED_QUALITY_TNS 0
COMMENT /* constants */
# define DOLBY_MDCT 1 /* necessary for reference code to compile */
# define DOUBLE_WIN 1 /* necessary for reference code to compile */
# define Chans 2 /* 48 */ /* number of main channels: max 48 */
# define CChans 1 /* number of coupling channels: max 1 */
# define ICChans 0 /* set to support independent coupling */
# define BLOCK_LENGTH 1024 /* length of block of data */
# define SHORT_WINDOW_LENGTH 128 /* length of short window */
# define SPECTRUM_QSHIFT 3
# define IDCT_QGAIN (10-4) /* 10=1024 point IDCT and -4 for DCT twiddle stages */
# define WINDOW_COEF_SIZE 16 /* 16 or 32 bit window coeficients */
# define TNS_COEFF_QSHIFT 27
# define DCChans 0
# define PNS_RAND_MULT 1664525
# define PNS_RAND_ADD 1013904223
COMMENT /* constant derivatives */
# define OUTPUT_QSHIFT (SPECTRUM_QSHIFT+IDCT_QGAIN)
# define OUTPUT_ROUND (1<<(OUTPUT_QSHIFT-1))
END
# endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -