fengwei23's recent timeline updates
fengwei23

fengwei23

V2EX member #265436, joined on 2017-11-07 10:11:12 +08:00
Per fengwei23's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
fengwei23's recent replies
先去拍一下 CT,看看什么情况,然后该理疗就理疗,如果问题不大,还是自己经常多动吧,做做拉伸,我以前有段时间也疼,后来医生说是腰肌劳损,就做了一段时间理疗,自己不要总是一个姿势
Mar 8, 2021
Replied to a topic by fengwei23 Android 请教一下 libyuv 转换问题
@rabbitknight #13 我是用 Mediaprojection 来配合使用的,YUV420_888 这种格式使用的时候显示不支持
Feb 25, 2021
Replied to a topic by fengwei23 Android 请教一下 libyuv 转换问题
@AX5N #4 没有也,需要这样做吗
Feb 25, 2021
Replied to a topic by fengwei23 Android 请教一下 libyuv 转换问题
@darer #3 确实是这样的,但是我不是很好描述
```
Image image = reader.acquireLatestImage();
if (image != null) {
Image.Plane[] planes = image.getPlanes();
Image.Plane plane = planes[0];
ByteBuffer buffer = plane.getBuffer();
byte[] bytes = new byte[buffer.remaining()];
buffer.get(bytes, 0, bytes.length);

if (mDataThread != null) {
mDataThread.addData(bytes);
}
image.close();
}
```
上面是我从 image 中取出来的数据,然后把这个数据送给的 libyuv 去转换的,iamgereader 用的是 PixelFormat.RGBA_8888,libyuv 用的是 ABGRToI420
Feb 25, 2021
Replied to a topic by fengwei23 Android 请教一下 libyuv 转换问题
@no1xsyzy #1 谢谢哈,我也看到这个了,我都试过了,好像还是不行,我在研究一下
Jan 19, 2021
Replied to a topic by Smurf 问与答 状态不好,想得到一些建议
差不多的状态,我现在和大学同学住在一起,还能说说话,大部分时间和你差不多,尝试培养一点兴趣吧
在成都,看这个情况,可能出不了门
我也是,我现在学习清心寡欲
Aug 11, 2020
Replied to a topic by fengwei23 程序员 如何提升自己,不包括写代码
@kuanng #20 几乎都封了,说是为了安全
Aug 10, 2020
Replied to a topic by fengwei23 程序员 如何提升自己,不包括写代码
@apeople #12 公司把 leetcode 网站都封了
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1244 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 17:36 · PVG 01:36 · LAX 10:36 · JFK 13:36
♥ Do have faith in what you're doing.