]> git.sesse.net Git - fjl/blob - idct_imprecise_int.h
Fix height/width read.
[fjl] / idct_imprecise_int.h
1 #ifndef _IDCT_IMPRECISE_INT_H
2 #define _IDCT_IMPRECISE_INT_H
3
4 #include "idct.h"
5
6 // Straight-forward, stupid integerization of idct_float. (There are quite
7 // possibly better integer IDCTs possible.)
8 //
9 // NOTE: This routine most likely does not conform to the precision and/or
10 // range demands set forth by the JPEG standard. Caveat emptor.
11 void* idct_imprecise_int_alloc(const uint32_t* quant_table);
12 void idct_imprecise_int_free(void* userdata);
13 void idct_imprecise_int(const int16_t* input, const void* userdata, uint8_t* output);
14
15 #endif /* !defined(_IDCT_IMPRECISE_INT_H) */