private void setVsdofEnable(Camera.Parameters params) {
params.set(KEY_STEREO_CAPTURE_MODE, "on");
params.set(KEY_VSDOF_MODE, "on");
params.set(KEY_STEREO_DENOISE_MODE, "off");
params.set(KEY_STEREO_CAPTURE_MODE, "on");
params.set(KEY_VSDOF_MODE, "on");
params.set(KEY_STEREO_DENOISE_MODE, "off");
//params.set("stereo-3rdparty-mode", "on");
然后
if(iReqIdx < miDumpStartIdx || iReqIdx >= miDumpStartIdx + miDumpBufSize)
这个输出预览的结果
//if(iReqIdx < miDumpStartIdx || iReqIdx >= miDumpStartIdx + miDumpBufSize)
if(pRequest->getRequestAttr().opState == eSTATE_NORMAL && (iReqIdx < miDumpStartIdx || iReqIdx >= miDumpStartIdx + miDumpBufSize))
这个应该是输出capture的结果
好像设置start属性要从3000开始吧
adb shell setprop depthmap.pipe.dump.start 3000