
【工程项目经验】
文章平均质量分 59
walkingMa
订阅博客需慎重,收费模式非我本意,奈何无力探他博,有心做好每篇博客
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【开源工程】之YUVPlayer1.6
下载地址:https://download.youkuaiyun.com/download/listener51/10937110说明在YuvPlayer1.5的基础上优化部分代码,更改像素的显示方法如YUVPlayer1.5亮度跟色度是同时显示在同一个画板里,但是对于其他格式的YUV,三平面并不能很好显示:因此改为3平面分别显示,方便扩展:...原创 2019-01-24 23:49:14 · 3412 阅读 · 5 评论 -
【开源工程】视频主观质量评测工具 video quality compare tool
1.视频主观评测工具别名: 视频主观对比工具、Video quality compare tool1.1 功能【1】、两个视频流进行对比【2】、进度条控制【3】、区域框选【4】、单帧快进(左、右、左右同时)【5】、注册码机制(一机一码)【6】、尝试版(50帧限制)、捐赠版(无限制)程序尽请期待。。。。。。。...原创 2021-04-19 22:27:54 · 1553 阅读 · 0 评论 -
【工程项目经验】Bash On Windows(WSL)无法运行32Bit程序
一、背景在WSL下,使用gcc -m32编译出的32位程序无法运行,提示:demo: cannot execute binary file: Exec format errorfile demo#查看文件信息demo: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.24二、解决办法github上@Froosh给出了他的解决方案,通过安装qe原创 2020-06-16 14:43:24 · 543 阅读 · 0 评论 -
【工程项目经验】Centos 编译32位程序
Centos下64位系统下编译32位程序时报错:/usr/bin/ld: cannot find -lgcc_s解决办法:Script "build.sh" builds both 32-bit and 64-bit versions of the library so you will need to install also 32-bit version of base GCC libraries:yum install glibc-devel.i686 libstdc++-devel.i原创 2020-06-16 14:31:35 · 517 阅读 · 0 评论 -
【工程项目经验】mac电脑lldb调试工具
目录描述1. LLDB 与 GDB1.1 LLDB 支持平台1.2 语法1.3 进入调试状态1.4 看代码1.5 变量打印1.6 断点调试1.7 流程控制1.8 调试信息1.9 观察者2.0 帮助2.1 参考附录A1. LLDB 与 GDB在 Xcode4.2 以前 Xcode 编译器还是 GCC(前端) + LLVM(后端) 架构,此时调试器还是 GDB 的时代。在 Xcode4.2 Clang(前端) + LLVM3.0(后端) 成为了默认编译器,之后从 Xcode4.3 开始 LLDB 成为了 X原创 2020-06-12 17:19:42 · 676 阅读 · 0 评论 -
【工程项目经验】github定位到历史版本(历史commit点)
关于使用git在本地进行版本管理见linux下的版本管理想我们在写代码时候,数次修改并提交commit,如果在这个过程中我们后悔了,想回到当初的某一个commit点应该如何实现呢?如果会用git bash的话,肯定首选命令行模式git log (branch)git reset --hard (commit id) 版本回滚 git reflog git reset --hard (command id) 命令撤销如果刚开始接触git,对git的操作不熟悉,只习惯图形界面,那么按照以下方式原创 2020-06-12 17:18:32 · 206 阅读 · 0 评论 -
【工程项目经验】查看gcc arch编译选项
gcc --target-helpgcc -Q --help=target参考网址:https://stackoverflow.com/questions/5470257/how-to-see-which-flags-march-native-will-activate参考网址:https://stackoverflow.com/questions/27786932/what-is-the-default-for-gcc-march-option原创 2020-06-12 17:16:08 · 444 阅读 · 0 评论 -
【FFMPEG系列】FFMPEG linux下集成x264
FFMPEG集成x2641.x264下载地址:http://download.videolan.org/pub/videolan/x264/snapshots/2. FFMPEG引入外部库x264方法https://www.cnblogs.com/wanggang123/p/8660435.htmlFFMPEG引入x264时出现的问题FFMPEG引入外部x264在./configure时出现以下问题:gcc -L./x264 -Wl,–as-needed -o /tmp/ffconf.ZNG3原创 2020-06-12 17:14:52 · 494 阅读 · 0 评论 -
【工程项目经验】Compile Android Error fatal error opening dependency file No such file or directory
Compile Android Error fatal error opening dependency file No such file or directory参考网址:https://forum.cocos.org/t/creator/63572/8https://discuss.cocos2d-x.org/t/solved-compile-android-error-fatal-error-opening-dependency-file-no-such-file-or-directory/39原创 2020-06-12 17:11:40 · 1229 阅读 · 0 评论 -
【内存检测系列】window下windbg内存泄漏检查
1使用windbg检查1.1、 工具下载下载地址:http://www.technlg.net/windows/windgb-download/注意:最好下载x64位的安装包,因为32位的安装包可能会安装不成功。1.2、环境配置计算机-》右击-》属性-》高级系统设置-》环境-》系统变量-》Path-》编辑-》变量值 处后加入:c:\Program Files\Debugging ...原创 2020-02-20 20:39:19 · 3955 阅读 · 0 评论 -
【工程项目经验】多个静态库打包成一个静态库
ar -rcT libaz.a libabc.a libxyz.a将libabc.a libxyz.a 打包成libaz.a参考网址:https://www.wikitechy.com/tutorials/linux/how-to-merge-two-ar-static-libraries-into-one原创 2020-02-19 20:53:43 · 1395 阅读 · 0 评论 -
【工程项目经验】函数编译可见性
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Using_the_GNU_Compiler_Collection/function-attributes.htmlhttps://gcc.gnu.org/wiki/Visibility原创 2020-02-19 20:44:43 · 110 阅读 · 0 评论 -
【github系列】github定位到历史版本(历史commit点)
关于使用git在本地进行版本管理见linux下的版本管理想我们在写代码时候,数次修改并提交commit,如果在这个过程中我们后悔了,想回到当初的某一个commit点应该如何实现呢?如果会用git bash的话,肯定首选命令行模式git log (branch)git reset --hard (commit id) 版本回滚 git reflog git reset --hard (...原创 2020-02-19 20:41:33 · 2106 阅读 · 0 评论 -
【工程项目经验】查看gcc arch编译选项
gcc --target-helpgcc -Q --help=target参考网址:https://stackoverflow.com/questions/5470257/how-to-see-which-flags-march-native-will-activate参考网址:https://stackoverflow.com/questions/27786932/what-is-the...原创 2020-02-19 20:40:13 · 842 阅读 · 0 评论 -
【工程项目经验】之多个静态库合并成一个
https://stackoverflow.com/questions/3821916/how-to-merge-two-ar-static-libraries-into-one原创 2020-10-16 18:09:01 · 705 阅读 · 0 评论 -
【工程项目经验】之软链接跟硬链接
参考网址:https://www.cnblogs.com/hxy5/p/9460063.html查看库实际的名字:readelf -a xxxx.so原创 2019-11-24 22:46:06 · 313 阅读 · 0 评论 -
【工程项目经验】VMware The path "" is not a valid path to the 3.10.0-229.el7.x86_64
1.找不到gcc安装一下即可:yum install gcc2.内核头文件找不到错误信息:Searching for GCC…Detected GCC binary at “/bin/gcc”.The path “/bin/gcc” appears to be a valid path to the gcc binary.Would you like to change it? [...原创 2019-11-18 23:34:32 · 590 阅读 · 1 评论 -
【项目经验】自动回声消除(AEC)原理
参考网址:https://shichaog1.gitbooks.io/hand-book-of-speech-enhancement-and-recognition/content/chapter5.html原创 2019-11-01 17:39:39 · 1516 阅读 · 0 评论 -
【工程项目经验】之C语言或汇编语言宏展开
序 本文旨在描述怎么将C语言或汇编语言中的宏展开,为什么要展开?不知大伙有没有调试过宏定义的代码,是不是不能调试,需要手工去掉宏之后才能调试。当然本文不是教你怎么用手工的方法展开宏,而是预编译的方式。C语言中的宏工具Visual Studio 2013, 注意,一定要Visual Studio 2013及以上版本,使用其自带的cl.exe编译器,关于cl.exe打开方法:开始-》所有程序-》...原创 2019-09-26 22:06:24 · 727 阅读 · 0 评论 -
【实用工具】之VMware workstation 14中安装CentOS 7
参考网址:https://blog.youkuaiyun.com/qq_36433857/article/details/81909348原创 2019-03-24 17:15:21 · 238 阅读 · 0 评论 -
【实用工具】之在VS中使用自定义工具配置nasm/yasm
1 在VS中使用自定义工具配置nasm/yasm1.1 方法一(参考开源工具) 可参考开源工具,具体做法是:(1)、下载x264源码(2)、在windows下使用cmake便可产生vs的解决方案工程(3)、打开产生的VS工程,右击汇编文件的属性,便可看到自定义工具配置参数1.1方法二(yasm示例)摘抄网址:https://blog.youkuaiyun.com/SoaringLee_fight...原创 2019-03-28 16:10:41 · 1213 阅读 · 0 评论 -
【时间统计】windows/linux 获取本地时间(精确到微妙)
参考网址:http://blog.sina.com.cn/s/blog_538dd0670100ilqm.html参考网址:http://bbs.youkuaiyun.com/topics/3300299221、windows下获取本地时间的方法:#if defined(WIN32) || defined(UNDER_CE) || defined(WIN64)#include&l...原创 2016-11-05 11:18:01 · 1942 阅读 · 0 评论 -
Linux SSH免密码登录与拷贝文件(SCP)- 亲测
参考网址1:http://blog.youkuaiyun.com/xyang81/article/details/51477925参考网址2:http://blog.itpub.net/29500582/viewspace-1251139/参考网址3:http://blog.youkuaiyun.com/huang_xw/article/details/8675132参考网址4:http://www.2cto...原创 2016-11-09 22:11:07 · 904 阅读 · 0 评论 -
【FFMPEG系列】之ffmpeg怎么利用gdb调试以及gdb调试快捷键
1、编译可调试的FFmepg(1)、使用命令:./configure --enable-debug --disable-optimizations --disable-asm --disable-stripping 注意一定要加--disable-stripping, 如果不加此选项,ffmpeg在编译时,会使用strip去掉符号信息。(2)、然后makemake...原创 2017-08-07 15:40:22 · 2559 阅读 · 1 评论 -
在mingw编译环境下为dll添加版本信息
在工程中,常常需要为dll添加版本信息,如果有vs工程比较好办,但是没有vs,在Mingw下也不难,通过对网上资料的搜集及验证,特分享。1、假设有obj.c文件,内容如:#include<stdio.h>int add(int a,int b){ return a+b;}void main(){ printf("******\n");}2、为...原创 2017-08-08 21:33:15 · 2203 阅读 · 0 评论 -
linux/windows下查看目标文件.a/.lib的函数符号名称
1、linux下(1)、 objdump -t 查看对象文件所有的符号列表;例如 objdump -t libtest.o(2)、nm列出目标文件(.o)的符号清单;例如nm -s filename.a/filename.o/a.out(3)、列出所有定义的符号nm --defined-only libname.a(4)、显示所有对象文件(.o文件)的...原创 2017-08-16 19:45:06 · 8392 阅读 · 0 评论 -
【汇编优化】之linux下如何利用gdb调试汇编代码
1、gdb调试汇编代码(1)、假设有如下代码,test.c/*test.c*/void main(){ int a, int b, int c; a = 1; b = 2; add_mmx(a, b, c);}注意:上述代码只是举例,add_mmx(a,b,c)是纯汇编写的。目的告诉gdb调试方法。代码写完后,gcc编译成可执行文件...原创 2017-08-17 17:19:45 · 3113 阅读 · 0 评论 -
【基础知识】进程通信之共享内存+信号量
2. 示例代码新建semaphore.h文件#ifndef __SEM_H__#define __SEM_H__#include&amp;lt;stdio.h&amp;gt;#include&amp;lt;stdlib.h&amp;gt;#include&amp;lt;sys/ipc.h&amp;gt;#include&amp;lt;sys/sem.h&am原创 2019-03-03 21:46:21 · 450 阅读 · 0 评论 -
【基础知识】之Linux根目录的含义
原创 2019-02-27 23:34:36 · 325 阅读 · 0 评论 -
【工程项目经验】Linux网络盘挂载方法
参考网址:https://serverfault.com/questions/414074/mount-cifs-host-is-down参考网址:https://blog.youkuaiyun.com/chengm8/article/details/48495745原创 2019-07-25 22:28:27 · 661 阅读 · 0 评论 -
【项目经验】之线程基本知识
一、线程标识每个线程有一个线程ID,线程ID用pthread_t类型表示,可移植操作系统一般不能把它作为整数处理。Linux下的pthread,一般的实现是:进程ID: pid_t pid; //pid_t: unsigned int线程ID:pthread_t tid; //pthread_t: unsigned long int线程ID比较:#include<pthread....原创 2019-07-25 22:43:17 · 179 阅读 · 0 评论 -
【工程项目经验】dmesg查看linux系统缓存日志
参考网址:https://www.cnblogs.com/zhaoxuguang/p/7810651.html参考网址:https://blog.youkuaiyun.com/hzj_001/article/details/81587629原创 2019-05-16 13:58:08 · 1099 阅读 · 0 评论 -
【工程项目经验】之C不定宏参数加颜色打印
1、宏打印+颜色#define ASCII_COLOR_RED "\033[1;31m"#define ASCII_COLOR_WHITE "\033[1;37m"#define DEBUG_INFO(fmt, args...) ({do {printf(ASCII_COLOR_WHITE"[APP INFO]:%s[%d]: ", __FUNCTION__,__LINE...原创 2019-05-09 11:18:14 · 207 阅读 · 0 评论 -
【工程项目经验】之Xcode的Instruments检测解决iOS内存泄露
参考网址:http://www.cnblogs.com/iOSv587country/p/4862989.html原创 2019-05-13 20:32:08 · 335 阅读 · 0 评论 -
MarkDown
输入文章标题0/100发布文章listener51选择文件Markdown 0 字数 2 行数 当前行 1, 当前列 0 HTML 0 字数 0 段落帮助文档快捷键撤销:Ctrl/Command + Z重做:Ctrl/Command + Y加粗:Ctrl/Command + B斜体:Ctrl/Command + I标题:Ctrl/Command + Shift + H无序...翻译 2019-04-19 21:57:00 · 189 阅读 · 0 评论 -
【工程项目经验】之32/64位平台printf uint64的方法
1、printf问题 printf有连带错误机制,同一个printf中前面的打印错误会导致后面的打印都错误; 因此printf打印出现乱码的时候,需要查看变量类型及其打印格式。打印乱码可能情况如图:1.1 uint64_t打印方法#include <stdio.h>#include <inttypes.h> int main(int argc, char *a...原创 2019-04-02 16:27:20 · 1551 阅读 · 0 评论 -
【实用工具】之优快云表格模板
列一 列二 合并行 列一 列二 合并列 行二列二 行三列二 参考网址:https://blog.youkuaiyun.com/loongshawn/artic...原创 2019-02-26 22:45:45 · 254 阅读 · 0 评论