/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/media/libvideoeditor/include/ |
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/media/libvideoeditor/lvpp/ |
NativeWindowRenderer.cpp | 418 int srcWidth, int srcHeight, int stride) { 423 memcpy(dst, p, srcWidth); 425 p += srcWidth; 429 p += srcWidth * srcHeight / 4; 431 memcpy(dst, p, srcWidth / 2); 433 p += srcWidth / 2; 436 p -= srcWidth * srcHeight / 2; 438 memcpy(dst, p, srcWidth / 2); 440 p += srcWidth / 2; 478 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++) { 325 final int srcWidth = source.getWidth(); 327 if (srcWidth * 1.0 / srcHeight > dstRect.width * 1.0 / dstRect.height) { 329 final int scaledHeight = Math.max(1, dstRect.width * srcHeight / srcWidth); 342 final int scaledWidth = Math.max(1, dstRect.height * srcWidth / srcHeight); 368 final int srcWidth = source.getWidth(); 370 if (srcWidth * 1.0 / srcHeight > dstRect.width * 1.0 / dstRect.height) { 371 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 | 124 private static float[] getFitVertices(int srcWidth, int srcHeight, int dstWidth, 126 float srcAspectRatio = ((float) srcWidth) / srcHeight; 147 public static void setRenderToFit(RenderContext context, int srcWidth, int srcHeight, 150 getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight)); 153 public static void setRenderToRotate(RenderContext context, int srcWidth, int srcHeight, 158 float cosWidth = cosTheta * srcWidth; 159 float sinWidth = sinTheta * srcWidth; 184 public static void setRenderToFlip(RenderContext context, int srcWidth, int srcHeight, 187 float[] base = getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight);
|
/frameworks/base/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 | 979 bool CameraHardwareSec::scaleDownYuv422(char *srcBuf, uint32_t srcWidth, uint32_t srcHeight, 991 step_x = srcWidth / dstWidth; 996 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/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BitmapUtils.java | 150 int srcWidth = bitmap.getWidth(); 153 (float) maxLength / srcWidth, (float) maxLength / srcHeight); 161 int srcWidth = bitmap.getWidth(); 164 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
shmstr.h | 132 CARD16 srcWidth B16;
|
/frameworks/base/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 81 size_t srcWidth, size_t srcHeight, 94 srcWidth, srcHeight,
|
/external/quake/quake/src/WinQuake/ |
gl_draw.cpp | [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/GL/ |
glxext.h | 725 int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xproto.h | [all...] |