/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
D | PlaneCapabilities.cpp | 190 int srcW, srcH; in isScalingSupported() local 193 srcW = (int)src.right - (int)src.left; 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() 223 int tmp = srcW; in isScalingSupported() 224 srcW = srcH; in isScalingSupported() 234 float scaleX = (float)srcW / dstW; in isScalingSupported() 241 if (trans == HAL_TRANSFORM_ROT_90 && (float)srcW / srcH != (float)dstW / dstH) { in isScalingSupported()
|
D | AnnRGBPlane.cpp | 91 int srcX, srcY, srcW, srcH; in setDataBuffer() local 118 srcW = mapper.getWidth(); in setDataBuffer() 162 mContext.ctx.sp_ctx.stride = align_to(srcW, 32) * 4; 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/ |
D | PlaneCapabilities.cpp | 170 int srcW, srcH; in isScalingSupported() local 173 srcW = (int)src.right - (int)src.left; 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() 203 int tmp = srcW; in isScalingSupported() 204 srcW = srcH; in isScalingSupported() 214 float scaleX = (float)srcW / dstW; in isScalingSupported()
|
D | AnnRGBPlane.cpp | 150 int srcX, srcY, srcW, srcH; in setDataBuffer() local 177 srcW = mapper.getWidth(); in setDataBuffer() 221 mContext.ctx.sp_ctx.stride = align_to(srcW, 32) * 4; in setDataBuffer() 222 mContext.ctx.sp_ctx.linoff = (align_to(srcW, 32) * srcH / 64) - 1; in setDataBuffer()
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | PlaneCapabilities.cpp | 176 int srcW, srcH; in isScalingSupported() local 179 srcW = (int)src.right - (int)src.left; 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()
|
D | OverlayPlaneBase.cpp | 351 int srcX, srcY, srcW, srcH; in getTTMMapper() local 366 srcW = grallocMapper.getCrop().w; 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 651 srcH = srcW; in checkCrop() 652 srcW = tmp; in checkCrop() [all …]
|
/hardware/qcom/display/msm8909/liboverlay/ |
D | overlayRotator.h | 111 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,
|
D | overlayRotator.cpp | 57 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()
|
D | overlayMdssRot.cpp | 380 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/ |
D | overlayRotator.h | 111 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,
|
D | overlayRotator.cpp | 57 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()
|
D | overlayMdssRot.cpp | 380 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/ |
D | OverlayPlaneBase.cpp | 347 int srcX, srcY, srcW, srcH; in getTTMMapper() local 360 srcW = grallocMapper.getCrop().w; 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 625 srcH = srcW; in checkCrop() 626 srcW = tmp; in checkCrop() [all …]
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
D | HwcLayerList.cpp | 165 int srcW = (int)src.right - (int)src.left; in checkRgbOverlaySupported() local 169 if (srcW != dstW || srcH != dstH) { in checkRgbOverlaySupported() 227 int srcW = (int)src.right - (int)src.left; 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/ |
D | HwcLayerList.cpp | 168 int srcW = (int)src.right - (int)src.left; 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()
|