common.h
来自「decode the h264 video」· C头文件 代码 · 共 25 行
H
25 行
#ifndef __COMMON_H__#define __COMMON_H__#define USE_X86_ASM#include <stdio.h>#include <stdlib.h>#include <string.h>#include "perf.h"#include "main.h"#define CONST static const#define ExtractSign(x) ((x)>>31)#define CombineSign(sign,value) ((sign)?(-(value)):(value))frame *alloc_frame(int width, int height);void free_frame(frame *f);#define CustomClip(i,min,max) (((i)<min)?min:(((i)>max)?max:(i)))#define Clip(i) CustomClip(i,0,255)#endif /*__COMMON_H__*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?