/* All Rights Reserved - 2000 */ /*--------------------------------------------------------------------------*/ #include #include "uat.h" #include "codec.h" #include "ccdpp.h" #include "cntrl.h" /*--------------------------------------------------------------------------*/ #define SZ_ROW 64 #define SZ_COL 128 #define NUM_ROW_BLOCKS (SZ_ROW / 8) #define NUM_COL_BLOCKS (SZ_COL / 8) /*--------------------------------------------------------------------------*/ static short buffer[SZ_ROW][SZ_COL]; /*--------------------------------------------------------------------------*/ void CntrlInitialize(void) { assert( SZ_ROW % 8 == 0 ); assert( SZ_COL % 8 == 0 ); } /*--------------------------------------------------------------------------*/ void CntrlCaputreImage(void) { int i, j; CcdppCapture(); for(i=0; i>= QuantShiftTable[k][l]; } } } } } /*--------------------------------------------------------------------------*/ void CntrlSendImage(void) { short temp; int i, j; for(i=0; i