From b0e9256777b20e03ded05824c38b7c3c1343e00a Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Sun, 5 Jun 2005 14:53:41 +0000 Subject: The optimezed header files --- include/bmpjpeg.h | 4 ++-- include/dct.h | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/include/bmpjpeg.h b/include/bmpjpeg.h index 5d95fcf..777acd6 100644 --- a/include/bmpjpeg.h +++ b/include/bmpjpeg.h @@ -1,3 +1,3 @@ -void BMPto8x8AndYCbCr(int Start_x, int Start_y, int ImageSize_x, int ImageSize_y, int offset, unsigned char depth ,unsigned char *Image, int *blok8x8); -void YCbCrAnd8x8toBMP(int Start_x, int Start_y, int ImageSize_x, int ImageSize_y, int offset, unsigned char depth ,unsigned char *Image, unsigned char *blok8x8); +void BMPto8x8AndYCbCr(int Start_x, int Start_y, int ImageSize_x, int ImageSize_y, int offset, unsigned char *Image, int *blok8x8); +void YCbCrAnd8x8toBMP(int Start_x, int Start_y, int ImageSize_x, int ImageSize_y, int offset, unsigned char *Image, unsigned char *blok8x8); diff --git a/include/dct.h b/include/dct.h index 3418eac..5396d15 100644 --- a/include/dct.h +++ b/include/dct.h @@ -1,5 +1,7 @@ -typedef int DCTELEM; /* 16 or 32 bits is fine */ - - -void jpeg_fdct_ifast (DCTELEM * data); -void IDCT(const int input[64], unsigned char *output); +typedef int DCTELEM; /* 16 or 32 bits is fine */ + + +//void jpeg_fdct_ifast (DCTELEM * data); +void jpeg_fdct_ifast (DCTELEM * data, unsigned char * qdata); +//void IDCT(const int input[64], unsigned char *output); +void IDCT(int Y[64], unsigned char *qdata, unsigned char *output); -- cgit v0.12