Lines Matching refs:m_parent

72     : m_parent(cam_ctrl),  in QCameraPostProcessor()
197 m_parent->mParameters.setReprocCount(); in init()
215 if ((m_parent->isDualCamera() && m_halPPType == QCAMERA_HAL_PP_TYPE_DUAL_FOV) || in init()
216 (m_parent->isDualCamera() && m_halPPType == QCAMERA_HAL_PP_TYPE_BOKEH) || in init()
217 (m_parent->isDualCamera() && m_halPPType == QCAMERA_HAL_PP_TYPE_CLEARSIGHT)) { in init()
288 if ( m_parent->needReprocess() ) { in start()
301 if (!m_parent->isLongshotEnabled()) { in start()
302 m_parent->mParameters.setReprocCount(); in start()
305 if (m_parent->mParameters.getManualCaptureMode() >= in start()
307 mPPChannelCount = m_parent->mParameters.getReprocCount() - 1; in start()
309 mPPChannelCount = m_parent->mParameters.getReprocCount(); in start()
314 mPPChannels[i] = m_parent->addReprocChannel(pInputChannel, i); in start()
330 if (m_halPP != NULL && m_parent->needHALPP()) { in start()
341 m_parent->m_cbNotifier.startSnapshots(); in start()
362 m_parent->m_cbNotifier.stopSnapshots(); in stop()
392 if (m_halPP != NULL && m_parent->needHALPP()) { in stop()
430 pChannel = m_parent->needReprocess() ? mPPChannels[ppChannel_idx] : in createJpegSession()
434 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in createJpegSession()
435 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in createJpegSession()
436 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in createJpegSession()
437 !m_parent->mParameters.generateThumbFromMain()); in createJpegSession()
548 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in getJpegEncodingConfig()
561 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
562 encode_parm.rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
584 m_parent->getThumbnailSize(thumbnailSize); in getJpegEncodingConfig()
597 uint32_t val = m_parent->getJpegQuality(); in getJpegEncodingConfig()
661 m_parent->getThumbnailSize(encode_parm.thumb_dim.dst_dim); in getJpegEncodingConfig()
666 if (((90 == m_parent->mParameters.getJpegRotation()) in getJpegEncodingConfig()
667 || (270 == m_parent->mParameters.getJpegRotation())) in getJpegEncodingConfig()
668 && (m_parent->needRotationReprocess())) { in getJpegEncodingConfig()
712 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
713 encode_parm.thumb_rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
717 !m_parent->mParameters.generateThumbFromMain() && in getJpegEncodingConfig()
719 (m_parent->mParameters.useJpegExifRotation() || in getJpegEncodingConfig()
720 m_parent->mParameters.getJpegRotation() == 0); in getJpegEncodingConfig()
723 m_parent->mParameters.useJpegExifRotation()){ in getJpegEncodingConfig()
725 m_parent->mParameters.getJpegExifRotation(); in getJpegEncodingConfig()
863 return m_parent->sendEvtNotify(msg_type, ext1, ext2); in sendEvtNotify()
915 int rc = m_parent->m_cbNotifier.notifyCallback(cbArg); in sendDataNotify()
947 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess()
1006 pChannel = m_parent->getChannelByHandle(src_frame->ch_id); in getOfflinePPInputBuffer()
1081 m_parent->updateMetadata((metadata_buffer_t *)meta_frame->buffer); in processData()
1084 if (m_parent->needReprocess()) { in processData()
1085 if ((!m_parent->isLongshotEnabled() && in processData()
1086 !m_parent->m_stateMachine.isNonZSLCaptureRunning()) || in processData()
1087 (m_parent->isLongshotEnabled() && in processData()
1088 m_parent->isCaptureShutterEnabled())) { in processData()
1090 m_parent->playShutter(); in processData()
1111 && (m_parent->isRegularCapture())) { in processData()
1149 if (m_parent->mParameters.isAdvCamFeaturesEnabled() in processData()
1153 } else if (m_parent->mParameters.isNV16PictureFormat() || in processData()
1154 m_parent->mParameters.isNV21PictureFormat()) { in processData()
1156 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processData()
1162 if(!m_parent->m_stateMachine.isNonZSLCaptureRunning() && in processData()
1163 !m_parent->mLongshotEnabled) in processData()
1164 m_parent->playShutter(); in processData()
1255 if (mUseSaveProc && m_parent->isLongshotEnabled()) { in processJpegEvt()
1286 if ((false == m_parent->m_bIntJpegEvtPending) && in processJpegEvt()
1287 (m_parent->mDataCb == NULL || in processJpegEvt()
1288 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) == 0 )) { in processJpegEvt()
1312 m_parent->dumpJpegToFile(jpegData, in processJpegEvt()
1316 if(true == m_parent->m_bIntJpegEvtPending) { in processJpegEvt()
1318 pthread_mutex_lock(&m_parent->m_int_lock); in processJpegEvt()
1319 pthread_cond_signal(&m_parent->m_int_cond); in processJpegEvt()
1320 pthread_mutex_unlock(&m_parent->m_int_lock); in processJpegEvt()
1326 jpeg_mem = m_parent->mGetMemory(-1, evt->out_data.buf_filled_len, in processJpegEvt()
1327 1, m_parent->mCallbackCookie); in processJpegEvt()
1346 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1363 if (m_parent->mParameters.isUbiRefocus() && in processJpegEvt()
1364 (m_parent->getOutputImageCount() + 1 == in processJpegEvt()
1365 m_parent->mParameters.getRefocusOutputCount())) { in processJpegEvt()
1366 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1396 m_parent->m_perfLockMgr.releasePerfLock(PERF_LOCK_TAKE_SNAPSHOT); in processJpegEvt()
1420 bool needSuperBufMatch = m_parent->mParameters.generateThumbFromMain(); in processPPData()
1426 bool needHalPP = m_parent->needHALPP(); in processPPData()
1441 if (!needSuperBufMatch && (m_parent->mParameters.isNV16PictureFormat() || in processPPData()
1442 m_parent->mParameters.isNV21PictureFormat())) { in processPPData()
1446 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processPPData()
1455 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in processPPData()
1481 if (pReprocFrame != NULL && m_parent->mParameters.isFaceDetectionEnabled()) { in processPPData()
1482 m_parent->TsMakeupProcess_Snapshot(pReprocFrame,pSnapshotStream); in processPPData()
1485 m_parent->mParameters.isFaceDetectionEnabled()); in processPPData()
1489 if ((m_parent->isLongshotEnabled() in processPPData()
1490 && (!(m_parent->mParameters.getQuadraCfa())|| (mCurReprocCount == 2))) in processPPData()
1491 && (!m_parent->isCaptureShutterEnabled()) in processPPData()
1492 && (!m_parent->mCACDoneReceived)) { in processPPData()
1495 m_parent->playShutter(); in processPPData()
1497 m_parent->mCACDoneReceived = FALSE; in processPPData()
1509 m_parent->mParameters.getReprocCount()); in processPPData()
1510 if (mCurReprocCount < m_parent->mParameters.getReprocCount()) { in processPPData()
1563 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in processPPData()
1564 size_t meta_idx = m_parent->mParameters.getExifBufIndex(m_PPindex); in processPPData()
1597 if (m_parent->mParameters.getQuadraCfa()) { in processPPData()
1601 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in processPPData()
1635 m_parent->dumpMetadataToFile(pOfflineMetadataStream,pOfflineMetaFrame, in processPPData()
1856 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1895 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
2151 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in queryStreams()
2170 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in queryStreams()
2171 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in queryStreams()
2172 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in queryStreams()
2173 !m_parent->mParameters.generateThumbFromMain()); in queryStreams()
2205 pSrcReprocChannel = m_parent->getChannelByHandle(reproc_frame->ch_id); in queryStreams()
2329 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData()
2374 m_parent->dumpFrameToFile(main_stream, main_frame, in encodeData()
2379 if (NULL != m_parent->mDataCb && in encodeData()
2380 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in encodeData()
2389 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
2391 if (NULL != m_parent->mNotifyCb && in encodeData()
2392 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in encodeData()
2399 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
2434 m_parent->dumpFrameToFile(main_stream, main_frame, in encodeData()
2532 && !m_parent->isLowPowerMode()) { in encodeData()
2552 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in encodeData()
2554 m_parent->mParameters.isUbiFocusEnabled() || in encodeData()
2555 m_parent->mParameters.isUbiRefocus() || in encodeData()
2556 m_parent->mParameters.isChromaFlashEnabled() || in encodeData()
2557 m_parent->mParameters.isOptiZoomEnabled() || in encodeData()
2558 m_parent->mParameters.isStillMoreEnabled(); in encodeData()
2584 m_parent->mParameters.isUbiRefocus()) { in encodeData()
2591 camera_memory_t *dataMem = m_parent->mGetMemory(-1, resultSize, in encodeData()
2592 1, m_parent->mCallbackCookie); in encodeData()
2603 } else if ((reproc_stream != NULL) && (m_parent->mParameters.isTruePortraitEnabled())) { in encodeData()
2637 m_parent->getCamHalCapabilities()->q3a_version; in encodeData()
2640 QCameraExif *pJpegExifObj = m_parent->getExifData(); in encodeData()
2657 uint32_t jpeg_rotation = m_parent->mParameters.getJpegRotation(); in encodeData()
2658 if (!m_parent->needRotationReprocess()) { in encodeData()
2665 m_parent->getThumbnailSize(jpg_job.encode_job.thumb_dim.dst_dim); in encodeData()
2673 if (m_parent->needRotationReprocess() && in encodeData()
2724 m_parent->dumpFrameToFile(thumb_stream, thumb_frame, QCAMERA_DUMP_FRM_THUMBNAIL); in encodeData()
2733 m_parent->mExifParams.sensor_params.sens_type = m_parent->getSensorType(); in encodeData()
2734 jpg_job.encode_job.cam_exif_params = m_parent->mExifParams; in encodeData()
2742 jpg_job.encode_job.mobicat_mask = m_parent->mParameters.getMobicatMask(); in encodeData()
2747 if (m_parent->mExifParams.debug_params) { in encodeData()
2749 m_parent->mExifParams.debug_params, (sizeof(mm_jpeg_debug_exif_params_t))); in encodeData()
2820 m_parent->getRelatedCamSyncInfo(); in encodeData()
2822 m_parent->getMpoComposition()) { in encodeData()
2875 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in processRawImageImpl()
2916 bool zslChannelUsed = m_parent->isZSLMode() && in processRawImageImpl()
2924 raw_mem = m_parent->mGetMemory(-1, in processRawImageImpl()
2927 m_parent->mCallbackCookie); in processRawImageImpl()
2941 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_INPUT_JPEG); in processRawImageImpl()
2944 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_RAW); in processRawImageImpl()
2946 if(true == m_parent->m_bIntRawEvtPending) { in processRawImageImpl()
2950 pthread_mutex_lock(&m_parent->m_int_lock); in processRawImageImpl()
2951 pthread_cond_signal(&m_parent->m_int_cond); in processRawImageImpl()
2952 pthread_mutex_unlock(&m_parent->m_int_lock); in processRawImageImpl()
2959 if (NULL != m_parent->mDataCb && in processRawImageImpl()
2960 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in processRawImageImpl()
2968 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2970 if (NULL != m_parent->mNotifyCb && in processRawImageImpl()
2971 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in processRawImageImpl()
2979 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2982 if ((m_parent->mDataCb != NULL) && in processRawImageImpl()
2983 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) > 0) { in processRawImageImpl()
3103 camera_memory_t* jpeg_mem = pme->m_parent->mGetMemory(-1, in dataSaveRoutine()
3106 pme->m_parent->mCallbackCookie); in dataSaveRoutine()
3273 if ((!pme->m_parent->isDualCamera()) || in dataProcessRoutine()
3281 if (pme->m_parent->mParameters.isAdvCamFeaturesEnabled()) { in dataProcessRoutine()
3322 pme->m_parent->playShutter(); in dataProcessRoutine()
3412 if ((m_parent->mParameters.getManualCaptureMode() >= in doReprocess()
3469 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in doReprocess()
3479 if ((m_parent->needOfflineReprocessing()) || (ppreq_job->offline_buffer)) { in doReprocess()
3484 meta_buf, m_parent->mParameters); in doReprocess()
3510 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
3514 m_parent->mParameters.getNumberOutBufsForSingleShot() - in doReprocess()
3515 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
3537 m_parent->mParameters, pMetaStream, meta_buf_index); in doReprocess()
3590 if (m_parent->isRegularCapture()) { in stopCapture()
3591 rc = m_parent->processAPI( in stopCapture()
3637 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in setYUVFrameInfo()
3670 fmt_string = m_parent->mParameters.getFrameFmtString(frame_fmt); in setYUVFrameInfo()
3709 camera_memory_t *cam_mem = procInst->m_parent->mGetMemory(out_buf->fd, out_buf->size, 1U, in getJpegMemory()
3710 procInst->m_parent->mCallbackCookie); in getJpegMemory()
4207 QCameraChannel *pChannel = m_parent->getChannelByHandle(channelHandle); in getChannelByHandle()
4237 staticParam = (void*)m_parent->getCamHalCapabilities(); in initHALPP()