/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,
|
/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/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/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgximage.c | 465 int srcwidth; 479 srcwidth=rects[i].w; 481 if ( !srcwidth ) { /* Clipped? */ 494 for(k=0;k<srcwidth;k++) 519 int srcwidth; 532 srcwidth=rects[i].w; 534 if ( !srcwidth ) { /* Clipped? */ 549 for(k=0;k<srcwidth;k++) 571 int srcwidth; 584 srcwidth=rects[i].w 627 register int j,srcwidth; local [all...] |
/frameworks/base/include/media/stagefright/ |
ColorConverter.h | 38 size_t srcWidth, size_t srcHeight,
|
/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/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,
|
/frameworks/base/opengl/libagl2/src/ |
texture.cpp | 254 const unsigned srcWidth = ctx->rasterizer.frameSurface.width; 259 assert(x + width <= srcWidth); 267 x, y, srcWidth, xoffset, yoffset, tex.width, width, height);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageOverlay.java | 207 hi.getImgSize(), // srcWidth
|
/external/quake/quake/src/WinQuake/ |
gl_draw.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | [all...] |
/external/llvm/lib/VMCore/ |
ConstantFold.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;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeDAG.cpp | [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xproto.h | [all...] |