Lines Matching refs:mStreamBufs

367         mStreamBufs(NULL),  in QCameraStream()
1286 } else if (mStreamBufs != NULL){ in bufDone()
1287 mVideoMem = (QCameraVideoMemory *)mStreamBufs; in bufDone()
1405 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs()
1408 if (!mStreamBufs) { in getBufs()
1414 uint8_t numBufsToMap = mStreamBufs->getMappable(); in getBufs()
1418 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs()
1426 0 /*cookie*/, mStreamBufs->getFd(i), bufSize, in getBufs()
1427 mStreamBufs->getPtr(i)); in getBufs()
1442 mStreamBufs->deallocate(); in getBufs()
1443 delete mStreamBufs; in getBufs()
1444 mStreamBufs = NULL; in getBufs()
1455 mStreamBufs->deallocate(); in getBufs()
1456 delete mStreamBufs; in getBufs()
1457 mStreamBufs = NULL; in getBufs()
1468 mStreamBufs->deallocate(); in getBufs()
1469 delete mStreamBufs; in getBufs()
1470 mStreamBufs = NULL; in getBufs()
1477 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in getBufs()
1480 rc = mStreamBufs->getRegFlags(regFlags); in getBufs()
1486 mStreamBufs->deallocate(); in getBufs()
1487 delete mStreamBufs; in getBufs()
1488 mStreamBufs = NULL; in getBufs()
1580 if (mStreamBufs == NULL) { in mapNewBuffer()
1585 ssize_t bufSize = mStreamBufs->getSize(index); in mapNewBuffer()
1594 -1 /*plane index*/, 0 /*cookie*/, mStreamBufs->getFd(index), in mapNewBuffer()
1595 bufSize, bufMapList, mStreamBufs->getPtr(index)); in mapNewBuffer()
1604 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[index], index); in mapNewBuffer()
1651 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers()
1657 if (!mStreamBufs) { in allocateBuffers()
1663 uint8_t numBufsToMap = mStreamBufs->getMappable(); in allocateBuffers()
1673 mStreamBufs->deallocate(); in allocateBuffers()
1674 delete mStreamBufs; in allocateBuffers()
1675 mStreamBufs = NULL; in allocateBuffers()
1687 mStreamBufs->deallocate(); in allocateBuffers()
1688 delete mStreamBufs; in allocateBuffers()
1689 mStreamBufs = NULL; in allocateBuffers()
1696 mStreamBufs->getBufDef(mFrameLenOffset, mBufDefs[i], i); in allocateBuffers()
1699 rc = mStreamBufs->getRegFlags(mRegFlags); in allocateBuffers()
1705 mStreamBufs->deallocate(); in allocateBuffers()
1706 delete mStreamBufs; in allocateBuffers()
1707 mStreamBufs = NULL; in allocateBuffers()
1753 if (mStreamBufs == NULL) { in mapBuffers()
1758 uint8_t numBufsToMap = mStreamBufs->getMappable(); in mapBuffers()
1760 ssize_t bufSize = mStreamBufs->getSize(i); in mapBuffers()
1764 mStreamBufs->getFd(i), bufSize, in mapBuffers()
1765 mStreamBufs->getPtr(i)); in mapBuffers()
1868 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBatchBufs()
1871 if (!mStreamBufs) { in allocateBatchBufs()
1879 ssize_t bufSize = mStreamBufs->getSize(i); in allocateBatchBufs()
1883 0 /*cookie*/, mStreamBufs->getFd(i), bufSize, in allocateBatchBufs()
1884 mStreamBufs->getPtr(i)); in allocateBatchBufs()
1888 mStreamBufs->deallocate(); in allocateBatchBufs()
1889 delete mStreamBufs; in allocateBatchBufs()
1890 mStreamBufs = NULL; in allocateBatchBufs()
1896 mStreamBufs->deallocate(); in allocateBatchBufs()
1897 delete mStreamBufs; in allocateBatchBufs()
1898 mStreamBufs = NULL; in allocateBatchBufs()
1912 mStreamBufs->deallocate(); in allocateBatchBufs()
1913 delete mStreamBufs; in allocateBatchBufs()
1914 mStreamBufs = NULL; in allocateBatchBufs()
1929 mStreamBufs->deallocate(); in allocateBatchBufs()
1930 delete mStreamBufs; in allocateBatchBufs()
1931 mStreamBufs = NULL; in allocateBatchBufs()
1946 mStreamBufs->deallocate(); in allocateBatchBufs()
1947 delete mStreamBufs; in allocateBatchBufs()
1948 mStreamBufs = NULL; in allocateBatchBufs()
1967 mStreamBufs->deallocate(); in allocateBatchBufs()
1968 delete mStreamBufs; in allocateBatchBufs()
1969 mStreamBufs = NULL; in allocateBatchBufs()
1981 mStreamBufs); in allocateBatchBufs()
2027 if ((NULL != mBufDefs) && (mStreamBufs != NULL)) { in releaseBuffs()
2028 uint8_t numBufsToUnmap = mStreamBufs->getMappable(); in releaseBuffs()
2041 if (!mStreamBufsAcquired && (mStreamBufs != NULL)) { in releaseBuffs()
2042 mStreamBufs->deallocate(); in releaseBuffs()
2043 delete mStreamBufs; in releaseBuffs()
2044 mStreamBufs = NULL; in releaseBuffs()
2081 if (mStreamBufs != NULL) { in releaseBatchBufs()
2082 mStreamBufs->deallocate(); in releaseBatchBufs()
2083 delete mStreamBufs; in releaseBatchBufs()
2119 rc = pme->mAllocator.allocateMoreStreamBuf(pme->mStreamBufs, in BufAllocRoutine()
2131 ssize_t bufSize = pme->mStreamBufs->getSize(i); in BufAllocRoutine()
2139 0 /*cookie*/, pme->mStreamBufs->getFd(i), bufSize, in BufAllocRoutine()
2140 pme->mStreamBufs->getPtr(i)); in BufAllocRoutine()
2159 pme->mStreamBufs->getBufDef(pme->mFrameLenOffset, pme->mBufDefs[i], i); in BufAllocRoutine()
2227 uint8_t numBufsToUnmap = mStreamBufs->getMappable(); in putBufs()
2238 mStreamBufs->deallocate(); in putBufs()
2239 delete mStreamBufs; in putBufs()
2240 mStreamBufs = NULL; in putBufs()
2285 if (mStreamBufs == NULL) { in invalidateBuf()
2289 return mStreamBufs->invalidateCache(index); in invalidateBuf()
2306 if (mStreamBufs == NULL) { in cleanInvalidateBuf()
2310 return mStreamBufs->cleanInvalidateCache(index); in cleanInvalidateBuf()
2327 if (mStreamBufs == NULL) { in cleanBuf()
2331 return mStreamBufs->cleanCache(index); in cleanBuf()