Lines Matching refs:m_parent
71 : m_parent(cam_ctrl),
183 m_parent->mParameters.setReprocCount();
247 if ( m_parent->needReprocess() ) {
260 if (!m_parent->isLongshotEnabled()) {
261 m_parent->mParameters.setReprocCount();
264 if (m_parent->mParameters.getManualCaptureMode() >=
266 mPPChannelCount = m_parent->mParameters.getReprocCount() - 1;
268 mPPChannelCount = m_parent->mParameters.getReprocCount();
273 mPPChannels[i] = m_parent->addReprocChannel(pInputChannel, i);
295 m_parent->m_cbNotifier.startSnapshots();
316 m_parent->m_cbNotifier.stopSnapshots();
377 pChannel = m_parent->needReprocess() ? mPPChannels[ppChannel_idx] :
381 bool thumb_stream_needed = ((!m_parent->isZSLMode() ||
382 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) ==
383 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) &&
384 !m_parent->mParameters.generateThumbFromMain());
491 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled();
504 if (!m_parent->needRotationReprocess()) {
505 encode_parm.rotation = m_parent->mParameters.getJpegRotation();
527 m_parent->getThumbnailSize(thumbnailSize);
540 uint32_t val = m_parent->getJpegQuality();
579 m_parent->getThumbnailSize(encode_parm.thumb_dim.dst_dim);
584 if (((90 == m_parent->mParameters.getJpegRotation())
585 || (270 == m_parent->mParameters.getJpegRotation()))
586 && (m_parent->needRotationReprocess())) {
627 if (!m_parent->needRotationReprocess()) {
628 encode_parm.thumb_rotation = m_parent->mParameters.getJpegRotation();
632 !m_parent->mParameters.generateThumbFromMain() &&
634 (m_parent->mParameters.useJpegExifRotation() ||
635 m_parent->mParameters.getJpegRotation() == 0);
638 m_parent->mParameters.useJpegExifRotation()){
640 m_parent->mParameters.getJpegExifRotation();
722 return m_parent->sendEvtNotify(msg_type, ext1, ext2);
774 int rc = m_parent->m_cbNotifier.notifyCallback(cbArg);
806 pChannel = m_parent->getChannelByHandle(frame->ch_id);
865 pChannel = m_parent->getChannelByHandle(src_frame->ch_id);
940 m_parent->updateMetadata((metadata_buffer_t *)meta_frame->buffer);
943 if (m_parent->needReprocess()) {
944 if ((!m_parent->isLongshotEnabled() &&
945 !m_parent->m_stateMachine.isNonZSLCaptureRunning()) ||
946 (m_parent->isLongshotEnabled() &&
947 m_parent->isCaptureShutterEnabled())) {
949 m_parent->playShutter();
970 && (m_parent->isRegularCapture())) {
1008 if (m_parent->mParameters.isAdvCamFeaturesEnabled()
1012 } else if (m_parent->mParameters.isNV16PictureFormat() ||
1013 m_parent->mParameters.isNV21PictureFormat()) {
1015 if(m_parent->mParameters.isYUVFrameInfoNeeded())
1021 if(!m_parent->m_stateMachine.isNonZSLCaptureRunning() &&
1022 !m_parent->mLongshotEnabled)
1023 m_parent->playShutter();
1114 if (mUseSaveProc && m_parent->isLongshotEnabled()) {
1145 if ((false == m_parent->m_bIntJpegEvtPending) &&
1146 (m_parent->mDataCb == NULL ||
1147 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) == 0 )) {
1171 m_parent->dumpJpegToFile(jpegData,
1175 if(true == m_parent->m_bIntJpegEvtPending) {
1177 pthread_mutex_lock(&m_parent->m_int_lock);
1178 pthread_cond_signal(&m_parent->m_int_cond);
1179 pthread_mutex_unlock(&m_parent->m_int_lock);
1185 jpeg_mem = m_parent->mGetMemory(-1, evt->out_data.buf_filled_len,
1186 1, m_parent->mCallbackCookie);
1205 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1);
1222 if (m_parent->mParameters.isUbiRefocus() &&
1223 (m_parent->getOutputImageCount() + 1 ==
1224 m_parent->mParameters.getRefocusOutputCount())) {
1225 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1);
1277 bool needSuperBufMatch = m_parent->mParameters.generateThumbFromMain();
1295 if (!needSuperBufMatch && (m_parent->mParameters.isNV16PictureFormat() ||
1296 m_parent->mParameters.isNV21PictureFormat())) {
1300 if(m_parent->mParameters.isYUVFrameInfoNeeded())
1308 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id);
1333 if (pReprocFrame != NULL && m_parent->mParameters.isFaceDetectionEnabled()) {
1334 m_parent->TsMakeupProcess_Snapshot(pReprocFrame,pSnapshotStream);
1337 m_parent->mParameters.isFaceDetectionEnabled());
1340 if ((m_parent->isLongshotEnabled())
1341 && (!m_parent->isCaptureShutterEnabled())
1342 && (!m_parent->mCACDoneReceived)) {
1345 m_parent->playShutter();
1347 m_parent->mCACDoneReceived = FALSE;
1360 m_parent->mParameters.getReprocCount());
1361 if (mCurReprocCount < m_parent->mParameters.getReprocCount()) {
1399 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) {
1400 size_t meta_idx = m_parent->mParameters.getExifBufIndex(m_PPindex);
1648 pChannel = m_parent->getChannelByHandle(super_buf->ch_id);
1687 pChannel = m_parent->getChannelByHandle(super_buf->ch_id);
1925 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id);
1944 bool thumb_stream_needed = ((!m_parent->isZSLMode() ||
1945 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) ==
1946 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) &&
1947 !m_parent->mParameters.generateThumbFromMain());
1979 pSrcReprocChannel = m_parent->getChannelByHandle(reproc_frame->ch_id);
2100 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id);
2118 const uint32_t jpeg_rotation = m_parent->mParameters.getJpegRotation();
2147 m_parent->dumpFrameToFile(main_stream, main_frame,
2152 if (NULL != m_parent->mDataCb &&
2153 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) {
2160 m_parent->m_cbNotifier.notifyCallback(cbArg);
2162 if (NULL != m_parent->mNotifyCb &&
2163 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) {
2170 m_parent->m_cbNotifier.notifyCallback(cbArg);
2228 && !m_parent->isLowPowerMode()) {
2248 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled();
2250 m_parent->mParameters.isUbiFocusEnabled() ||
2251 m_parent->mParameters.isUbiRefocus() ||
2252 m_parent->mParameters.isChromaFlashEnabled() ||
2253 m_parent->mParameters.isOptiZoomEnabled() ||
2254 m_parent->mParameters.isStillMoreEnabled();
2280 m_parent->mParameters.isUbiRefocus()) {
2287 camera_memory_t *dataMem = m_parent->mGetMemory(-1, resultSize,
2288 1, m_parent->mCallbackCookie);
2299 } else if ((reproc_stream != NULL) && (m_parent->mParameters.isTruePortraitEnabled())) {
2333 m_parent->getCamHalCapabilities()->q3a_version;
2336 QCameraExif *pJpegExifObj = m_parent->getExifData();
2353 if (!m_parent->needRotationReprocess()) {
2360 m_parent->getThumbnailSize(jpg_job.encode_job.thumb_dim.dst_dim);
2368 if (m_parent->needRotationReprocess() &&
2419 m_parent->dumpFrameToFile(thumb_stream, thumb_frame, QCAMERA_DUMP_FRM_THUMBNAIL);
2428 m_parent->mExifParams.sensor_params.sens_type = m_parent->getSensorType();
2429 jpg_job.encode_job.cam_exif_params = m_parent->mExifParams;
2437 jpg_job.encode_job.mobicat_mask = m_parent->mParameters.getMobicatMask();
2442 if (m_parent->mExifParams.debug_params) {
2444 m_parent->mExifParams.debug_params, (sizeof(mm_jpeg_debug_exif_params_t)));
2515 m_parent->getRelatedCamSyncInfo();
2517 m_parent->getMpoComposition()) {
2563 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id);
2604 bool zslChannelUsed = m_parent->isZSLMode() &&
2612 raw_mem = m_parent->mGetMemory(-1,
2615 m_parent->mCallbackCookie);
2629 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_INPUT_JPEG);
2632 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_RAW);
2634 if(true == m_parent->m_bIntRawEvtPending) {
2638 pthread_mutex_lock(&m_parent->m_int_lock);
2639 pthread_cond_signal(&m_parent->m_int_cond);
2640 pthread_mutex_unlock(&m_parent->m_int_lock);
2647 if (NULL != m_parent->mDataCb &&
2648 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) {
2655 m_parent->m_cbNotifier.notifyCallback(cbArg);
2657 if (NULL != m_parent->mNotifyCb &&
2658 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) {
2665 m_parent->m_cbNotifier.notifyCallback(cbArg);
2668 if ((m_parent->mDataCb != NULL) &&
2669 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) > 0) {
2789 camera_memory_t* jpeg_mem = pme->m_parent->mGetMemory(-1,
2792 pme->m_parent->mCallbackCookie);
2945 if (pme->m_parent->mParameters.isAdvCamFeaturesEnabled()) {
2978 pme->m_parent->playShutter();
3068 if ((m_parent->mParameters.getManualCaptureMode() >=
3125 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) {
3135 if ((m_parent->needOfflineReprocessing()) || (ppreq_job->offline_buffer)) {
3140 meta_buf, m_parent->mParameters);
3166 m_parent->mParameters.getNumberInBufsForSingleShot();
3170 m_parent->mParameters.getNumberOutBufsForSingleShot() -
3171 m_parent->mParameters.getNumberInBufsForSingleShot();
3193 m_parent->mParameters, pMetaStream, meta_buf_index);
3246 if (m_parent->isRegularCapture()) {
3247 rc = m_parent->processAPI(
3293 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id);
3326 fmt_string = m_parent->mParameters.getFrameFmtString(frame_fmt);
3365 camera_memory_t *cam_mem = procInst->m_parent->mGetMemory(out_buf->fd, out_buf->size, 1U,
3366 procInst->m_parent->mCallbackCookie);