dct_kc.hpp
来自「H.264完整的C语言代码和DCT的代码」· HPP 代码 · 共 16 行
HPP
16 行
#ifndef _TEST_KC
#define _TEST_KC
// header files must be in this order
#include "idb_types.hpp"
#include "idb_deftypes.hpp"
// declare the kernel
kernel dct(istream<half2> datain,
istream<uhalf2> consts, // in 1.15
ostream<half2> out,
uc<uhalf2>& uc_quantizer_scale); // 1/uc_quantizer_scale in 0.16
// these are required for each kernel
KERNELDECL(dct);
#define dct KERNELCALL(dct)
// don’t forget this line at the end!
#include "idb_undeftypes.hpp"
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?