Searched defs:dst (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/awt/java/awt/image/
H A DByteLookupTable.java92 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 DShortLookupTable.java91 * 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 DLookupTable.java92 * array is stored to the dst array.
96 * @param dst
100 public abstract int[] lookupPixel(int[] src, int[] dst); argument
H A DRasterOp.java55 * @param dst
59 public WritableRaster filter(Raster src, WritableRaster dst); argument
H A DColorConvertOp.java103 * @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 DRescaleOp.java190 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 DAffineTransformOp.java253 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 DBandCombineOp.java198 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 DConvolveOp.java164 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 DLookupOp.java171 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...]
/frameworks/base/core/java/android/util/
H A DTimeUtils.java43 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { argument
81 if (currentOffset == offset && currentDst == dst) {
95 tz.inDaylightTime(d) == dst) {
/frameworks/base/opengl/tests/gralloc/
H A Dgralloc.cpp31 char* dst = (char*)d; local
34 *dst++ = *src++;
/frameworks/base/awt/org/apache/harmony/awt/gl/
H A DICompositeContext.java42 public ICompositeContext(Composite comp, ColorModel src, ColorModel dst){ argument
45 dstCM = dst;
61 // awt.49=The dstIn raster is incompatible with dst ColorModel
67 // awt.4A=The dstOut raster is incompatible with dst ColorModel
H A DMultiRectAreaOp.java188 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/org/apache/harmony/awt/gl/color/
H A DICC_Transform.java36 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 DColorConverter.java45 * @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/colorconversion/
H A DSoftwareRenderer.cpp76 void *dst = (uint8_t *)mMemoryHeap->getBase() + offset; local
80 data, 0, dst, 2 * mDecodedWidth);
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct.cpp345 int *blk, uint8 *pred, uint8 *dst, int width)
540 *dst++ = res;
543 *dst++ = res;
546 *dst++ = res;
549 *dst++ = res;
552 *dst++ = res;
555 *dst++ = res;
558 *dst++ = res;
561 *dst++ = res;
564 dst
344 idct( int *blk, uint8 *pred, uint8 *dst, int width) argument
[all...]
H A Didct_vca.cpp40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
50 dst -= width;
71 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */
85 *((uint32*)(dst += 4)) = dst_word; /* save 4 bytes to dst */
97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
106 dst -= width;
139 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */
185 idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
294 idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp103 jfloat stopF, SkPath* dst, jboolean startWithMoveTo) {
104 return pair->fMeasure.getSegment(SkFloatToScalar(startF), SkFloatToScalar(stopF), dst, startWithMoveTo);
102 getSegment(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat startF, jfloat stopF, SkPath* dst, jboolean startWithMoveTo) argument
/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java111 * Given a start and stop distance, return in dst the intervening
114 * If startD <= stopD then return false (and leave dst untouched).
117 public boolean getSegment(float startD, float stopD, Path dst, boolean startWithMoveTo) { argument
118 return native_getSegment(native_instance, startD, stopD, dst.ni(), startWithMoveTo);
/frameworks/base/libs/rs/
H A DrsProgramFragmentStore.cpp164 void ProgramFragmentStore::setBlendFunc(RsBlendSrcFunc src, RsBlendDstFunc dst) argument
168 (dst == RS_BLEND_DST_ZERO)) {
202 switch(dst) {
288 void rsi_ProgramFragmentStoreBlendFunc(Context *rsc, RsBlendSrcFunc src, RsBlendDstFunc dst) argument
290 rsc->mStateFragmentStore.mPFS->setBlendFunc(src, dst);
/frameworks/base/opengl/libagl/
H A Dmipmap.cpp59 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...]
/frameworks/base/awt/java/awt/
H A DMouseDispatcher.java63 static Point convertPoint(Component src, Point p, Component dst) { argument
64 return convertPoint(src, p.x, p.y, dst);
/frameworks/base/awt/java/awt/geom/
H A DRectangle2D.java202 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...]

Completed in 232 milliseconds

123