Android L Camera2 PreviewBuilder set CaptureRequest.CONTROL_EFFECT_MODE not work.
软件版本 : 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);
想设置效果不好使,有谁知道怎么设置吗?
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。