mobile CCTV,mobile surveillance,police body worn cameras
标题:
mpu uvc摄像头画面显示黑白
[打印本页]
author:
Aiwinn
time:
2020-1-9 14:52
标题:
mpu uvc摄像头画面显示黑白
在
MPUCameraUtil 类的openRender方法中截取以下一段代码
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);
研究发现, render.iYUVConvert 好像会影响渲染图像的色彩问题,目前遇到一款外接摄像头预览显示黑白画面,
并且测试了0-6的设置值,都没有显示正常颜色的图像,请问这个参数还可以传入什么值,取值范围是多少?
欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/)
Powered by Discuz! X3.2