上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: 使用QTableWidget刷新数据后,经常会自动展示为table首行。为了显示刷新数据前所在的位置,解决办法如下: 先记住滚动条位置,刷新数据后,再重置滚动条位置。 伪代码如下: QScrollBar *scrollBar = verticalScrollBar();int barPos = sc 阅读全文
posted @ 2022-08-27 14:16 eastgeneral 阅读(347) 评论(0) 推荐(0) 编辑
摘要: libyuv libyuv 是 Google 开源的实现各种 YUV 与 RGB 之间相互转换、旋转、缩放等的库。它是跨平台的,可在 Windows、Linux、Mac、Android 等操作系统,x86、x64、arm 架构上进行编译运行,支持 SSE、AVX、NEON 等 SIMD 指令加速。 阅读全文
posted @ 2022-08-16 10:01 eastgeneral 阅读(851) 评论(0) 推荐(0) 编辑
摘要: 实现如下: //BaseClass为结构体对象,(可以根据自己的报文结构定义响应结构体) 阅读全文
posted @ 2022-08-15 11:46 eastgeneral 阅读(191) 评论(0) 推荐(0) 编辑
摘要: #ifdef _WIN32 HANDLE process; DWORD_PTR processAffinityMask; //Windows uses a compact thread topology. Set mask to every other thread for(int i=0; i<n 阅读全文
posted @ 2022-08-15 11:08 eastgeneral 阅读(28) 评论(0) 推荐(0) 编辑
摘要: wget http://ftp.gnu.org/gnu/gdb/gdb-7.8.tar.xz tar -xf gdb-7.8.tar.xz cd gdb-7.8/ 解决上述错误的附加步骤 vi gdb/remote.c // 把status 1处的代码替换为status 2 //status 1 i 阅读全文
posted @ 2022-07-24 07:42 eastgeneral 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 一、目标在米尔科技的z-turn板上,采用AXI DMA 实现zynq的PS与PL数据交互。二、分析①PS数据传PL驱动中的测试程序中给出一堆数据,通过DMA传输到AXI4-Stream Data FIFO ,PL端从DATA FIFO中把数据读出来。②PL数据传PS将PS传入PL的数据回传,在PS 阅读全文
posted @ 2022-07-22 13:35 eastgeneral 阅读(2479) 评论(0) 推荐(0) 编辑
摘要: 这里a56爆大奖在线娱乐参考IVE模块,采用双通道VPSS,实现KCF的跟踪功能。具体流程为:摄像头读取图像数据实时通过HDMI输出显示,中间经过VI-VPSS-VO。1、编写cmake文件 CMAKE_MINIMUM_REQUIRED(VERSION 3.18) project(3559Project)SET(CM 阅读全文
posted @ 2022-07-21 09:18 eastgeneral 阅读(978) 评论(0) 推荐(0) 编辑
摘要: 1、lsof /dev/sdb2 2、kill 3、umount /dev/sdb2 4、ntfsfix /dev/sdb2 5、mount -o rw /dev/sdb2 /media/media/xxx 阅读全文
posted @ 2021-03-06 15:09 eastgeneral 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 异常dpkg: error: dpkg frontend is locked by another process 安装包的时候出现了一个异常 dpkg: error: dpkg frontend is locked by another process 原因是包管理器没有正确关闭。需要重启计算机或 阅读全文
posted @ 2021-03-06 11:07 eastgeneral 阅读(1418) 评论(1) 推荐(1) 编辑
摘要: STM32的bulk双缓冲传输速度的讨论,硬件的坑永远填不完 详情:http://bbs.21ic.com/forum.php?mod=viewthread&tid=109584 USB 1.0的最高12Mbps.USB 2.0的高速模式480Mbps,全速模式12Mbps,低速模式1.5Mbps 阅读全文
posted @ 2020-08-04 10:15 eastgeneral 阅读(959) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页