-
-
未解决 [求助]gcc可以通过 cl无法通过 什么问题
-
发表于: 2020-6-16 15:20 1603
-
#ifdef __ICL
#define DECLARE_ALIGNED( var, n ) __declspec(align(n)) var
#else
#define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
#endif
#define ALIGNED_16( var ) DECLARE_ALIGNED( var, 16 )
#define ALIGNED_8( var ) DECLARE_ALIGNED( var, 8 )
#define ALIGNED_4( var ) DECLARE_ALIGNED( var, 4 )
#include <stdint.h>
typedef uint16_t pixel;
struct x264_weight_t;
typedef struct x264_weight_t
{
/* aligning the first member is a gcc hack to force the struct to be
* 16 byte aligned, as well as force sizeof(struct) to be a multiple of 16
*/
ALIGNED_16(int16_t cachea[8]);
int16_t cacheb[8];
int32_t i_denom;
int32_t i_scale;
int32_t i_offset;
}x264_weight;
#define DECLARE_ALIGNED( var, n ) __declspec(align(n)) var
#else
#define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
#endif
#define ALIGNED_16( var ) DECLARE_ALIGNED( var, 16 )
#define ALIGNED_8( var ) DECLARE_ALIGNED( var, 8 )
#define ALIGNED_4( var ) DECLARE_ALIGNED( var, 4 )
#include <stdint.h>
typedef uint16_t pixel;
struct x264_weight_t;
typedef struct x264_weight_t
{
/* aligning the first member is a gcc hack to force the struct to be
* 16 byte aligned, as well as force sizeof(struct) to be a multiple of 16
*/
ALIGNED_16(int16_t cachea[8]);
int16_t cacheb[8];
int32_t i_denom;
int32_t i_scale;
int32_t i_offset;
}x264_weight;
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
他的文章
- [求助]这个是什么壳 1533
- [求助]早期音频处理AU的1.5开放了sdk吗 1560
- 请教一个C++的编译错误 4324
- 有谁对电驴的协议有了解 3308
- [求助]vbs如何发送()键 3419
看原图
赞赏
雪币:
留言: