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

📄 flot8.h

📁 lapped transforms for images. lapped transform is a very fast algorithm to replace dct.
💻 H
字号:
/*
 * Prototypes for transform routines
 *
 * H. S. Malvar, 6/11/97
 */

typedef  unsigned char    pixel;
typedef  short            int16;
typedef  long             int32;
typedef  unsigned char    uint8;
typedef  unsigned short   uint16;
typedef  unsigned int     uint;

#define  BLOCKSIZE  64      /* the only supported block size */
#define  NBLOCK     8       /* number of pixels in a block row or column */
#define  DCBIAS     8192    /* value of DC coefficient for blocks */
#define  DCT        1
#define  LOT        2
#define  LBT        3
#define  HLBT       4

void forward_dct(pixel **p, int16 **img, int nrows, int ncols);
void inverse_dct(int16 **img, pixel **p, int nrows, int ncols);
void forward_lot(pixel **p, int16 **img, int nrows, int ncols, int type);
void inverse_lot(int16 **img, pixel **p, int nrows, int ncols, int type);
void forward_hlbt(pixel **p, int16 **img, int nrows, int ncols);
void inverse_hlbt(int16 **img, pixel **p, int nrows, int ncols);

⌨️ 快捷键说明

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