/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 29 * @param dstW the destination width 57 public static void calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW, 65 final float wScale = (float) srcW / dstW; 75 final int srcCroppedW = Math.round(dstW * scale); 100 * @param dstW 104 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, 106 calculateCroppedSrcRect(srcW, srcH, dstW, dstH, Integer.MAX_VALUE, outRect); 109 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, 115 (float) srcW / dstW, 120 final int srcCroppedW = Math.round(dstW * scale) [all...] |
/external/skia/src/effects/ |
SkTestImageFilters.cpp | 32 int dstW = SkScalarRoundToInt(src.width() * scale); 34 if (dstW < 1) { 35 dstW = 1; 45 SkBaseDevice* dev = proxy->createDevice(dstW, dstH);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
PlaneCapabilities.cpp | 168 int dstW, dstH; 172 dstW = dest.right - dest.left; 177 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 185 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { 187 DLOGTRACE("invalid destination size: %dx%d, fall back to GLES", dstW, dstH); 203 float scaleX = (float)srcW / dstW;
|
AnnRGBPlane.cpp | 151 int dstX, dstY, dstW, dstH; 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/ |
PlaneCapabilities.cpp | 191 int dstW, dstH; 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) {
|
AnnRGBPlane.cpp | 92 int dstX, dstY, dstW, dstH; 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/ |
PlaneCapabilities.cpp | 177 int dstW, dstH; 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/msm8994/liboverlay/ |
overlayRotator.h | 112 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,
|
overlayRotator.cpp | 58 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,
|
overlayMdssRot.cpp | 381 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));
|
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 508 float dstW = (float)dst.getWidth(); 523 float nx = wx / dstW; 527 float triWx = triNdx ? dstW - wx : wx; 548 float dstW = (float)dst.getWidth(); 566 float nx = wx / dstW; 570 float triWx = triNdx ? dstW - wx : wx; 654 const float dstW = float(dstSize.x()); 672 const float nx = wx / dstW; 682 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), 683 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy) [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngSpritePlane.cpp | 41 int dstX, dstY, dstW, dstH; 52 dstW = mPosition.w; 55 checkPosition(dstX, dstY, dstW, dstH); 98 ((dstH - 1) & 0xfff) << 16 | ((dstW - 1) & 0xfff);
|
/external/skia/src/core/ |
SkScalerContext.cpp | 378 int dstW = srcW; 395 dstW = 4*dstW - 8; 406 clip.setRect(SkIRect::MakeWH(dstW, dstH)); 408 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
HwcLayerList.cpp | 167 int dstW = dest.right - dest.left; 169 if (srcW != dstW || srcH != dstH) { 229 int dstW = dest.right - dest.left; 231 if (srcW != dstW || srcH != dstH) { 233 srcW, srcH, dstW, dstH);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 294 float dstW, float dstH, struct xa_surface *srf[]) 314 add_vertex_1tex(r, dstX + dstW, dstY, s1, t0); 316 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_renderer.c | 288 float dstX, float dstY, float dstW, float dstH, 307 add_vertex_1tex(r, dstX + dstW, dstY, 310 add_vertex_1tex(r, dstX + dstW, dstY + dstH,
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
DisplayAnalyzer.cpp | 297 int dstW = layer.displayFrame.right - layer.displayFrame.left; 300 if (abs(dstW - width) > 1 && 302 dstW * dstH * 10 < width * height * 9) {
|
HwcLayerList.cpp | 170 int dstW = dest.right - dest.left; 172 if (srcW != dstW || srcH != dstH) { 174 srcW, srcH, dstW, dstH); [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.h | 679 inline uint32_t getLayerClock(const uint32_t& dstW, const uint32_t& dstH, 681 return max(dstW, (srcH * dstW) / dstH);
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 65 float dstW = (float)dst.getWidth(); 79 float nx = wx / dstW;
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 68 float dstW = (float)dst.getWidth(); 82 float nx = wx / dstW;
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
LwjglRenderer.java | [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | [all...] |