Lines Matching refs:mCurrentDstBuf
159 mCurrentDstBuf(0), in ExynosMPP()
988 mDstImgs[mCurrentDstBuf].bufferHandle = NULL; in setOutBuf()
990 mDstImgs[mCurrentDstBuf].bufferHandle = outbuf; in setOutBuf()
991 mDstImgs[mCurrentDstBuf].format = in setOutBuf()
992 VendorGraphicBufferMeta::get_format(mDstImgs[mCurrentDstBuf].bufferHandle); in setOutBuf()
1139 …int32_t prevDstIndex = (mCurrentDstBuf + NUM_MPP_DST_BUFS(mLogicalType) - 1)% NUM_MPP_DST_BUFS(mL… in canUsePrevFrame()
1468 mCurrentDstBuf, mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd); in doPostProcessingInternal()
1470 setupDst(&mDstImgs[mCurrentDstBuf]); in doPostProcessingInternal()
1473 mCurrentDstBuf, mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd); in doPostProcessingInternal()
1509 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in doPostProcessingInternal()
1559 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in doPostProcessingInternal()
1571 if (mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd >= 0) { in doPostProcessingInternal()
1573 mCurrentDstBuf, in doPostProcessingInternal()
1574 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd); in doPostProcessingInternal()
1578 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = in doPostProcessingInternal()
1581 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = in doPostProcessingInternal()
1585 mCurrentDstBuf, mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, dstBufIdx); in doPostProcessingInternal()
1591 if ((mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd > 0) && in doPostProcessingInternal()
1592 (sync_wait(mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, 1000) < 0)) { in doPostProcessingInternal()
1595 buffer_handle_t dstHandle = mDstImgs[mCurrentDstBuf].bufferHandle; in doPostProcessingInternal()
1641 return ((needDstBufRealloc(dst, mCurrentDstBuf) == false) & canUsePrevFrame()); in canSkipProcessing()
1666 if ((realloc = needDstBufRealloc(dst, mCurrentDstBuf)) == true) { in doPostProcessing()
1684 allocFormat, dst.usageFlags, mCurrentDstBuf); in doPostProcessing()
1687 MPP_LOGE("%s:: fail to allocate dst buffer[%d]", __func__, mCurrentDstBuf); in doPostProcessing()
1690 if (mDstImgs[mCurrentDstBuf].format != dst.format) { in doPostProcessing()
1692 mDstImgs[mCurrentDstBuf].format, dst.format); in doPostProcessing()
1693 mDstImgs[mCurrentDstBuf].format = dst.format; in doPostProcessing()
1698 …mCurrentDstBuf = (mCurrentDstBuf + NUM_MPP_DST_BUFS(mLogicalType) - 1)% NUM_MPP_DST_BUFS(mLogicalT… in doPostProcessing()
1699 MPP_LOGD(eDebugMPP|eDebugFence, "Reuse previous frame, dstImg[%d]", mCurrentDstBuf); in doPostProcessing()
1756 if ((mCurrentDstBuf < 0) || (mCurrentDstBuf >= NUM_MPP_DST_BUFS(mLogicalType)) || in getDstImageInfo()
1758 MPP_LOGE("mCurrentDstBuf(%d), mAssignedDisplay(%p)", mCurrentDstBuf, mAssignedDisplay); in getDstImageInfo()
1768 if (mDstImgs[mCurrentDstBuf].bufferHandle == NULL) { in getDstImageInfo()
1773 img->bufferHandle = mDstImgs[mCurrentDstBuf].bufferHandle; in getDstImageInfo()
1799 img->format = mDstImgs[mCurrentDstBuf].format; in getDstImageInfo()
1800 MPP_LOGD(eDebugFence, "get dstBuf[%d] accquireFence(%d)", mCurrentDstBuf, in getDstImageInfo()
1801 mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd); in getDstImageInfo()
1802 img->acquireFenceFd = mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd; in getDstImageInfo()
1803 img->releaseFenceFd = mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd; in getDstImageInfo()
1804 img->dataSpace = mDstImgs[mCurrentDstBuf].dataspace; in getDstImageInfo()
1820 if (mPrivDstBuf == mCurrentDstBuf) in setDstAcquireFence()
1822 "M2MMPP : same buffer was reused idx %d, %d",mPrivDstBuf, mCurrentDstBuf); in setDstAcquireFence()
1827 mPrivDstBuf = mCurrentDstBuf; in setDstAcquireFence()
1832 mPrivDstBuf = mCurrentDstBuf; in setDstAcquireFence()
1852 mPrivDstBuf = mCurrentDstBuf; in setDstAcquireFence()
1861 if (mCurrentDstBuf < 0 || mCurrentDstBuf >= NUM_MPP_DST_BUFS(mLogicalType)) in resetDstReleaseFence()
1864 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in resetDstReleaseFence()
2809 mCurrentDstBuf = (mCurrentDstBuf + 1) % NUM_MPP_DST_BUFS(mLogicalType); in increaseDstBuffIndex()
2810 return mCurrentDstBuf; in increaseDstBuffIndex()
2864 mAssignedSources.size(), mCapacity, mUsedCapacity, mCurrentDstBuf); in dump()
2880 mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd = in closeFences()
2881 fence_close(mDstImgs[mCurrentDstBuf].acrylicAcquireFenceFd, mAssignedDisplay, in closeFences()
2883 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = in closeFences()
2884 fence_close(mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd, mAssignedDisplay, in closeFences()