Lines Matching refs:pme
940 QCameraStream *pme = (QCameraStream *)data; in dataProcRoutine() local
941 QCameraCmdThread *cmdThread = &pme->mProcTh; in dataProcRoutine()
962 (mm_camera_super_buf_t *)pme->mDataQ.dequeue(); in dataProcRoutine()
964 if (pme->mDataCB != NULL) { in dataProcRoutine()
965 pme->mDataCB(frame, pme, pme->mUserData); in dataProcRoutine()
968 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
977 pme->mDataQ.flush(); in dataProcRoutine()
1626 QCameraStream *pme = (QCameraStream *)data; in BufAllocRoutine() local
1630 pme->cond_wait(); in BufAllocRoutine()
1631 if (pme->mNumBufsNeedAlloc > 0) { in BufAllocRoutine()
1632 uint8_t numBufAlloc = (uint8_t)(pme->mNumBufs - pme->mNumBufsNeedAlloc); in BufAllocRoutine()
1633 rc = pme->mAllocator.allocateMoreStreamBuf(pme->mStreamBufs, in BufAllocRoutine()
1634 pme->mFrameLenOffset.frame_len, in BufAllocRoutine()
1635 pme->mNumBufsNeedAlloc); in BufAllocRoutine()
1637 for (uint32_t i = numBufAlloc; i < pme->mNumBufs; i++) { in BufAllocRoutine()
1638 ssize_t bufSize = pme->mStreamBufs->getSize(i); in BufAllocRoutine()
1640 rc = pme->m_MemOpsTbl.map_ops(i, -1, pme->mStreamBufs->getFd(i), in BufAllocRoutine()
1642 pme->m_MemOpsTbl.userdata); in BufAllocRoutine()
1644 pme->mStreamBufs->getBufDef(pme->mFrameLenOffset, pme->mBufDefs[i], i); in BufAllocRoutine()
1645 pme->mCamOps->qbuf(pme->mCamHandle, pme->mChannelHandle, in BufAllocRoutine()
1646 &pme->mBufDefs[i]); in BufAllocRoutine()
1655 pme->mNumBufsNeedAlloc = 0; in BufAllocRoutine()
2139 QCameraStream *pme = (QCameraStream *)user_data; in releaseFrameData() local
2141 if (NULL != pme) { in releaseFrameData()
2142 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()