/external/deqp/framework/delibs/deimage/ |
deImage.c | 119 int srcWidth = srcImage->width; 140 int x1 = deClamp32(x0+1, 0, srcWidth-1); 142 DE_ASSERT(deInBounds32(x0, 0, srcWidth));
|
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 81 size_t srcWidth, size_t srcHeight, 94 srcWidth, srcHeight,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
BitmapUtils.java | 141 int srcWidth = bitmap.getWidth(); 144 (float) maxLength / srcWidth, (float) maxLength / srcHeight);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 189 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; 212 *out = OneBiCubic(yp0, yp1, yp2, yp3, xf, yf, srcWidth); 229 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; 252 *out = OneBiCubic(yp0, yp1, yp2, yp3, xf, yf, srcWidth); 269 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; 292 *out = OneBiCubic(yp0, yp1, yp2, yp3, xf, yf, srcWidth); 316 const uint32_t srcWidth = mAlloc->mHal.drvState.lod[0].dimX; 332 scaleX = (float)srcWidth / aout->mHal.drvState.lod[0].dimX;
|
/hardware/intel/common/utils/ISV/include/ |
isv_worker.h | 71 uint32_t srcWidth;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 141 int srcWidth = bitmap.getWidth(); 144 (float) maxLength / srcWidth, (float) maxLength / srcHeight);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
BitmapUtils.java | 141 int srcWidth = bitmap.getWidth(); 144 (float) maxLength / srcWidth, (float) maxLength / srcHeight);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 139 final int srcWidth = src.getWidth(); 143 if (w == srcWidth && h == srcHeight) { 149 (float) w / srcWidth, 158 srcX = (int) (srcWidth * horizontalCenterPercent - srcCroppedW / 2); 162 srcX = Math.max(Math.min(srcX, srcWidth - srcCroppedW), 0); 171 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale,
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_blit.c | 43 NAME(GLint srcWidth, GLint dstWidth, \ 53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 55 ASSERT(srcCol < srcWidth); \ 56 srcCol = srcWidth - 1 - srcCol; /* flip */ \ 74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 76 ASSERT(srcCol < srcWidth); \ 115 const GLint srcWidth = ABS(srcX1 - srcX0); 142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, 250 srcWidth, srcHeight, 268 srcBuffer = malloc(pixelSize * srcWidth); [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_blit.c | 43 NAME(GLint srcWidth, GLint dstWidth, \ 53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 55 ASSERT(srcCol < srcWidth); \ 56 srcCol = srcWidth - 1 - srcCol; /* flip */ \ 74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \ 76 ASSERT(srcCol < srcWidth); \ 115 const GLint srcWidth = ABS(srcX1 - srcX0); 142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, 250 srcWidth, srcHeight, 268 srcBuffer = malloc(pixelSize * srcWidth); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageOverlay.java | 282 int srcWidth = hi.getImgSize(); 290 srcX, srcY, srcWidth, srcHeight,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputService.java | 199 int srcWidth = b.getWidth(); 204 c.drawBitmap(b, new Rect(0, 0, srcWidth, srcHeight),
|
/external/chromium_org/third_party/skia/src/effects/ |
SkBlurMask.cpp | 902 int srcWidth = src.fBounds.width(); 913 int padWidth = srcWidth + 4*pad; 922 const uint8_t* srcptr = srcPixels + y * srcWidth; 923 memcpy(padptr, srcptr, srcWidth); [all...] |
/external/skia/src/effects/ |
SkBlurMask.cpp | 902 int srcWidth = src.fBounds.width(); 913 int padWidth = srcWidth + 4*pad; 922 const uint8_t* srcptr = srcPixels + y * srcWidth; 923 memcpy(padptr, srcptr, srcWidth); [all...] |
/hardware/intel/img/hwcomposer/ips/anniedale/ |
AnnOverlayPlane.cpp | 402 uint32_t srcWidth = mapper.getCrop().w; 419 srcWidth, srcHeight, 428 srcHeight = srcWidth; 429 srcWidth = tmp; 433 if (srcWidth == dstWidth && srcHeight == dstHeight) { 437 xscaleFract = ((srcWidth - 1) << 12) / dstWidth;
|
/packages/apps/Mms/src/com/android/mms/util/ |
ThumbnailManager.java | 394 int srcWidth = bitmap.getWidth(); 397 (float) maxLength / srcWidth, (float) maxLength / srcHeight); 521 int srcWidth = bitmap.getWidth(); 524 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
|
/device/moto/shamu/camera/QCamera2/HAL/test/ |
qcamera_test.h | 325 size_t srcWidth;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
mipmap.c | 156 do_row(GLenum datatype, GLuint comps, GLint srcWidth, 160 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; 161 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; 167 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); [all...] |
/external/mesa3d/src/mesa/main/ |
mipmap.c | 149 do_row(GLenum datatype, GLuint comps, GLint srcWidth, 153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1; 154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2; 160 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); [all...] |
/hardware/intel/img/hwcomposer/ips/common/ |
OverlayPlaneBase.cpp | 1006 uint32_t srcWidth = mapper.getCrop().w; 1012 srcWidth, srcHeight, 1016 if (srcWidth == dstWidth && srcHeight == dstHeight) { 1020 xscaleFract = ((srcWidth - 1) << 12) / dstWidth; [all...] |
/developers/build/lib/ |
assetstudio.jar | |
/prebuilts/devtools/tools/lib/ |
asset-studio.jar | |
/external/deqp/modules/gles3/functional/ |
es3fVertexTextureTests.cpp | [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.cpp | 436 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth, 440 if (srcWidth * destHeight > destWidth * srcHeight) { 441 srcHeight = destWidth * srcHeight / srcWidth; 442 srcWidth = destWidth; 443 } else if (srcWidth * destHeight < destWidth * srcHeight) { 444 srcWidth = destHeight * srcWidth / srcHeight; 447 srcWidth = destWidth; 450 if (srcWidth > destWidth) srcWidth = destWidth [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.cpp | 595 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; 598 swap(srcWidth, srcHeight); 600 getAspectRatioPosition(dstWidth, dstHeight, srcWidth, [all...] |