Searched defs:dstH (Results 1 - 14 of 14) sorted by relevance

/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
H A DPlaneCapabilities.cpp191 int dstW, dstH; local
196 dstH = dest.bottom - dest.top;
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);
235 float scaleY = (float)srcH / dstH;
241 if (trans == HAL_TRANSFORM_ROT_90 && (float)srcW / srcH != (float)dstW / dstH) {
H A DAnnRGBPlane.cpp92 int dstX, dstY, dstW, dstH; local
105 dstH = mPosition.h;
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
182 dstH = dest.bottom - dest.top;
186 return ((srcW == dstW) && (srcH == dstH)) ? true : false;
194 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) {
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngSpritePlane.cpp41 int dstX, dstY, dstW, dstH; local
53 dstH = mPosition.h;
55 checkPosition(dstX, dstY, dstW, dstH);
102 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
H A DPlaneCapabilities.cpp171 int dstW, dstH; local
176 dstH = dest.bottom - dest.top;
179 if ((dstW - 1) <= 0 || (dstH - 1) <= 0 ||
181 (dstH - 1) >= SPRITE_PLANE_MAX_HEIGHT) {
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);
215 float scaleY = (float)srcH / dstH;
H A DAnnRGBPlane.cpp151 int dstX, dstY, dstW, dstH; local
164 dstH = mPosition.h;
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/qcom/display/msm8909/liboverlay/
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.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/common/base/
H A DDisplayAnalyzer.cpp289 int dstH = layer.displayFrame.bottom - layer.displayFrame.top; local
292 abs(dstH - height) > 1 &&
293 dstW * dstH * 10 < width * height * 9) {
H A DHwcLayerList.cpp171 int dstH = dest.bottom - dest.top; local
172 if (srcW != dstW || srcH != dstH) {
174 srcW, srcH, dstW, dstH);
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
H A DHwcLayerList.cpp168 int dstH = dest.bottom - dest.top; local
169 if (srcW != dstW || srcH != dstH) {
230 int dstH = dest.bottom - dest.top; local
231 if (srcW != dstW || srcH != dstH) {
233 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 177 milliseconds