gcctomsvc.h

来自「我自己做的ffmpeg的h264的decoder的vc++6.0的完整源代码(一」· C头文件 代码 · 共 39 行

H
39
字号
/*! \file gcctomsvc.h
 *  \brief a header file  adapt the gcc style to the msvc style.(Both for intle c/c++ compiler.)
 *  \author yongbing chen<simon_st.john@163.com>
 */
/*
* $LastChangedBy:$
* $LastChangedDate:$
* $Revision: $
* $Id:$
*/
#ifndef __LIB_H264_ENCODER_H__
#define __LIB_H264_ENCODER_H__

#ifdef __cplusplus
extern "C" {
#endif

#ifdef _MSVCBUILD
	#define inline __inline
	#define av_always_inline __inline
	#define DECLARE_ALIGNED_8(t,v)      __declspec(align(8)) t v
	#define DECLARE_ALIGNED_16(t,v)      __declspec(align(16)) t v
	#define restrict  __restrict
	#define snprintf  _snprintf
	#define attribute_unused
	#define uint_fast16_t uint16_t
	#define uint_fast32_t uint32_t
	#define uint_fast8_t uint8_t
	#define int_fast16_t int16_t
	#define int_fast8_t int8_t
	#define int_fast32_t int32_t
#endif

#ifdef __cplusplus
}
#endif

#endif /* __LIB_H264_ENCODER_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?