Doxygen Source Code Documentation
mquant.c File Reference
#include "mtypes.h"
#include "mproto.h"
Go to the source code of this file.
Functions | |
void | mp_quant_block (Block in, Block out) |
Variables | |
int | qtable [][8] |
Function Documentation
|
Definition at line 31 of file mquant.c. References Block, i, and qtable.
00031 { 00032 int i; 00033 00034 for(i=0;i<8;i++) { 00035 out[i][0] = in[i][0] / qtable[i][0]; 00036 out[i][1] = in[i][1] / qtable[i][1]; 00037 out[i][2] = in[i][2] / qtable[i][2]; 00038 out[i][3] = in[i][3] / qtable[i][3]; 00039 out[i][4] = in[i][4] / qtable[i][4]; 00040 out[i][5] = in[i][5] / qtable[i][5]; 00041 out[i][6] = in[i][6] / qtable[i][6]; 00042 out[i][7] = in[i][7] / qtable[i][7]; 00043 } 00044 } |
Variable Documentation
|
Initial value: { { 8,16,19,22,26,27,29,34}, {16,16,22,24,27,29,34,37}, {19,22,26,27,29,34,34,38}, {22,22,26,27,29,34,37,40}, {22,26,27,29,32,35,40,48}, {26,27,29,32,35,40,48,58}, {26,27,29,34,38,46,56,69}, {27,29,35,38,46,56,69,83} } Definition at line 4 of file mquant.c. Referenced by mp_quant_block(). |