Lines Matching refs:mCurrentDstBuf
163 mCurrentDstBuf(0), in ExynosMPP()
995 mDstImgs[mCurrentDstBuf].bufferHandle = NULL; in setOutBuf()
997 mDstImgs[mCurrentDstBuf].bufferHandle = outbuf; in setOutBuf()
998 mDstImgs[mCurrentDstBuf].format = in setOutBuf()
999 VendorGraphicBufferMeta::get_format(mDstImgs[mCurrentDstBuf].bufferHandle); in setOutBuf()
1159 …int32_t prevDstIndex = (mCurrentDstBuf + NUM_MPP_DST_BUFS(mLogicalType) - 1)% NUM_MPP_DST_BUFS(mL… in canUsePrevFrame()
1512 mCurrentDstBuf, mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd); in doPostProcessingInternal()
1514 setupDst(&mDstImgs[mCurrentDstBuf]); in doPostProcessingInternal()
1517 mCurrentDstBuf, mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd); in doPostProcessingInternal()
1553 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in doPostProcessingInternal()
1603 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in doPostProcessingInternal()
1615 if (mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd >= 0) { in doPostProcessingInternal()
1617 mCurrentDstBuf, in doPostProcessingInternal()
1618 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd); in doPostProcessingInternal()
1622 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = in doPostProcessingInternal()
1625 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = in doPostProcessingInternal()
1629 mCurrentDstBuf, mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, dstBufIdx); in doPostProcessingInternal()
1635 if ((mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd > 0) && in doPostProcessingInternal()
1636 (sync_wait(mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, 1000) < 0)) { in doPostProcessingInternal()
1639 buffer_handle_t dstHandle = mDstImgs[mCurrentDstBuf].bufferHandle; in doPostProcessingInternal()
1685 return ((needDstBufRealloc(dst, mCurrentDstBuf) == false) & canUsePrevFrame()); in canSkipProcessing()
1708 if ((realloc = needDstBufRealloc(dst, mCurrentDstBuf)) == true) { in doPostProcessing()
1726 allocFormat, dst.usageFlags, mCurrentDstBuf); in doPostProcessing()
1729 MPP_LOGE("%s:: fail to allocate dst buffer[%d]", __func__, mCurrentDstBuf); in doPostProcessing()
1732 if (mDstImgs[mCurrentDstBuf].format != dst.format) { in doPostProcessing()
1734 mDstImgs[mCurrentDstBuf].format, dst.format); in doPostProcessing()
1735 mDstImgs[mCurrentDstBuf].format = dst.format; in doPostProcessing()
1740 …mCurrentDstBuf = (mCurrentDstBuf + NUM_MPP_DST_BUFS(mLogicalType) - 1)% NUM_MPP_DST_BUFS(mLogicalT… in doPostProcessing()
1741 MPP_LOGD(eDebugMPP|eDebugFence, "Reuse previous frame, dstImg[%d]", mCurrentDstBuf); in doPostProcessing()
1798 if ((mCurrentDstBuf < 0) || (mCurrentDstBuf >= NUM_MPP_DST_BUFS(mLogicalType)) || in getDstImageInfo()
1800 MPP_LOGE("mCurrentDstBuf(%d), mAssignedDisplay(%p)", mCurrentDstBuf, mAssignedDisplay); in getDstImageInfo()
1813 if (mDstImgs[mCurrentDstBuf].bufferHandle == NULL) { in getDstImageInfo()
1818 img->bufferHandle = mDstImgs[mCurrentDstBuf].bufferHandle; in getDstImageInfo()
1845 img->format = mDstImgs[mCurrentDstBuf].format; in getDstImageInfo()
1846 MPP_LOGD(eDebugFence, "get dstBuf[%d] accquireFence(%d)", mCurrentDstBuf, in getDstImageInfo()
1847 mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd); in getDstImageInfo()
1848 img->acquireFenceFd = mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd; in getDstImageInfo()
1849 img->releaseFenceFd = mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd; in getDstImageInfo()
1850 img->dataSpace = mDstImgs[mCurrentDstBuf].dataspace; in getDstImageInfo()
1866 if (mPrivDstBuf == mCurrentDstBuf) in setDstAcquireFence()
1868 "M2MMPP : same buffer was reused idx %d, %d",mPrivDstBuf, mCurrentDstBuf); in setDstAcquireFence()
1873 mPrivDstBuf = mCurrentDstBuf; in setDstAcquireFence()
1878 mPrivDstBuf = mCurrentDstBuf; in setDstAcquireFence()
1898 mPrivDstBuf = mCurrentDstBuf; in setDstAcquireFence()
1907 if (mCurrentDstBuf < 0 || mCurrentDstBuf >= NUM_MPP_DST_BUFS(mLogicalType)) in resetDstReleaseFence()
1910 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in resetDstReleaseFence()
2867 mCurrentDstBuf = (mCurrentDstBuf + 1) % NUM_MPP_DST_BUFS(mLogicalType); in increaseDstBuffIndex()
2868 return mCurrentDstBuf; in increaseDstBuffIndex()
2922 mAssignedSources.size(), mCapacity, mUsedCapacity, mCurrentDstBuf); in dump()
2938 mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd = in closeFences()
2939 fence_close(mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd, mAssignedDisplay, in closeFences()
2941 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = in closeFences()
2942 fence_close(mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, mAssignedDisplay, in closeFences()