Lines Matching refs:imgBuf
4069 QCameraHeapMemory *imgBuf = new QCameraHeapMemory(QCAMERA_ION_USE_CACHE);
4070 if (imgBuf == NULL) {
4075 rc = imgBuf->allocate(1, config->input_buf_planes.plane_info.frame_len, NON_SECURE);
4078 delete imgBuf;
4082 void *pBufPtr = imgBuf->getPtr(0);
4085 imgBuf->deallocate();
4086 delete imgBuf;
4099 imgBuf->deallocate();
4100 delete imgBuf;
4107 imgBuf->deallocate();
4108 delete imgBuf;
4113 ssize_t bufSize = imgBuf->getSize(0);
4115 rc = pChannel->doReprocess(imgBuf->getFd(0), (size_t)bufSize, faceID);
4121 // done with register face image, free imgbuf and delete reprocess channel
4122 imgBuf->deallocate();
4123 delete imgBuf;
4124 imgBuf = NULL;