Lines Matching refs:mDstImgs
257 memset(&mDstImgs[i], 0, sizeof(mDstImgs[i])); in ExynosMPP()
258 mDstImgs[i].acrylicAcquireFenceFd = -1; in ExynosMPP()
259 mDstImgs[i].acrylicReleaseFenceFd = -1; in ExynosMPP()
937 exynos_mpp_img_info freeDstBuf = mDstImgs[index]; in allocOutBuf()
939 dumpExynosMPPImgInfo(eDebugMPP, mDstImgs[index]); in allocOutBuf()
964 memset(&mDstImgs[index], 0, sizeof(mDstImgs[index])); in allocOutBuf()
966 mDstImgs[index].acrylicAcquireFenceFd = -1; in allocOutBuf()
967 mDstImgs[index].acrylicReleaseFenceFd = -1; in allocOutBuf()
968 mDstImgs[index].bufferHandle = dstBuffer; in allocOutBuf()
969 mDstImgs[index].bufferType = getBufferType(usage); in allocOutBuf()
970 mDstImgs[index].format = format; in allocOutBuf()
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()
1077 if (mDstImgs[index].bufferHandle != NULL) in needDstBufRealloc()
1078 dst_handle = mDstImgs[index].bufferHandle; in needDstBufRealloc()
1093 ExynosDisplay *prevAssignedDisplay = mDstImgs[index].assignedDisplay; in needDstBufRealloc()
1107 mDstImgs[index].bufferType, getBufferType(dst.usageFlags), dst.usageFlags, in needDstBufRealloc()
1115 (mDstImgs[index].bufferType != getBufferType(dst.usageFlags)) || in needDstBufRealloc()
1160 if (mDstImgs[prevDstIndex].bufferHandle == NULL) 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()
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()
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()
1813 if (mDstImgs[mCurrentDstBuf].bufferHandle == NULL) { in getDstImageInfo()
1818 img->bufferHandle = mDstImgs[mCurrentDstBuf].bufferHandle; in getDstImageInfo()
1845 img->format = mDstImgs[mCurrentDstBuf].format; 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()
1882 if (mDstImgs[dstBufIndex].acrylicAcquireFenceFd >= 0) { in setDstAcquireFence()
1884 mDstImgs[dstBufIndex].acrylicAcquireFenceFd); in setDstAcquireFence()
1885 fence_close(mDstImgs[dstBufIndex].acrylicAcquireFenceFd, mAssignedDisplay, in setDstAcquireFence()
1889 mDstImgs[dstBufIndex].acrylicAcquireFenceFd = in setDstAcquireFence()
1892 mDstImgs[dstBufIndex].acrylicAcquireFenceFd = in setDstAcquireFence()
1896 mDstImgs[dstBufIndex].acrylicAcquireFenceFd); in setDstAcquireFence()
1910 mDstImgs[mCurrentDstBuf].acrylicReleaseFenceFd = -1; in resetDstReleaseFence()
1948 exynos_mpp_img_info freeDstBuf = mDstImgs[i]; in requestHWStateChange()
1949 memset(&mDstImgs[i], 0, sizeof(mDstImgs[i])); in requestHWStateChange()
1950 mDstImgs[i].acrylicAcquireFenceFd = freeDstBuf.acrylicAcquireFenceFd; in requestHWStateChange()
1951 mDstImgs[i].acrylicReleaseFenceFd = freeDstBuf.acrylicReleaseFenceFd; in requestHWStateChange()
1962 mDstImgs[i].bufferHandle = freeDstBuf.bufferHandle; in requestHWStateChange()
1963 mDstImgs[i].bufferType = freeDstBuf.bufferType; in requestHWStateChange()
1964 mDstImgs[i].assignedDisplay = freeDstBuf.assignedDisplay; in requestHWStateChange()
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()