移除错误的代码

TempBranch
Matthew 8 months ago
parent cbf3dce87e
commit 83d3376f72

@ -2081,6 +2081,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat)
#ifdef OUTPUT_CAMERA_DBG_INFO #ifdef OUTPUT_CAMERA_DBG_INFO
bool shouldRetry = false; bool shouldRetry = false;
#if 0
if (mCamera != NULL) { if (mCamera != NULL) {
NdkCamera::CAPTURE_RESULT captureResult = mCamera->getCaptureResult(); NdkCamera::CAPTURE_RESULT captureResult = mCamera->getCaptureResult();
@ -2115,6 +2116,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat)
mPhotoInfo.compensation = -2 * ((int16_t) ((uint16_t) captureResult.avgY)); mPhotoInfo.compensation = -2 * ((int16_t) ((uint16_t) captureResult.avgY));
} }
} }
#endif
#endif // OUTPUT_CAMERA_DBG_INFO #endif // OUTPUT_CAMERA_DBG_INFO

Loading…
Cancel
Save