/hardware/ti/omap4xxx/libI420colorconvert/ |
ColorConvert.cpp | 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) { 29 srcWidth * srcRect.top + srcRect.left; 31 srcWidth * (srcHeight - srcRect.top / 2); 44 pSrc_y += srcWidth; 54 pSrc_uv += srcWidth; 66 void* srcBits, int srcWidth, int srcHeight, 72 memcpy(pDst_y, pSrc_y, srcWidth); 73 pSrc_y += srcWidth; 76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight); 77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2) [all...] |
/frameworks/native/include/media/editor/ |
II420ColorConverter.h | 70 * @param srcWidth (IN) Width of the I420 frame 86 void* srcBits, int srcWidth, int srcHeight, 99 * @param srcWidth (IN) Width of the I420 frame 112 int srcWidth, int srcHeight,
|
/frameworks/av/libvideoeditor/lvpp/ |
NativeWindowRenderer.cpp | 417 int srcWidth, int srcHeight, int stride) { 422 memcpy(dst, p, srcWidth); 424 p += srcWidth; 428 p += srcWidth * srcHeight / 4; 430 memcpy(dst, p, srcWidth / 2); 432 p += srcWidth / 2; 435 p -= srcWidth * srcHeight / 2; 437 memcpy(dst, p, srcWidth / 2); 439 p += srcWidth / 2; 477 M4xVSS_MediaRendering renderingMode, int srcWidth, int srcHeight) [all...] |
NativeWindowRenderer.h | 80 int srcWidth, int srcHeight, int stride); 83 int srcWidth, int srcHeight);
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
Util.java | 209 final int srcWidth = source.getWidth(); 212 int l = srcWidth, t = srcHeight, r = 0, b = 0; 217 for (x = 0; x < srcWidth; x++) { 329 final int srcWidth = source.getWidth(); 331 if (srcWidth * 1.0 / srcHeight > dstRect.width * 1.0 / dstRect.height) { 333 final int scaledHeight = Math.max(1, dstRect.width * srcHeight / srcWidth); 346 final int scaledWidth = Math.max(1, dstRect.height * srcWidth / srcHeight); 372 final int srcWidth = source.getWidth(); 374 if (srcWidth * 1.0 / srcHeight > dstRect.width * 1.0 / dstRect.height) { 375 final int scaledWidth = dstRect.height * srcWidth / srcHeight [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
ImageSkia.cpp | 70 static ResamplingMode computeResamplingMode(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, int srcWidth, int srcHeight, float destWidth, float destHeight) 76 srcWidth = srcSize.width(); 102 if (srcWidth == destIWidth && srcHeight == destIHeight) { 107 if (srcWidth <= kSmallImageSizeThreshold 116 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) { 123 if (srcWidth == destWidth || srcHeight == destHeight) 131 if ((fabs(destWidth - srcWidth) / srcWidth < kFractionalChangeThreshold) 292 static void TransformDimensions(const SkMatrix& matrix, float srcWidth, float srcHeight, float* destWidth, float* destHeight) { 296 src_points[1].set(SkFloatToScalar(srcWidth), 0) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
RendererUtils.java | 125 private static float[] getFitVertices(int srcWidth, int srcHeight, int dstWidth, 127 float srcAspectRatio = ((float) srcWidth) / srcHeight; 148 public static void setRenderToFit(RenderContext context, int srcWidth, int srcHeight, 151 getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight)); 154 public static void setRenderToRotate(RenderContext context, int srcWidth, int srcHeight, 159 float cosWidth = cosTheta * srcWidth; 160 float sinWidth = sinTheta * srcWidth; 185 public static void setRenderToFlip(RenderContext context, int srcWidth, int srcHeight, 188 float[] base = getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight);
|
/frameworks/av/include/media/stagefright/ |
ColorConverter.h | 38 size_t srcWidth, size_t srcHeight,
|
/device/samsung/crespo/libcamera/ |
SecCameraHWInterface.h | 140 bool YUY2toNV21(void *srcBuf, void *dstBuf, uint32_t srcWidth, uint32_t srcHeight); 141 bool scaleDownYuv422(char *srcBuf, uint32_t srcWidth,
|
SecCameraHWInterface.cpp | 984 bool CameraHardwareSec::scaleDownYuv422(char *srcBuf, uint32_t srcWidth, uint32_t srcHeight, 996 step_x = srcWidth / dstWidth; 1001 src_y_start_pos = (y * step_y * (srcWidth * 2)); [all...] |
/device/samsung/crespo/libs3cjpeg/ |
JpegEncoder.h | 204 bool pad(char *srcBuf, uint32_t srcWidth, uint32_t srcHight, 206 bool scaleDownYuv422(char *srcBuf, uint32_t srcWidth, uint32_t srcHight,
|
JpegEncoder.cpp | 658 bool JpegEncoder::pad(char *srcBuf, uint32_t srcWidth, uint32_t srcHight, 669 int padW = dstWidth - srcWidth; 672 if ((int)(dstWidth - srcWidth) < 0 || 680 memcpy(dstBuf + i * dstWidth * 2, srcBuf + i * srcWidth * 2, srcWidth * 2); 685 bool JpegEncoder::scaleDownYuv422(char *srcBuf, uint32_t srcWidth, uint32_t srcHight, 700 step_x = srcWidth / dstWidth; 705 src_y_start_pos = (y * step_y * (srcWidth * 2));
|
/packages/apps/Mms/src/com/android/mms/util/ |
ThumbnailManager.java | 371 int srcWidth = bitmap.getWidth(); 374 (float) maxLength / srcWidth, (float) maxLength / srcHeight); 491 int srcWidth = bitmap.getWidth(); 494 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 141 int srcWidth = bitmap.getWidth(); 144 (float) maxLength / srcWidth, (float) maxLength / srcHeight);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
shmstr.h | 132 CARD16 srcWidth B16;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
shmstr.h | 132 CARD16 srcWidth B16;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
shmstr.h | 132 CARD16 srcWidth B16;
|
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 81 size_t srcWidth, size_t srcHeight, 94 srcWidth, srcHeight,
|
/external/quake/quake/src/WinQuake/ |
gl_draw.cpp | [all...] |
/gdk/samples/quake/jni/ |
gl_draw.cpp | [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/GL/ |
glxext.h | 725 int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/GL/ |
glxext.h | 725 int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/GL/ |
glxext.h | 725 int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | |