Lines Matching refs:pme
728 QCameraStream *pme = (QCameraStream *)data;
729 QCameraCmdThread *cmdThread = &pme->mProcTh;
749 (mm_camera_super_buf_t *)pme->mDataQ.dequeue();
751 if (pme->mDataCB != NULL) {
752 pme->mDataCB(frame, pme, pme->mUserData);
755 pme->bufDone(frame->bufs[0]->buf_idx);
764 pme->mDataQ.flush();
1120 QCameraStream *pme = (QCameraStream *)data;
1124 pme->cond_wait();
1125 if (pme->mNumBufsNeedAlloc > 0) {
1126 uint8_t numBufAlloc = pme->mNumBufs - pme->mNumBufsNeedAlloc;
1127 rc = pme->mAllocator.allocateMoreStreamBuf(pme->mStreamBufs,
1128 pme->mFrameLenOffset.frame_len,
1129 pme->mNumBufsNeedAlloc);
1131 for (int i = numBufAlloc; i < pme->mNumBufs; i++) {
1132 rc = pme->m_MemOpsTbl.map_ops(i, -1,
1133 pme->mStreamBufs->getFd(i),
1134 pme->mStreamBufs->getSize(i),
1135 pme->m_MemOpsTbl.userdata);
1137 pme->mStreamBufs->getBufDef(pme->mFrameLenOffset,
1138 pme->mBufDefs[i], i);
1139 pme->mCamOps->qbuf(pme->mCamHandle,
1140 pme->mChannelHandle,
1141 &pme->mBufDefs[i]);
1147 pme->mNumBufsNeedAlloc = 0;
1581 QCameraStream *pme = (QCameraStream *)user_data;
1583 if (NULL != pme) {
1584 pme->bufDone(frame->bufs[0]->buf_idx);