02 2022 档案
摘要:https://cloud.tencent.com/developer/article/1597680 需要先提示权限 #define SOCKET_PORT htons(8040) #define IP_ADRR "192.168.1.3" char receive_msg[1024]; char
阅读全文
摘要:获取当前目录下的所有文件,用 _findfirst 4、 const 修饰其左边的关键字,如果自身在最左边,则修饰旁边的。 有如下定义,则编译时会报错的选项有() WORD32 const constValue = 10;WORD32 * const pPointA;const WORD32 * p
阅读全文
摘要:https://www.cnblogs.com/firstdream/p/8192882.html 转非递归 1、二叉树(前序) #include <iostream> #include <string> #include <algorithm> #include <vector> #include
阅读全文
摘要:https://www.cnblogs.com/firstdream/p/8192882.html 1、代理 和装饰器 2、拥塞 https://blog.csdn.net/weixin_44161513/article/details/106651531
阅读全文
摘要:CVPixelBufferRef显示在 UIImageView 1、 https://blog.csdn.net/fanyun_01/article/details/115338407 转变成uiimage直接赋值 2、移除 mainstoryboard
阅读全文
摘要:https://www.jianshu.com/p/9e27f3b26bcd _CFToString宏定义里就有,还是从成功的里面比较即可,to thi
阅读全文
摘要:4、 https://stackoverflow.com/questions/15258290/how-to-convert-an-ffmpeg-avframe-in-yuvj420p-to-avfoundation-cvpixelbufferref 3、 https://blog.csdn.net
阅读全文
摘要:https://wwr.lanzoui.com/iVgnFsdco7e
阅读全文
摘要:metal 看这一篇教程即可 https://www.jianshu.com/p/625fb38eb411 (新的--可参考)https://github.com/yinxianxiaozi/Metal_WY 3、重要 设置帧 速率 MTKView *_view; _view.delegate =
阅读全文
摘要:本文 https://github.com/AlanGeIT/Metal 另外一个 https://github.com/loyinglin/LearnMetal @interface Renderer : NSObject<MTKViewDelegate> 要继承这个接口 1、helloworld
阅读全文
摘要:1、 天生兼容 c 直接在.m里include就行 2、调用cpp 需要先把调用的文件名由.m改成.mm #include "TestOne.hpp" int res = TestOne::getOne()+getmya(); NSString* str = [NSString stringWith
阅读全文