09 2019 档案

摘要:https://pypi.org/project/tensorflow-gpu/1.13.0/#files 把13改对你想要的版本 阅读全文
posted @ 2019-09-29 18:03 MoonXu 阅读(7519) 评论(0) 推荐(0) 编辑
摘要:#include <io.h>#include <stdio.h>#include <iostream>using namespace std;int ReadStationID(char(*id)[50]){ struct _finddata_t c_file; long hFile; char 阅读全文
posted @ 2019-09-25 18:06 MoonXu 阅读(1815) 评论(0) 推荐(0) 编辑
摘要:快速到行尾A,或者End键(挨着Home键) 快速到第一行gg 快速到行首Home键,数字键的上面 阅读全文
posted @ 2019-09-23 14:46 MoonXu 阅读(21867) 评论(1) 推荐(0) 编辑
摘要:while(1) 33 { 34 mm* p = NULL; 35 pthread_mutex_lock(&mutex); 36 while(head == NULL) 37 pthread_cond_wait(&cond, &mutex); 38 p = head->next; 39 printf 阅读全文
posted @ 2019-09-19 01:25 MoonXu 阅读(1314) 评论(0) 推荐(0) 编辑
摘要:生产者信号量producer(100); 消费者信号量consumer(0); 生产者是盛饭的,A桌子上有100个空碗就相当于有100个信号量。获得一个信号量相当于别人从桌子拿起一个碗递给他,他盛了1碗饭。A桌子总的碗数减1(A.acquire())A--。B桌子上有1碗可以吃(B.release( 阅读全文
posted @ 2019-09-18 23:56 MoonXu 阅读(393) 评论(0) 推荐(0) 编辑
摘要:创建工程的时候是QT Console Application 1.项目->run->Run in terminal 2.pro文件中添加 CONFIG +=console thread CONFIG +=console(这种没有验证) 阅读全文
posted @ 2019-09-18 22:42 MoonXu 阅读(6585) 评论(1) 推荐(0) 编辑
摘要:https://jingyan.baidu.com/article/295430f12ee8e80c7e0050b9.html 阅读全文
posted @ 2019-09-12 10:39 MoonXu 阅读(115) 评论(0) 推荐(0) 编辑
摘要:首先安装sudo apt-get install libsdl2-dev ./configure --prefix=/tools/SDL2 make && make install 阅读全文
posted @ 2019-09-11 10:29 MoonXu 阅读(3723) 评论(0) 推荐(0) 编辑
摘要:vcodec_decode_video2()的作用是解码一帧视频数据 阅读全文
posted @ 2019-09-06 00:22 MoonXu 阅读(297) 评论(0) 推荐(0) 编辑
摘要:注册复用器,编码器等的函数av_register_all() 注册编解码器avcodec_register_all() 注册复用器的函数是av_register_output_format()。 注册解复用器的函数是av_register_input_format()。 注册协议处理器的函数是ffu 阅读全文
posted @ 2019-09-05 22:39 MoonXu 阅读(348) 评论(0) 推荐(0) 编辑
摘要:当需要把视频跳转到N秒的时候可以使用下面的方法:int64_t timestamp = N * AV_TIME_BASE; av_seek_frame(fmtctx, index_of_video, timestamp, AVSEEK_FLAG_BACKWARD); av_get_channel_l 阅读全文
posted @ 2019-09-05 22:29 MoonXu 阅读(809) 评论(0) 推荐(0) 编辑
摘要:SwrContext *swr_alloc(void); // 分配重采样的上下文。 SwrContext *swr_alloc_set_opts(struct SwrContext *s, int64_t out_ch_layout, AVSampleFormat out_sample_fmt, 阅读全文
posted @ 2019-09-05 22:20 MoonXu 阅读(3635) 评论(0) 推荐(0) 编辑
摘要:swr_convert() 针对每一帧音频的处理。把一帧帧的音频作相应的重采样 int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, const uint8_t **in, int in_count); 参数1:音频重 阅读全文
posted @ 2019-09-05 22:19 MoonXu 阅读(1757) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/leixiaohua1020/article/details/44243155 阅读全文
posted @ 2019-09-04 13:06 MoonXu 阅读(283) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示