summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-01-09 13:22:13 -0600
committerZiyan <jaraidaniel@gmail.com>2015-04-11 20:24:53 +0200
commit7f29150ed8157f641d45deb17603f37be5c35289 (patch)
tree58bbeee534edcbf664950fb04bb69e73cc3ef2a6 /camera
parent55d21caa69a85f1e9b909ed699282b041a2bcec5 (diff)
downloaddevice_samsung_tuna-7f29150ed8157f641d45deb17603f37be5c35289.zip
device_samsung_tuna-7f29150ed8157f641d45deb17603f37be5c35289.tar.gz
device_samsung_tuna-7f29150ed8157f641d45deb17603f37be5c35289.tar.bz2
camera: Clean up some logcat spam.
Signed-off-by: Kyle Repinski <repinski23@gmail.com>
Diffstat (limited to 'camera')
-rw-r--r--camera/OMXCameraAdapter/OMXCameraAdapter.cpp2
-rw-r--r--camera/OMXCameraAdapter/OMXFD.cpp4
-rw-r--r--camera/inc/CameraHal.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
index 61d1aae..f7c67cf 100644
--- a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
+++ b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
@@ -4066,7 +4066,7 @@ OMX_OTHER_EXTRADATATYPE *OMXCameraAdapter::getExtradata(const OMX_PTR ptrPrivate
if ( NULL != ptrPrivate ) {
const OMX_TI_PLATFORMPRIVATE *platformPrivate = (const OMX_TI_PLATFORMPRIVATE *) ptrPrivate;
- CAMHAL_LOGVB("Size = %d, sizeof = %d, pAuxBuf = 0x%x, pAuxBufSize= %d, pMetaDataBufer = 0x%x, nMetaDataSize = %d",
+ CAMHAL_LOGSVB("Size = %d, sizeof = %d, pAuxBuf = 0x%x, pAuxBufSize= %d, pMetaDataBufer = 0x%x, nMetaDataSize = %d",
platformPrivate->nSize,
sizeof(OMX_TI_PLATFORMPRIVATE),
platformPrivate->pAuxBuf1,
diff --git a/camera/OMXCameraAdapter/OMXFD.cpp b/camera/OMXCameraAdapter/OMXFD.cpp
index 1a482b2..9220008 100644
--- a/camera/OMXCameraAdapter/OMXFD.cpp
+++ b/camera/OMXCameraAdapter/OMXFD.cpp
@@ -226,7 +226,7 @@ status_t OMXCameraAdapter::createPreviewMetadata(OMX_BUFFERHEADERTYPE* pBuffHead
(OMX_EXTRADATATYPE)OMX_FaceDetection);
if ( NULL != extraData ) {
- CAMHAL_LOGVB("Size = %d, sizeof = %d, eType = 0x%x, nDataSize= %d, nPortIndex = 0x%x, nVersion = 0x%x",
+ CAMHAL_LOGSVB("Size = %d, sizeof = %d, eType = 0x%x, nDataSize= %d, nPortIndex = 0x%x, nVersion = 0x%x",
extraData->nSize,
sizeof(OMX_OTHER_EXTRADATATYPE),
extraData->eType,
@@ -241,7 +241,7 @@ status_t OMXCameraAdapter::createPreviewMetadata(OMX_BUFFERHEADERTYPE* pBuffHead
faceData = ( OMX_FACEDETECTIONTYPE * ) extraData->data;
if ( NULL != faceData ) {
if ( sizeof(OMX_FACEDETECTIONTYPE) == faceData->nSize ) {
- CAMHAL_LOGVB("Faces detected %d",
+ CAMHAL_LOGSVB("Faces detected %d",
faceData->ulFaceCount,
faceData->nSize,
sizeof(OMX_FACEDETECTIONTYPE),
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h
index f1b013e..4fded38 100644
--- a/camera/inc/CameraHal.h
+++ b/camera/inc/CameraHal.h
@@ -94,7 +94,9 @@
GRALLOC_USAGE_SW_WRITE_NEVER
//Enables Absolute PPM measurements in logcat
+#ifdef CAMERAHAL_SUPERVERBOSE
#define PPM_INSTRUMENTATION_ABS 1
+#endif
#define LOCK_BUFFER_TRIES 5
#define HAL_PIXEL_FORMAT_NV12 0x100