📄 mpegsub.h
字号:
/****************************************************************************//* * mpegsub.h -- MPEG Audio Common layers Sub routines definitions * * Author : St閜hane TAVENARD * * (C) Copyright 1997-1998 St閜hane TAVENARD * All Rights Reserved * * 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 program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *//****************************************************************************/#ifndef MPEGSUB_H#define MPEGSUB_H/****************************************************************************/#include "mpegtab.h"typedef struct { MPEGAUD_FRACT_TYPE bb[MPA_MAX_CHANNELS][2 * MPA_HANNING_SIZE]; MPEGTAB_DEW_TYPE scaled_dewindow[MPA_HANNING_SIZE];#ifdef MPEGAUD_INT INT32 scaled_shift;#endif INT32 scale_percent; INT16 b_offset[ MPA_MAX_CHANNELS ]; INT16 freq_div; INT16 quality; INT16 w_begin; INT16 w_width; INT16 pcm_count;} MPEGSUB;extern int MPEGSUB_reset(MPEGSUB *mpegsub);extern MPEGSUB *MPEGSUB_open(INT16 freq_div, INT16 quality);extern void MPEGSUB_close(MPEGSUB *mpegsub);extern INT16 MPEGSUB_synthesis(MPEGSUB *mpegsub, MPEGAUD_FRACT_TYPE *band_ptr, INT16 channel, INT16 *samples);extern int MPEGSUB_scale(MPEGSUB *mpegsub, INT32 scale_percent);/****************************************************************************/#endif /* MPEGSUB_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -