/* * Copyright (c) 1999-2000 University of California, Riverside. * Permission to copy is granted provided that this header remains * intact. This software is provided with no warranties. * * Version : 1.0 */ /*--------------------------------------------------------------------------*/ #include "ccdpp.h" #include "codec.h" #include "uat.h" /*--------------------------------------------------------------------------*/ #define SZ_ROW 16 #define SZ_COL 16 #define NUM_ROW_BLOCKS (SZ_ROW / 8) #define NUM_COL_BLOCKS (SZ_COL / 8) /*--------------------------------------------------------------------------*/ static short xdata buffer[SZ_ROW][SZ_COL]; /*--------------------------------------------------------------------------*/ void CntrlInitialize(void) { /* no code */ } /*--------------------------------------------------------------------------*/ void CntrlCaputreImage(void) { unsigned short i, j; CcdppCapture(); for(i=0; i> QuantShiftTable[k][l]; buffer[i * 8 + k][j * 8 + l] = temp; } } } } } /*--------------------------------------------------------------------------*/ void CntrlSendImage(void) { short temp; unsigned short i, j; for(i=0; i