摘要:
//Not used on OSX - frame is never copied. static int copy_avframe_to_pixel_buffer(AVCodecContext *avctx, const AVFrame *frame, CVPixelBufferRef cv_im 阅读全文
摘要:
https://learn.microsoft.com/en-us/windows/win32/api/dxgi1_6/nf-dxgi1_6-idxgioutput6-getdesc1 dxgi1_6.h HRESULT GetDesc1( [out] DXGI_OUTPUT_DESC1 *pDes 阅读全文
摘要:
Fn + F11 快速回到桌面Control + Command + Q 锁屏Command + Shift + 4 截图插件。默认保存在桌面 command m 当前窗口最小化option command + esc 打开强制结束界面 alt+command+f 替换 阅读全文
摘要:
static const struct { uint32_t cv_fmt; bool full_range; enum AVPixelFormat pix_fmt; } cv_pix_fmts[] = { { kCVPixelFormatType_420YpCbCr8Planar, false, 阅读全文
摘要:
电视起源于美国,刚开始只有直播电视,录播电视是后来慢慢兴起的。人们需要想办法让片场的电视摄像机和家中的电视机同步起来。当时唯一能达成这个目标的技术就是和电力干线同步,而美国的电力干线频率是60 HZ,所以最初的电视帧率就被设定为30 HZ或30 fps。 彩色电视问世时,为了传递彩色信号,人们做了一 阅读全文
摘要:
# 先说好吃的西红柿品种 部分内容转载自塔莎的花园 https://www.bilibili.com/video/BV1MK41157Ed ## 小番茄 - 金太阳 【矮生番茄, 新手友好】 ![](https://img2023.cnblogs.com/blog/1135673/202305/11 阅读全文
摘要:
$ ./configure -h Usage: configure [options] Options: [defaults in brackets after descriptions] Help options: --help print this message --quiet Suppres 阅读全文
摘要:
Download msys2 首先我们在http://msys2.github.io/ 下载msys2 lauch mingw64 msys2_shell.cmd -mingw64 install gcc g++ pacman -S gcc make pkg-config vim pacman -S 阅读全文
摘要:
1. 点击下方的Color 2. 右边空白处右键-添加节点 3. 点击fx(Effects)- 选择ColorSpaceTransform - 脱到节点上来 4. 右边选择框选择 输入 REC2020-ST2084 输出选择 REC709-Gamma2.4 然后就好啦, 下图是效果, 如果需要保留饱 阅读全文
摘要:
std::vector<double> createGaussianKernal( int kernal_size , float sigma=0 ) { int radius = kernal_size / 2; //sigma = sigma > 0 ? sigma : radius*0.3 + 阅读全文