首页 > 代码库 > Android L Camera2 PreviewBuilder set CaptureRequest.CONTROL_EFFECT_MODE not work.
Android L Camera2 PreviewBuilder set CaptureRequest.CONTROL_EFFECT_MODE not work.
设备 : Nexus 7 wifi 2013
想设置效果不好使,有谁知道怎么设置吗?
软件版本 : razor-lpx13d-preview-ae4f461f.tgz
mCameraManager.openCamera(mCameraID, mStateCallback, null); mPreviewBuilder = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); mCameraDevice.createCaptureSession(Arrays.asList(surface), mStateCallback, null); mPreviewBuilder.set(CaptureRequest.CONTROL_MODE, CameraMetadata.CONTROL_MODE_AUTO); <strong><span style="color:#ff0000;">mPreviewBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, CameraMetadata.CONTROL_EFFECT_MODE_NEGATIVE);</span></strong> mPreviewSession.setRepeatingRequest(mPreviewBuilder.build(), mCaptureCallback, null);
想设置效果不好使,有谁知道怎么设置吗?
Android L Camera2 PreviewBuilder set CaptureRequest.CONTROL_EFFECT_MODE not work.
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。