Searched defs:dst (Results 101 - 125 of 129) sorted by relevance

123456

/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp125 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples);
383 static void copyMono8(short *dst, const int *const *src, unsigned nSamples) argument
386 *dst++ = src[0][i] << 8;
390 static void copyStereo8(short *dst, const int *const *src, unsigned nSamples) argument
393 *dst++ = src[0][i] << 8;
394 *dst++ = src[1][i] << 8;
398 static void copyMono16(short *dst, const int *const *src, unsigned nSamples) argument
401 *dst++ = src[0][i];
405 static void copyStereo16(short *dst, const int *const *src, unsigned nSamples) argument
408 *dst
415 copyMono24(short *dst, const int *const *src, unsigned nSamples) argument
422 copyStereo24(short *dst, const int *const *src, unsigned nSamples) argument
430 copyTrespass(short *dst, const int *const *src, unsigned nSamples) argument
[all...]
/frameworks/base/cmds/installd/
H A Dcommands.c441 int move_dex(const char *src, const char *dst) argument
447 if (validate_apk_path(dst)) return -1;
450 if (create_cache_path(dst_dex, dst)) return -1;
H A Dutils.c41 char *dst = path; local
44 if (append_and_increment(&dst, dir->path, &dst_size) < 0
45 || append_and_increment(&dst, pkgname, &dst_size) < 0
46 || append_and_increment(&dst, postfix, &dst_size) < 0) {
76 char *dst = prefix; local
79 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0
80 || append_and_increment(&dst, persona_prefix, &dst_size) < 0) {
86 int ret = snprintf(dst, dst_size, "%d/", persona);
117 char *dst = path; local
120 if (append_and_increment(&dst, android_data_di
862 char *dst; local
886 copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix) argument
952 append_and_increment(char** dst, const char* src, size_t* dst_size) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp535 int16_t *dst = (int16_t *)track->sharedBuffer()->pointer(); local
538 *dst++ = (int16_t)(*src++^0x80) << 8;
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java364 public void copyPixelsToBuffer(Buffer dst) { argument
365 int elements = dst.remaining();
367 if (dst instanceof ByteBuffer) {
369 } else if (dst instanceof ShortBuffer) {
371 } else if (dst instanceof IntBuffer) {
384 nativeCopyPixelsToBuffer(mNativeBitmap, dst);
387 int position = dst.position();
389 dst.position(position);
1421 Buffer dst);
1420 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
H A DMatrix.java204 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
210 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex,
485 /** Controlls how the src rect should align into the dst rect for
490 * Scale in X and Y independently, so that src matches dst exactly.
496 * but will also ensure that src fits entirely inside dst. At least one
498 * left and top edges of dst.
503 * but will also ensure that src fits entirely inside dst. At least one
504 * axis (X or Y) will fit exactly. The result is centered inside dst.
509 * but will also ensure that src fits entirely inside dst. At least one
511 * right and bottom edges of dst
532 setRectToRect(RectF src, RectF dst, ScaleToFit stf) argument
540 checkPointArrays(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
564 setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
595 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument
617 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount) argument
632 mapPoints(float[] dst, float[] src) argument
650 mapVectors(float[] dst, float[] src) argument
689 mapRect(RectF dst, RectF src) argument
851 native_setRectToRect(int native_object, RectF src, RectF dst, int stf) argument
853 native_setPolyToPoly(int native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
856 native_mapPoints(int native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument
859 native_mapRect(int native_object, RectF dst, RectF src) argument
[all...]
H A DPath.java540 * @param dst The translated path is written here. If this is null, then
543 public void offset(float dx, float dy, Path dst) { argument
545 if (dst != null) {
546 dstNative = dst.mNativePath;
574 * into dst. If dst is null, then the the original path is modified.
577 * @param dst The transformed path is written here. If dst is null,
580 public void transform(Matrix matrix, Path dst) { argument
582 if (dst !
[all...]
H A DCanvas.java1037 * @param dst The destination rectangle.
1042 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { argument
1088 * @param dst The rectangle that the bitmap will be scaled/translated
1092 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { argument
1093 if (dst == null) {
1097 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst,
1119 * @param dst The rectangle that the bitmap will be scaled/translated
1123 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { argument
1124 if (dst == null) {
1128 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst,
1589 drawPicture(Picture picture, RectF dst) argument
1602 drawPicture(Picture picture, Rect dst) argument
1703 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, RectF dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument
1708 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, Rect dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument
[all...]
H A DPaint.java814 * result in dst. The result is that drawing src with this paint will be
815 * the same as drawing dst with a default paint (at least from the
819 * @param dst output path (may be the same as src)
823 public boolean getFillPath(Path src, Path dst) { argument
824 return native_getFillPath(mNativePaint, src.ni(), dst.ni());
2197 int src, int dst);
2196 native_getFillPath(int native_object, int src, int dst) argument
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp586 char* dst, size_t dst_len) {
593 res = snprintf(dst + offset, dst_len - offset, "\n%04x :", i);
601 res = snprintf(dst + offset, dst_len - offset, " %02x", src[i]);
607 dst[dst_len - 1] = 0;
585 hexDumpToString(const uint8_t* src, size_t src_len, char* dst, size_t dst_len) argument
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp680 const sp<GraphicBuffer>& dst,
684 // src and dst with, height and format must be identical. no verification
692 err = dst->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, reg.bounds(), (void**)&dst_bits);
693 ALOGE_IF(err, "error locking dst buffer %s", strerror(-err));
699 const size_t dbpr = dst->stride * bpp;
708 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp;
725 dst->unlock();
679 copyBlt( const sp<GraphicBuffer>& dst, const sp<GraphicBuffer>& src, const Region& reg) argument
/frameworks/native/opengl/libagl/
H A Dtexture.cpp271 const GGLSurface& dst,
276 if ((dst.format == src.format) &&
277 (dst.stride == src.stride) &&
278 (dst.width == src.width) &&
279 (dst.height == src.height) &&
280 (dst.stride > 0) &&
287 memcpy(dst.data, src.data, size);
298 ggl->colorBuffer(ggl, &dst);
269 copyPixels( ogles_context_t* c, const GGLSurface& dst, GLint xoffset, GLint yoffset, const GGLSurface& src, GLint x, GLint y, GLsizei w, GLsizei h) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java912 if (DBG) log("fixTimeZone: using getTimeZone(off, dst, time, iso)");
1084 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument
1085 TimeZone guess = findTimeZone(offset, dst, when);
1088 guess = findTimeZone(offset, !dst, when);
1094 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument
1096 if (dst) {
1105 tz.inDaylightTime(d) == dst) {
1294 int dst = (nitzSubs.length >= 8 ) ? Integer.parseInt(nitzSubs[7])
1300 // tzOffset += dst * 4;
1322 zone = TimeUtils.getTimeZone(tzOffset, dst !
[all...]
/frameworks/rs/
H A DrsAllocation.cpp241 uint8_t *dst, const uint8_t *src, bool dstPadded) {
254 memcpy(dst, src, unpaddedBytes);
256 dst += dstInc;
278 memcpy(dst + dstOffsets[fI], src + srcOffsets[fI], sizeUnpadded[fI]);
281 dst += dstInc;
291 uint8_t *dst = (uint8_t *)rsc->mHal.funcs.allocation.lock1D(rsc, this); local
293 writePackedData(rsc, getType(), dst, src, true);
303 uint8_t *dst = new uint8_t[numItems * unpaddedBytes]; local
305 writePackedData(rsc, getType(), dst, src, false);
306 stream->addByteArray(dst, getPackedSiz
240 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
629 Allocation *dst = static_cast<Allocation *>(dstAlloc); local
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeStubs.cpp117 static void SC_SetObject(ObjectBase **dst, ObjectBase * src) { argument
119 rsrSetObject(rsc, sc, dst, src);
122 static void SC_ClearObject(ObjectBase **dst) { argument
124 rsrClearObject(rsc, sc, dst);
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp222 uint8_t *dst, const uint8_t *src, bool dstPadded) {
235 memcpy(dst, src, unpaddedBytes);
237 dst += dstInc;
259 memcpy(dst + dstOffsets[fI], src + srcOffsets[fI], sizeUnpadded[fI]);
262 dst += dstInc;
272 uint8_t *dst = (uint8_t *)rsc->mHal.funcs.allocation.lock1D(rsc, this); local
274 writePackedData(rsc, getType(), dst, src, true);
284 uint8_t *dst = new uint8_t[numItems * unpaddedBytes]; local
286 writePackedData(rsc, getType(), dst, src, false);
287 stream->addByteArray(dst, getPackedSiz
221 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
567 Allocation *dst = static_cast<Allocation *>(dstAlloc); local
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp186 void *dst = env->GetDirectBufferAddress(byteBuf); local
191 if (dst == NULL) {
207 dst = env->GetByteArrayElements(byteArray, &isCopy);
216 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
222 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
227 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
534 jint *dst = env->GetIntArrayElements(numBytesOfEncryptedDataObj, &isCopy); local
536 dst[i] = ((const size_t *)data)[i];
538 env->ReleaseIntArrayElements(numBytesOfEncryptedDataObj, dst, 0);
539 dst
551 jint *dst = env->GetIntArrayElements(numBytesOfPlainDataObj, &isCopy); local
568 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); local
583 jbyte *dst = env->GetByteArrayElements(ivObj, &isCopy); local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_est.cpp483 uint8 *src, *dst; local
502 dst = src - (pitch << 4);
504 *((uint32*)(dst - 16)) = temp1;
505 *((uint32*)(dst - 12)) = temp1;
506 *((uint32*)(dst - 8)) = temp1;
507 *((uint32*)(dst - 4)) = temp1;
509 memcpy(dst, src, width);
511 *((uint32*)(dst += width)) = temp2;
512 *((uint32*)(dst + 4)) = temp2;
513 *((uint32*)(dst
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp1974 sp<ABuffer> *dst, size_t offset, uint64_t size, size_t extra) const {
1978 *dst = buf;
1973 copyBuffer( sp<ABuffer> *dst, size_t offset, uint64_t size, size_t extra) const argument
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp493 jobject srcIRect, const SkRect& dst, SkPaint* paint,
508 canvas->drawBitmapRect(*bitmap, srcPtr, dst, &filteredPaint);
510 canvas->drawBitmapRect(*bitmap, srcPtr, dst, paint);
518 SkRect dst; local
519 GraphicsJNI::jrectf_to_rect(env, dstRectF, &dst);
520 doDrawBitmap(env, canvas, bitmap, srcIRect, dst, paint,
528 SkRect dst; local
529 GraphicsJNI::jrect_to_rect(env, dstRect, &dst);
530 doDrawBitmap(env, canvas, bitmap, srcIRect, dst, paint,
492 doDrawBitmap(JNIEnv* env, SkCanvas* canvas, SkBitmap* bitmap, jobject srcIRect, const SkRect& dst, SkPaint* paint, jint screenDensity, jint bitmapDensity) argument
H A DPaint.cpp89 static void assign(JNIEnv* env, jobject clazz, SkPaint* dst, const SkPaint* src) { argument
90 *dst = *src;
219 static jboolean getFillPath(JNIEnv* env, jobject clazz, SkPaint* obj, SkPath* src, SkPath* dst) { argument
220 return obj->getFillPath(*src, dst);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java846 Rect src, RectF dst,
861 (int)dst.left, (int)dst.top, (int)dst.right, (int)dst.bottom);
865 (int)dst.left, (int)dst.top, (int)dst.right, (int)dst.bottom);
871 Rect src, Rect dst,
845 native_drawBitmap(Canvas thisCanvas, int nativeCanvas, int bitmap, Rect src, RectF dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument
870 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, Rect dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument
[all...]
H A DPaint_Delegate.java755 /*package*/ static boolean native_getFillPath(int native_object, int src, int dst) { argument
766 Path_Delegate dstPath = Path_Delegate.getDelegate(dst);
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp406 static void SC_SetObject(ObjectBase **dst, ObjectBase * src) { argument
408 rsrSetObject(rsc, sc, dst, src);
411 static void SC_ClearObject(ObjectBase **dst) { argument
413 rsrClearObject(rsc, sc, dst);
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java738 public void drawPatch(Bitmap bitmap, byte[] chunks, RectF dst, Paint paint) { argument
745 dst.left, dst.top, dst.right, dst.bottom, nativePaint);
788 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { argument
808 dst.left, dst.top, dst.right, dst
815 drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) argument
1027 drawPicture(Picture picture, Rect dst) argument
1042 drawPicture(Picture picture, RectF dst) argument
[all...]

Completed in 357 milliseconds

123456