/frameworks/base/awt/java/awt/image/ |
H A D | ByteLookupTable.java | 92 public int[] lookupPixel(int[] src, int[] dst) { argument 93 if (dst == null) { 94 dst = new int[src.length]; 100 dst[i] = data[0][src[i] - offset]; 104 dst[i] = data[i][src[i] - offset]; 108 return dst; 114 * resulted array is stored to the dst array. 118 * @param dst 122 public byte[] lookupPixel(byte[] src, byte[] dst) { argument 123 if (dst [all...] |
H A D | ShortLookupTable.java | 91 * resulted array is stored to the dst array. 95 * @param dst 99 public short[] lookupPixel(short[] src, short[] dst) { argument 100 if (dst == null) { 101 dst = new short[src.length]; 107 dst[i] = data[0][src[i] - offset]; 111 dst[i] = data[i][src[i] - offset]; 115 return dst; 119 public int[] lookupPixel(int[] src, int[] dst) { argument 120 if (dst [all...] |
H A D | ConvolveOp.java | 164 public final WritableRaster filter(Raster src, WritableRaster dst) { argument 170 if (src == dst) { 175 if (dst == null) { 176 dst = createCompatibleDestRaster(src); 177 } else if (src.getNumBands() != dst.getNumBands()) { 181 "awt.258", src.getNumBands(), dst.getNumBands())); //$NON-NLS-1$ 185 // if (ippFilter(src, dst, BufferedImage.TYPE_CUSTOM) != 0) 186 if (slowFilter(src, dst) != 0) { 191 return dst; 199 * @param dst 203 slowFilter(Raster src, WritableRaster dst) argument 301 filter(BufferedImage src, BufferedImage dst) argument 366 ippFilter(Raster src, WritableRaster dst, int imageType) argument 541 ippFilter32f(float kernel[], int kWidth, int kHeight, int anchorX, int anchorY, int borderType, Object src, int srcWidth, int srcHeight, int srcStride, Object dst, int dstWidth, int dstHeight, int dstStride, int channels, boolean skipChannel, int offsets[]) argument [all...] |
H A D | BandCombineOp.java | 198 public WritableRaster filter(Raster src, WritableRaster dst) { argument 210 if (dst == null) { 211 dst = createCompatibleDestRaster(src); 212 } else if (dst.getNumBands() != mxHeight) { 217 dst.getNumBands(), mxWidth, mxHeight 222 // if (ippFilter(src, dst) != 0) 223 if (verySlowFilter(src, dst) != 0) { 228 return dst; 312 * @param dst 313 * the dst 316 slowFilter(Raster src, WritableRaster dst) argument 384 verySlowFilter(Raster src, WritableRaster dst) argument 442 ippFilter(Raster src, WritableRaster dst) argument [all...] |
H A D | LookupOp.java | 171 public final WritableRaster filter(Raster src, WritableRaster dst) { argument 172 if (dst == null) { 173 dst = createCompatibleDestRaster(src); 175 if (src.getNumBands() != dst.getNumBands()) { 178 if (src.getWidth() != dst.getWidth()) { 181 if (src.getHeight() != dst.getHeight()) { 193 // if (!canUseIpp || ippFilter(src, dst, BufferedImage.TYPE_CUSTOM, 195 if (slowFilter(src, dst, false) != 0) { 200 return dst; 203 public final BufferedImage filter(BufferedImage src, BufferedImage dst) { argument 287 slowFilter(Raster src, WritableRaster dst, boolean skipAlpha) argument 452 ippFilter(Raster src, WritableRaster dst, int imageType, boolean skipAlpha) argument 658 ippLUT(Object src, int srcWidth, int srcHeight, int srcStride, Object dst, int dstWidth, int dstHeight, int dstStride, int levels[], int values[], int channels, int offsets[], boolean linear) argument [all...] |
H A D | AffineTransformOp.java | 253 public final BufferedImage filter(BufferedImage src, BufferedImage dst) { argument 254 if (src == dst) { 268 if (dst == null) { 269 dst = createCompatibleDestImage(src, srcCM); 271 if (!srcCM.equals(dst.getColorModel())) { 274 if (!((src.getType() == BufferedImage.TYPE_INT_RGB || src.getType() == BufferedImage.TYPE_INT_ARGB) && (dst 275 .getType() == BufferedImage.TYPE_INT_RGB || dst.getType() == BufferedImage.TYPE_INT_ARGB))) { 276 finalDst = dst; 277 dst = createCompatibleDestImage(src, srcCM); 283 if (slowFilter(src.getRaster(), dst 303 filter(Raster src, WritableRaster dst) argument 340 ippFilter(Raster src, WritableRaster dst, int imageType) argument 498 slowFilter(Raster src, WritableRaster dst) argument 614 ippAffineTransform(double m00, double m01, double m02, double m10, double m11, double m12, Object src, int srcWidth, int srcHeight, int srcStride, Object dst, int dstWidth, int dstHeight, int dstStride, int iType, int channels, boolean skipChannel, int offsets[]) argument [all...] |
H A D | RescaleOp.java | 190 public final WritableRaster filter(Raster src, WritableRaster dst) { argument 191 if (dst == null) { 192 dst = createCompatibleDestRaster(src); 194 if (src.getNumBands() != dst.getNumBands()) { 196 // dst bands ({1}) 198 src.getNumBands(), dst.getNumBands())); 209 // if (ippFilter(src, dst, BufferedImage.TYPE_CUSTOM, false) != 0) 210 if (slowFilter(src, dst, false) != 0) { 215 return dst; 223 * @param dst 229 slowFilter(Raster src, WritableRaster dst, boolean skipAlpha) argument 326 filter(BufferedImage src, BufferedImage dst) argument 505 ippFilter(Raster src, WritableRaster dst, int imageType, boolean skipAlpha) argument [all...] |
H A D | ColorConvertOp.java | 103 * @param dst 104 * the dst. 109 public ICC_Transform getTransform(ICC_Profile src, ICC_Profile dst, ICC_Profile convSeq[]) { argument 110 if (transform != null && src == transform.getSrc() && dst == transform.getDst()) { 122 if (length == 0 || dst != convSeq[length - 1]) { 123 if (dst != null) { 124 dstFlg = 1; // need dst profile 142 profiles[pos++] = dst; 151 * non-ICC color spaces and ICC transforms made from src, dst and 156 * @param dst 160 getSequence(Object src, Object dst) argument 379 filter(Raster src, WritableRaster dst) argument 487 filter(BufferedImage src, BufferedImage dst) argument [all...] |
H A D | LookupTable.java | 92 * array is stored to the dst array. 96 * @param dst 100 public abstract int[] lookupPixel(int[] src, int[] dst); argument
|
H A D | RasterOp.java | 55 * @param dst 59 public WritableRaster filter(Raster src, WritableRaster dst); argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchImpl.cpp | 70 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, argument 76 canvas->drawRect(dst, paint); 86 canvas->drawRect(dst, paint); 91 canvas->drawBitmapRect(bitmap, &src, dst, &paint); 171 SkRect dst; local 212 dst.fTop = bounds.fTop; 233 dst.fLeft = bounds.fLeft; 236 dst.fBottom = bounds.fBottom; 241 dst.fBottom = dst [all...] |
H A D | Region.cpp | 24 static void Region_setRegion(JNIEnv* env, jobject, SkRegion* dst, const SkRegion* src) { argument 25 SkASSERT(dst && src); 26 *dst = *src; 29 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom) { argument 30 return dst->setRect(left, top, right, bottom); 33 static jboolean Region_setPath(JNIEnv* env, jobject, SkRegion* dst, argument 35 SkASSERT(dst && path && clip); 36 return dst->setPath(*path, *clip); 48 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom, int op) { argument 52 return dst 55 Region_op1(JNIEnv* env, jobject, SkRegion* dst, jobject rectObject, const SkRegion* region, int op) argument 61 Region_op2(JNIEnv* env, jobject, SkRegion* dst, const SkRegion* region1, const SkRegion* region2, int op) argument 97 Region_translate(JNIEnv* env, jobject region, int x, int y, jobject dst) argument 106 scale_rect(SkIRect* dst, const SkIRect& src, float scale) argument 115 scale_rgn(SkRegion* dst, const SkRegion& src, float scale) argument 127 Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) argument [all...] |
H A D | Bitmap.cpp | 25 typedef void (*FromColorProc)(void* dst, const SkColor src[], int width,
28 static void FromColor_D32(void* dst, const SkColor src[], int width,
argument 30 SkPMColor* d = (SkPMColor*)dst;
37 static void FromColor_D565(void* dst, const SkColor src[], int width,
argument 39 uint16_t* d = (uint16_t*)dst;
49 static void FromColor_D4444(void* dst, const SkColor src[], int width,
argument 51 SkPMColor16* d = (SkPMColor16*)dst;
81 void* dst = dstBitmap.getPixels();
local 84 if (NULL == dst || NULL == proc) {
92 dst 110 ToColor_S32_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument 119 ToColor_S32_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument 130 ToColor_S4444_Alpha(SkColor dst[], const void* src, int width, SkColorTable*) argument 139 ToColor_S4444_Opaque(SkColor dst[], const void* src, int width, SkColorTable*) argument 150 ToColor_S565(SkColor dst[], const void* src, int width, SkColorTable*) argument 161 ToColor_SI8_Alpha(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument 172 ToColor_SI8_Opaque(SkColor dst[], const void* src, int width, SkColorTable* ctable) argument 423 SkBitmap* dst = new SkBitmap; local 451 SkColor dst[1]; local 471 jint* dst = env->GetIntArrayElements(pixelArray, NULL); local 521 void* dst = bitmap->getPixels(); local [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/color/ |
H A D | ICC_Transform.java | 36 private ICC_Profile dst; field in class:ICC_Transform 54 * @return Returns the dst. 57 return dst; 85 dst = profiles[numProfiles-1]; 87 numOutputChannels = dst.getNumComponents(); 136 dst = profiles[numProfiles-1]; 138 numOutputChannels = dst.getNumComponents(); 151 * @param dst - destination image format 153 public void translateColors(NativeImageFormat src, NativeImageFormat dst) { argument 154 NativeCMM.cmmTranslateColors(transformHandle, src, dst); [all...] |
H A D | ColorConverter.java | 45 * @param dst - destination image 48 BufferedImage src, BufferedImage dst) { 50 NativeImageFormat dstIF = NativeImageFormat.createNativeImageFormat(dst); 58 dstIF = createImageFormat(dst); 66 ColorModel dstCM = dst.getColorModel(); 101 wr = dst.getRaster(); 176 * @param dst - destination pixels 178 public void translateColor(ICC_Transform t, Raster src, WritableRaster dst) { argument 181 NativeImageFormat dstFmt = NativeImageFormat.createNativeImageFormat(dst); 196 scaler.loadScalingData(dst, 47 translateColor(ICC_Transform t, BufferedImage src, BufferedImage dst) argument 209 translateColor(ICC_Transform t, short src[], short dst[]) argument [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | idct.h | 48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width); 49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width); 50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width); 51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width); 52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width);
|
H A D | block_idct.cpp | 123 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width); 323 void Copy_Blk_to_Vop(uint8 *dst, uint8 *pred, int width) argument 327 *((uint32*)dst) = *((uint32*)pred); 328 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); 329 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); 330 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); 331 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); 332 *((uint32*)(dst += 4)) = *((uint32*)(pred += 4)); 333 *((uint32*)(dst += width)) = *((uint32*)(pred += 12)); 334 *((uint32*)(dst 348 BlockIDCT( uint8 *dst, uint8 *pred, int16 *coeff_in, int width, int nz_coefs, uint8 *bitmapcol, uint8 bitmaprow ) argument 509 idctrow( int16 *blk, uint8 *pred, uint8 *dst, int width ) argument [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
H A D | MultiRectAreaOp.java | 188 static void sortOrdered(int[] src1, int[] src2, int[] dst) { argument 204 dst[count++] = v1; 208 dst[count++] = src2[i2++]; 210 dst[0] = count; 220 dst[count++] = v2; 224 dst[count++] = src1[i1++]; 226 dst[0] = count; 231 dst[count++] = v1; 252 static void intersectRegions(int[] reg1, int[] reg2, MultiRectArea.RectCash dst, int height1, int height2) { argument 287 dst 385 MultiRectArea.RectCash dst; field in class:MultiRectAreaOp.Union 516 simpleUnion(MultiRectArea src1, MultiRectArea src2, MultiRectArea dst) argument 651 subtractRegions(int[] reg1, int[] reg2, MultiRectArea.RectCash dst, int height1, int height2) argument 756 subtractRect(int x11, int y11, int x12, int y12, int[] rect, int index, MultiRectArea dst) argument 790 simpleSubtract(MultiRectArea src1, MultiRectArea src2, MultiRectArea dst) argument [all...] |
/frameworks/base/awt/java/awt/geom/ |
H A D | AffineTransform.java | 827 * @param dst 834 public Point2D transform(Point2D src, Point2D dst) { argument 835 if (dst == null) { 837 dst = new Point2D.Double(); 839 dst = new Point2D.Float(); 846 dst.setLocation(x * m00 + y * m01 + m02, x * m10 + y * m11 + m12); 847 return dst; 858 * @param dst 868 * <code>dstOff + length > dst.length</code>. 870 public void transform(Point2D[] src, int srcOff, Point2D[] dst, in argument 911 transform(double[] src, int srcOff, double[] dst, int dstOff, int length) argument 951 transform(float[] src, int srcOff, float[] dst, int dstOff, int length) argument 992 transform(float[] src, int srcOff, double[] dst, int dstOff, int length) argument 1025 transform(double[] src, int srcOff, float[] dst, int dstOff, int length) argument 1048 deltaTransform(Point2D src, Point2D dst) argument 1088 deltaTransform(double[] src, int srcOff, double[] dst, int dstOff, int length) argument 1111 inverseTransform(Point2D src, Point2D dst) argument 1160 inverseTransform(double[] src, int srcOff, double[] dst, int dstOff, int length) argument [all...] |
H A D | Rectangle2D.java | 202 Rectangle2D dst; 204 dst = new Rectangle2D.Double(); 206 dst = new Rectangle2D.Float(); 208 Rectangle2D.intersect(this, r, dst); 209 return dst; 214 Rectangle2D dst; 216 dst = new Rectangle2D.Double(); 218 dst = new Rectangle2D.Float(); 220 Rectangle2D.union(this, r, dst); 221 return dst; 725 intersect(Rectangle2D src1, Rectangle2D src2, Rectangle2D dst) argument 746 union(Rectangle2D src1, Rectangle2D src2, Rectangle2D dst) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Matrix.java | 300 /** Controlls how the src rect should align into the dst rect for 305 * Scale in X and Y independently, so that src matches dst exactly. 311 * but will also ensure that src fits entirely inside dst. At least one 313 * left and top edges of dst. 318 * but will also ensure that src fits entirely inside dst. At least one 319 * axis (X or Y) will fit exactly. The result is centered inside dst. 324 * but will also ensure that src fits entirely inside dst. At least one 326 * right and bottom edges of dst. 343 * @param dst the destination rectangle to map to. 347 public boolean setRectToRect(RectF src, RectF dst, ScaleToFi argument 355 checkPointArrays(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 379 setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 410 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument 428 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount) argument 443 mapPoints(float[] dst, float[] src) argument 458 mapVectors(float[] dst, float[] src) argument 493 mapRect(RectF dst, RectF src) argument 655 native_setRectToRect(int native_object, RectF src, RectF dst, int stf) argument 657 native_setPolyToPoly(int native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 660 native_mapPoints(int native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument 663 native_mapRect(int native_object, RectF dst, RectF src) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 154 float[] dst = new float[16]; 157 dst[0] = tmp[0] * src[5] + tmp[3] * src[6] + tmp[4] * src[7]; 158 dst[0] -= tmp[1] * src[5] + tmp[2] * src[6] + tmp[5] * src[7]; 159 dst[1] = tmp[1] * src[4] + tmp[6] * src[6] + tmp[9] * src[7]; 160 dst[1] -= tmp[0] * src[4] + tmp[7] * src[6] + tmp[8] * src[7]; 161 dst[2] = tmp[2] * src[4] + tmp[7] * src[5] + tmp[10] * src[7]; 162 dst[2] -= tmp[3] * src[4] + tmp[6] * src[5] + tmp[11] * src[7]; 163 dst[3] = tmp[5] * src[4] + tmp[8] * src[5] + tmp[11] * src[6]; 164 dst[3] -= tmp[4] * src[4] + tmp[9] * src[5] + tmp[10] * src[6]; 165 dst[ [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
H A D | JavaLineRasterizer.java | 139 MultiRectArea dst; field in class:JavaLineRasterizer.Line 141 Line(int x1, int y1, int x2, int y2, MultiRectArea dst) { argument 146 this.dst = dst; 155 Diag(int x1, int y1, int x2, int y2, MultiRectArea dst) { argument 156 super(x1, y1, x2, y2, dst); 176 Hor(int x1, int y1, int x2, int y2, MultiRectArea dst) { argument 177 super(x1, y1, x2, y2, dst); 206 dst.addRect(px, y, x, y); 208 dst 243 Ver(int x1, int y1, int x2, int y2, MultiRectArea dst) argument 304 HorDashed(int x1, int y1, int x2, int y2, MultiRectArea dst, LineDasher dasher, boolean invert) argument 332 VerDashed(int x1, int y1, int x2, int y2, MultiRectArea dst, LineDasher dasher, boolean invert) argument 458 Ortog(int x1, int y1, int x2, int y2, MultiRectArea dst) argument 466 Hor(int x1, int y1, int x2, int y2, MultiRectArea dst) argument 534 Ver(int x1, int y1, int x2, int y2, MultiRectArea dst) argument 577 HorDashed(int x1, int y1, int x2, int y2, MultiRectArea dst, LineDasher dasher) argument 603 VerDashed(int x1, int y1, int x2, int y2, MultiRectArea dst, LineDasher dasher, boolean invert) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix.java | 607 /** Controlls how the src rect should align into the dst rect for 612 * Scale in X and Y independently, so that src matches dst exactly. 618 * but will also ensure that src fits entirely inside dst. At least one 620 * left and top edges of dst. 625 * but will also ensure that src fits entirely inside dst. At least one 626 * axis (X or Y) will fit exactly. The result is centered inside dst. 631 * but will also ensure that src fits entirely inside dst. At least one 633 * right and bottom edges of dst. 650 * @param dst the destination rectangle to map to. 654 public boolean setRectToRect(RectF src, RectF dst, ScaleToFi argument 717 setRectToRect(RectF src, RectF dst, _Original_Matrix.ScaleToFit stf) argument 734 setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 787 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument 817 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount) argument 832 mapPoints(float[] dst, float[] src) argument 848 mapVectors(float[] dst, float[] src) argument 886 mapRect(RectF dst, RectF src) argument [all...] |
/frameworks/base/opengl/libagl/ |
H A D | mipmap.cpp | 59 uint16_t* dst = (uint16_t*)cur.data; local 74 dst[x + y*stride] = rgb; 82 uint16_t* dst = (uint16_t*)cur.data; local 94 dst[x + y*stride] = (r<<11)|(g<<6)|(b<<1)|a; 102 uint32_t* dst = (uint32_t*)cur.data; local 121 dst[x + y*stride] = rgba; 138 uint8_t* dst = (uint8_t*)cur.data; local 149 dst[x + y*stride + c] = (p00 + p10 + p01 + p11) >> 2; 158 uint16_t* dst = (uint16_t*)cur.data; local 172 dst[ [all...] |