?? user_macro.h
字號:
#ifndef _USERMACRO_H_
#define _USERMACRO_H_
/* calculate PSNR value */
#define _DEBUG_PSNR
/* output encoding log file */
/*#define _LOGFILE*/
/* output constructed image */
#define _OUT_CONSTRUCT_IMAGE
/* profiling performance */
/*#define _PROFILING_*/
/* Trimedia platform compile macro */
//#define _TRIMEDIA
#ifdef _TRIMEDIA
#include <custom_defs.h>
#define __inline inline
#define abs(a) IABS(a)
/*#define min(x,y) (((x)<(y))?(x):(y))
#define max(x,y) (((x)>(y))?(x):(y))*/
#define min(x,y) IMIN(x,y)
#define max(x,y) IMAX(x,y)
#else
#define restrict
#define CYCLES() 0
#endif
/*#define SIGN(X) (((X)>0)?1:-1)*/
#define SIGN(X) ((((X)>0)<<1)-1)
/* 實現X/(2**N)運算 */
#define DIV(X,N) ((abs(X)>>N)*SIGN(X))
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -