Lines Matching refs:pme
705 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data;
706 if (NULL != pme) {
707 pme->releaseSuperBuf((mm_camera_super_buf_t *)data);
724 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data;
725 if (NULL != pme) {
726 pme->m_parent->metadataBufDone((mm_camera_super_buf_t *)data);
743 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data;
744 if (NULL != pme) {
745 pme->releaseJpegJobData((qcamera_hal3_jpeg_data_t *)data);
762 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data;
763 if (NULL != pme) {
766 pme->releaseSuperBuf(pp_job->src_frame);
769 pme->m_parent->metadataBufDone(pp_job->src_metadata);
1381 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data;
1382 QCameraCmdThread *cmdThread = &pme->m_dataProcTh;
1403 pme->m_ongoingPPQ.init();
1404 pme->m_inputJpegQ.init();
1405 pme->m_inputPPQ.init();
1406 pme->m_inputFWKPPQ.init();
1407 pme->m_inputRawQ.init();
1408 pme->m_inputMetaQ.init();
1418 (qcamera_hal3_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue();
1420 pme->mJpegHandle.abort_job(jpeg_job->jobId);
1422 pme->releaseJpegJobData(jpeg_job);
1425 jpeg_job = (qcamera_hal3_jpeg_data_t *)pme->m_ongoingJpegQ.dequeue();
1429 if ( 0 < pme->mJpegSessionId ) {
1430 pme->mJpegHandle.destroy_session(pme->mJpegSessionId);
1431 pme->mJpegSessionId = 0;
1437 pme->m_ongoingPPQ.flush();
1440 pme->m_inputJpegQ.flush();
1443 pme->m_inputPPQ.flush();
1446 pme->m_inputFWKPPQ.flush();
1449 pme->m_inputRawQ.flush();
1451 pme->m_inputMetaQ.flush();
1465 if (pme->m_ongoingJpegQ.isEmpty()) {
1469 (qcamera_hal3_jpeg_data_t *)pme->m_inputJpegQ.dequeue();
1473 pme->m_ongoingJpegQ.enqueue((void *)jpeg_job);
1476 ret = pme->encodeFWKData(jpeg_job, needNewSess);
1478 ret = pme->encodeData(jpeg_job, needNewSess);
1482 pme->m_ongoingJpegQ.dequeue(false);
1484 pme->releaseJpegJobData(jpeg_job);
1491 if (!pme->m_inputFWKPPQ.isEmpty()) {
1493 (qcamera_fwk_input_pp_data_t *) pme->m_inputFWKPPQ.dequeue();
1498 (jpeg_settings_t *)pme->m_jpegSettingsQ.dequeue();
1502 if (pme->m_pReprocChannel != NULL) {
1503 if (NO_ERROR != pme->m_pReprocChannel->extractCrop(fwk_frame)) {
1508 pme->m_ongoingPPQ.enqueue((void *)pp_job);
1509 ret = pme->m_pReprocChannel->doReprocessOffline(fwk_frame);
1512 pme->m_ongoingPPQ.dequeue(false);
1537 pthread_mutex_lock(&pme->mReprocJobLock);
1538 if(!pme->m_inputPPQ.isEmpty() && !pme->m_inputMetaQ.isEmpty()) {
1540 (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue();
1542 (mm_camera_super_buf_t *)pme->m_inputMetaQ.dequeue();
1544 (jpeg_settings_t *)pme->m_jpegSettingsQ.dequeue();
1545 pthread_mutex_unlock(&pme->mReprocJobLock);
1555 pme->m_ongoingPPQ.enqueue((void *)pp_job);
1556 if (pme->m_pReprocChannel != NULL) {
1559 ret = pme->m_pReprocChannel->extractFrameCropAndRotation(
1565 ret = pme->m_pReprocChannel->doReprocessOffline(
1569 pme->m_ongoingPPQ.dequeue(false);
1575 ret = pme->processPPData(pp_frame);
1589 pme->releaseSuperBuf(pp_frame);
1594 pme->m_parent->metadataBufDone(meta_buffer);
1599 pthread_mutex_unlock(&pme->mReprocJobLock);
1604 (qcamera_hal3_jpeg_data_t *)pme->m_inputJpegQ.dequeue();
1609 super_buf = (mm_camera_super_buf_t *)pme->m_inputRawQ.dequeue();
1611 pme->releaseSuperBuf(super_buf);
1614 super_buf = (mm_camera_super_buf_t *)pme->m_inputPPQ.dequeue();
1616 pme->releaseSuperBuf(super_buf);
1619 mm_camera_super_buf_t *metadata = (mm_camera_super_buf_t *)pme->m_inputMetaQ.dequeue();
1621 pme->m_parent->metadataBufDone(metadata);
1625 (qcamera_fwk_input_pp_data_t *) pme->m_inputFWKPPQ.dequeue();