Lines Matching refs:m_parent
71 : m_parent(cam_ctrl), in QCameraPostProcessor()
181 m_parent->mParameters.setReprocCount(); in init()
245 if ( m_parent->needReprocess() ) { in start()
258 if (!m_parent->isLongshotEnabled()) { in start()
259 m_parent->mParameters.setReprocCount(); in start()
262 if (m_parent->mParameters.getManualCaptureMode() >= in start()
264 mPPChannelCount = m_parent->mParameters.getReprocCount() - 1; in start()
266 mPPChannelCount = m_parent->mParameters.getReprocCount(); in start()
271 mPPChannels[i] = m_parent->addReprocChannel(pInputChannel, i); in start()
293 m_parent->m_cbNotifier.startSnapshots(); in start()
314 m_parent->m_cbNotifier.stopSnapshots(); in stop()
375 pChannel = m_parent->needReprocess() ? mPPChannels[ppChannel_idx] : in createJpegSession()
379 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in createJpegSession()
380 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in createJpegSession()
381 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in createJpegSession()
382 !m_parent->mParameters.generateThumbFromMain()); in createJpegSession()
489 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in getJpegEncodingConfig()
502 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
503 encode_parm.rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
525 m_parent->getThumbnailSize(thumbnailSize); in getJpegEncodingConfig()
538 uint32_t val = m_parent->getJpegQuality(); in getJpegEncodingConfig()
577 m_parent->getThumbnailSize(encode_parm.thumb_dim.dst_dim); in getJpegEncodingConfig()
582 if (((90 == m_parent->mParameters.getJpegRotation()) in getJpegEncodingConfig()
583 || (270 == m_parent->mParameters.getJpegRotation())) in getJpegEncodingConfig()
584 && (m_parent->needRotationReprocess())) { in getJpegEncodingConfig()
625 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
626 encode_parm.thumb_rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
630 !m_parent->mParameters.generateThumbFromMain() && in getJpegEncodingConfig()
632 (m_parent->mParameters.useJpegExifRotation() || in getJpegEncodingConfig()
633 m_parent->mParameters.getJpegRotation() == 0); in getJpegEncodingConfig()
645 if (m_parent->mParameters.useJpegExifRotation()){ in getJpegEncodingConfig()
646 encode_parm.thumb_rotation = m_parent->mParameters.getJpegExifRotation(); in getJpegEncodingConfig()
717 return m_parent->sendEvtNotify(msg_type, ext1, ext2); in sendEvtNotify()
769 int rc = m_parent->m_cbNotifier.notifyCallback(cbArg); in sendDataNotify()
801 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess()
860 pChannel = m_parent->getChannelByHandle(src_frame->ch_id); in getOfflinePPInputBuffer()
935 m_parent->updateMetadata((metadata_buffer_t *)meta_frame->buffer); in processData()
938 if (m_parent->needReprocess()) { in processData()
939 if ((!m_parent->isLongshotEnabled() && in processData()
940 !m_parent->m_stateMachine.isNonZSLCaptureRunning()) || in processData()
941 (m_parent->isLongshotEnabled() && in processData()
942 m_parent->isCaptureShutterEnabled())) { in processData()
944 m_parent->playShutter(); in processData()
965 && (m_parent->isRegularCapture())) { in processData()
1003 if (m_parent->mParameters.isAdvCamFeaturesEnabled() in processData()
1007 } else if (m_parent->mParameters.isNV16PictureFormat() || in processData()
1008 m_parent->mParameters.isNV21PictureFormat()) { in processData()
1010 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processData()
1016 if(!m_parent->m_stateMachine.isNonZSLCaptureRunning() && in processData()
1017 !m_parent->mLongshotEnabled) in processData()
1018 m_parent->playShutter(); in processData()
1109 if (mUseSaveProc && m_parent->isLongshotEnabled()) { in processJpegEvt()
1140 if ((false == m_parent->m_bIntJpegEvtPending) && in processJpegEvt()
1141 (m_parent->mDataCb == NULL || in processJpegEvt()
1142 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) == 0 )) { in processJpegEvt()
1166 m_parent->dumpJpegToFile(jpegData, in processJpegEvt()
1170 if(true == m_parent->m_bIntJpegEvtPending) { in processJpegEvt()
1172 pthread_mutex_lock(&m_parent->m_int_lock); in processJpegEvt()
1173 pthread_cond_signal(&m_parent->m_int_cond); in processJpegEvt()
1174 pthread_mutex_unlock(&m_parent->m_int_lock); in processJpegEvt()
1180 jpeg_mem = m_parent->mGetMemory(-1, evt->out_data.buf_filled_len, in processJpegEvt()
1181 1, m_parent->mCallbackCookie); in processJpegEvt()
1200 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1217 if (m_parent->mParameters.isUbiRefocus() && in processJpegEvt()
1218 (m_parent->getOutputImageCount() + 1 == in processJpegEvt()
1219 m_parent->mParameters.getRefocusOutputCount())) { in processJpegEvt()
1220 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1272 bool needSuperBufMatch = m_parent->mParameters.generateThumbFromMain(); in processPPData()
1290 if (!needSuperBufMatch && (m_parent->mParameters.isNV16PictureFormat() || in processPPData()
1291 m_parent->mParameters.isNV21PictureFormat())) { in processPPData()
1295 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processPPData()
1303 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in processPPData()
1328 if (pReprocFrame != NULL && m_parent->mParameters.isFaceDetectionEnabled()) { in processPPData()
1329 m_parent->TsMakeupProcess_Snapshot(pReprocFrame,pSnapshotStream); in processPPData()
1332 m_parent->mParameters.isFaceDetectionEnabled()); in processPPData()
1335 if ((m_parent->isLongshotEnabled()) in processPPData()
1336 && (!m_parent->isCaptureShutterEnabled()) in processPPData()
1337 && (!m_parent->mCACDoneReceived)) { in processPPData()
1340 m_parent->playShutter(); in processPPData()
1342 m_parent->mCACDoneReceived = FALSE; in processPPData()
1355 m_parent->mParameters.getReprocCount()); in processPPData()
1356 if (mCurReprocCount < m_parent->mParameters.getReprocCount()) { in processPPData()
1394 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in processPPData()
1395 size_t meta_idx = m_parent->mParameters.getExifBufIndex(m_PPindex); in processPPData()
1641 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1679 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1916 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in queryStreams()
1935 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in queryStreams()
1936 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in queryStreams()
1937 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in queryStreams()
1938 !m_parent->mParameters.generateThumbFromMain()); in queryStreams()
1951 (m_parent->mParameters.getofflineRAW() && in queryStreams()
1971 pSrcReprocChannel = m_parent->getChannelByHandle(reproc_frame->ch_id); in queryStreams()
2092 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData()
2110 const uint32_t jpeg_rotation = m_parent->mParameters.getJpegRotation(); in encodeData()
2139 m_parent->dumpFrameToFile(main_stream, main_frame, in encodeData()
2144 if (NULL != m_parent->mDataCb && in encodeData()
2145 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in encodeData()
2152 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
2154 if (NULL != m_parent->mNotifyCb && in encodeData()
2155 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in encodeData()
2162 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
2220 && !m_parent->isLowPowerMode()) { in encodeData()
2240 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in encodeData()
2242 m_parent->mParameters.isUbiFocusEnabled() || in encodeData()
2243 m_parent->mParameters.isUbiRefocus() || in encodeData()
2244 m_parent->mParameters.isChromaFlashEnabled() || in encodeData()
2245 m_parent->mParameters.isOptiZoomEnabled() || in encodeData()
2246 m_parent->mParameters.isStillMoreEnabled(); in encodeData()
2272 m_parent->mParameters.isUbiRefocus()) { in encodeData()
2279 camera_memory_t *dataMem = m_parent->mGetMemory(-1, resultSize, in encodeData()
2280 1, m_parent->mCallbackCookie); in encodeData()
2291 } else if ((reproc_stream != NULL) && (m_parent->mParameters.isTruePortraitEnabled())) { in encodeData()
2325 m_parent->getCamHalCapabilities()->q3a_version; in encodeData()
2328 QCameraExif *pJpegExifObj = m_parent->getExifData(); in encodeData()
2345 if (!m_parent->needRotationReprocess()) { in encodeData()
2352 m_parent->getThumbnailSize(jpg_job.encode_job.thumb_dim.dst_dim); in encodeData()
2360 if (m_parent->needRotationReprocess() && in encodeData()
2411 m_parent->dumpFrameToFile(thumb_stream, thumb_frame, QCAMERA_DUMP_FRM_THUMBNAIL); in encodeData()
2420 m_parent->mExifParams.sensor_params.sens_type = m_parent->getSensorType(); in encodeData()
2421 jpg_job.encode_job.cam_exif_params = m_parent->mExifParams; in encodeData()
2429 jpg_job.encode_job.mobicat_mask = m_parent->mParameters.getMobicatMask(); in encodeData()
2434 if (m_parent->mExifParams.debug_params) { in encodeData()
2436 m_parent->mExifParams.debug_params, (sizeof(mm_jpeg_debug_exif_params_t))); in encodeData()
2489 m_parent->getRelatedCamSyncInfo(); in encodeData()
2491 m_parent->getMpoComposition()) { in encodeData()
2537 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in processRawImageImpl()
2578 bool zslChannelUsed = m_parent->isZSLMode() && in processRawImageImpl()
2586 raw_mem = m_parent->mGetMemory(-1, in processRawImageImpl()
2589 m_parent->mCallbackCookie); in processRawImageImpl()
2603 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_SNAPSHOT); in processRawImageImpl()
2606 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_RAW); in processRawImageImpl()
2608 if(true == m_parent->m_bIntRawEvtPending) { in processRawImageImpl()
2612 pthread_mutex_lock(&m_parent->m_int_lock); in processRawImageImpl()
2613 pthread_cond_signal(&m_parent->m_int_cond); in processRawImageImpl()
2614 pthread_mutex_unlock(&m_parent->m_int_lock); in processRawImageImpl()
2621 if (NULL != m_parent->mDataCb && in processRawImageImpl()
2622 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in processRawImageImpl()
2629 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2631 if (NULL != m_parent->mNotifyCb && in processRawImageImpl()
2632 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in processRawImageImpl()
2639 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2642 if ((m_parent->mDataCb != NULL) && in processRawImageImpl()
2643 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) > 0) { in processRawImageImpl()
2763 camera_memory_t* jpeg_mem = pme->m_parent->mGetMemory(-1, in dataSaveRoutine()
2766 pme->m_parent->mCallbackCookie); in dataSaveRoutine()
2919 if (pme->m_parent->mParameters.isAdvCamFeaturesEnabled()) { in dataProcessRoutine()
2952 pme->m_parent->playShutter(); in dataProcessRoutine()
3042 if ((m_parent->mParameters.getManualCaptureMode() >= in doReprocess()
3099 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in doReprocess()
3108 if ((m_parent->isRegularCapture()) || (ppreq_job->offline_buffer)) { in doReprocess()
3112 meta_buf, m_parent->mParameters); in doReprocess()
3136 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
3140 m_parent->mParameters.getNumberOutBufsForSingleShot() - in doReprocess()
3141 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
3163 m_parent->mParameters, pMetaStream, meta_buf_index); in doReprocess()
3216 if (m_parent->isRegularCapture()) { in stopCapture()
3217 rc = m_parent->processAPI( in stopCapture()
3264 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in setYUVFrameInfo()
3297 fmt_string = m_parent->mParameters.getFrameFmtString(frame_fmt); in setYUVFrameInfo()
3336 camera_memory_t *cam_mem = procInst->m_parent->mGetMemory(out_buf->fd, out_buf->size, 1U, in getJpegMemory()
3337 procInst->m_parent->mCallbackCookie); in getJpegMemory()