www.pudn.com > H265+2008.8.rar > tools_demo.c


 
/* 
/////////////////////////////////////////////////////////////////////////////// 
//                                                                           // 
//   Copyright (C) 2006-2008  Beijing,  pengzhen (pengzhenxp@yahoo.com.cn)   // 
//                                                                           // 
/////////////////////////////////////////////////////////////////////////////// 
*/ 
 
#include  
#include  
#include  
#include  
 
//#define __OUT_RAW__ 
 
#include "zpav8avi.h" 
#include "zpav8tools.h" 
 
 
#ifdef WIN32 
#pragma comment(lib,"..\\zpav8_lib\\zpav8avi.lib" ) 
#pragma comment(lib,"..\\zpav8_lib\\zpav8tools.lib" ) 
#endif /*WIN32*/ 
 
#ifdef __TCS__ 
//#include  
#include  
#define hmpv_read_fcnt() ( CYCLES() )   
#endif /*__TCS__*/ 
 
#ifdef __MAPCA__ 
#include  
//#define hmpv_read_fcnt() ( clock() )   
#endif /*__MAPCA__*/ 
 
#ifdef WIN32 
#include  
#define hmpv_read_fcnt() ( clock() )   
#endif /*WIN32*/ 
 
#include "tools_parameter.c" 
 
#include "tools_argcv.c" 
#include "tools_report.c" 
#include "tools_process.c" 
 
#if defined(WIN32) || ( defined(__TCS__) && (TMFL_PNX_ID == 1300) ) /* WIN32 / PNX1300/TM1300 */ 
void main(int argc, char **argv) 
{ 
	tools_main( argc, argv ) ; 
}  
#endif /* */