/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);
|
/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/pcre/dist/sljit/ |
sljitNativeSPARC_common.c | 648 sljit_si dst, sljit_sw dstw, 676 else if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, flags | ARG_TEST, TMP_REG1, dst, dstw)) 749 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { 751 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG1, src1, src1w, dst, dstw)); 755 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG2, src2, src2w, dst, dstw)); 759 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG1, src1, src1w, dst, dstw)); 761 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, sugg_src2_r, src2, src2w, dst, dstw)); 767 getput_arg_fast(compiler, flags, dst_r, dst, dstw); 770 return getput_arg(compiler, flags, dst_r, dst, dstw, 0, 0); 818 sljit_si dst, sljit_sw dstw, [all...] |
sljitNativeX86_common.c | 567 sljit_si dst, sljit_sw dstw, 573 sljit_si dst, sljit_sw dstw, 578 sljit_si dst, sljit_sw dstw, 652 sljit_si dst, sljit_sw dstw, 667 inst = emit_x86_instruction(compiler, 1, src, 0, dst, dstw); 688 inst = emit_x86_instruction(compiler, 1, TMP_REG2, 0, dst, dstw); 694 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw); 710 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw); 716 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \ 717 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw)) [all...] |
sljitNativeMIPS_common.c | 913 sljit_si dst, sljit_sw dstw, 943 else if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, flags | ARG_TEST, DR(TMP_REG1), dst, dstw)) [all...] |
sljitLir.c | 972 static SLJIT_INLINE void check_sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw) 977 SLJIT_UNUSED_ARG(dstw); 980 FUNCTION_CHECK_DST(dst, dstw); 985 sljit_verbose_param(compiler, dst, dstw); 1026 sljit_si dst, sljit_sw dstw, 1033 SLJIT_UNUSED_ARG(dstw); 1048 FUNCTION_CHECK_DST(dst, dstw); [all...] |
sljitNativePPC_common.c | [all...] |
sljitNativeTILEGX_64.c | [all...] |
sljitNativeARM_T2_32.c | [all...] |
sljitNativeARM_64.c | [all...] |
sljitNativeARM_32.c | 822 sljit_si dst, sljit_sw dstw, [all...] |
sljitNativeX86_64.c | 605 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw) 610 check_sljit_emit_fast_enter(compiler, dst, dstw); 611 ADJUST_LOCAL_OFFSET(dst, dstw); 636 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw); 706 sljit_si dst, sljit_sw dstw, 720 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_si)srcw, dst, dstw); 728 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_si)srcw, dst, dstw); 753 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw);
|
sljitNativeX86_32.c | 458 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw) 463 check_sljit_emit_fast_enter(compiler, dst, dstw); 464 ADJUST_LOCAL_OFFSET(dst, dstw); 466 CHECK_EXTRA_REGS(dst, dstw, (void)0); 483 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
|
/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);
|
/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/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/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);
|
/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/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,
|