上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: #include "env.h" #include "helper_cuda.h" #include <device_functions.h> #include "combo_device_tools.h" typedef enum COMBO_DT_TYPE{ COMBO_DT_8C, COMBO 阅读全文
posted @ 2021-02-02 20:15 洛笔达 阅读(120) 评论(0) 推荐(0) 编辑
摘要: typedef struct uchar4{ uchar x,y,z,w;}uchar4; inline uchar4 make_uchar4(uchar x, uchar y, uchar z, uchar w){ uchar4 val; val.x = x; val.y = y; val.z = 阅读全文
posted @ 2021-01-13 17:39 洛笔达 阅读(401) 评论(0) 推荐(0) 编辑
摘要: // BT.709 YUV to RGB reference// R = (Y - 16) * 1.164 - V * -1.793// G = (Y - 16) * 1.164 - U * 0.213 - V * 0.533// B = (Y - 16) * 1.164 - U * -2.112/ 阅读全文
posted @ 2021-01-12 15:48 洛笔达 阅读(755) 评论(0) 推荐(0) 编辑
摘要: 黑 白 红 青 蓝 黄 Y 00 FF 4C B3 1D E2 U 80 80 55 AB FF 00 V 80 80 FF 00 6B 95 J420 Y~[0, 255] U~ [0,255] V~[0,255] 阅读全文
posted @ 2021-01-12 12:30 洛笔达 阅读(514) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/376036/algorithm-to-mix-sound 阅读全文
posted @ 2020-12-24 20:40 洛笔达 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1. 时钟周期, CPU时钟的最基本单位, 等于主频的导数 2. 指令周期, 完成一个指令的时间, 即 取指 + 译码 + 执行的总时间 3. 机器周期 一条指令的被划分为若干阶段, 完成其中一个阶段的时间, 例如, 取指 、 译码 、或者 执行 都可以叫做一个机器周期 4. 总线周期 完成一次内存 阅读全文
posted @ 2020-12-22 12:14 洛笔达 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: template<class T> inline float amplitudeToDB( T ampval ) { if( ampval >0 ) return 20 * log10(ampval); else return -20 * log10(-ampval); } float dBToAm 阅读全文
posted @ 2020-12-17 15:19 洛笔达 阅读(718) 评论(0) 推荐(0) 编辑
摘要: 测试RGB24->I420 INTEL: I7-8700 3.20GHz FPS of normal : 110.14FPS of IPP : 373.26Throughput of IPP:8.65 GB/s AMD: / 3990X 2.9GHz FPS of normal : 102.89FP 阅读全文
posted @ 2020-10-22 17:52 洛笔达 阅读(560) 评论(0) 推荐(0) 编辑
摘要: Test picture compression format .bmp:Time of reading : 28.68 msTime of writing : 6.79 msTime of decoding : 3.98 msTime of encoding : 4.82 msEncode rad 阅读全文
posted @ 2020-09-18 16:07 洛笔达 阅读(1539) 评论(0) 推荐(0) 编辑
摘要: 以ffmpeg 4.2 为例 1. 建立YUV-RGB映射表 /* Color space conversion coefficients for YCbCr -> RGB mapping. * * Entries are {crv, cbu, cgu, cgv} * * crv = (255 / 阅读全文
posted @ 2020-09-14 21:07 洛笔达 阅读(1621) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页