#ifndef _RJP_DCT_H #define _RJP_DCT_H #define QUANTIZE_BITS 1 #define DCTSIZE 8 #define CONST_BITS 8 //#define USE_FLOAT_PRECISION void dct(short *data, int width); void idct(short *data, int width); void shortdct(short *data); void idct(short *data); /* Arguments are quantization matrix, dc quant value, ac quant value */ void qnt(short *data, int width, int dcq, int acq); void iqnt(short *data, int width, int dcq, int acq); void qnt(short *data, int dcq, int acq); void iqnt(short *data, int dcq, int acq); #endif