Lines Matching refs:mStreamBufs
367 mStreamBufs(NULL), in QCameraStream()
1226 } else if (mStreamBufs != NULL){ in bufDone()
1227 index = mStreamBufs->getMatchBufIndex(opaque, isMetaData); in bufDone()
1324 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs()
1327 if (!mStreamBufs) { in getBufs()
1333 uint8_t numBufsToMap = mStreamBufs->getMappable(); in getBufs()
1337 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs()
1345 0 /*cookie*/, mStreamBufs->getFd(i), bufSize, in getBufs()
1346 mStreamBufs->getPtr(i)); in getBufs()
1361 mStreamBufs->deallocate(); in getBufs()
1362 delete mStreamBufs; in getBufs()
1363 mStreamBufs = NULL; in getBufs()
1374 mStreamBufs->deallocate(); in getBufs()
1375 delete mStreamBufs; in getBufs()
1376 mStreamBufs = NULL; in getBufs()
1387 mStreamBufs->deallocate(); in getBufs()
1388 delete mStreamBufs; in getBufs()
1389 mStreamBufs = NULL; in getBufs()
1396 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
1399 rc = mStreamBufs->getRegFlags(regFlags); in getBufs()
1405 mStreamBufs->deallocate(); in getBufs()
1406 delete mStreamBufs; in getBufs()
1407 mStreamBufs = NULL; in getBufs()
1500 if (mStreamBufs == NULL) { in mapNewBuffer()
1505 ssize_t bufSize = mStreamBufs->getSize(index); in mapNewBuffer()
1514 -1 /*plane index*/, 0 /*cookie*/, mStreamBufs->getFd(index), in mapNewBuffer()
1515 bufSize, bufMapList, mStreamBufs->getPtr(index)); in mapNewBuffer()
1524 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in mapNewBuffer()
1571 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers()
1577 if (!mStreamBufs) { in allocateBuffers()
1583 uint8_t numBufsToMap = mStreamBufs->getMappable(); in allocateBuffers()
1593 mStreamBufs->deallocate(); in allocateBuffers()
1594 delete mStreamBufs; in allocateBuffers()
1595 mStreamBufs = NULL; in allocateBuffers()
1607 mStreamBufs->deallocate(); in allocateBuffers()
1608 delete mStreamBufs; in allocateBuffers()
1609 mStreamBufs = NULL; in allocateBuffers()
1616 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in allocateBuffers()
1619 rc = mStreamBufs->getRegFlags(mRegFlags); in allocateBuffers()
1625 mStreamBufs->deallocate(); in allocateBuffers()
1626 delete mStreamBufs; in allocateBuffers()
1627 mStreamBufs = NULL; in allocateBuffers()
1673 if (mStreamBufs == NULL) { in mapBuffers()
1678 uint8_t numBufsToMap = mStreamBufs->getMappable(); in mapBuffers()
1680 ssize_t bufSize = mStreamBufs->getSize(i); in mapBuffers()
1684 mStreamBufs->getFd(i), bufSize, in mapBuffers()
1685 mStreamBufs->getPtr(i)); in mapBuffers()
1788 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBatchBufs()
1791 if (!mStreamBufs) { in allocateBatchBufs()
1799 ssize_t bufSize = mStreamBufs->getSize(i); in allocateBatchBufs()
1803 0 /*cookie*/, mStreamBufs->getFd(i), bufSize, in allocateBatchBufs()
1804 mStreamBufs->getPtr(i)); in allocateBatchBufs()
1808 mStreamBufs->deallocate(); in allocateBatchBufs()
1809 delete mStreamBufs; in allocateBatchBufs()
1810 mStreamBufs = NULL; in allocateBatchBufs()
1816 mStreamBufs->deallocate(); in allocateBatchBufs()
1817 delete mStreamBufs; in allocateBatchBufs()
1818 mStreamBufs = NULL; in allocateBatchBufs()
1832 mStreamBufs->deallocate(); in allocateBatchBufs()
1833 delete mStreamBufs; in allocateBatchBufs()
1834 mStreamBufs = NULL; in allocateBatchBufs()
1849 mStreamBufs->deallocate(); in allocateBatchBufs()
1850 delete mStreamBufs; in allocateBatchBufs()
1851 mStreamBufs = NULL; in allocateBatchBufs()
1866 mStreamBufs->deallocate(); in allocateBatchBufs()
1867 delete mStreamBufs; in allocateBatchBufs()
1868 mStreamBufs = NULL; in allocateBatchBufs()
1887 mStreamBufs->deallocate(); in allocateBatchBufs()
1888 delete mStreamBufs; in allocateBatchBufs()
1889 mStreamBufs = NULL; in allocateBatchBufs()
1901 mStreamBufs); in allocateBatchBufs()
1939 if ((NULL != mBufDefs) && (mStreamBufs != NULL)) { in releaseBuffs()
1940 uint8_t numBufsToUnmap = mStreamBufs->getMappable(); in releaseBuffs()
1953 if (!mStreamBufsAcquired && (mStreamBufs != NULL)) { in releaseBuffs()
1954 mStreamBufs->deallocate(); in releaseBuffs()
1955 delete mStreamBufs; in releaseBuffs()
1956 mStreamBufs = NULL; in releaseBuffs()
1993 if (mStreamBufs != NULL) { in releaseBatchBufs()
1994 mStreamBufs->deallocate(); in releaseBatchBufs()
1995 delete mStreamBufs; in releaseBatchBufs()
2031 rc = pme->mAllocator.allocateMoreStreamBuf(pme->mStreamBufs, in BufAllocRoutine()
2043 ssize_t bufSize = pme->mStreamBufs->getSize(i); in BufAllocRoutine()
2051 0 /*cookie*/, pme->mStreamBufs->getFd(i), bufSize, in BufAllocRoutine()
2052 pme->mStreamBufs->getPtr(i)); in BufAllocRoutine()
2071 pme->mStreamBufs->getBufDef(pme->mFrameLenOffset, pme->mBufDefs[i], i); in BufAllocRoutine()
2139 uint8_t numBufsToUnmap = mStreamBufs->getMappable(); in putBufs()
2150 mStreamBufs->deallocate(); in putBufs()
2151 delete mStreamBufs; in putBufs()
2152 mStreamBufs = NULL; in putBufs()
2197 if (mStreamBufs == NULL) { in invalidateBuf()
2201 return mStreamBufs->invalidateCache(index); in invalidateBuf()
2218 if (mStreamBufs == NULL) { in cleanInvalidateBuf()
2222 return mStreamBufs->cleanInvalidateCache(index); in cleanInvalidateBuf()
2239 if (mStreamBufs == NULL) { in cleanBuf()
2243 return mStreamBufs->cleanCache(index); in cleanBuf()