2017年8月17日
摘要: #include <string.h>#include <stdio.h>int main(){ char filename[100] = "text.txt"; char *ext = strrchr(filename, '.'); if (ext) { *ext = '\0'; ext++; } 阅读全文
posted @ 2017-08-17 14:42 feng..liu 阅读(543) 评论(0) 推荐(1)
摘要: 用videoCapture和IAMStreamConfig拿到的支持的格式列表。发现支持2中图像格式,YV12和NV12。具体是怎么样的内存分布不知道。查了些文档。自己修改了几个图。看出了点端倪YV12先看看 http://www.fourcc.org/yuv.php 上比较标准的定义: YV12 阅读全文
posted @ 2017-08-17 09:35 feng..liu 阅读(9387) 评论(0) 推荐(0)