www.pudn.com > JPEGMotion.rar > IJPEGDEC.C


/* 
 *  ======== ijpegdec.c ======== 
 *  This file defines the default parameter structure for ijpegdec.h 
 */ 
#include  
#include "ijpegdec.h" 
 
/*------------------------------------------------------------------*/ 
/* Output pitch to use to paste decoded samples 4:2:0 structure.    */ 
/* This will paste even a decoded image of 320x240 into a 720xX     */ 
/* region.                                                          */ 
/*------------------------------------------------------------------*/ 
 
#define  HC 720 
 
/* 
 *  ======== JPEGDEC_PARAMS ======== 
 *  This constant structure defines the default parameters for JPEGDEC objects 
 */ 
IJPEGDEC_Params IJPEGDEC_PARAMS =  
{ 
    sizeof(IJPEGDEC_Params), 
    HC, (HC >>1), (HC >> 1) 
 
}; 
 
/*------------------------------------------------------------------*/ 
/* Texas Instruments Incorporated 1997-2003.                        */ 
/*==================================================================*/ 
/*                                                                  */ 
/*------------------------------------------------------------------*/