HomeSort by relevance Sort by last modified time
    Searched full:srcheight (Results 1 - 16 of 16) sorted by null

  /hardware/ti/omap4xxx/libI420colorconvert/
ColorConvert.cpp 26 void* srcBits, int srcWidth, int srcHeight, ARect srcRect, void* dstBits) {
31 srcWidth * (srcHeight - srcRect.top / 2);
66 void* srcBits, int srcWidth, int srcHeight,
71 for(int i=0; i < srcHeight; i++) {
76 uint8_t* pSrc_u = (uint8_t*)srcBits + (srcWidth * srcHeight);
77 uint8_t* pSrc_v = (uint8_t*)pSrc_u + (srcWidth / 2) * (srcHeight / 2);
80 for(int i=0; i < srcHeight / 2; i++) {
  /frameworks/media/libvideoeditor/include/
II420ColorConverter.h 71 * @param srcHeight (IN) Height of the I420 frame
86 void* srcBits, int srcWidth, int srcHeight,
100 * @param srcHeight (IN) Height 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,
160 float cosHeight = cosTheta * srcHeight;
161 float sinHeight = sinTheta * srcHeight;
184 public static void setRenderToFlip(RenderContext context, int srcWidth, int srcHeight,
187 float[] base = getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight);
  /sdk/assetstudio/src/com/android/assetstudiolib/
Util.java 210 final int srcHeight = source.getHeight();
212 int l = srcWidth, t = srcHeight, r = 0, b = 0;
216 for (y = 0; y < srcHeight; y++) {
326 final int srcHeight = source.getHeight();
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);
369 final int srcHeight = source.getHeight();
370 if (srcWidth * 1.0 / srcHeight > dstRect.width * 1.0 / dstRect.height) {
371 final int scaledWidth = dstRect.height * srcWidth / srcHeight;
    [all...]
  /frameworks/media/libvideoeditor/lvpp/
NativeWindowRenderer.cpp 418 int srcWidth, int srcHeight, int stride) {
422 for (int i = srcHeight; i > 0; i--) {
429 p += srcWidth * srcHeight / 4;
430 for (int i = srcHeight / 2; i > 0; i--) {
436 p -= srcWidth * srcHeight / 2;
437 for (int i = srcHeight / 2; i > 0; i--) {
478 M4xVSS_MediaRendering renderingMode, int srcWidth, int srcHeight) {
488 y = float(srcHeight) / mDstHeight;
500 y = float(srcHeight) / mDstHeight;
NativeWindowRenderer.h 80 int srcWidth, int srcHeight, int stride);
83 int srcWidth, int srcHeight);
  /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)
77 srcHeight = srcSize.height();
102 if (srcWidth == destIWidth && srcHeight == destIHeight) {
108 || srcHeight <= kSmallImageSizeThreshold
116 if (srcHeight * kLargeStretch <= destHeight || srcWidth * kLargeStretch <= destWidth) {
123 if (srcWidth == destWidth || srcHeight == destHeight)
132 && (fabs(destHeight - srcHeight) / srcHeight < kFractionalChangeThreshold)) {
292 static void TransformDimensions(const SkMatrix& matrix, float srcWidth, float srcHeight, float* destWidth, float* destHeight) {
297 src_points[2].set(0, SkFloatToScalar(srcHeight));
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BitmapUtils.java 151 int srcHeight = bitmap.getHeight();
153 (float) maxLength / srcWidth, (float) maxLength / srcHeight);
162 int srcHeight = bitmap.getHeight();
164 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
  /device/samsung/crespo/libcamera/
SecCameraHWInterface.h 140 bool YUY2toNV21(void *srcBuf, void *dstBuf, uint32_t srcWidth, uint32_t srcHeight);
SecCameraHWInterface.cpp 979 bool CameraHardwareSec::scaleDownYuv422(char *srcBuf, uint32_t srcWidth, uint32_t srcHeight,
992 step_y = srcHeight / dstHeight;
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
shmstr.h 133 CARD16 srcHeight B16;
  /frameworks/base/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 208 vi.getImgSize(), // srcHeight
  /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...]

Completed in 477 milliseconds