Lines Matching refs:m_parent

65     : m_parent(cam_ctrl),  in QCameraPostProcessor()
116 m_parent->mParameters.setCurPPCount((int8_t) in ~QCameraPostProcessor()
117 (m_parent->mParameters.getCurPPCount() - 1)); in ~QCameraPostProcessor()
142 if ((0 > m_parent->m_max_pic_width) || (0 > m_parent->m_max_pic_height)) { in init()
144 m_parent->m_max_pic_width, m_parent->m_max_pic_height); in init()
150 max_size.w = (uint32_t)m_parent->m_max_pic_width; in init()
151 max_size.h = (uint32_t)m_parent->m_max_pic_height; in init()
162 m_parent->mParameters.setReprocCount(); in init()
233 if ( m_parent->needReprocess() ) { in start()
241 m_parent->mParameters.setCurPPCount((int8_t) in start()
242 (m_parent->mParameters.getCurPPCount() - 1)); in start()
247 m_parent->mParameters.setReprocCount(); in start()
248 mTotalNumReproc = m_parent->mParameters.getReprocCount(); in start()
249 m_parent->mParameters.setCurPPCount(0); in start()
255 m_parent->mParameters.setCurPPCount((int8_t) (i + 1)); in start()
256 mPPChannels[i] = m_parent->addReprocChannel(pInputChannel); in start()
279 m_parent->m_cbNotifier.startSnapshots(); in start()
282 if ( !m_parent->mParameters.getRecordingHintValue() && in start()
283 !m_parent->isLongshotEnabled() && (mTotalNumReproc > 0)) { in start()
286 pChannel = m_parent->needReprocess() ? mPPChannels[0] : pSrcChannel; in start()
289 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in start()
290 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in start()
291 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in start()
292 !m_parent->mParameters.generateThumbFromMain()); in start()
375 m_parent->m_cbNotifier.stopSnapshots(); in stop()
392 m_parent->mParameters.setCurPPCount((int8_t) in stop()
393 (m_parent->mParameters.getCurPPCount() - 1)); in stop()
397 m_parent->mParameters.setCurPPCount(0); in stop()
438 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in getJpegEncodingConfig()
451 if (!m_parent->needRotationReprocess()) { in getJpegEncodingConfig()
452 encode_parm.rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
466 m_parent->getThumbnailSize(thumbnailSize); in getJpegEncodingConfig()
479 uint32_t val = m_parent->getJpegQuality(); in getJpegEncodingConfig()
512 uint32_t jpeg_rotation = m_parent->mParameters.getJpegRotation(); in getJpegEncodingConfig()
513 m_parent->getThumbnailSize(encode_parm.thumb_dim.dst_dim); in getJpegEncodingConfig()
554 if (!m_parent->needRotationReprocess() || need_thumb_rotate) { in getJpegEncodingConfig()
633 return m_parent->sendEvtNotify(msg_type, ext1, ext2); in sendEvtNotify()
682 int rc = m_parent->m_cbNotifier.notifyCallback(cbArg); in sendDataNotify()
714 pChannel = m_parent->getChannelByHandle(frame->ch_id); in validatePostProcess()
774 m_parent->updateMetadata((metadata_buffer_t *)meta_frame->buffer); in processData()
777 if (m_parent->needReprocess()) { in processData()
778 if ((!m_parent->isLongshotEnabled() && in processData()
779 !m_parent->m_stateMachine.isNonZSLCaptureRunning()) || in processData()
780 (m_parent->isLongshotEnabled() && in processData()
781 m_parent->isCaptureShutterEnabled())) { in processData()
783 m_parent->playShutter(); in processData()
812 if (m_parent->mParameters.isAdvCamFeaturesEnabled() in processData()
816 } else if (m_parent->mParameters.isNV16PictureFormat() || in processData()
817 m_parent->mParameters.isNV21PictureFormat()) { in processData()
819 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processData()
825 if(!m_parent->m_stateMachine.isNonZSLCaptureRunning() && in processData()
826 !m_parent->mLongshotEnabled) in processData()
827 m_parent->playShutter(); in processData()
921 if (mUseSaveProc && m_parent->isLongshotEnabled()) { in processJpegEvt()
945 if ((false == m_parent->m_bIntJpegEvtPending) && in processJpegEvt()
946 (m_parent->mDataCb == NULL || in processJpegEvt()
947 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) == 0 )) { in processJpegEvt()
961 m_parent->dumpJpegToFile(evt->out_data.buf_vaddr, in processJpegEvt()
966 if(true == m_parent->m_bIntJpegEvtPending) { in processJpegEvt()
968 pthread_mutex_lock(&m_parent->m_int_lock); in processJpegEvt()
969 pthread_cond_signal(&m_parent->m_int_cond); in processJpegEvt()
970 pthread_mutex_unlock(&m_parent->m_int_lock); in processJpegEvt()
977 jpeg_mem = m_parent->mGetMemory(-1, evt->out_data.buf_filled_len, in processJpegEvt()
978 1, m_parent->mCallbackCookie); in processJpegEvt()
1000 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1016 if (m_parent->mParameters.isUbiRefocus() && in processJpegEvt()
1017 (m_parent->getOutputImageCount() + 1 == in processJpegEvt()
1018 m_parent->mParameters.getRefocusOutputCount())) { in processJpegEvt()
1019 m_parent->setOutputImageCount(m_parent->getOutputImageCount() + 1); in processJpegEvt()
1068 bool needSuperBufMatch = m_parent->mParameters.generateThumbFromMain(); in processPPData()
1086 if (!needSuperBufMatch && (m_parent->mParameters.isNV16PictureFormat() || in processPPData()
1087 m_parent->mParameters.isNV21PictureFormat())) { in processPPData()
1091 if(m_parent->mParameters.isYUVFrameInfoNeeded()) in processPPData()
1095 if (m_parent->isLongshotEnabled() && in processPPData()
1096 !m_parent->isCaptureShutterEnabled()) { in processPPData()
1100 m_parent->playShutter(); in processPPData()
1152 if (m_parent->mParameters.isAdvCamFeaturesEnabled()) { in processPPData()
1153 size_t meta_idx = m_parent->mParameters.getExifBufIndex(m_PPindex); in processPPData()
1188 if (m_parent->isLongshotEnabled()) { in processPPData()
1397 pChannel = m_parent->getChannelByHandle(super_buf->ch_id); in releaseSuperBuf()
1617 QCameraChannel *pChannel = m_parent->getChannelByHandle(frame->ch_id); in queryStreams()
1636 bool thumb_stream_needed = ((!m_parent->isZSLMode() || in queryStreams()
1637 (m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_SNAPSHOT) == in queryStreams()
1638 m_parent->mParameters.getFlipMode(CAM_STREAM_TYPE_PREVIEW))) && in queryStreams()
1639 !m_parent->mParameters.generateThumbFromMain()); in queryStreams()
1650 (m_parent->mParameters.getofflineRAW() && in queryStreams()
1670 pSrcReprocChannel = m_parent->getChannelByHandle(reproc_frame->ch_id); in queryStreams()
1795 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in encodeData()
1813 const uint32_t jpeg_rotation = m_parent->mParameters.getJpegRotation(); in encodeData()
1842 m_parent->dumpFrameToFile(main_stream, main_frame, QCAMERA_DUMP_FRM_SNAPSHOT); in encodeData()
1846 if (NULL != m_parent->mDataCb && in encodeData()
1847 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in encodeData()
1854 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
1856 if (NULL != m_parent->mNotifyCb && in encodeData()
1857 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in encodeData()
1864 m_parent->m_cbNotifier.notifyCallback(cbArg); in encodeData()
1906 bool hdr_output_crop = m_parent->mParameters.isHDROutputCropEnabled(); in encodeData()
1908 m_parent->mParameters.isUbiFocusEnabled() || in encodeData()
1909 m_parent->mParameters.isUbiRefocus() || in encodeData()
1910 m_parent->mParameters.isChromaFlashEnabled() || in encodeData()
1911 m_parent->mParameters.isOptiZoomEnabled() || in encodeData()
1912 m_parent->mParameters.isStillMoreEnabled(); in encodeData()
1938 m_parent->mParameters.isUbiRefocus()) { in encodeData()
1945 camera_memory_t *dataMem = m_parent->mGetMemory(-1, resultSize, in encodeData()
1946 1, m_parent->mCallbackCookie); in encodeData()
1957 } else if ((reproc_stream != NULL) && (m_parent->mParameters.isTruePortraitEnabled())) { in encodeData()
1991 m_parent->getCamHalCapabilities()->q3a_version; in encodeData()
1994 QCameraExif *pJpegExifObj = m_parent->getExifData(); in encodeData()
2011 if (!m_parent->needRotationReprocess()) { in encodeData()
2018 m_parent->getThumbnailSize(jpg_job.encode_job.thumb_dim.dst_dim); in encodeData()
2025 if (m_parent->needRotationReprocess() && in encodeData()
2069 m_parent->dumpFrameToFile(thumb_stream, thumb_frame, QCAMERA_DUMP_FRM_THUMBNAIL); in encodeData()
2078 m_parent->mExifParams.sensor_params.sens_type = m_parent->getSensorType(); in encodeData()
2079 jpg_job.encode_job.cam_exif_params = m_parent->mExifParams; in encodeData()
2080 jpg_job.encode_job.mobicat_mask = m_parent->mParameters.getMobicatMask(); in encodeData()
2159 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in processRawImageImpl()
2200 bool zslChannelUsed = m_parent->isZSLMode() && in processRawImageImpl()
2208 raw_mem = m_parent->mGetMemory(-1, in processRawImageImpl()
2211 m_parent->mCallbackCookie); in processRawImageImpl()
2225 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_SNAPSHOT); in processRawImageImpl()
2228 m_parent->dumpFrameToFile(pStream, frame, QCAMERA_DUMP_FRM_RAW); in processRawImageImpl()
2230 if(true == m_parent->m_bIntRawEvtPending) { in processRawImageImpl()
2234 pthread_mutex_lock(&m_parent->m_int_lock); in processRawImageImpl()
2235 pthread_cond_signal(&m_parent->m_int_cond); in processRawImageImpl()
2236 pthread_mutex_unlock(&m_parent->m_int_lock); in processRawImageImpl()
2243 if (NULL != m_parent->mDataCb && in processRawImageImpl()
2244 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE) > 0) { in processRawImageImpl()
2251 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2253 if (NULL != m_parent->mNotifyCb && in processRawImageImpl()
2254 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_RAW_IMAGE_NOTIFY) > 0) { in processRawImageImpl()
2261 m_parent->m_cbNotifier.notifyCallback(cbArg); in processRawImageImpl()
2264 if ((m_parent->mDataCb != NULL) && in processRawImageImpl()
2265 m_parent->msgTypeEnabledWithLock(CAMERA_MSG_COMPRESSED_IMAGE) > 0) { in processRawImageImpl()
2381 camera_memory_t* jpeg_mem = pme->m_parent->mGetMemory(-1, in dataSaveRoutine()
2384 pme->m_parent->mCallbackCookie); in dataSaveRoutine()
2565 pme->m_parent->playShutter(); in dataProcessRoutine()
2688 if (m_parent->isRegularCapture()) { in doReprocess()
2733 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
2737 m_parent->mParameters.getNumberOutBufsForSingleShot() - in doReprocess()
2738 m_parent->mParameters.getNumberInBufsForSingleShot(); in doReprocess()
2760 m_parent->mParameters, pMetaStream, meta_buf_index); in doReprocess()
2817 if (m_parent->isRegularCapture()) { in stopCapture()
2818 rc = m_parent->processAPI( in stopCapture()
2863 QCameraChannel *pChannel = m_parent->getChannelByHandle(recvd_frame->ch_id); in setYUVFrameInfo()
2896 fmt_string = m_parent->mParameters.getFrameFmtString(frame_fmt); in setYUVFrameInfo()
2900 m_parent->mParameters.set("snapshot-framelen", (int)frame_offset.frame_len); in setYUVFrameInfo()
2901 m_parent->mParameters.set("snapshot-yoff", (int)frame_offset.mp[0].offset); in setYUVFrameInfo()
2902 m_parent->mParameters.set("snapshot-cbcroff", cbcr_offset); in setYUVFrameInfo()
2904 m_parent->mParameters.set("snapshot-format", fmt_string); in setYUVFrameInfo()
2906 m_parent->mParameters.set("snapshot-format", ""); in setYUVFrameInfo()
2943 camera_memory_t *cam_mem = procInst->m_parent->mGetMemory(out_buf->fd, out_buf->size, 1U, in getJpegMemory()
2944 procInst->m_parent->mCallbackCookie); in getJpegMemory()