7cfc3a81d566540e59f96f3f9417f9553f6518b9
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VLIB / video_dct.h
1 #ifndef _VIDEO_DCT_H_
2 #define _VIDEO_DCT_H_
3
4 #include <VLIB/video_picture.h>
5
6 #define NUM_MAX_DCT_BLOCKS  64U  /* Max number of blocks per dct calls */
7
8 // Default implementation for dct computation
9 void fdct(const unsigned short* in, short* out);
10 void idct(const short* in, unsigned short* out);
11
12 int16_t* video_fdct_quant_compute(int16_t* in, int16_t* out, int32_t num_macro_blocks, int32_t quant);
13 int16_t* video_fdct_compute(int16_t* in, int16_t* out, int32_t num_macro_blocks);
14 int16_t* video_idct_compute(int16_t* in, int16_t* out, int32_t num_macro_blocks);
15
16 #endif // _VIDEO_DCT_H_