⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cookdata_float.h

📁 Fixptcook[1].tar.gz, 固点运算的rm格式音频编解码源代码
💻 H
字号:
/* * COOK compatible decoder floating point data types and constants * Copyright (c) 2003 Sascha Sommer * Copyright (c) 2005 Benjamin Larsson * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * *//** * @file cookdata_float.h * Cook AKA RealAudio G2 compatible decoder * floating point data types and constants */#include <math.h>typedef float REAL_T;/** * Additional variables in COOKContext * for floating point routines. */typedef struct {    /* transform data */    MDCTContext         mdct_ctx;    DECLARE_ALIGNED_16(FFTSample, mdct_tmp[1024]);  /* temporary storage for imlt */    float*              mlt_window;    /* generatable tables */    float               gain_table[23];    float               pow2tab[127];    float               rootpow2tab[127];} realvars_t;/* Set up types and include cook data. */ typedef float Q_t;#define Q(x) (x)typedef float C_t;#define C(x) (x)#include "cookdata.h"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -