Home
last modified time | relevance | path

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

/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DPlaneCapabilities.cpp171 int dstW, dstH; in isScalingSupported() local
175 dstW = dest.right - dest.left; in isScalingSupported()
179 if ((dstW - 1) <= 0 || (dstH - 1) <= 0 || in isScalingSupported()
180 (dstW - 1) >= SPRITE_PLANE_MAX_WIDTH || in isScalingSupported()
183 DLOGTRACE("invalid destination size: %d x %d, fall back to GLES", dstW, dstH); in isScalingSupported()
188 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
196 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { in isScalingSupported()
198 DLOGTRACE("invalid destination size: %dx%d, fall back to GLES", dstW, dstH); in isScalingSupported()
214 float scaleX = (float)srcW / dstW; in isScalingSupported()
DAnnRGBPlane.cpp151 int dstX, dstY, dstW, dstH; in setDataBuffer() local
163 dstW = mPosition.w; in setDataBuffer()
166 checkPosition(dstX, dstY, dstW, dstH); in setDataBuffer()
231 …tx.pos = ((mode->vdisplay - dstY - dstH) & 0xfff) << 16 | ((mode->hdisplay - dstX - dstW) & 0xfff); in setDataBuffer()
239 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff); in setDataBuffer()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DPlaneCapabilities.cpp191 int dstW, dstH; in isScalingSupported() local
195 dstW = dest.right - dest.left; in isScalingSupported()
200 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
216 if (dstW <= 100 || dstH <= 1 || srcW <= 100 || srcH <= 1) { in isScalingSupported()
218 DTRACE("invalid destination size: %dx%d, fall back to GLES", dstW, dstH); 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()
DAnnRGBPlane.cpp92 int dstX, dstY, dstW, dstH; in setDataBuffer() local
104 dstW = mPosition.w; in setDataBuffer()
107 checkPosition(dstX, dstY, dstW, dstH); in setDataBuffer()
173 …tx.pos = ((mode->vdisplay - dstY - dstH) & 0xfff) << 16 | ((mode->hdisplay - dstX - dstW) & 0xfff); in setDataBuffer()
181 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff); in setDataBuffer()
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DPlaneCapabilities.cpp177 int dstW, dstH; in isScalingSupported() local
181 dstW = dest.right - dest.left; in isScalingSupported()
186 return ((srcW == dstW) && (srcH == dstH)) ? true : false; in isScalingSupported()
194 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { in isScalingSupported()
/hardware/qcom/display/msm8909/liboverlay/
DoverlayRotator.h112 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
180 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
196 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
257 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
282 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
DoverlayRotator.cpp58 const int& dstW, const int& dstH, const uint32_t& mdpFormat, in getDownscaleFactor() argument
61 return MdssRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
64 return MdpRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
DoverlayMdssRot.cpp381 const int& dstW, const int& dstH, const uint32_t& mdpFormat, in getDownscaleFactor() argument
383 if(not srcW or not srcH or not dstW or not dstH or isInterlaced) return 0; in getDownscaleFactor()
389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH)); in getDownscaleFactor()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayRotator.h112 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
180 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
196 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
257 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
282 const int& dstW, const int& dstH, const uint32_t& mdpFormat,
DoverlayRotator.cpp58 const int& dstW, const int& dstH, const uint32_t& mdpFormat, in getDownscaleFactor() argument
61 return MdssRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
64 return MdpRot::getDownscaleFactor(srcW, srcH, dstW, dstH, in getDownscaleFactor()
DoverlayMdssRot.cpp381 const int& dstW, const int& dstH, const uint32_t& mdpFormat, in getDownscaleFactor() argument
383 if(not srcW or not srcH or not dstW or not dstH or isInterlaced) return 0; in getDownscaleFactor()
389 uint32_t downscale = min((adjCrop.w / dstW), (adjCrop.h / dstH)); in getDownscaleFactor()
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngSpritePlane.cpp41 int dstX, dstY, dstW, dstH; in setDataBuffer() local
52 dstW = mPosition.w; in setDataBuffer()
55 checkPosition(dstX, dstY, dstW, dstH); in setDataBuffer()
102 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff); in setDataBuffer()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayerList.cpp167 int dstW = dest.right - dest.left; in checkRgbOverlaySupported() local
169 if (srcW != dstW || srcH != dstH) { in checkRgbOverlaySupported()
229 int dstW = dest.right - dest.left; in checkCursorSupported() local
231 if (srcW != dstW || srcH != dstH) { in checkCursorSupported()
233 srcW, srcH, dstW, dstH); in checkCursorSupported()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DDisplayAnalyzer.cpp288 int dstW = layer.displayFrame.right - layer.displayFrame.left; in isVideoFullScreen() local
291 if (abs(dstW - width) > 1 && in isVideoFullScreen()
293 dstW * dstH * 10 < width * height * 9) { in isVideoFullScreen()
DHwcLayerList.cpp170 int dstW = dest.right - dest.left; in checkCursorSupported() local
172 if (srcW != dstW || srcH != dstH) { in checkCursorSupported()
174 srcW, srcH, dstW, dstH); in checkCursorSupported()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h725 inline uint32_t getLayerClock(const uint32_t& dstW, const uint32_t& dstH, in getLayerClock() argument
727 return max(dstW, (srcH * dstW) / dstH); in getLayerClock()