Lines Matching refs:mem
1352 QCameraMemory *mem = NULL; in allocateStreamBuf() local
1360 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1370 mem = grallocMemory; in allocateStreamBuf()
1384 mem = grallocMemory; in allocateStreamBuf()
1392 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1402 mem = new QCameraVideoMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1410 if (!mem) { in allocateStreamBuf()
1415 rc = mem->allocate(bufferCnt, size); in allocateStreamBuf()
1417 delete mem; in allocateStreamBuf()
1420 bufferCnt = mem->getCnt(); in allocateStreamBuf()
1422 return mem; in allocateStreamBuf()
3684 camera_memory_t *mem = ( camera_memory_t * ) data; in releaseCameraMemory() local
3685 if ( NULL != mem ) { in releaseCameraMemory()
3686 mem->release(mem); in releaseCameraMemory()