Home | History | Annotate | Download | only in libcamera2

Lines Matching refs:__FUNCTION__

131         ALOGE("%s:S_FMT, Out of bound : Number of element plane",__FUNCTION__);
138 ALOGE("%s: exynos_v4l2_s_fmt fail (%d)",__FUNCTION__, ret);
156 ALOGE("%s: VIDIOC_REQBUFS (fd:%d) failed (%d)",__FUNCTION__,node->fd, ret);
182 ALOGE("%s: cam_int_qbuf failed (index:%d)(ret:%d)",__FUNCTION__, index, ret);
196 ALOGE("%s: VIDIOC_STREAMON failed [%d] (%d)",__FUNCTION__, node->fd,ret);
213 ALOGE("%s: VIDIOC_STREAMOFF failed (%d)",__FUNCTION__, ret);
227 ALOGE("%s: VIDIOC_STREAMOFF failed (%d)",__FUNCTION__, ret);
245 ALOGE("%s: VIDIOC_DQBUF failed (%d)",__FUNCTION__, ret);
263 ALOGE("%s: VIDIOC_DQBUF failed (%d)",__FUNCTION__, ret);
274 ALOGE("%s: VIDIOC_S_INPUT failed (%d)",__FUNCTION__, ret);
299 ALOGV("%s", __FUNCTION__);
346 ALOGV("DEBUG(%s):", __FUNCTION__);
353 ALOGV("DEBUG(%s): got lock, new insertIndex(%d), cnt before reg(%d)", __FUNCTION__,newInsertionIndex, m_numOfEntries );
359 ALOGV("DEBUG(%s): Circular buffer abnormal ", __FUNCTION__);
388 ALOGV("DEBUG(%s):", __FUNCTION__);
398 CAM_LOGD("DBG(%s): Circular buffer abnormal. processing(%d), frame(%d), status(%d) ", __FUNCTION__,
422 ALOGV("DEBUG(%s):", __FUNCTION__);
427 ALOGV("DEBUG(%s): processing(%d), frameOut(%d), insert(%d) recentlycompleted(%d)", __FUNCTION__,
431 ALOGV("DBG(%s): Circular buffer abnormal status(%d)", __FUNCTION__, (int)(currentEntry->status));
441 ALOGE("ERROR(%s): ToDynamicMetadata (%d) ", __FUNCTION__, res);
464 CAM_LOGD("DEBUG(%s): Request Manager Empty ", __FUNCTION__);
476 ALOGV("DEBUG(%s): index(%d)", __FUNCTION__, newProcessingIndex);
481 CAM_LOGD("DEBUG(%s)(%d): Circular buffer abnormal, numOfEntries(%d), status(%d)", __FUNCTION__, newProcessingIndex, m_numOfEntries, newEntry->status);
538 ALOGV("DEBUG(%s): frameCnt(%d)", __FUNCTION__, frameCnt);
542 ALOGE("ERR(%s): Cannot find entry for frameCnt(%d)", __FUNCTION__, frameCnt);
545 ALOGV("DEBUG(%s): frameCnt(%d), last cnt (%d)", __FUNCTION__, frameCnt, entries[index].output_stream_count);
555 ALOGV("(%s): Completed(index:%d)(frameCnt:%d)", __FUNCTION__,
596 ALOGV("(%s)m_sensorQ.size : %d", __FUNCTION__, m_sensorQ.size());
613 ALOGV("DEBUG(%s): frameCnt(%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
624 ALOGE("[%s] no entry found(framecount:%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
643 ALOGV("DEBUG(%s): updating info with frameCnt(%d)", __FUNCTION__, frameCnt);
649 ALOGE("ERR(%s): Cannot find entry for frameCnt(%d)", __FUNCTION__, frameCnt);
747 ALOGV("(%s): applied aa(%d) aemode(%d) expComp(%d), awb(%d) afmode(%d), ", __FUNCTION__,
771 ALOGE("ERR(%s): Cannot find entry for frameCnt(%d)", __FUNCTION__, frameCnt);
777 ALOGV("DEBUG(%s): REPROCESSING : preserving timestamp for reqIndex(%d) frameCnt(%d) (%lld)", __FUNCTION__,
781 ALOGV("DEBUG(%s): applied timestamp for reqIndex(%d) frameCnt(%d) (%lld)", __FUNCTION__,
791 ALOGE("ERR(%s): Cannot find entry for frameCnt(%d) returning saved time(%lld)", __FUNCTION__, frameCnt, m_lastTimeStamp);
802 ALOGE("ERR(%s): Request entry outside of bounds (%d)", __FUNCTION__, index);
809 ALOGV("DEBUG(%s): timestamp null, returning saved value", __FUNCTION__);
812 ALOGV("DEBUG(%s): Returning timestamp for reqIndex(%d) (%lld)", __FUNCTION__, index, frameTime);
820 ALOGE("ERR(%s): Cannot find entry for frameCnt(%d)", __FUNCTION__, frameCnt);
831 ALOGE("ERR(%s): Request entry outside of bounds (%d)", __FUNCTION__, index);
843 ALOGE("ERR(%s): Cannot find entry for frameCnt(%d)", __FUNCTION__, frameCnt);
854 ALOGE("ERR(%s): Request entry outside of bounds (%d)", __FUNCTION__, index);
868 CAM_LOGD("DBG(%s): No Entry found", __FUNCTION__);
880 CAM_LOGE("ERR(%s): frameCount(%d), index(%d), status(%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount, i, entries[i].status);
883 CAM_LOGD("(%s): No Entry found frame count(%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
890 ALOGV("(%s): Pipeline Restarting. setting cnt(%d) - current(%d)", __FUNCTION__, count, m_sensorPipelineSkipCnt);
897 ALOGV("(%s): skip cnt(%d)", __FUNCTION__, m_sensorPipelineSkipCnt);
977 ALOGD("(%s): ENTER", __FUNCTION__);
987 ALOGE("ERR(%s):Fail on loading gralloc HAL", __FUNCTION__);
993 ALOGE("ERR(%s):Fail on ion_client_create", __FUNCTION__);
1001 ALOGD("(%s): ISP chain init failed. exiting", __FUNCTION__);
1007 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1012 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1017 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1022 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1028 ALOGV("DEBUG(%s): created sensorthread ", __FUNCTION__);
1035 ALOGE("ERR(%s): csc_init() fail", __FUNCTION__);
1041 ALOGE("ERR(%s): csc_init() fail", __FUNCTION__);
1066 ALOGD("(%s): EXIT", __FUNCTION__);
1071 ALOGD("(%s): ENTER", __FUNCTION__);
1073 ALOGD("(%s): EXIT", __FUNCTION__);
1164 ALOGV("DEBUG(%s): calling exynos_v4l2_close - sensor", __FUNCTION__);
1167 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1170 ALOGV("DEBUG(%s): calling exynos_v4l2_close - isp", __FUNCTION__);
1173 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1176 ALOGV("DEBUG(%s): calling exynos_v4l2_close - capture", __FUNCTION__);
1179 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1182 ALOGV("DEBUG(%s): calling exynos_v4l2_close - scp", __FUNCTION__);
1185 ALOGE("ERR(%s): exynos_v4l2_close failed(%d)",__FUNCTION__ , res);
1187 ALOGV("DEBUG(%s): calling deleteIonClient", __FUNCTION__);
1206 ALOGE("ERR(%s): failed to open sensor video node (%s) fd (%d)", __FUNCTION__,node_name, fd);
1209 ALOGV("DEBUG(%s): sensor video node opened(%s) fd (%d)", __FUNCTION__,node_name, fd);
1219 ALOGE("ERR(%s): failed to open isp video node (%s) fd (%d)", __FUNCTION__,node_name, fd);
1222 ALOGV("DEBUG(%s): isp video node opened(%s) fd (%d)", __FUNCTION__,node_name, fd);
1232 ALOGE("ERR(%s): failed to open capture video node (%s) fd (%d)", __FUNCTION__,node_name, fd);
1235 ALOGV("DEBUG(%s): capture video node opened(%s) fd (%d)", __FUNCTION__,node_name, fd);
1244 ALOGE("DEBUG(%s): failed to open preview video node (%s) fd (%d)", __FUNCTION__,node_name, fd);
1247 ALOGV("DEBUG(%s): preview video node opened(%s) fd (%d)", __FUNCTION__,node_name, fd);
1294 ALOGE("ERROR(%s): failed to allocateCameraMemory for sensor buffer %d", __FUNCTION__, i);
1324 ALOGE("ERR(%s): cam_int_s_input(%d) failed!!!! ", __FUNCTION__, m_camera_info.sensor_id);
1328 ALOGV("DEBUG(%s): isp calling reqbuf", __FUNCTION__);
1330 ALOGV("DEBUG(%s): isp calling querybuf", __FUNCTION__);
1331 ALOGV("DEBUG(%s): isp mem alloc done", __FUNCTION__);
1335 ALOGV("DEBUG(%s): sensor s_input done", __FUNCTION__);
1337 ALOGE("ERR(%s): sensor s_fmt fail", __FUNCTION__);
1339 ALOGV("DEBUG(%s): sensor s_fmt done", __FUNCTION__);
1341 ALOGV("DEBUG(%s): sensor reqbuf done", __FUNCTION__);
1343 ALOGV("DEBUG(%s): sensor initial QBUF [%d]", __FUNCTION__, i);
1380 ALOGV("(%s)", __FUNCTION__);
1415 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, AllocatedStream->m_numRegisteredStream);
1437 ALOGE("(%s): SCC Thread starting with no buffer", __FUNCTION__);
1443 ALOGV("DEBUG(%s): capture calling reqbuf", __FUNCTION__);
1445 ALOGV("DEBUG(%s): capture calling querybuf", __FUNCTION__);
1448 ALOGV("DEBUG(%s): capture initial QBUF [%d]", __FUNCTION__, i);
1455 ALOGE("ERR(%s): capture stream on fail", __FUNCTION__);
1479 ALOGV("DEBUG(%s):", __FUNCTION__);
1486 ALOGE("DEBUG(%s):setRequestQueueSrcOps : NULL arguments", __FUNCTION__);
1495 ALOGV("DEBUG(%s):setting [SIGNAL_MAIN_REQ_Q_NOT_EMPTY] current(%d)", __FUNCTION__, m_requestManager->GetNumEntries());
1497 ALOGE("DEBUG(%s):queue ops NULL. ignoring request", __FUNCTION__);
1517 ALOGV("DEBUG(%s): sensor initial QBUF [%d]", __FUNCTION__, i);
1528 ALOGV("DEBUG(%s): calling sensor streamon", __FUNCTION__);
1534 ALOGV("DEBUG(%s): stream thread 1 not exist. starting without stream", __FUNCTION__);
1538 ALOGV("DEBUG(%s): stream thread 1 suspended. restarting", __FUNCTION__);
1544 ALOGV("DEBUG(%s): capture calling reqbuf", __FUNCTION__);
1546 ALOGV("DEBUG(%s): capture calling querybuf", __FUNCTION__);
1577 ALOGE("ERR(%s): exynos_v4l2_qbuf() fail fd(%d)", __FUNCTION__, currentNode->fd);
1579 ALOGV("DEBUG(%s): exynos_v4l2_qbuf() success fd(%d)", __FUNCTION__, currentNode->fd);
1590 ALOGV("DEBUG(%s): capture initial QBUF [%d]", __FUNCTION__, i);
1596 ALOGE("ERR(%s): capture stream on fail", __FUNCTION__);
1608 ALOGV("DEBUG(%s):starting sensor thread", __FUNCTION__);
1619 ALOGV("DEBUG(%s):", __FUNCTION__);
1626 ALOGE("DEBUG(%s):setFrameQueueDstOps : NULL arguments", __FUNCTION__);
1641 ALOGV("DEBUG(%s): # of dequeued req (%d) jpeg(%d) = (%d)", __FUNCTION__,
1653 ALOGV("DEBUG(%s): making template (%d) ", __FUNCTION__, request_template);
1682 ALOGD("(%s): stream width(%d) height(%d) format(%x)", __FUNCTION__, width, height, format);
1694 ALOGV("DEBUG(%s): stream 0 not exist", __FUNCTION__);
1699 ALOGV("DEBUG(%s): stream 0 exists and activated.", __FUNCTION__);
1703 ALOGV("DEBUG(%s): stream 0 exists and deactivated.", __FUNCTION__);
1716 ALOGV("DEBUG(%s): m_wideAspect (%d)", __FUNCTION__, m_wideAspect);
1755 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, AllocatedStream->m_numRegisteredStream);
1794 ALOGE("(%s): substream attach failed. res(%d)", __FUNCTION__, res);
1797 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, parentStream->m_numRegisteredStream);
1798 ALOGV("(%s): Enabling Record", __FUNCTION__);
1806 ALOGV("DEBUG(%s): stream thread 1 not exist", __FUNCTION__);
1810 ALOGV("DEBUG(%s): stream thread 1 exists and deactivated.", __FUNCTION__);
1853 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, AllocatedStream->m_numRegisteredStream);
1860 ALOGD("(%s): jpeg stream exists", __FUNCTION__);
1911 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, AllocatedStream->m_numRegisteredStream);
1924 ALOGV("DEBUG(%s): stream thread 1 not exist", __FUNCTION__);
1928 ALOGV("DEBUG(%s): stream thread 1 suspended. restarting", __FUNCTION__);
1953 ALOGE("(%s): substream attach failed. res(%d)", __FUNCTION__, res);
1956 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, parentStream->m_numRegisteredStream);
1957 ALOGV("(%s): Enabling Jpeg", __FUNCTION__);
2000 ALOGE("(%s): substream attach failed. res(%d)", __FUNCTION__, res);
2003 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, parentStream->m_numRegisteredStream);
2004 ALOGV("(%s): Enabling previewcb", __FUNCTION__);
2007 ALOGE("(%s): Unsupported Pixel Format", __FUNCTION__);
2024 ALOGD("(%s): stream_id(%d), num_buff(%d), handle(%x) ", __FUNCTION__,
2039 ALOGV("(%s): registering substream(%d) Buffers[%d] (%x) ", __FUNCTION__,
2045 ALOGE("ERR(%s): could not obtain gralloc buffer", __FUNCTION__);
2067 __FUNCTION__, plane_index, currentBuf.fd.extFd[plane_index],
2084 ALOGE("(%s): unregistered stream id (%d)", __FUNCTION__, stream_id);
2091 __FUNCTION__, num_buffers, targetStreamParms->numHwBuffers);
2096 __FUNCTION__, targetStreamParms->format, targetStreamParms->width,
2109 ALOGV("DEBUG(%s): registering Stream Buffers[%d] (%x) ", __FUNCTION__,
2124 ALOGV("DEBUG(%s): ion_size(%d), stride(%d), ", __FUNCTION__, priv_handle->size, priv_handle->stride);
2151 __FUNCTION__, plane_index, v4l2_buf.m.planes[plane_index].m.fd,
2172 __FUNCTION__, stream_id, currentNode->fd);
2175 __FUNCTION__, stream_id, currentNode->fd);
2187 ALOGV("DEBUG(%s): calling streamon stream id = %d", __FUNCTION__, stream_id);
2189 ALOGV("DEBUG(%s): calling streamon END", __FUNCTION__);
2191 ALOGV("DEBUG(%s): END registerStreamBuffers", __FUNCTION__);
2200 ALOGD("(%s): stream_id(%d)", __FUNCTION__, stream_id);
2206 ALOGW("(%s): Stream Not Exists", __FUNCTION__);
2210 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, targetStream->m_numRegisteredStream);
2217 ALOGV("(%s) ummap stream buffer[%d], plane(%d), fd %d vaddr %x", __FUNCTION__, i, j,
2230 ALOGW("(%s): Stream Not Exists", __FUNCTION__);
2235 ALOGE("(%s): substream detach failed. res(%d)", __FUNCTION__, res);
2238 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, targetStream->m_numRegisteredStream);
2245 ALOGW("(%s): Stream Not Exists", __FUNCTION__);
2250 ALOGE("(%s): substream detach failed. res(%d)", __FUNCTION__, res);
2264 ALOGW("(%s): Stream Not Exists", __FUNCTION__);
2269 ALOGE("(%s): substream detach failed. res(%d)", __FUNCTION__, res);
2278 ALOGW("(%s): Stream Not Exists", __FUNCTION__);
2283 ALOGV("(%s): m_numRegisteredStream = %d", __FUNCTION__, targetStream->m_numRegisteredStream);
2289 ALOGV("(%s) ummap stream buffer[%d], plane(%d), fd %d vaddr %x", __FUNCTION__, i, j,
2295 ALOGE("ERR:(%s): wrong stream id (%d)", __FUNCTION__, stream_id);
2301 ALOGD("(%s): START Waiting for (indirect) sensor thread termination", __FUNCTION__);
2304 ALOGD("(%s): END Waiting for (indirect) sensor thread termination", __FUNCTION__);
2308 ALOGV("(%s): deactivating stream thread 1 ", __FUNCTION__);
2321 ALOGV("(%s): deactivating stream thread 0", __FUNCTION__);
2324 ALOGD("(%s): START Waiting for (indirect) stream thread release - line(%d)", __FUNCTION__, __LINE__);
2329 ALOGD("(%s): END Waiting for (indirect) stream thread release - line(%d)", __FUNCTION__, __LINE__);
2333 ALOGD("(%s): START Waiting for (indirect) stream thread termination", __FUNCTION__);
2336 ALOGD("(%s): END Waiting for (indirect) stream thread termination", __FUNCTION__);
2344 ALOGV("(%s): END", __FUNCTION__);
2353 ALOGV("DEBUG(%s):", __FUNCTION__);
2363 ALOGD("(%s): output_stream_id(%d)", __FUNCTION__, output_stream_id);
2374 ALOGD("(%s): stream_id(%d)", __FUNCTION__, stream_id);
2387 ALOGV("DEBUG(%s): id(%x), %d, %d", __FUNCTION__, trigger_id, ext1, ext2);
2391 ALOGV("DEBUG(%s):TRIGGER_AUTOFOCUS id(%d)", __FUNCTION__, ext1);
2396 ALOGV("DEBUG(%s):CANCEL_AUTOFOCUS id(%d)", __FUNCTION__, ext1);
2400 ALOGV("DEBUG(%s):CAMERA2_TRIGGER_PRECAPTURE_METERING id(%d)", __FUNCTION__, ext1);
2411 ALOGV("DEBUG(%s): cb_addr(%x)", __FUNCTION__, (unsigned int)notify_cb);
2419 ALOGV("DEBUG(%s):", __FUNCTION__);
2425 ALOGV("DEBUG(%s):", __FUNCTION__);
2482 ALOGE("ERR(%s):unmatched colorFormat(%d)", __FUNCTION__, colorFormat);
2573 ALOGV("DEBUG(%s): ", __FUNCTION__);
2590 ALOGV("%s", __FUNCTION__);
2600 ALOGV("DEBUG(%s): returning (%d)", __FUNCTION__, ret);
2606 ALOGV("DEBUG(%s) : BayerIndex[%d] ", __FUNCTION__, index);
2610 ALOGV("DEBUG(%s) : Abnormal BayerIndex[%d] - expected[%d]", __FUNCTION__, index, sensorEnqueueHead);
2614 ALOGV("DEBUG(%s) : Abnormal status in BayerIndex[%d] = (%d) expected (%d)", __FUNCTION__,
2625 __FUNCTION__, numOnHalEmpty, numOnHalFilled, numOnSensor, numOnIsp);
2631 ALOGV("DEBUG(%s) : BayerIndex[%d] reqFrameCnt(%d)", __FUNCTION__, index, reqFrameCnt);
2634 ALOGE("DEBUG(%s) : Abnormal status in BayerIndex[%d] = (%d) expected (%d)", __FUNCTION__,
2655 ALOGV("DEBUG(%s): returning BayerIndex[%d]", __FUNCTION__, ret);
2668 ALOGV("DEBUG(%s): returning BayerIndex[%d]", __FUNCTION__, ret);
2674 ALOGV("DEBUG(%s) : BayerIndex[%d] ", __FUNCTION__, index);
2678 ALOGV("DEBUG(%s) : Abnormal BayerIndex[%d] - expected[%d]", __FUNCTION__, index, ispEnqueueHead);
2682 ALOGV("DEBUG(%s) : Abnormal status in BayerIndex[%d] = (%d) expected (%d)", __FUNCTION__,
2692 __FUNCTION__, numOnHalEmpty, numOnHalFilled, numOnSensor, numOnIsp);
2698 ALOGV("DEBUG(%s) : BayerIndex[%d]", __FUNCTION__, index);
2702 ALOGV("DEBUG(%s) : Abnormal BayerIndex[%d] - expected[%d]", __FUNCTION__, index, ispDequeueHead);
2706 ALOGV("DEBUG(%s) : Abnormal status in BayerIndex[%d] = (%d) expected (%d)", __FUNCTION__,
2717 __FUNCTION__, numOnHalEmpty, numOnHalFilled, numOnSensor, numOnIsp);
2761 ALOGV("DEBUG(%s): m_mainThreadFunc (%x)", __FUNCTION__, currentSignal);
2764 ALOGV("DEBUG(%s): processing SIGNAL_THREAD_RELEASE", __FUNCTION__);
2766 ALOGV("DEBUG(%s): processing SIGNAL_THREAD_RELEASE DONE", __FUNCTION__);
2772 ALOGV("DEBUG(%s): MainThread processing SIGNAL_MAIN_REQ_Q_NOT_EMPTY", __FUNCTION__);
2777 ALOGD("DEBUG(%s)(0x%x): No more service requests left in the queue ", __FUNCTION__, currentSignal);
2789 ALOGV("DEBUG(%s): remaining req cnt (%d)", __FUNCTION__, m_numOfRemainingReqInSvc);
2802 ALOGV("DEBUG(%s): MainThread processing SIGNAL_MAIN_STREAM_OUTPUT_DONE", __FUNCTION__);
2806 CAM_LOGE("ERR(%s): PrepareFrame ret = %d", __FUNCTION__, ret);
2812 CAM_LOGE("ERR(%s): free_request ret = %d", __FUNCTION__, ret);
2816 CAM_LOGE("ERR(%s): dequeue_frame ret = %d", __FUNCTION__, ret);
2819 ALOGV("DBG(%s): frame dequeue returned NULL",__FUNCTION__ );
2822 ALOGV("DEBUG(%s): frame dequeue done. numEntries(%d) frameSize(%d)",__FUNCTION__ , numEntries, frameSize);
2826 ALOGV("DEBUG(%s): frame metadata append success",__FUNCTION__);
2830 ALOGE("ERR(%s): frame metadata append fail (%d)",__FUNCTION__, res);
2838 ALOGV("DEBUG(%s): STREAM_OUTPUT_DONE and signalling REQ_PROCESSING",__FUNCTION__);
2842 ALOGV("DEBUG(%s): MainThread Exit", __FUNCTION__);
2881 ALOGV("(%s): [Flash] Flash ON for Capture (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2911 ALOGV("(%s): [Flash] IS_FLASH_AF_AUTO_AE_AWB_LOCK (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2923 ALOGV("(%s): [Flash] IS_FLASH_AF_AUTO DONE (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2927 ALOGV("(%s): [Flash] IS_FLASH_AF_AUTO Clear (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2932 ALOGV("(%s): [Flash] IS_FLASH_CAPTURE (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2944 ALOGV("(%s): [Flash] Flash Capture (%d)!!!!!", __FUNCTION__, (FLASH_STABLE_WAIT_TIMEOUT -m_ctlInfo.flash.m_flashTimeOut));
2950 ALOGV("(%s): [Flash] Flash Capture END (%d)", __FUNCTION__, shot_ext->shot.ctl.request.frameCount);
2961 ALOGE("(%s): [Flash] flash state error!! (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt);
2973 ALOGV("(%s): [Flash] Lis : AUTO -> OFF (%d)", __FUNCTION__, shot_ext->shot.dm.flash.flashMode);
2975 ALOGV("(%s): [Flash] Waiting : AUTO -> OFF", __FUNCTION__);
2980 ALOGV("(%s): [Flash] Skip : AUTO -> OFF", __FUNCTION__);
2993 ALOGV("(%s): [Flash] IS_FLASH_ON, decision - %d", __FUNCTION__, shot_ext->shot.dm.flash.decision);
3001 ALOGV("(%s): [Flash] Timeout IS_FLASH_ON, decision is false setting", __FUNCTION__);
3011 ALOGV("(%s): [Flash] FLASH_AUTO_AE_AWB_LOCK_WAIT - %d", __FUNCTION__, shot_ext->shot.dm.aa.awbMode);
3014 ALOGV("(%s): [Flash] Waiting : AA_AWBMODE_LOCKED", __FUNCTION__);
3023 ALOGE("(%s): [Flash] Wait firingStable time-out!!", __FUNCTION__);
3026 ALOGV("(%s): [Flash] Wait firingStable - %d", __FUNCTION__, m_ctlInfo.flash.m_flashTimeOut);
3071 ALOGD("(%s): restarting trigger ", __FUNCTION__);
3074 ALOGD("(%s): wrong trigger state %d", __FUNCTION__, m_afState);
3095 ALOGV("DEBUG(%s): m_sensorThreadFunc (%x)", __FUNCTION__, currentSignal);
3098 CAM_LOGD("(%s): ENTER processing SIGNAL_THREAD_RELEASE", __FUNCTION__);
3100 ALOGV("(%s): calling sensor streamoff", __FUNCTION__);
3102 ALOGV("(%s): calling sensor streamoff done", __FUNCTION__);
3105 ALOGV("DEBUG(%s): sensor calling reqbuf 0 ", __FUNCTION__);
3107 ALOGV("DEBUG(%s): sensor calling reqbuf 0 done", __FUNCTION__);
3110 ALOGV("(%s): calling ISP streamoff", __FUNCTION__);
3112 ALOGV("(%s): calling ISP streamoff done", __FUNCTION__);
3115 ALOGV("DEBUG(%s): isp calling reqbuf 0 ", __FUNCTION__);
3117 ALOGV("DEBUG(%s): isp calling reqbuf 0 done", __FUNCTION__);
3123 ALOGV("(%s): EXIT processing SIGNAL_THREAD_RELEASE", __FUNCTION__);
3130 ALOGV("DEBUG(%s): SensorThread processing SIGNAL_SENSOR_START_REQ_PROCESSING", __FUNCTION__);
3168 ALOGV("(%s): Scene mode changed (%d)", __FUNCTION__, shot_ext->shot.ctl.aa.sceneMode);
3364 ALOGD("(%s): [Flash] Flash capture start : skip request scc 1#####", __FUNCTION__);
3371 ALOGE("(%s): [Flash] Flash capture Error- wrong state !!!!!! (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt);
3396 ALOGV("(%s): Sending signal for Reprocess request", __FUNCTION__);
3413 ALOGV("(%s): queued aa(%d) aemode(%d) awb(%d) afmode(%d) trigger(%d)", __FUNCTION__,
3435 CAM_LOGE("ERR(%s): dm.request.frameCount = %d", __FUNCTION__, shot_ext->shot.dm.request.frameCount);
3456 ALOGV("(%s): DM aa(%d) aemode(%d) awb(%d) afmode(%d)", __FUNCTION__,
3500 __FUNCTION__, current_scc, shot_ext->request_scc);
3516 __FUNCTION__, current_scp, shot_ext->request_scp);
3524 ALOGV("(%s): SCP_CLOSING check sensor(%d) scc(%d) scp(%d) ", __FUNCTION__,
3527 ALOGV("(%s): SCP_CLOSING check OK ", __FUNCTION__);
3584 ALOGD("(%s): SCP_CLOSING(%d) SCP_CLOSED(%d)", __FUNCTION__, m_scp_closing, m_scp_closed);
3621 ALOGE("ERR(%s): Init: unable to dequeue buffer : %d",__FUNCTION__ , res);
3624 ALOGV("DEBUG(%s): got buf(%x) version(%d), numFds(%d), numInts(%d)", __FUNCTION__, (uint32_t)(*buf),
3629 ALOGE("ERR(%s): could not find buffer index", __FUNCTION__);
3633 __FUNCTION__, index, selfStreamParms->svcBufStatus[index]);
3640 , __FUNCTION__, selfStreamParms->svcBufStatus[index]);
3655 __FUNCTION__, selfThread->m_attachedSubStreams[i].streamId, subParms->numSvcBuffers);
3661 ALOGE("ERR(%s): Init: unable to dequeue buffer : %d",__FUNCTION__ , res);
3665 ALOGV("DEBUG(%s): [subStream] got buf(%x) bufInHal(%d) version(%d), numFds(%d), numInts(%d)", __FUNCTION__, (uint32_t)(*buf),
3671 ALOGE("ERR(%s): could not obtain gralloc buffer", __FUNCTION__);
3675 __FUNCTION__, (unsigned int)virtAddr[0], (unsigned int)virtAddr[1], (unsigned int)virtAddr[2]);
3684 __FUNCTION__, found, checkingIndex);
3690 ALOGV("ERR(%s): could not find buffer index", __FUNCTION__);
3694 __FUNCTION__, index, subParms->svcBufStatus[index]);
3699 , __FUNCTION__, subParms->svcBufStatus[index]);
3702 ALOGV("DBG(%s): different buf_handle index ", __FUNCTION__);
3704 ALOGV("DEBUG(%s): same buf_handle index", __FUNCTION__);
3714 ALOGE("ERR(%s): Failed to allocate resize buf", __FUNCTION__);
3722 ALOGE("ERR(%s): Failed to allocate prvcb buf", __FUNCTION__);
3733 ALOGV("DEBUG(%s): ", __FUNCTION__ );
3773 CAM_LOGD("(%s): [%d] START SIGNAL_THREAD_RELEASE", __FUNCTION__, selfThread->m_index);
3777 ALOGV("(%s): [%d] calling streamoff (fd:%d)", __FUNCTION__,
3780 ALOGE("ERR(%s): stream off fail", __FUNCTION__);
3782 ALOGV("(%s): [%d] streamoff done and calling reqbuf 0 (fd:%d)", __FUNCTION__,
3786 ALOGV("(%s): [%d] reqbuf 0 DONE (fd:%d)", __FUNCTION__,
3802 ALOGV("(%s): [%d] END SIGNAL_THREAD_RELEASE", __FUNCTION__, selfThread->m_index);
3810 __FUNCTION__, selfThread->m_index);
3813 ALOGE("ERR(%s): [reprocess] unable to acquire_buffer : %d",__FUNCTION__ , res);
3825 __FUNCTION__, (unsigned int)buf, found, checkingIndex);
3846 ALOGE("ERR(%s): [reprocess] unable to release_buffer : %d",__FUNCTION__ , res);
3850 __FUNCTION__,selfThread->m_index);
3867 ALOGV("(%s): streamthread[%d] START SIGNAL_STREAM_DATA_COMING", __FUNCTION__,selfThread->m_index);
3872 ALOGV("DEBUG(%s): streamthread[%d] type(%d) DQBUF START ",__FUNCTION__,
3893 ALOGV("DEBUG(%s): streamthread[%d] DQBUF done index(%d) sigcnt(%d)",__FUNCTION__,
3898 __FUNCTION__, selfStreamParms->svcBufStatus[selfStreamParms->bufIndex]);
3934 ALOGV("DEBUG(%s): streamthread[%d] cancel_buffer to svc done res(%d)", __FUNCTION__, selfThread->m_index, res);
3950 ALOGV("DEBUG(%s): streamthread[%d] enqueue_buffer to svc done res(%d)", __FUNCTION__, selfThread->m_index, res);
3955 ALOGV("DEBUG(%s): streamthread[%d] cancel_buffer to svc done res(%d)", __FUNCTION__, selfThread->m_index, res);
3978 ALOGV("DEBUG(%s): streamthread[%d] dequeue_buffer fail res(%d) numInHal(%d)",__FUNCTION__ , selfThread->m_index, res, selfStreamParms->numSvcBufsInHal);
3982 ALOGV("DEBUG(%s): streamthread[%d] got buf(%x) numInHal(%d) version(%d), numFds(%d), numInts(%d)", __FUNCTION__,
4023 __FUNCTION__, selfThread->m_index);
4028 __FUNCTION__, selfThread->m_index, selfStreamParms->bufIndex);
4032 ALOGV("(%s): streamthread[%d] END SIGNAL_STREAM_DATA_COMING", __FUNCTION__,selfThread->m_index);
4046 CAM_LOGV("(%s): [%d] START SIGNAL_THREAD_RELEASE", __FUNCTION__, selfThread->m_index);
4051 ALOGV("DEBUG(%s): calling streamthread[%d] streamoff (fd:%d)", __FUNCTION__,
4054 ALOGE("ERR(%s): stream off fail", __FUNCTION__);
4060 ALOGV("DEBUG(%s): calling streamthread[%d] streamoff (fd:%d)", __FUNCTION__,
4063 ALOGE("ERR(%s): stream off fail", __FUNCTION__);
4066 ALOGV("DEBUG(%s): calling streamthread[%d] streamoff done", __FUNCTION__, selfThread->m_index);
4067 ALOGV("DEBUG(%s): calling streamthread[%d] reqbuf 0 (fd:%d)", __FUNCTION__,
4071 ALOGV("DEBUG(%s): calling streamthread[%d] reqbuf 0 DONE(fd:%d)", __FUNCTION__,
4078 ALOGV("(%s): [%d] END SIGNAL_THREAD_RELEASE", __FUNCTION__, selfThread->m_index);
4090 __FUNCTION__,selfThread->m_index);
4094 ALOGV("DEBUG(%s): streamthread[%d] DQBUF START", __FUNCTION__, selfThread->m_index);
4096 ALOGV("DEBUG(%s): streamthread[%d] DQBUF done index(%d)",__FUNCTION__,
4125 ALOGV("DEBUG(%s): streamthread[%d] QBUF DONE", __FUNCTION__, selfThread->m_index);
4130 __FUNCTION__, selfThread->m_index);
4144 ALOGV("DEBUG(%s): m_streamThreadFunc[%d] (%x)", __FUNCTION__, selfThread->m_index, currentSignal);
4173 ALOGV("DEBUG(%s): index(%d)",__FUNCTION__, subParms->svcBufIndex);
4184 ALOGE("(%s): cannot find free svc buffer", __FUNCTION__);
4204 __FUNCTION__, selfStreamParms->width, selfStreamParms->height,
4233 __FUNCTION__, cropX, cropY, cropW, cropH);
4248 __FUNCTION__, i, srcImageBuf->fd.extFd[i]);
4256 __FUNCTION__, i, m_resizeBuf.fd.extFd[i], i, m_resizeBuf.size.extS[i]);
4259 ALOGE("ERR(%s): csc_convert() fail", __FUNCTION__);
4263 ALOGE("ERR(%s): m_exynosPictureCSC == NULL", __FUNCTION__);
4274 ALOGV("(%s): m_resizeBuf.size.extS[%d] = %d", __FUNCTION__, i, m_resizeBuf.size.extS[i]);
4283 __FUNCTION__, j, subParms->svcBuffers[subParms->svcBufIndex].fd.extFd[j],
4289 ALOGE("ERR(%s):yuv2Jpeg() fail", __FUNCTION__);
4294 ALOGD("(%s): (%d x %d) jpegbuf size(%d) encoded size(%d)", __FUNCTION__,
4308 __FUNCTION__, selfThread->m_index, subParms->svcBufIndex, res);
4322 ALOGV("DEBUG(%s): jpeg currentBuf#(%d)", __FUNCTION__ , subParms->numSvcBufsInHal);
4326 ALOGV("DEBUG(%s): jpeg stream(%d) dequeue_buffer fail res(%d)",__FUNCTION__ , selfThread->m_index, res);
4331 ALOGV("DEBUG(%s): jpeg got buf(%x) numBufInHal(%d) version(%d), numFds(%d), numInts(%d)", __FUNCTION__, (uint32_t)(*buf),
4341 ALOGV("DEBUG(%s): jpeg dequeueed_buffer found index(%d)", __FUNCTION__, found);
4352 ALOGV("DEBUG(%s): jpeg bufstatus abnormal [%d] status = %d", __FUNCTION__,
4373 ALOGV("DEBUG(%s): index(%d)",__FUNCTION__, subParms->svcBufIndex);
4384 ALOGE("(%s): cannot find free svc buffer", __FUNCTION__);
4400 __FUNCTION__, cropX, cropY, cropW, cropH);
4421 ALOGE("ERR(%s):csc_convert() fail", __FUNCTION__);
4424 ALOGV("(%s):csc_convert() SUCCESS", __FUNCTION__);
4428 ALOGE("ERR(%s):m_exynosVideoCSC == NULL", __FUNCTION__);
4434 __FUNCTION__, selfThread->m_index, subParms->svcBufIndex, res);
4448 ALOGV("DEBUG(%s): record currentBuf#(%d)", __FUNCTION__ , subParms->numSvcBufsInHal);
4452 ALOGV("DEBUG(%s): record stream(%d) dequeue_buffer fail res(%d)",__FUNCTION__ , selfThread->m_index, res);
4457 ALOGV("DEBUG(%s): record got buf(%x) numBufInHal(%d) version(%d), numFds(%d), numInts(%d)", __FUNCTION__, (uint32_t)(*buf),
4466 ALOGV("DEBUG(%s): record dequeueed_buffer found(%d) index = %d", __FUNCTION__, found, checkingIndex);
4477 ALOGV("DEBUG(%s): record bufstatus abnormal [%d] status = %d", __FUNCTION__,
4493 ALOGV("DEBUG(%s): index(%d)",__FUNCTION__, subParms->svcBufIndex);
4504 ALOGE("(%s): cannot find free svc buffer", __FUNCTION__);
4521 __FUNCTION__, cropX, cropY, cropW, cropH);
4541 ALOGE("ERR(%s):previewcb csc_convert() fail", __FUNCTION__);
4544 ALOGV("(%s):previewcb csc_convert() SUCCESS", __FUNCTION__);
4557 ALOGE("ERR(%s):m_exynosVideoCSC == NULL", __FUNCTION__);
4599 __FUNCTION__, selfThread->m_index, subParms->svcBufIndex, res);
4613 ALOGV("DEBUG(%s): prvcb currentBuf#(%d)", __FUNCTION__ , subParms->numSvcBufsInHal);
4617 ALOGV("DEBUG(%s): prvcb stream(%d) dequeue_buffer fail res(%d)",__FUNCTION__ , selfThread->m_index, res);
4622 ALOGV("DEBUG(%s): prvcb got buf(%x) numBufInHal(%d) version(%d), numFds(%d), numInts(%d)", __FUNCTION__, (uint32_t)(*buf),
4632 ALOGV("DEBUG(%s): prvcb dequeueed_buffer found(%d) index = %d", __FUNCTION__, found, checkingIndex);
4643 ALOGV("DEBUG(%s): prvcb bufstatus abnormal [%d] status = %d", __FUNCTION__,
4688 ALOGE("ERR(%s):jpegEnc.create() fail", __FUNCTION__);
4693 ALOGE("ERR(%s):jpegEnc.setQuality() fail", __FUNCTION__);
4698 ALOGE("ERR(%s):jpegEnc.setSize() fail", __FUNCTION__);
4701 ALOGV("%s : width = %d , height = %d\n", __FUNCTION__, rect->w, rect->h);
4704 ALOGE("ERR(%s):jpegEnc.setColorFormat() fail", __FUNCTION__);
4709 ALOGE("ERR(%s):jpegEnc.setJpegFormat() fail", __FUNCTION__);
4723 ALOGV("(%s) m_thumbNailW = %d, m_thumbNailH = %d", __FUNCTION__, m_thumbNailW, m_thumbNailH);
4730 ALOGE("ERR(%s):jpegEnc.setThumbnailSize(%d, %d) fail", __FUNCTION__, m_thumbNailH, m_thumbNailH);
4734 ALOGV("(%s):jpegEnc.setThumbnailSize(%d, %d) ", __FUNCTION__, m_thumbNailW, m_thumbNailW);
4736 ALOGE("ERR(%s):jpegEnc.setThumbnailQuality fail", __FUNCTION__);
4741 ALOGV("DEBUG(%s):calling jpegEnc.setInBuf() yuvSize(%d)", __FUNCTION__, *yuvSize);
4743 ALOGE("ERR(%s):jpegEnc.setInBuf() fail", __FUNCTION__);
4747 ALOGE("ERR(%s):jpegEnc.setOutBuf() fail", __FUNCTION__);
4752 ALOGE("ERR(%s):jpegEnc.updateConfig() fail", __FUNCTION__);
4757 ALOGE("ERR(%s):jpegEnc.encode() fail ret(%d)", __FUNCTION__, res);
4862 ALOGV("(%s): State (%d) -> (%d)", __FUNCTION__, m_afState, nextState);
4903 ALOGE("(%s): [CAF] LAST : fail", __FUNCTION__);
4908 ALOGV("(%s): [CAF] LAST : success", __FUNCTION__);
4923 ALOGV("(%s): State (%d) -> (%d)", __FUNCTION__, m_afState, nextState);
4968 ALOGV("(%s): State (%d) -> (%d)", __FUNCTION__, m_afState, nextState);
4981 ALOGV("(%s) ANDROID_CONTROL_AE_STATE_PRECAPTURE (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt);
5003 ALOGV("(%s) ANDROID_CONTROL_AE_STATE_CONVERGED (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt);
5012 ALOGV("(%s) ANDROID_CONTROL_AE_STATE_PRECAPTURE (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt);
5023 ALOGV("(%s) INVALID flash state count. (%d)", __FUNCTION__, (int)m_ctlInfo.flash.m_flashCnt);
5040 ALOGV("(%s) ANDROID_CONTROL_AE_STATE_CONVERGED (%d)", __FUNCTION__, m_ctlInfo.flash.m_flashCnt);
5191 ALOGV("(%s): Wrong Transition state(%d) noti(%d)", __FUNCTION__, m_afState, noti);
5194 ALOGV("(%s): State (%d) -> (%d) by (%d)", __FUNCTION__, m_afState, nextState, noti);
5217 ALOGE("(%s) AF notification error - try to re-trigger mode (%)", __FUNCTION__, m_afMode);
5403 ALOGV("(%s): Wrong Transition state(%d) noti(%d)", __FUNCTION__, m_afState, noti);
5406 ALOGV("(%s): State (%d) -> (%d) by (%d)", __FUNCTION__, m_afState, nextState, noti);
5546 ALOGV("(%s): Wrong Transition state(%d) noti(%d)", __FUNCTION__, m_afState, noti);
5549 ALOGV("(%s): State (%d) -> (%d) by (%d)", __FUNCTION__, m_afState, nextState, noti);
5600 ALOGV("(%s): State (%d) -> (%d)", __FUNCTION__, m_afState, nextState);
5628 ALOGV("(%s): State (%d) -> (%d)", __FUNCTION__, m_afState, nextState);
5656 ALOGV("(%s): State (%d) -> (%d)", __FUNCTION__, m_afState, nextState);
5678 ALOGV("(%s): pending(%d) and new(%d)", __FUNCTION__, m_afMode, afMode);
5681 ALOGV("(%s): current(%d) new(%d)", __FUNCTION__, m_afMode, afMode);
5759 ALOGV("(%s): framecnt(%d) exp(%lld) iso(%d)", __FUNCTION__, ctl->request.frameCount, dm->sensor.exposureTime,dm->aa.isoValue );
5949 ALOGV("(%s):", __FUNCTION__);
5960 ALOGV("(%s):", __FUNCTION__);
5971 ALOGV("(%s):", __FUNCTION__);
5976 ALOGV("DEBUG(%s):", __FUNCTION__);
6008 ALOGV("(%s): substream_id(%d)", __FUNCTION__, stream_id);
6030 ALOGV("(%s): substream_id(%d)", __FUNCTION__, stream_id);
6053 ALOGE("[%s]src ion client create failed, value = %d\n", __FUNCTION__, ionClient);
6083 ALOGE("[%s] ionClient is zero (%d)\n", __FUNCTION__, ionClient);
6098 ALOGE("[%s]ion_alloc(%d) failed\n", __FUNCTION__, buf->size.extS[i]);
6107 ALOGE("[%s]src ion map failed(%d)\n", __FUNCTION__, buf->size.extS[i]);
6129 ALOGE("ERR(%s)", __FUNCTION__);
6161 ALOGD("(%s): ENTER", __FUNCTION__);
6173 ALOGD("(%s): EXIT", __FUNCTION__);
6185 ALOGV("DEBUG(%s):", __FUNCTION__);
6191 ALOGV("DEBUG(%s):", __FUNCTION__);
6198 ALOGV("DEBUG(%s):", __FUNCTION__);
6204 ALOGV("DEBUG(%s):", __FUNCTION__);
6210 ALOGV("DEBUG(%s):", __FUNCTION__);
6217 __FUNCTION__);
6234 ALOGV("(%s): ", __FUNCTION__);
6244 ALOGV("DEBUG(%s):", __FUNCTION__);
6252 ALOGV("DEBUG(%s)(id: %d):", __FUNCTION__, stream_id);
6269 ALOGV("DEBUG(%s):", __FUNCTION__);
6281 ALOGV("DEBUG(%s):", __FUNCTION__);
6290 ALOGV("DEBUG(%s):", __FUNCTION__);
6299 ALOGV("DEBUG(%s):", __FUNCTION__);
6309 ALOGV("DEBUG(%s):", __FUNCTION__);
6316 ALOGV("DEBUG(%s):", __FUNCTION__);
6322 ALOGV("DEBUG(%s):", __FUNCTION__);
6332 ALOGV("(%s): returning 2", __FUNCTION__);
6339 ALOGV("DEBUG(%s): cameraID: %d", __FUNCTION__, cameraId);
6363 __FUNCTION__, strerror(-res), res);
6369 __FUNCTION__, strerror(-res), res);
6410 ALOGE("ERR(%s): Can't open, other camera is in use", __FUNCTION__);
6416 ALOGE("ERR(%s):Invalid camera ID %s", __FUNCTION__, id);
6423 ALOGD("DEBUG(%s):returning existing camera ID %s", __FUNCTION__, id);
6426 ALOGD("(%s): START waiting for cam device free", __FUNCTION__);
6429 ALOGD("(%s): END waiting for cam device free", __FUNCTION__);
6446 ALOGV("DEBUG(%s):open camera2 %s", __FUNCTION__, id);
6450 ALOGE("DEBUG(%s): ExynosCameraHWInterface2 creation failed", __FUNCTION__);
6455 ALOGV("DEBUG(%s):opened camera2 %s (%p)", __FUNCTION__, id, *device);