摘要: define 的骚用法 可以实现模板 define 字符串连接以及变量名分段联结用法 #define A(x) test_##x A(int8) --> test_int8 test_int8(1) #define B(x) #@x B(t) --> 't' #define C(x) #x C(te 阅读全文
posted @ 2022-09-27 12:26 洛笔达 阅读(518) 评论(0) 推荐(0) 编辑
摘要: //Not used on OSX - frame is never copied. static int copy_avframe_to_pixel_buffer(AVCodecContext *avctx, const AVFrame *frame, CVPixelBufferRef cv_im 阅读全文
posted @ 2022-09-27 11:57 洛笔达 阅读(270) 评论(0) 推荐(0) 编辑