Lines Matching refs:m_parent
71 : m_parent(cam_ctrl), in QCameraPostProcessor()
183 m_parent->mParameters.setReprocCount(); in init()
247 if ( m_parent->needReprocess() ) { in start()
260 if (!m_parent->isLongshotEnabled()) { in start()
261 m_parent->mParameters.setReprocCount(); in start()
264 if (m_parent->mParameters.getManualCaptureMode() >= in start()
266 mPPChannelCount = m_parent->mParameters.getReprocCount() - 1; in start()
268 mPPChannelCount = m_parent->mParameters.getReprocCount(); in start()
273 mPPChannels[i] = m_parent->addReprocChannel(pInputChannel, i); in start()
295 m_parent->m_cbNotifier.startSnapshots(); in start()
316 m_parent->m_cbNotifier.stopSnapshots(); in stop()
377 pChannel = m_parent->needReprocess() ? mPPChannels[ppChannel_idx] : in createJpegSession()
381 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in createJpegSession()
382 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in createJpegSession()
383 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in createJpegSession()
384 !m_parent->mParameters.generateThumbFromMain()); in createJpegSession()
491 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in getJpegEncodingConfig()
504 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
505 encode_parm.rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
527 m_parent->getThumbnailSize(thumbnailSize); in getJpegEncodingConfig()
540 uint32_t val = m_parent->getJpegQuality(); in getJpegEncodingConfig()
579 m_parent->getThumbnailSize(encode_parm.thumb_dim.dst_dim); in getJpegEncodingConfig()
584 if (((90 == m_parent->mParameters.getJpegRotation()) in getJpegEncodingConfig()
585 || (270 == m_parent->mParameters.getJpegRotation())) in getJpegEncodingConfig()
586 && (m_parent->needRotationReprocess())) { in getJpegEncodingConfig()
627 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
628 encode_parm.thumb_rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
632 !m_parent->mParameters.generateThumbFromMain() && in getJpegEncodingConfig()
634 (m_parent->mParameters.useJpegExifRotation() || in getJpegEncodingConfig()
635 m_parent->mParameters.getJpegRotation() == 0); in getJpegEncodingConfig()
647 if (m_parent->mParameters.useJpegExifRotation()){ in getJpegEncodingConfig()
648 encode_parm.thumb_rotation = m_parent->mParameters.getJpegExifRotation(); in getJpegEncodingConfig()
719 return m_parent->sendEvtNotify(msg_type, ext1, ext2); in sendEvtNotify()
771 int rc = m_parent->m_cbNotifier.notifyCallback(cbArg); in sendDataNotify()
803 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess()
862 pChannel = m_parent->getChannelByHandle(src_frame->ch_id); in getOfflinePPInputBuffer()
937 m_parent->updateMetadata((metadata_buffer_t *)meta_frame->buffer); in processData()
940 if (m_parent->needReprocess()) { in processData()
941 if ((!m_parent->isLongshotEnabled() && in processData()
942 !m_parent->m_stateMachine.isNonZSLCaptureRunning()) || in processData()
943 (m_parent->isLongshotEnabled() && in processData()
944 m_parent->isCaptureShutterEnabled())) { in processData()
946 m_parent->playShutter(); in processData()
967 && (m_parent->isRegularCapture())) { in processData()
1005 if (m_parent->mParameters.isAdvCamFeaturesEnabled() in processData()
1009 } else if (m_parent->mParameters.isNV16PictureFormat() || in processData()
1010 m_parent->mParameters.isNV21PictureFormat()) { in processData()
1012 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processData()
1018 if(!m_parent->m_stateMachine.isNonZSLCaptureRunning() && in processData()
1019 !m_parent->mLongshotEnabled) in processData()
1020 m_parent->playShutter(); in processData()
1111 if (mUseSaveProc && m_parent->isLongshotEnabled()) { in processJpegEvt()
1142 if ((false == m_parent->m_bIntJpegEvtPending) && in processJpegEvt()
1143 (m_parent->mDataCb == NULL || in processJpegEvt()
1144 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) == 0 )) { in processJpegEvt()
1168 m_parent->dumpJpegToFile(jpegData, in processJpegEvt()
1172 if(true == m_parent->m_bIntJpegEvtPending) { in processJpegEvt()
1174 pthread_mutex_lock(&m_parent->m_int_lock); in processJpegEvt()
1175 pthread_cond_signal(&m_parent->m_int_cond); in processJpegEvt()
1176 pthread_mutex_unlock(&m_parent->m_int_lock); in processJpegEvt()
1182 jpeg_mem = m_parent->mGetMemory(-1, evt->out_data.buf_filled_len, in processJpegEvt()
1183 1, m_parent->mCallbackCookie); in processJpegEvt()
1202 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1219 if (m_parent->mParameters.isUbiRefocus() && in processJpegEvt()
1220 (m_parent->getOutputImageCount() + 1 == in processJpegEvt()
1221 m_parent->mParameters.getRefocusOutputCount())) { in processJpegEvt()
1222 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1274 bool needSuperBufMatch = m_parent->mParameters.generateThumbFromMain(); in processPPData()
1292 if (!needSuperBufMatch && (m_parent->mParameters.isNV16PictureFormat() || in processPPData()
1293 m_parent->mParameters.isNV21PictureFormat())) { in processPPData()
1297 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processPPData()
1305 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in processPPData()
1330 if (pReprocFrame != NULL && m_parent->mParameters.isFaceDetectionEnabled()) { in processPPData()
1331 m_parent->TsMakeupProcess_Snapshot(pReprocFrame,pSnapshotStream); in processPPData()
1334 m_parent->mParameters.isFaceDetectionEnabled()); in processPPData()
1337 if ((m_parent->isLongshotEnabled()) in processPPData()
1338 && (!m_parent->isCaptureShutterEnabled()) in processPPData()
1339 && (!m_parent->mCACDoneReceived)) { in processPPData()
1342 m_parent->playShutter(); in processPPData()
1344 m_parent->mCACDoneReceived = FALSE; in processPPData()
1357 m_parent->mParameters.getReprocCount()); in processPPData()
1358 if (mCurReprocCount < m_parent->mParameters.getReprocCount()) { in processPPData()
1396 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in processPPData()
1397 size_t meta_idx = m_parent->mParameters.getExifBufIndex(m_PPindex); in processPPData()
1645 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1683 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1920 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in queryStreams()
1939 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in queryStreams()
1940 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in queryStreams()
1941 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in queryStreams()
1942 !m_parent->mParameters.generateThumbFromMain()); in queryStreams()
1955 (m_parent->mParameters.getofflineRAW() && in queryStreams()
1975 pSrcReprocChannel = m_parent->getChannelByHandle(reproc_frame->ch_id); in queryStreams()
2096 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData()
2114 const uint32_t jpeg_rotation = m_parent->mParameters.getJpegRotation(); in encodeData()
2143 m_parent->dumpFrameToFile(main_stream, main_frame, in encodeData()
2148 if (NULL != m_parent->mDataCb && in encodeData()
2149 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in encodeData()
2158 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
2160 if (NULL != m_parent->mNotifyCb && in encodeData()
2161 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in encodeData()
2168 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
2226 && !m_parent->isLowPowerMode()) { in encodeData()
2246 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in encodeData()
2248 m_parent->mParameters.isUbiFocusEnabled() || in encodeData()
2249 m_parent->mParameters.isUbiRefocus() || in encodeData()
2250 m_parent->mParameters.isChromaFlashEnabled() || in encodeData()
2251 m_parent->mParameters.isOptiZoomEnabled() || in encodeData()
2252 m_parent->mParameters.isStillMoreEnabled(); in encodeData()
2278 m_parent->mParameters.isUbiRefocus()) { in encodeData()
2285 camera_memory_t *dataMem = m_parent->mGetMemory(-1, resultSize, in encodeData()
2286 1, m_parent->mCallbackCookie); in encodeData()
2297 } else if ((reproc_stream != NULL) && (m_parent->mParameters.isTruePortraitEnabled())) { in encodeData()
2331 m_parent->getCamHalCapabilities()->q3a_version; in encodeData()
2334 QCameraExif *pJpegExifObj = m_parent->getExifData(); in encodeData()
2351 if (!m_parent->needRotationReprocess()) { in encodeData()
2358 m_parent->getThumbnailSize(jpg_job.encode_job.thumb_dim.dst_dim); in encodeData()
2366 if (m_parent->needRotationReprocess() && in encodeData()
2417 m_parent->dumpFrameToFile(thumb_stream, thumb_frame, QCAMERA_DUMP_FRM_THUMBNAIL); in encodeData()
2426 m_parent->mExifParams.sensor_params.sens_type = m_parent->getSensorType(); in encodeData()
2427 jpg_job.encode_job.cam_exif_params = m_parent->mExifParams; in encodeData()
2435 jpg_job.encode_job.mobicat_mask = m_parent->mParameters.getMobicatMask(); in encodeData()
2440 if (m_parent->mExifParams.debug_params) { in encodeData()
2442 m_parent->mExifParams.debug_params, (sizeof(mm_jpeg_debug_exif_params_t))); in encodeData()
2513 m_parent->getRelatedCamSyncInfo(); in encodeData()
2515 m_parent->getMpoComposition()) { in encodeData()
2568 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in processRawImageImpl()
2609 bool zslChannelUsed = m_parent->isZSLMode() && in processRawImageImpl()
2617 raw_mem = m_parent->mGetMemory(-1, in processRawImageImpl()
2620 m_parent->mCallbackCookie); in processRawImageImpl()
2634 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_SNAPSHOT); in processRawImageImpl()
2637 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_RAW); in processRawImageImpl()
2639 if(true == m_parent->m_bIntRawEvtPending) { in processRawImageImpl()
2643 pthread_mutex_lock(&m_parent->m_int_lock); in processRawImageImpl()
2644 pthread_cond_signal(&m_parent->m_int_cond); in processRawImageImpl()
2645 pthread_mutex_unlock(&m_parent->m_int_lock); in processRawImageImpl()
2652 if (NULL != m_parent->mDataCb && in processRawImageImpl()
2653 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in processRawImageImpl()
2661 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2663 if (NULL != m_parent->mNotifyCb && in processRawImageImpl()
2664 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in processRawImageImpl()
2672 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2675 if ((m_parent->mDataCb != NULL) && in processRawImageImpl()
2676 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) > 0) { in processRawImageImpl()
2796 camera_memory_t* jpeg_mem = pme->m_parent->mGetMemory(-1, in dataSaveRoutine()
2799 pme->m_parent->mCallbackCookie); in dataSaveRoutine()
2952 if (pme->m_parent->mParameters.isAdvCamFeaturesEnabled()) { in dataProcessRoutine()
2985 pme->m_parent->playShutter(); in dataProcessRoutine()
3075 if ((m_parent->mParameters.getManualCaptureMode() >= in doReprocess()
3132 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in doReprocess()
3141 if ((m_parent->isRegularCapture()) || (ppreq_job->offline_buffer)) { in doReprocess()
3146 meta_buf, m_parent->mParameters); in doReprocess()
3172 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
3176 m_parent->mParameters.getNumberOutBufsForSingleShot() - in doReprocess()
3177 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
3199 m_parent->mParameters, pMetaStream, meta_buf_index); in doReprocess()
3252 if (m_parent->isRegularCapture()) { in stopCapture()
3253 rc = m_parent->processAPI( in stopCapture()
3300 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in setYUVFrameInfo()
3333 fmt_string = m_parent->mParameters.getFrameFmtString(frame_fmt); in setYUVFrameInfo()
3372 camera_memory_t *cam_mem = procInst->m_parent->mGetMemory(out_buf->fd, out_buf->size, 1U, in getJpegMemory()
3373 procInst->m_parent->mCallbackCookie); in getJpegMemory()