Lines Matching refs:imgBuf
5621 QCameraHeapMemory *imgBuf = new QCameraHeapMemory(QCAMERA_ION_USE_CACHE);
5622 if (imgBuf == NULL) {
5627 rc = imgBuf->allocate(1, config->input_buf_planes.plane_info.frame_len, NON_SECURE);
5630 delete imgBuf;
5634 void *pBufPtr = imgBuf->getPtr(0);
5637 imgBuf->deallocate();
5638 delete imgBuf;
5651 imgBuf->deallocate();
5652 delete imgBuf;
5659 imgBuf->deallocate();
5660 delete imgBuf;
5665 ssize_t bufSize = imgBuf->getSize(0);
5667 rc = pChannel->doReprocess(imgBuf->getFd(0), (size_t)bufSize, faceID);
5673 // done with register face image, free imgbuf and delete reprocess channel
5674 imgBuf->deallocate();
5675 delete imgBuf;
5676 imgBuf = NULL;