/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
filter.js | 157 var srcWidth = src.width; 160 if (offsetX < 0 || offsetX + dstWidth > srcWidth || 166 var srcIndex = (offsetX + (offsetY + y) * srcWidth) * 4; 228 var srcWidth = src.width; 230 var srcStride = srcWidth * 4; 233 if (offsetX < 0 || offsetX + dstWidth > srcWidth || 245 var endX = Math.min(dstWidth, srcWidth - margin - offsetX); 377 var srcWidth = src.width; 380 if (offsetX < 0 || offsetX + dstWidth > srcWidth || 391 var srcIndex = (offsetX + (offsetY + y) * srcWidth) * 4 [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
GLES31Ext.spec | 15 void glCopyImageSubDataEXT ( GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth )
|
/hardware/qcom/media/libc2dcolorconvert/ |
C2DColorConverter.cpp | 54 C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags,size_t srcStride); 109 C2DColorConverter::C2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) 137 mSrcWidth = srcWidth; 144 mSrcSize = calcSize(srcFormat, srcWidth, srcHeight); 146 mSrcYSize = calcYSize(srcFormat, srcWidth, srcHeight); 151 mSrcSurfaceDef = getDummySurfaceDef(srcFormat, srcWidth, srcHeight, true); 157 mBlit.source_rect.width = srcWidth << 16; 705 extern "C" C2DColorConverterBase* createC2DColorConverter(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride) 707 return new C2DColorConverter(srcWidth, srcHeight, dstWidth, dstHeight, srcFormat, dstFormat, flags, srcStride);
|
C2DColorConverter.h | 113 typedef C2DColorConverterBase* createC2DColorConverter_t(size_t srcWidth, size_t srcHeight, size_t dstWidth, size_t dstHeight, ColorConvertFormat srcFormat, ColorConvertFormat dstFormat, int32_t flags, size_t srcStride);
|
/hardware/samsung_slsi/exynos5/libcamera/ |
ExynosCameraHWInterface.h | 192 bool m_YUY2toNV21(void *srcBuf, void *dstBuf, uint32_t srcWidth, uint32_t srcHeight); 193 bool m_scaleDownYuv422(char *srcBuf, uint32_t srcWidth,
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_gen_mipmap.c | 169 do_row(enum dtype datatype, uint comps, int srcWidth, 173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; 174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; 180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 536 * \param srcWidth Width of a row in the source data 545 do_row_3D(enum dtype datatype, uint comps, int srcWidth, 550 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; 551 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_gen_mipmap.c | 169 do_row(enum dtype datatype, uint comps, int srcWidth, 173 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; 174 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; 180 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth); 536 * \param srcWidth Width of a row in the source data 545 do_row_3D(enum dtype datatype, uint comps, int srcWidth, 550 const uint k0 = (srcWidth == dstWidth) ? 0 : 1; 551 const uint colStride = (srcWidth == dstWidth) ? 1 : 2; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusgraphics.h | 390 REAL srcwidth, REAL srcheight, Unit srcUnit) 395 x, y, srcx, srcy, srcwidth, srcheight, 399 INT srcwidth, INT srcheight, Unit srcUnit) 404 x, y, srcx, srcy, srcwidth, srcheight, 408 REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, 419 srcx, srcy, srcwidth, srcheight, srcUnit, 424 INT srcx, INT srcy, INT srcwidth, INT srcheight, 435 srcx, srcy, srcwidth, srcheight, srcUnit, 454 REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, 464 srcx, srcy, srcwidth, srcheight, srcUnit [all...] |
/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);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/extensions/ |
shmproto.h | 102 CARD16 srcWidth B16;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
shmproto.h | 102 CARD16 srcWidth B16;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texcompress_fxt1.c | 74 srcPacking->RowLength != srcWidth || 80 srcWidth, srcHeight, srcDepth, 86 srcRowStride = 3 * srcWidth; 90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, 99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, 130 srcWidth, srcHeight, srcDepth, 136 srcRowStride = 4 * srcWidth; 140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat [all...] |
/external/mesa3d/src/mesa/main/ |
texcompress_fxt1.c | 74 srcPacking->RowLength != srcWidth || 80 srcWidth, srcHeight, srcDepth, 86 srcRowStride = 3 * srcWidth; 90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, 99 fxt1_encode(srcWidth, srcHeight, 3, pixels, srcRowStride, 130 srcWidth, srcHeight, srcDepth, 136 srcRowStride = 4 * srcWidth; 140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, 143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
BitmapUtils.java | 141 int srcWidth = bitmap.getWidth(); 144 (float) maxLength / srcWidth, (float) maxLength / srcHeight);
|
/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);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
NativeImageSkia.cpp | 60 InterpolationQuality NativeImageSkia::computeInterpolationQuality(const SkMatrix& matrix, float srcWidth, float srcHeight, float destWidth, float destHeight) const 79 float diffWidth = fabs(destWidth - srcWidth); 87 if (srcWidth <= kSmallImageSizeThreshold 96 if ((!nearlyIntegral(destWidth) && srcWidth > 1 + std::numeric_limits<float>::epsilon()) 105 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) { 120 if ((diffWidth / srcWidth < kFractionalChangeThreshold)
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
AnnOverlayPlane.cpp | 439 uint32_t srcWidth = mapper.getCrop().w; 456 srcWidth, srcHeight, 465 srcHeight = srcWidth; 466 srcWidth = tmp; 470 if (srcWidth == dstWidth && srcHeight == dstHeight) { 474 xscaleFract = ((srcWidth - 1) << 12) / dstWidth;
|
/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...] |
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
GdiPlusGraphics.h | [all...] |
/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...] |
/cts/tests/tests/media/src/android/media/cts/ |
Vp8CodecTestBase.java | 464 private static byte[] imageScale(byte[] src, int srcWidth, int srcHeight, 466 int srcYSize = srcWidth * srcHeight; 469 if (dstWidth == 2 * srcWidth && dstHeight <= 2 * srcHeight) { 472 imageUpscale1To2(src, 0, srcWidth, 474 imageUpscale1To2(src, srcYSize, srcWidth / 2, 476 imageUpscale1To2(src, srcYSize * 5 / 4, srcWidth / 2, 478 } else if (dstWidth == 4 * srcWidth && dstHeight <= 4 * srcHeight) { 480 int midWidth = 2 * srcWidth; 482 byte[] midBuffer = imageScale(src, srcWidth, srcHeight, midWidth, midHeight); [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 81 size_t srcWidth, size_t srcHeight, 94 srcWidth, srcHeight,
|
/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,
|