mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1264|reply: 3
打印 prevThread nextThread

外接摄像头渲染黑白

[copyURL]

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
jumpTo
owner
poston 2020-1-9 10:09 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
研究发现,  render.iYUVConvert  好像会影响渲染图像的色彩问题,目前遇到一款外接摄像头预览显示黑白画面,
并且测试了0-6的设置值,都没有显示正常颜色的图像,请问这个参数还可以传入什么值,取值范围是多少?

BVPU_VideoControl_Render render = new BVPU_VideoControl_Render();
            render.hWnd = mSurfaceView.getHolder().getSurface();
            render.iHeight = 720;
            render.iWidth = 1280;
            render.iYUVConvert = 0;
            LogUtils.i(TAG, "open ai render render.iRotate------>" + render.iRotate +
                    " render.dScale=" + render.dScale + " ; h = " + render.iHeight +
            " ; w = " + render.iWidth + " ; iYUVConvert = " + render.iYUVConvert);
            mpu.getmConnection().render(render);
reply

使用道具 report

3

主题

59

帖子

367

积分

midMem

Rank: 3Rank: 3

积分
367
sofa
poston 2020-1-9 11:15 | authorOnly
您好,您这个帖子发错位置了,应该发在安卓音视频开发专栏下
reply agree Against

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
bench
 Owner| poston 2020-1-9 14:49 | authorOnly
ATest post on2020-1-9 11:15
您好,您这个帖子发错位置了,应该发在安卓音视频开发专栏下

好的  谢谢
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
ground
poston 2020-1-9 17:37 | authorOnly
取值范围4和5以及其它值
4代表NV12
5代表NV21
其它是YUV420P,
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-4-26 15:52 , Processed in 0.067399 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList