/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 30 * @param dstH the destination height 32 * exclude when cropping. You would typically pass dstH, unless 55 final int dstH, final int dstSliceH, int sampleSize, final float vertSliceFrac, 62 final float hScale = (float) srcH / dstH; 72 final int srcCroppedH = Math.round(dstH * scale); 97 * @param dstH 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, 112 (float) srcH / dstH); [all...] |
/external/skia/src/effects/ |
SkTestImageFilters.cpp | 33 int dstH = SkScalarRoundToInt(src.height() * scale); 37 if (dstH < 1) { 38 dstH = 1; 45 SkBaseDevice* dev = proxy->createDevice(dstW, dstH);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTestImageFilters.cpp | 33 int dstH = SkScalarRoundToInt(src.height() * scale); 37 if (dstH < 1) { 38 dstH = 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; 89 dstH = rect->h; 101 Bitmap->UnclippedRectangle[0].WidthHeight = (dstW << 16) | dstH; 117 int dstW, dstH; 135 dstH = dstrect->h; 148 Blt->WidthHeight = (dstH << 16) | dstW;
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
PlaneCapabilities.cpp | 171 int dstW, dstH; 176 dstH = dest.bottom - dest.top; 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); 207 float scaleY = (float)srcH / dstH;
|
AnnRGBPlane.cpp | 151 int dstX, dstY, dstW, dstH; 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);
|
AnnCursorPlane.cpp | 101 int dstH = mPosition.h;
|
/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) { 703 step_y = srcH / dstH; 709 for (unsigned int y = 0; y < dstH; y++) { 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) { 738 step_y = srcH / dstH; 744 for (uint32_t y = 0; y < dstH; y++) { 758 for (uint32_t i = 0; i < dstH; i++) { [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) { 689 step_y = srcH / dstH; 695 for (unsigned int y = 0; y < dstH; y++) { 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) { 724 step_y = srcH / dstH; 730 for (uint32_t y = 0; y < dstH; y++) { 741 for (uint32_t i = 0; i < dstH; i++) { [all...] |
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 506 float dstH = (float)dst.getHeight(); 521 float ny = wy / dstH; 525 float triWy = triNdx ? dstH - wy : wy; 542 float dstH = (float)dst.getHeight(); 560 float ny = wy / dstH; 564 float triWy = triNdx ? dstH - wy : wy; 644 const float dstH = float(dstSize.y()); 662 const float ny = wy / dstH; 674 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), 675 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx) [all...] |
/hardware/intel/img/hwcomposer/common/base/ |
HwcLayerList.cpp | 170 int dstH = dest.bottom - dest.top; 171 if (srcW != dstW || srcH != dstH) { 233 int dstH = dest.bottom - dest.top; 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[]) 316 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1); 318 add_vertex_1tex(r, dstX, dstY + dstH, s0, 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, 310 add_vertex_1tex(r, dstX + dstW, dstY + dstH, 313 add_vertex_1tex(r, dstX, dstY + dstH,
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 294 float dstW, float dstH, struct xa_surface *srf[]) 316 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1); 318 add_vertex_1tex(r, dstX, dstY + dstH, s0, t1);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_renderer.c | 288 float dstX, float dstY, float dstW, float dstH, 310 add_vertex_1tex(r, dstX + dstW, dstY + dstH, 313 add_vertex_1tex(r, dstX, dstY + dstH,
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 66 float dstH = (float)dst.getHeight(); 80 float ny = wy / dstH;
|
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 69 float dstH = (float)dst.getHeight(); 83 float ny = wy / dstH;
|
/external/chromium_org/v8/src/arm/ |
assembler-arm.cc | [all...] |
assembler-arm.h | [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkScalerContext.cpp | 406 int dstH = srcH; 434 clip.setRect(SkIRect::MakeWH(dstW, dstH)); 436 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH);
|
/external/skia/src/core/ |
SkScalerContext.cpp | 580 int dstH = srcH; 608 clip.setRect(SkIRect::MakeWH(dstW, dstH)); 610 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | 298 int dstH, 304 SkFixed dy = (srcH << 16) / dstH; 309 for (int j = 0; j < dstH; ++j) { [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | 277 int dstH, 283 SkFixed dy = (srcH << 16) / dstH; 288 for (int j = 0; j < dstH; ++j) { [all...] |