From 4c42820cea9b8aae156bf16acc28a136ff9365da Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 23 Apr 2025 15:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/camera2/ndkcamera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/cpp/camera2/ndkcamera.cpp b/app/src/main/cpp/camera2/ndkcamera.cpp index 0e2fed64..9a3c092c 100644 --- a/app/src/main/cpp/camera2/ndkcamera.cpp +++ b/app/src/main/cpp/camera2/ndkcamera.cpp @@ -1367,6 +1367,7 @@ void NdkCamera::onImageAvailable(AImageReader* reader) mstatus = AImage_getTimestamp(image, &frameTs); #ifdef OUTPUT_DBG_INFO +#if 0 if (mWidth == 1920) { std::string dt = FormatLocalDateTime("%d%02d%02d%02d%02d%02d", time(NULL)); @@ -1374,6 +1375,7 @@ void NdkCamera::onImageAvailable(AImageReader* reader) fileName += "_" + mCameraId + std::to_string(frameTs) + ".yuv"; saveYuvToFile(image, fileName.c_str()); } +#endif #endif AImage_delete(image);