会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
blackTree
新随笔
联系
订阅
管理
1
2
下一页
2023年5月19日
rust学习-utf8 和 utf16 互转, 保存utf16格式文件
摘要: rust学习-UTF8 和 UTF16 互转, 保存utf16格式文件 读取 UTF16 格式文件, UTF8 和 UTF16 互转 //UTF16 有大端小端的格式,这里是小端的例子 let bytes = fs::read("UTF16_LE.txt").unwrap(); //将读出来的 Ve
阅读全文
posted @ 2023-05-19 09:27 blackTree
阅读(470)
评论(0)
推荐(0)
2023年2月1日
FFMPEG AVFrame IYUV(I420)转Opencv Mat
摘要: AVFrame 转 Mat IYUV(I420)格式 | | | | | | -- | -- | -- | -- | | YY | YY | YY | YY | | u | u | u | u | | YY | YY | YY | YY | | v | v | v | v | | YY | YY |
阅读全文
posted @ 2023-02-01 09:08 blackTree
阅读(193)
评论(0)
推荐(0)
2022年12月5日
Qt CMakeLists.txt简单介绍
摘要: CMakeLists.txt cmake_minimum_required(VERSION 3.5) 指定cmake最低版本 project(projectname VERSION 0.0.1 LANGUAGES CXX) message("project_version: ${CMAKE_PROJ
阅读全文
posted @ 2022-12-05 22:45 blackTree
阅读(745)
评论(0)
推荐(0)
2022年11月17日
Rust库学习-cipher(AES128简单使用)
摘要: 介绍 cipher是Rust的一个密码库 AES128中key和block的长度都是128bit(即128(bit)/8(一个字节8bit)=16个字节) 所以下文中GenericArray::from固定长度为16位 实践 Cargo.toml [dependencies] aes = "0.8.
阅读全文
posted @ 2022-11-17 21:11 blackTree
阅读(1328)
评论(0)
推荐(0)
2022年8月17日
windows ffmpeg2.8.x(4.2.x) SDK 编译(引入x264,opus)
摘要: 环境 所有库都是在 msys 中 进行32位编译 msys环境安装 修改 msys 程序目录的 msys2_shell.cmd rem set MSYS2_PATH_TYPE=inherit 改为 set MSYS2_PATH_TYPE=inherit 在 vs Command Prompt 中 打
阅读全文
posted @ 2022-08-17 19:45 blackTree
阅读(611)
评论(0)
推荐(0)
2022年7月23日
rust库学习-diesel
摘要: 介绍 diesel 是一个 orm 框架 支持 postgresql,mysql,sqlite 不用的数据库接口可能会不一样 官方例子地址 实践 新建工程 cargo new --lib diesel_demo cd diesel_demo Cargo.toml [dependencies] die
阅读全文
posted @ 2022-07-23 16:21 blackTree
阅读(1783)
评论(0)
推荐(0)
2022年7月20日
rust库学习-env_logger
摘要: ## 介绍 `env_logger` 配合 `log` 库使用, `log` 是rust日志库的外观库,给日志库提供抽象的记录接口, `log`使用宏,如`info!() trace!()`记录日志 假如需要替换当前使用的日志库,只需将初始化相关的代码和`toml`文件修改 `env_logger`
阅读全文
posted @ 2022-07-20 13:43 blackTree
阅读(4279)
评论(0)
推荐(0)
2022年6月28日
opencore-amr编译
摘要: 安装 msys 根据官网文档安装 64位 pacman -S --needed base-devel mingw-w64-x86_64-toolchain 32位 pacman -S --needed base-devel mingw-w64-i686-toolchain 需要编译32位或者64位库
阅读全文
posted @ 2022-06-28 21:56 blackTree
阅读(1342)
评论(0)
推荐(0)
2022年1月19日
Rustlang-快速排序
摘要: rust学习
阅读全文
posted @ 2022-01-19 10:25 blackTree
阅读(143)
评论(0)
推荐(0)
2022年1月7日
Rustlang-堆排序
摘要: rust学习
阅读全文
posted @ 2022-01-07 08:32 blackTree
阅读(49)
评论(0)
推荐(0)
1
2
下一页
公告