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

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

Completed in 2311 milliseconds