/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 29 * @param dstW the destination width 54 public static void calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW, 61 final float wScale = (float) srcW / dstW; 71 final int srcCroppedW = Math.round(dstW * scale); 96 * @param dstW 100 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, 102 calculateCroppedSrcRect(srcW, srcH, dstW, dstH, Integer.MAX_VALUE, outRect); 105 public static void calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, 111 (float) srcW / dstW, 116 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);
|
/external/chromium_org/third_party/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);
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbriva.c | 76 int dstW, dstH; 88 dstW = rect->w; 101 Bitmap->UnclippedRectangle[0].WidthHeight = (dstW << 16) | dstH; 117 int dstW, dstH; 134 dstW = dstrect->w; 148 Blt->WidthHeight = (dstH << 16) | dstW;
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
PlaneCapabilities.cpp | 171 int dstW, dstH; 175 dstW = dest.right - dest.left; 180 return ((srcW == dstW) && (srcH == dstH)) ? true : false; 188 if (dstW <= 1 || dstH <= 1 || srcW <= 1 || srcH <= 1) { 190 DLOGTRACE("invalid destination size: %dx%d, fall back to GLES", dstW, dstH); 206 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);
|
AnnCursorPlane.cpp | 100 int dstW = mPosition.w;
|
/hardware/samsung_slsi/exynos5/libcamera/ |
ExynosJpegEncoderForCamera.h | 127 char **dstBuf, unsigned int dstW, unsigned int dstH); 129 char **dstBuf, unsigned int dstW, unsigned int dstH);
|
ExynosJpegEncoderForCamera.cpp | 691 int ExynosJpegEncoderForCamera::scaleDownYuv422(char **srcBuf, unsigned int srcW, unsigned int srcH, char **dstBuf, unsigned int dstW, unsigned int dstH) 698 if (dstW & 0x01 || dstH & 0x01) { 702 step_x = srcW / dstW; 712 for (unsigned int x = 0; x < dstW; x += 2) { 725 int ExynosJpegEncoderForCamera::scaleDownYuv422_2p(char **srcBuf, unsigned int srcW, unsigned int srcH, char **dstBuf, unsigned int dstW, unsigned int dstH) 733 if (dstW % 2 != 0 || dstH % 2 != 0) { 737 step_x = srcW / dstW; 747 for (uint32_t x = 0; x < dstW; x++) { 761 for (uint32_t j = 0; j < dstW; j += 2) { [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
ExynosJpegEncoderForCamera.h | 125 char **dstBuf, unsigned int dstW, unsigned int dstH); 127 char **dstBuf, unsigned int dstW, unsigned int dstH);
|
ExynosJpegEncoderForCamera.cpp | 677 int ExynosJpegEncoderForCamera::scaleDownYuv422(char **srcBuf, unsigned int srcW, unsigned int srcH, char **dstBuf, unsigned int dstW, unsigned int dstH) 684 if (dstW & 0x01 || dstH & 0x01) { 688 step_x = srcW / dstW; 698 for (unsigned int x = 0; x < dstW; x += 2) { 711 int ExynosJpegEncoderForCamera::scaleDownYuv422_2p(char **srcBuf, unsigned int srcW, unsigned int srcH, char **dstBuf, unsigned int dstW, unsigned int dstH) 719 if (dstW % 2 != 0 || dstH % 2 != 0) { 723 step_x = srcW / dstW; 733 for (uint32_t x = 0; x < dstW; x++) { 744 for (uint32_t j = 0; j < dstW; j += 2) { [all...] |
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 505 float dstW = (float)dst.getWidth(); 520 float nx = wx / dstW; 524 float triWx = triNdx ? dstW - wx : wx; 541 float dstW = (float)dst.getWidth(); 559 float nx = wx / dstW; 563 float triWx = triNdx ? dstW - wx : wx; 643 const float dstW = float(dstSize.x()); 661 const float nx = wx / dstW; 671 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), 672 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkScalerContext.cpp | 405 int dstW = srcW; 423 dstW = 4*dstW - 8; 434 clip.setRect(SkIRect::MakeWH(dstW, dstH)); 436 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH);
|
/external/skia/src/core/ |
SkScalerContext.cpp | 579 int dstW = srcW; 597 dstW = 4*dstW - 8; 608 clip.setRect(SkIRect::MakeWH(dstW, dstH)); 610 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH); [all...] |
/hardware/intel/img/hwcomposer/common/base/ |
HwcLayerList.cpp | 169 int dstW = dest.right - dest.left; 171 if (srcW != dstW || srcH != dstH) { 232 int dstW = dest.right - dest.left; 234 if (srcW != dstW || srcH != dstH) { 236 srcW, srcH, dstW, dstH); [all...] |
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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,
|
/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,
|
/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/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | 297 int dstW, 303 SkFixed dx = (srcW << 16) / dstW; 308 size_t dstXLimit = dstW*bpp; 312 uint8_t* dstRow = reinterpret_cast<uint8_t *>(dst) + j*dstW*bpp; [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 276 int dstW, 282 SkFixed dx = (srcW << 16) / dstW; 287 size_t dstXLimit = dstW*bpp; 291 uint8_t* dstRow = reinterpret_cast<uint8_t *>(dst) + j*dstW*bpp; [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | [all...] |