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

📄 dsputil.h

📁 杜比AC-3编码解码器(参考程序)
💻 H
字号:
#ifndef DSPUTIL_H
#define DSPUTIL_H

#include "common.h"
#include <stdint.h>

typedef short DCTELEM;

/* depends on JPEG librarie */
void jpeg_fdct_ifast (DCTELEM *data);

void j_rev_dct (DCTELEM *data);

#define MAX_NEG_CROP 384

/* temporary */
extern UINT32 squareTbl[512];
extern void (*add_pixels_tab[4])(DCTELEM *block, const UINT8 *pixels, int line_size);
extern void (*sub_pixels_tab[4])(DCTELEM *block, const UINT8 *pixels, int line_size);

void dsputil_init(void);
void get_pixels(DCTELEM *block, const UINT8 *pixels, int line_size);
void put_pixels(const DCTELEM *block, UINT8 *pixels, int line_size);

#define add_pixels_2(block, pixels, line_size, dxy) \
   add_pixels_tab[dxy](block, pixels, line_size)

#define sub_pixels_2(block, pixels, line_size, dxy) \
   sub_pixels_tab[dxy](block, pixels, line_size)

#endif

⌨️ 快捷键说明

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