test

Dependencies:   Nanopb iSerial mbed BaseJpegDecode FatFileSystem SDFileSystem RingBuffer Camera_LS_Y201

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers inverseDCT.h Source File

inverseDCT.h

00001 // inverseDCT.h 2013/1/28
00002 #ifndef INVERSE_DCT_H
00003 #define INVERSE_DCT_H
00004 
00005 #define USE_IDCT_AAN
00006 //#define USE_IDCT_TABLE
00007 
00008 #ifdef USE_IDCT_AAN
00009 #include "aanIDCT.h"
00010 class inverseDCT {
00011 public:
00012     void inputBLOCK(int mcu, int block, int scan, int value);
00013     virtual void outputBLOCK(int mcu, int block, int8_t * values) = 0;
00014 private:
00015     int16_t m_s[64];
00016     aanIDCT idct;
00017 };
00018 #endif // USE_IDCT_AAN
00019 
00020 #ifdef USE_IDCT_TABLE
00021 class inverseDCT {
00022 public:
00023     void inputBLOCK(int mcu, int block, int scan, int value);
00024     virtual void outputBLOCK(int mcu, int block, int8_t* values) = 0;
00025 private:
00026     int16_t m_sum[64];
00027 };
00028 #endif // USE_IDCT_TABLE
00029  
00030 #endif // INVERSE_DCT_H