![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Hanyang Li
It is not the strongest of the species that survive, but the one most responsive to change.
展开
-
基于std::queue C++11 线程安全队列
基于std::queue C++11 线程安全队列原创 2019-05-30 13:59:24 · 1945 阅读 · 1 评论 -
YUV数据的裁剪与重叠
YUV 数据计算原创 2022-06-09 16:27:19 · 597 阅读 · 0 评论 -
uint8_t,uint16_t,uint64_t 相互转换
uint8_t,uint16_t,uint64_t 相互转换原创 2020-09-03 16:20:48 · 14173 阅读 · 0 评论 -
C 队列
/*** Created by jianxi on 2017/5/31.* https://github.com/mabeijianxi* mabeijianxi@gmail.com*/#ifndef JIANXIFFMPEG_THREADSAFE_QUEUE_CPP#define JIANXIFFMPEG_THREADSAFE_QUEUE_CPP#include &l...原创 2020-04-13 14:14:31 · 117 阅读 · 0 评论 -
C++ 二维数组的赋初始值
1.第一种方式char *p[10];for(int i=0;i<10;i++){ p[i]=(char *)malloc(sizeof(char)*20); //为每个指针申请开设N字符的存储空间}2.第二种方式int (*ps)[10];int i,j,k;ps=(int(*)[10])malloc(sizeof(int(*)[10])*5); //申请开设5...原创 2020-03-05 10:13:04 · 9586 阅读 · 0 评论