Lines Matching refs:mMemory
470 mMemory.unregisterBuffers(); in ~QCamera3RegularChannel()
559 if (0 < mMemory.getCnt()) { in start()
581 index = mMemory.getMatchBufIndex((void*)buffer); in getInternalFormatBuffer()
629 index = mMemory.getMatchBufIndex((void*)buffer); in request()
638 index = mMemory.getMatchBufIndex((void*)buffer); in request()
652 rc = mMemory.markFrameNumber(index, frameNumber); in request()
672 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { in registerBuffer()
687 rc = mMemory.registerBuffer(buffer); in registerBuffer()
733 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); in streamCbRoutine()
734 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
749 return &mMemory; in getStreamBufs()
761 mMemory(NULL) in QCamera3MetadataChannel()
770 if (mMemory) { in ~QCamera3MetadataChannel()
771 mMemory->deallocate(); in ~QCamera3MetadataChannel()
772 delete mMemory; in ~QCamera3MetadataChannel()
773 mMemory = NULL; in ~QCamera3MetadataChannel()
782 if (mMemory || m_numStreams > 0) { in initialize()
833 mMemory = new QCamera3HeapMemory(); in getStreamBufs()
834 if (!mMemory) { in getStreamBufs()
838 rc = mMemory->allocate(MIN_STREAMING_BUFFER_NUM, len, true); in getStreamBufs()
841 delete mMemory; in getStreamBufs()
842 mMemory = NULL; in getStreamBufs()
845 memset(mMemory->getPtr(0), 0, sizeof(metadata_buffer_t)); in getStreamBufs()
846 return mMemory; in getStreamBufs()
851 mMemory->deallocate(); in putStreamBufs()
852 delete mMemory; in putStreamBufs()
853 mMemory = NULL; in putStreamBufs()
892 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
1027 (buffer_handle_t *)obj->mMemory.getBufferHandle(obj->mCurrentBufIndex); in jpegEvtHandle()
1030 if (maxJpegSize > obj->mMemory.getSize(obj->mCurrentBufIndex)) { in jpegEvtHandle()
1031 maxJpegSize = obj->mMemory.getSize(obj->mCurrentBufIndex); in jpegEvtHandle()
1036 obj->mMemory.cleanInvalidateCache(obj->mCurrentBufIndex); in jpegEvtHandle()
1039 resultBuffer = (buffer_handle_t *)obj->mMemory.getBufferHandle(obj->mCurrentBufIndex); in jpegEvtHandle()
1040 resultFrameNumber = obj->mMemory.getFrameNumber(obj->mCurrentBufIndex); in jpegEvtHandle()
1080 int32_t rc = m_postprocessor.init(&mMemory, jpegEvtHandle, this); in QCamera3PicChannel()
1181 index = mMemory.getMatchBufIndex((void*)buffer); in request()
1190 index = mMemory.getMatchBufIndex((void*)buffer); in request()
1196 rc = mMemory.markFrameNumber(index, frameNumber); in request()
1287 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { in registerBuffer()
1301 rc = mMemory.registerBuffer(buffer); in registerBuffer()
1384 mMemory.unregisterBuffers(); in putStreamBufs()
2038 mMemory(NULL) in QCamera3ReprocessChannel()
2152 mMemory = new QCamera3HeapMemory(); in getStreamBufs()
2153 if (!mMemory) { in getStreamBufs()
2159 rc = mMemory->allocate(2, len, true); in getStreamBufs()
2162 delete mMemory; in getStreamBufs()
2163 mMemory = NULL; in getStreamBufs()
2166 return mMemory; in getStreamBufs()
2180 mMemory->deallocate(); in putStreamBufs()
2181 delete mMemory; in putStreamBufs()
2182 mMemory = NULL; in putStreamBufs()
2563 mMemory(NULL) in QCamera3SupportChannel()
2572 if (mMemory) { in ~QCamera3SupportChannel()
2573 mMemory->deallocate(); in ~QCamera3SupportChannel()
2574 delete mMemory; in ~QCamera3SupportChannel()
2575 mMemory = NULL; in ~QCamera3SupportChannel()
2583 if (mMemory || m_numStreams > 0) { in initialize()
2625 mMemory = new QCamera3HeapMemory(); in getStreamBufs()
2626 if (!mMemory) { in getStreamBufs()
2630 rc = mMemory->allocate(MIN_STREAMING_BUFFER_NUM, len, true); in getStreamBufs()
2633 delete mMemory; in getStreamBufs()
2634 mMemory = NULL; in getStreamBufs()
2637 return mMemory; in getStreamBufs()
2642 mMemory->deallocate(); in putStreamBufs()
2643 delete mMemory; in putStreamBufs()
2644 mMemory = NULL; in putStreamBufs()