hardware: samsung_slsi: libcamera2: removing dummy qbuf to ISP
authorSungjoong Kang <sj3.kang@samsung.com>
Sat, 25 Aug 2012 06:08:06 +0000 (23:08 -0700)
committerRebecca Schultz Zavin <rebecca@android.com>
Wed, 29 Aug 2012 00:26:54 +0000 (17:26 -0700)
For efficiency, removed registering buffers to ISP by dummy qbuf.
Requires counterpart of Fimc-is-mc2 driver patch

Change-Id: I35e8344dea008c1b43be2cfcc598942ba3961a18
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
libcamera2/ExynosCameraHWInterface2.cpp

index 8d7828e7b98186590d553c8107e8dac57ae89869..82756bb22eed2ba2037c5d7de56bc0e1b46afca7 100644 (file)
@@ -1178,20 +1178,8 @@ void ExynosCameraHWInterface2::InitializeISPChain()
 
 void ExynosCameraHWInterface2::StartISP()
 {
-    int i;
-
-    for (i = 0; i < m_camera_info.isp.buffers; i++) {
-        ALOGV("DEBUG(%s): isp initial QBUF [%d]",  __FUNCTION__, i);
-        cam_int_qbuf(&(m_camera_info.isp), i);
-    }
-
     ALOGV("== stream_on :: isp");
     cam_int_streamon(&(m_camera_info.isp));
-
-    for (i = 0; i < m_camera_info.isp.buffers; i++) {
-        ALOGV("DEBUG(%s): isp initial DQBUF [%d]",  __FUNCTION__, i);
-        cam_int_dqbuf(&(m_camera_info.isp));
-    }
     exynos_v4l2_s_ctrl(m_camera_info.sensor.fd, V4L2_CID_IS_S_STREAM, IS_ENABLE_STREAM);
 }