Lines Matching refs:ExynosMPP
48 int ExynosMPP::mainDisplayWidth = 0;
49 int ExynosMPP::mainDisplayHeight = 0;
137 ExynosMPP::ExynosMPP(ExynosResourceManager* resourceManager, in ExynosMPP() function in ExynosMPP
268 ExynosMPP::~ExynosMPP() in ~ExynosMPP()
275 ExynosMPP::ResourceManageThread::ResourceManageThread(ExynosMPP *exynosMPP) in ResourceManageThread()
281 ExynosMPP::ResourceManageThread::~ResourceManageThread() in ~ResourceManageThread()
285 bool ExynosMPP::isDataspaceSupportedByMPP(struct exynos_image &src, struct exynos_image &dst) in isDataspaceSupportedByMPP()
324 bool ExynosMPP::isSupportedHDR(struct exynos_image &src, struct exynos_image &dst) in isSupportedHDR()
345 bool ExynosMPP::isSupportedHStrideCrop(struct exynos_image __unused &src) in isSupportedHStrideCrop()
350 bool ExynosMPP::isSupportedBlend(struct exynos_image &src) in isSupportedBlend()
362 bool ExynosMPP::checkRotationCondition(struct exynos_image &src) in checkRotationCondition()
386 bool ExynosMPP::isSupportedTransform(struct exynos_image &src) in isSupportedTransform()
406 bool ExynosMPP::isSupportedCompression(struct exynos_image &src) in isSupportedCompression()
418 bool ExynosMPP::isSupportedCapability(ExynosDisplay &display, struct exynos_image &src) in isSupportedCapability()
438 bool ExynosMPP::isSupportedDRM(struct exynos_image &src) in isSupportedDRM()
449 bool ExynosMPP::checkCSCRestriction(struct exynos_image &src, struct exynos_image &dst) in checkCSCRestriction()
454 bool ExynosMPP::isDimLayerSupported() in isDimLayerSupported()
462 bool ExynosMPP::isSrcFormatSupported(struct exynos_image &src) in isSrcFormatSupported()
490 bool ExynosMPP::isDstFormatSupported(struct exynos_image &dst) in isDstFormatSupported()
504 uint32_t ExynosMPP::getMaxUpscale(const struct exynos_image &src, in getMaxUpscale()
510 bool ExynosMPP::checkDownscaleCap(const float resolution, const float displayRatio_V) const { in checkDownscaleCap()
516 uint32_t ExynosMPP::getDownscaleRestriction(const struct exynos_image &src, in getDownscaleRestriction()
522 uint32_t ExynosMPP::getMaxDownscale(const ExynosDisplay &display, const struct exynos_image &src, in getMaxDownscale()
540 uint32_t ExynosMPP::getSrcXOffsetAlign(struct exynos_image &src) in getSrcXOffsetAlign()
551 uint32_t ExynosMPP::getSrcXOffsetAlign(uint32_t idx) in getSrcXOffsetAlign()
560 uint32_t ExynosMPP::getSrcYOffsetAlign(struct exynos_image &src) in getSrcYOffsetAlign()
565 uint32_t ExynosMPP::getSrcYOffsetAlign(uint32_t idx) in getSrcYOffsetAlign()
574 uint32_t ExynosMPP::getSrcWidthAlign(struct exynos_image &src) in getSrcWidthAlign()
579 uint32_t ExynosMPP::getSrcHeightAlign(struct exynos_image &src) in getSrcHeightAlign()
584 uint32_t ExynosMPP::getSrcMaxWidth(struct exynos_image &src) in getSrcMaxWidth()
592 uint32_t ExynosMPP::getSrcMaxHeight(struct exynos_image &src) in getSrcMaxHeight()
600 uint32_t ExynosMPP::getSrcMinWidth(struct exynos_image &src) in getSrcMinWidth()
605 uint32_t ExynosMPP::getSrcMinWidth(uint32_t idx) in getSrcMinWidth()
614 uint32_t ExynosMPP::getSrcMinHeight(struct exynos_image &src) in getSrcMinHeight()
619 uint32_t ExynosMPP::getSrcMinHeight(uint32_t idx) in getSrcMinHeight()
628 uint32_t ExynosMPP::getSrcMaxCropWidth(struct exynos_image &src) in getSrcMaxCropWidth()
633 uint32_t ExynosMPP::getSrcMaxCropHeight(struct exynos_image &src) in getSrcMaxCropHeight()
642 uint32_t ExynosMPP::getSrcMaxCropSize(struct exynos_image &src) in getSrcMaxCropSize()
646 uint32_t ExynosMPP::getSrcMinCropWidth(struct exynos_image &src) in getSrcMinCropWidth()
655 uint32_t ExynosMPP::getSrcMinCropHeight(struct exynos_image &src) in getSrcMinCropHeight()
664 uint32_t ExynosMPP::getSrcCropWidthAlign(const struct exynos_image &src) const { in getSrcCropWidthAlign()
674 uint32_t ExynosMPP::getSrcCropWidthAlign(uint32_t idx) const { in getSrcCropWidthAlign()
682 uint32_t ExynosMPP::getSrcCropHeightAlign(const struct exynos_image &src) const { in getSrcCropHeightAlign()
693 uint32_t ExynosMPP::getSrcCropHeightAlign(uint32_t idx) const { in getSrcCropHeightAlign()
701 uint32_t ExynosMPP::getDstMaxWidth(struct exynos_image &dst) in getDstMaxWidth()
706 uint32_t ExynosMPP::getDstMaxHeight(struct exynos_image &dst) in getDstMaxHeight()
711 uint32_t ExynosMPP::getDstMinWidth(struct exynos_image &dst) in getDstMinWidth()
728 uint32_t ExynosMPP::getDstMinHeight(struct exynos_image &dst) in getDstMinHeight()
740 uint32_t ExynosMPP::getDstWidthAlign(const struct exynos_image &dst) const { in getDstWidthAlign()
756 uint32_t ExynosMPP::getDstHeightAlign(const struct exynos_image &dst) const { in getDstHeightAlign()
767 uint32_t ExynosMPP::getDstXOffsetAlign(struct exynos_image &dst) in getDstXOffsetAlign()
779 uint32_t ExynosMPP::getDstYOffsetAlign(struct exynos_image &dst) in getDstYOffsetAlign()
791 uint32_t ExynosMPP::getOutBufAlign() in getOutBufAlign()
799 int32_t ExynosMPP::isSupportLayerColorTransform( in isSupportLayerColorTransform()
811 bool ExynosMPP::ResourceManageThread::threadLoop() in threadLoop()
846 void ExynosMPP::ResourceManageThread::freeBuffers() in freeBuffers()
878 bool ExynosMPP::ResourceManageThread::checkStateFences() in checkStateFences()
905 void ExynosMPP::ResourceManageThread::addFreedBuffer(exynos_mpp_img_info freedBuffer) in addFreedBuffer()
912 void ExynosMPP::ResourceManageThread::addStateFence(int fence) in addStateFence()
927 int32_t ExynosMPP::allocOutBuf(uint32_t w, uint32_t h, uint32_t format, uint64_t usage, uint32_t in… in allocOutBuf()
994 int32_t ExynosMPP::setOutBuf(buffer_handle_t outbuf, int32_t fence) { in setOutBuf()
1009 int32_t ExynosMPP::freeOutBuf(struct exynos_mpp_img_info dst) { in freeOutBuf()
1015 uint32_t ExynosMPP::getBufferType(uint64_t usage) in getBufferType()
1029 uint32_t ExynosMPP::getBufferType(const buffer_handle_t handle) in getBufferType()
1036 uint64_t ExynosMPP::getBufferUsage(uint64_t usage) in getBufferUsage()
1060 bool ExynosMPP::needCompressDstBuf() const { in needCompressDstBuf()
1064 uint32_t ExynosMPP::getAlignedDstFullWidth(struct exynos_image& dst) { in getAlignedDstFullWidth()
1068 bool ExynosMPP::needDstBufRealloc(struct exynos_image &dst, uint32_t index) in needDstBufRealloc()
1124 bool ExynosMPP::canUsePrevFrame() in canUsePrevFrame()
1166 int32_t ExynosMPP::setupLayer(exynos_mpp_img_info *srcImgInfo, struct exynos_image &src, struct exy… in setupLayer()
1315 dstMetaInfo_t ExynosMPP::getDstMetaInfo(android_dataspace_t dstDataspace) in getDstMetaInfo()
1334 uint32_t ExynosMPP::getDstStrideAlignment(int format) { in getDstStrideAlignment()
1344 int32_t ExynosMPP::setupDst(exynos_mpp_img_info *dstImgInfo) in setupDst()
1466 int32_t ExynosMPP::doPostProcessingInternal() in doPostProcessingInternal()
1675 bool ExynosMPP::canSkipProcessing() in canSkipProcessing()
1693 int32_t ExynosMPP::doPostProcessing(struct exynos_image& dst) { in doPostProcessing()
1777 int32_t ExynosMPP::getSrcReleaseFence(uint32_t srcIndex) in getSrcReleaseFence()
1787 int32_t ExynosMPP::resetSrcReleaseFence() in resetSrcReleaseFence()
1796 int32_t ExynosMPP::getDstImageInfo(exynos_image *img) in getDstImageInfo()
1859 int32_t ExynosMPP::setDstAcquireFence(int acquireFence) in setDstAcquireFence()
1903 int32_t ExynosMPP::resetDstReleaseFence() in resetDstReleaseFence()
1915 int32_t ExynosMPP::requestHWStateChange(uint32_t state) in requestHWStateChange()
1988 int32_t ExynosMPP::setHWStateFence(int32_t fence) in setHWStateFence()
2001 int32_t ExynosMPP::setupRestriction() { in setupRestriction()
2047 int64_t ExynosMPP::isSupported(ExynosDisplay &display, struct exynos_image &src, struct exynos_imag… in isSupported()
2171 int32_t ExynosMPP::resetMPP() in resetMPP()
2183 int32_t ExynosMPP::resetAssignedState() in resetAssignedState()
2209 int32_t ExynosMPP::resetAssignedState(ExynosMPPSource *mppSource) in resetAssignedState()
2241 int32_t ExynosMPP::reserveMPP(int32_t displayId) in reserveMPP()
2249 int32_t ExynosMPP::assignMPP(ExynosDisplay *display, ExynosMPPSource* mppSource) in assignMPP()
2284 uint32_t ExynosMPP::getSrcMaxBlendingNum(struct exynos_image __unused &src, struct exynos_image __u… in getSrcMaxBlendingNum()
2290 uint32_t ExynosMPP::getAssignedSourceNum() in getAssignedSourceNum()
2296 void ExynosMPP::setDstAllocSize(uint32_t width, uint32_t height) in setDstAllocSize()
2314 dst_alloc_buf_size_t ExynosMPP::getDstAllocSize() in getDstAllocSize()
2319 bool ExynosMPP::needPreAllocation() in needPreAllocation()
2330 bool ExynosMPP::isAssignableState(ExynosDisplay *display, struct exynos_image &src, struct exynos_i… in isAssignableState()
2373 bool ExynosMPP::isAssignable(ExynosDisplay *display, struct exynos_image &src, in isAssignable()
2380 bool ExynosMPP::hasEnoughCapa(ExynosDisplay *display, struct exynos_image &src, in hasEnoughCapa()
2405 bool ExynosMPP::isCapacityExceptionCondition(float totalUsedCapacity, float requiredCapacity, in isCapacityExceptionCondition()
2416 void ExynosMPP::getPPCIndex(const struct exynos_image &src, in getPPCIndex()
2480 float ExynosMPP::getPPC(const struct exynos_image &src, in getPPC()
2516 float ExynosMPP::getAssignedCapacity() in getAssignedCapacity()
2582 float ExynosMPP::getRequiredCapacity(ExynosDisplay *display, struct exynos_image &src, in getRequiredCapacity()
2669 float ExynosMPP::getRequiredBaseCycles(struct exynos_image &src, struct exynos_image &dst) in getRequiredBaseCycles()
2681 bool ExynosMPP::addCapacity(ExynosMPPSource* mppSource) in addCapacity()
2734 bool ExynosMPP::removeCapacity(ExynosMPPSource* mppSource) in removeCapacity()
2777 void ExynosMPP::resetUsedCapacity() in resetUsedCapacity()
2785 int32_t ExynosMPP::updateUsedCapacity() in updateUsedCapacity()
2840 uint32_t ExynosMPP::getRestrictionClassification(const struct exynos_image &img) const { in getRestrictionClassification()
2844 int ExynosMPP::prioritize(int priority) in prioritize()
2864 uint32_t ExynosMPP::increaseDstBuffIndex() in increaseDstBuffIndex()
2871 void ExynosMPP::reloadResourceForHWFC() in reloadResourceForHWFC()
2891 void ExynosMPP::setTargetDisplayLuminance(uint16_t min, uint16_t max) in setTargetDisplayLuminance()
2900 void ExynosMPP::setTargetDisplayDevice(int device) in setTargetDisplayDevice()
2909 void ExynosMPP::dump(String8& result) in dump()
2926 void ExynosMPP::closeFences() in closeFences()
2946 void ExynosMPP::updateAttr() in updateAttr()
2960 void ExynosMPP::updatePreassignedDisplay(uint32_t fromDisplayBit, uint32_t toDisplayBit) in updatePreassignedDisplay()