Lines Matching refs:pme
707 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data;
708 if (NULL != pme) {
709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data);
726 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data;
727 if (NULL != pme) {
728 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data);
745 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data;
746 if (NULL != pme) {
749 pme->releaseSuperBuf(pp_job->src_frame);
1222 QCameraPostProcessor *pme = (QCameraPostProcessor *)data;
1223 QCameraCmdThread *cmdThread = &pme->m_dataProcTh;
1251 (qcamera_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue();
1253 pme->mJpegHandle.abort_job(jpeg_job->jobId);
1255 pme->releaseJpegJobData(jpeg_job);
1258 jpeg_job = (qcamera_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue();
1262 if ( 0 < pme->mJpegSessionId ) {
1263 pme->mJpegHandle.destroy_session(pme->mJpegSessionId);
1264 pme->mJpegSessionId = 0;
1268 if (pme->m_pJpegOutputMem != NULL) {
1269 pme->m_pJpegOutputMem->deallocate();
1270 delete pme->m_pJpegOutputMem;
1271 pme->m_pJpegOutputMem = NULL;
1273 if (pme->m_pJpegExifObj != NULL) {
1274 delete pme->m_pJpegExifObj;
1275 pme->m_pJpegExifObj = NULL;
1280 if (pme->m_pReprocChannel != NULL) {
1281 pme->m_pReprocChannel->stop();
1282 delete pme->m_pReprocChannel;
1283 pme->m_pReprocChannel = NULL;
1287 pme->m_ongoingPPQ.flush();
1290 pme->m_inputJpegQ.flush();
1293 pme->m_inputPPQ.flush();
1296 pme->m_inputRawQ.flush();
1307 if (pme->m_ongoingJpegQ.isEmpty()) {
1310 (qcamera_jpeg_data_t *)pme->m_inputJpegQ.dequeue();
1314 pme->m_parent->playShutter();
1317 pme->m_ongoingJpegQ.enqueue((void *)jpeg_job);
1318 ret = pme->encodeData(jpeg_job, needNewSess);
1321 pme->m_ongoingJpegQ.dequeue(false);
1323 pme->releaseJpegJobData(jpeg_job);
1325 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0);
1332 (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue();
1336 pme->m_parent->playShutter();
1337 ret = pme->processRawImageImpl(super_buf);
1339 pme->releaseSuperBuf(super_buf);
1341 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0);
1346 (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue();
1352 if (pme->m_pReprocChannel != NULL) {
1355 pme->m_ongoingPPQ.enqueue((void *)pp_job);
1356 ret = pme->m_pReprocChannel->doReprocess(pp_frame);
1359 pme->m_ongoingPPQ.dequeue(false);
1377 pme->releaseSuperBuf(pp_frame);
1381 pme->sendEvtNotify(CAMERA_MSG_ERROR, UNKNOWN_ERROR, 0);
1387 (qcamera_jpeg_data_t *)pme->m_inputJpegQ.dequeue();
1389 pme->releaseJpegJobData(jpeg_data);
1393 (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue();
1395 pme->releaseSuperBuf(super_buf);
1398 super_buf = (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue();
1400 pme->releaseSuperBuf(super_buf);