ac3_mdct.h

来自「ac3的解码程序」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef VALIB_AC3_MDCT_H
#define VALIB_AC3_MDCT_H

#include "../../defs.h"

class MDCT
{
protected:
  int16_t costab[64];
  int16_t sintab[64];
  int16_t fft_rev[512];
  int16_t xcos1[128];
  int16_t xsin1[128];

  struct IComplex 
  {
    short re,im;
  };

  void fft(IComplex *z, int ln);

public:
  MDCT(int ln);

  void mdct512(int32_t *out, int16_t *in);
};

#endif

⌨️ 快捷键说明

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