summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-07-16 14:21:09 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-07-16 14:21:09 +0700
commit6b97cba6613a838e51bcc13709b83186248894a0 (patch)
tree574c7d3437c8642deeeab14c4456bacac9b2fb21 /libcamera
parentba299841084273232a459a1fb79b0d7eed306dd2 (diff)
downloaddevice_samsung_aries-common-6b97cba6613a838e51bcc13709b83186248894a0.zip
device_samsung_aries-common-6b97cba6613a838e51bcc13709b83186248894a0.tar.gz
device_samsung_aries-common-6b97cba6613a838e51bcc13709b83186248894a0.tar.bz2
aries-common: fix libcamera ALOG_NDEUBG
Change-Id: I1bc8d2bea60d9daae9e5236ccfc154dacc9c6feb
Diffstat (limited to 'libcamera')
-rwxr-xr-xlibcamera/SecCamera.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index 0edaf84..a7ecea5 100755
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -1116,7 +1116,7 @@ int SecCamera::setPreviewSize(int width, int height, int pixel_format)
int v4lpixelformat = pixel_format;
-#if defined(ALOG_NDEBUG) && ALOG_NDEBUG == 0
+#if defined(LOG_NDEBUG) && LOG_NDEBUG == 0
if (v4lpixelformat == V4L2_PIX_FMT_YUV420)
ALOGV("PreviewFormat:V4L2_PIX_FMT_YUV420");
else if (v4lpixelformat == V4L2_PIX_FMT_NV12)
@@ -1463,7 +1463,7 @@ int SecCamera::getSnapshotAndJpeg(unsigned char *yuv_buf, unsigned char *jpeg_bu
m_events_c.fd = m_cam_fd;
m_events_c.events = POLLIN | POLLERR;
-#if defined(ALOG_NDEBUG) && ALOG_NDEBUG == 0
+#if defined(LOG_NDEBUG) && LOG_NDEBUG == 0
if (m_snapshot_v4lformat == V4L2_PIX_FMT_YUV420)
ALOGV("SnapshotFormat:V4L2_PIX_FMT_YUV420");
else if (m_snapshot_v4lformat == V4L2_PIX_FMT_NV12)
@@ -1649,7 +1649,7 @@ int SecCamera::setSnapshotPixelFormat(int pixel_format)
m_snapshot_v4lformat = v4lpixelformat;
}
-#if defined(ALOG_NDEBUG) && ALOG_NDEBUG == 0
+#if defined(LOG_NDEBUG) && LOG_NDEBUG == 0
if (m_snapshot_v4lformat == V4L2_PIX_FMT_YUV420)
ALOGE("%s : SnapshotFormat:V4L2_PIX_FMT_YUV420", __func__);
else if (m_snapshot_v4lformat == V4L2_PIX_FMT_NV12)