Home
last modified time | relevance | path

Searched refs:srcH (Results 1 – 16 of 16) sorted by relevance

/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DPlaneCapabilities.cpp190 int srcW, srcH; in isScalingSupported() local
194 srcH = (int)src.bottom - (int)src.top; in isScalingSupported()
200 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
204 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { in isScalingSupported()
210 WTRACE("source size %dx%d hit overlay resolution limitation.", srcW, srcH); in isScalingSupported()
216 if (dstW <= 100 || dstH <= 1 || srcW <= 100 || srcH <= 1) { in isScalingSupported()
224 srcW = srcH; in isScalingSupported()
225 srcH = tmp; in isScalingSupported()
235 float scaleY = (float)srcH / dstH; in isScalingSupported()
241 if (trans == HAL_TRANSFORM_ROT_90 && (float)srcW / srcH != (float)dstW / dstH) { in isScalingSupported()
DAnnRGBPlane.cpp91 int srcX, srcY, srcW, srcH; in setDataBuffer() local
119 srcH = mapper.getHeight(); in setDataBuffer()
163 mContext.ctx.sp_ctx.linoff = (align_to(srcW, 32) * srcH / 64) - 1; in setDataBuffer()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DPlaneCapabilities.cpp170 int srcW, srcH; in isScalingSupported() local
174 srcH = (int)src.bottom - (int)src.top; in isScalingSupported()
188 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
192 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { in isScalingSupported()
196 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { in isScalingSupported()
204 srcW = srcH; in isScalingSupported()
205 srcH = tmp; in isScalingSupported()
215 float scaleY = (float)srcH / dstH; in isScalingSupported()
DAnnRGBPlane.cpp150 int srcX, srcY, srcW, srcH; in setDataBuffer() local
178 srcH = mapper.getHeight(); in setDataBuffer()
222 mContext.ctx.sp_ctx.linoff = (align_to(srcW, 32) * srcH / 64) - 1; in setDataBuffer()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DPlaneCapabilities.cpp176 int srcW, srcH; in isScalingSupported() local
180 srcH = (int)src.bottom - (int)src.top; in isScalingSupported()
186 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
190 if ((srcW > INTEL_OVERLAY_MAX_WIDTH - 1) || (srcH > INTEL_OVERLAY_MAX_HEIGHT - 1)) { in isScalingSupported()
194 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { in isScalingSupported()
201 if (srcW > 256 || srcH > 256) { in isScalingSupported()
DOverlayPlaneBase.cpp351 int srcX, srcY, srcW, srcH; in getTTMMapper() local
367 srcH = grallocMapper.getCrop().h; in getTTMMapper()
386 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
444 buf.setCrop(srcX, srcY, srcW, srcH); in getTTMMapper()
496 mapper->getCrop().w != srcW || mapper->getCrop().h != srcH) { in getTTMMapper()
498 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
499 mapper->setCrop(srcX, srcY, srcW, srcH); in getTTMMapper()
641 void OverlayPlaneBase::checkCrop(int& srcX, int& srcY, int& srcW, int& srcH, in checkCrop() argument
647 srcH >>= mBobDeinterlace; in checkCrop()
650 tmp = srcH; in checkCrop()
[all …]
/hardware/qcom/display/msm8909/liboverlay/
DoverlayRotator.h111 static int getDownscaleFactor(const int& srcW, const int& srcH,
179 static int getDownscaleFactor(const int& srcW, const int& srcH,
195 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH,
256 static int getDownscaleFactor(const int& srcW, const int& srcH,
281 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH,
DoverlayRotator.cpp57 int Rotator::getDownscaleFactor(const int& srcW, const int& srcH, in getDownscaleFactor() argument
61 return MdssRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
64 return MdpRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
DoverlayMdssRot.cpp380 int MdssRot::getDownscaleFactor(const int& srcW, const int& srcH, in getDownscaleFactor() argument
383 if(not srcW or not srcH or not dstW or not dstH or isInterlaced) return 0; in getDownscaleFactor()
385 Dim crop(0, 0, srcW, srcH); in getDownscaleFactor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayRotator.h111 static int getDownscaleFactor(const int& srcW, const int& srcH,
179 static int getDownscaleFactor(const int& srcW, const int& srcH,
195 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH,
256 static int getDownscaleFactor(const int& srcW, const int& srcH,
281 friend int Rotator::getDownscaleFactor(const int& srcW, const int& srcH,
DoverlayRotator.cpp57 int Rotator::getDownscaleFactor(const int& srcW, const int& srcH, in getDownscaleFactor() argument
61 return MdssRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
64 return MdpRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
DoverlayMdssRot.cpp380 int MdssRot::getDownscaleFactor(const int& srcW, const int& srcH, in getDownscaleFactor() argument
383 if(not srcW or not srcH or not dstW or not dstH or isInterlaced) return 0; in getDownscaleFactor()
385 Dim crop(0, 0, srcW, srcH); in getDownscaleFactor()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DOverlayPlaneBase.cpp347 int srcX, srcY, srcW, srcH; in getTTMMapper() local
361 srcH = grallocMapper.getCrop().h; in getTTMMapper()
371 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
424 buf.setCrop(srcX, srcY, srcW, srcH); in getTTMMapper()
476 mapper->getCrop().w != srcW || mapper->getCrop().h != srcH) { in getTTMMapper()
477 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
478 mapper->setCrop(srcX, srcY, srcW, srcH); in getTTMMapper()
615 void OverlayPlaneBase::checkCrop(int& srcX, int& srcY, int& srcW, int& srcH, in checkCrop() argument
621 srcH >>= mBobDeinterlace; in checkCrop()
624 tmp = srcH; in checkCrop()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayerList.cpp166 int srcH = (int)src.bottom - (int)src.top; in checkRgbOverlaySupported() local
169 if (srcW != dstW || srcH != dstH) { in checkRgbOverlaySupported()
228 int srcH = (int)src.bottom - (int)src.top; in checkCursorSupported() local
231 if (srcW != dstW || srcH != dstH) { in checkCursorSupported()
233 srcW, srcH, dstW, dstH); in checkCursorSupported()
237 if (srcW > 256 || srcH > 256) { in checkCursorSupported()
238 WLOGTRACE("unexpected size %dx%d for cursor", srcW, srcH); in checkCursorSupported()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcLayerList.cpp169 int srcH = (int)src.bottom - (int)src.top; in checkCursorSupported() local
172 if (srcW != dstW || srcH != dstH) { in checkCursorSupported()
174 srcW, srcH, dstW, dstH); in checkCursorSupported()
178 if (srcW > 256 || srcH > 256) { in checkCursorSupported()
179 WTRACE("unexpected size %dx%d for cursor", srcW, srcH); in checkCursorSupported()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h726 const uint32_t& srcH) { in getLayerClock() argument
727 return max(dstW, (srcH * dstW) / dstH); in getLayerClock()