Searched defs:src (Results 151 - 175 of 190) sorted by relevance

12345678

/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++ = src[
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...]
H A DMPEG4Extractor.cpp2176 const uint8_t *src = local
2179 size_t nal_size = parseNALSize(src);
/frameworks/base/cmds/installd/
H A Dcommands.c441 int move_dex(const char *src, const char *dst) argument
446 if (validate_apk_path(src)) return -1;
449 if (create_cache_path(src_dex, src)) return -1;
598 int create_cache_path(char path[PKG_PATH_MAX], const char *src) argument
604 srclen = strlen(src);
607 if ((src == 0) || (src[0] != '/') || strstr(src,"..")) {
624 src + 1, /* skip the leading / */
H A Dutils.c886 int copy_and_append(dir_rec_t* dst, const dir_rec_t* src, const char* suffix) { argument
887 dst->len = src->len + strlen(suffix);
892 || snprintf(dst->path, dstSize, "%s%s", src->path, suffix)
952 int append_and_increment(char** dst, const char* src, size_t* dst_size) { argument
953 ssize_t ret = strlcpy(*dst, src, *dst_size);
/frameworks/base/core/java/android/content/
H A DIntentFilter.java642 AuthorityEntry(Parcel src) { argument
643 mOrigHost = src.readString();
644 mHost = src.readString();
645 mWild = src.readInt() != 0;
646 mPort = src.readInt();
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp536 const int8_t *src = (const int8_t *)(data + offsetInBytes); local
538 *dst++ = (int16_t)(*src++^0x80) << 8;
H A Dandroid_util_AssetManager.cpp828 ResTable::Theme* src = (ResTable::Theme*)srcInt; local
829 dest->setTo(*src);
904 jint* src = (jint*)env->GetPrimitiveArrayCritical(attrs, 0); local
905 if (src == NULL) {
912 env->ReleasePrimitiveArrayCritical(attrs, src, 0);
984 const uint32_t curIdent = (uint32_t)src[ii];
1106 env->ReleasePrimitiveArrayCritical(attrs, src, 0);
1146 jint* src = (jint*)env->GetPrimitiveArrayCritical(attrs, 0); local
1147 if (src == NULL) {
1154 env->ReleasePrimitiveArrayCritical(attrs, src,
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java398 public void copyPixelsFromBuffer(Buffer src) { argument
401 int elements = src.remaining();
403 if (src instanceof ByteBuffer) {
405 } else if (src instanceof ShortBuffer) {
407 } else if (src instanceof IntBuffer) {
420 nativeCopyPixelsFromBuffer(mNativeBitmap, src);
423 int position = src.position();
425 src.position(position);
455 * @param src The source bitmap.
461 public static Bitmap createScaledBitmap(Bitmap src, in argument
496 createBitmap(Bitmap src) argument
1422 nativeCopyPixelsFromBuffer(int nb, Buffer src) argument
[all...]
H A DMatrix.java47 public void set(Matrix src) {
204 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) {
210 public boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex,
235 * Create a matrix that is a (deep) copy of src
236 * @param src The matrix to copy into this matrix
238 public Matrix(Matrix src) { argument
239 native_instance = native_create(src != null ? src.native_instance : 0);
260 * (deep) copy the src matrix into this matrix. If src i
263 set(Matrix src) argument
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.java54 * Create a new path, copying the contents from the src path.
56 * @param src The path to copy from when initializing the new path
58 public Path(Path src) { argument
60 if (src != null) {
61 valNative = src.mNativePath;
93 /** Replace the contents of this with the contents of src.
95 public void set(Path src) { argument
96 if (this != src) {
97 isSimplePath = src.isSimplePath;
98 native_set(mNativePath, src
510 addPath(Path src, float dx, float dy) argument
520 addPath(Path src) argument
530 addPath(Path src, Matrix matrix) argument
647 native_addPath(int nPath, int src, float dx, float dy) argument
649 native_addPath(int nPath, int src) argument
650 native_addPath(int nPath, int src, int matrix) argument
[all...]
H A DCanvas.java1087 * @param src May be null. The subset of the bitmap to be drawn
1092 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { argument
1097 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst,
1118 * @param src May be null. The subset of the bitmap to be drawn
1123 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { argument
1128 native_drawBitmap(mNativeCanvas, bitmap.ni(), src, dst,
1704 Rect src, RectF dst,
1709 Rect src, Rect dst,
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
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp585 static void hexDumpToString(const uint8_t* src, size_t src_len, argument
601 res = snprintf(dst + offset, dst_len - offset, " %02x", src[i]);
762 "src %s reqTID %016llx ourTID %016llx",
842 "src %s respTID %016llx respDID %016llx respPrio %u "
1013 "src %s srcDevID %lld srcPrio %u srcTID %016llx",
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp681 const sp<GraphicBuffer>& src,
684 // src and dst with, height and format must be identical. no verification
688 err = src->lock(GRALLOC_USAGE_SW_READ_OFTEN, reg.bounds(), (void**)&src_bits);
689 ALOGE_IF(err, "error locking src buffer %s", strerror(-err));
698 const size_t bpp = bytesPerPixel(src->format);
700 const size_t sbpr = src->stride * bpp;
707 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp;
722 src->unlock();
679 copyBlt( const sp<GraphicBuffer>& dst, const sp<GraphicBuffer>& src, const Region& reg) argument
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp538 void invert(GLfloat* inverse, const GLfloat* src) argument
545 memcpy(tmp, src, sizeof(GLfloat)*16);
H A Dtexture.cpp273 const GGLSurface& src,
276 if ((dst.format == src.format) &&
277 (dst.stride == src.stride) &&
278 (dst.width == src.width) &&
279 (dst.height == src.height) &&
285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]);
286 const size_t size = src.height * src.stride * pixelFormat.size;
287 memcpy(dst.data, src.data, size);
299 ggl->bindTexture(ggl, &src);
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
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp80 void fixup_GenericFloatArray(int argIndex, int nFloats, GLMessage *glmsg, void *src) { argument
82 GLfloat *floatp = (GLfloat *)src;
97 void fixup_GenericIntArray(int argIndex, int nInts, GLMessage *glmsg, void *src) { argument
99 GLint *intp = (GLint *)src;
114 void fixup_GenericEnumArray(int argIndex, int nEnums, GLMessage *glmsg, void *src) { argument
116 fixup_GenericIntArray(argIndex, nEnums, glmsg, src);
125 void fixup_CStringPtr(int argIndex, GLMessage *glmsg, void *src) { argument
127 GLchar *ptr = (GLchar *) src;
236 ::std::string src = ""; local
239 src
255 fixup_glUniformGeneric(int argIndex, int nFloats, GLMessage *glmsg, void *src) argument
286 GLboolean *src = (GLboolean*) pointersToFixup[0]; local
297 GLfloat *src = (GLfloat*) pointersToFixup[0]; local
405 addGlBufferData(GLMessage *glmsg, int dataIndex, GLvoid *src, GLsizeiptr len) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp72 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { argument
73 rsc->mHal.funcs.allocation.syncAll(rsc, this, src);
241 uint8_t *dst, const uint8_t *src, bool dstPadded) {
254 memcpy(dst, src, unpaddedBytes);
255 src += srcInc;
278 memcpy(dst + dstOffsets[fI], src + srcOffsets[fI], sizeUnpadded[fI]);
280 src += srcInc;
290 const uint8_t *src = (const uint8_t*)data; local
293 writePackedData(rsc, getType(), dst, src, true);
302 const uint8_t *src local
240 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
417 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
486 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
630 Allocation *src= static_cast<Allocation *>(srcAlloc); 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);
127 static bool SC_IsObject(const ObjectBase *src) { argument
129 return rsrIsObject(rsc, sc, src);
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp67 void Allocation::syncAll(Context *rsc, RsAllocationUsageType src) { argument
68 rsc->mHal.funcs.allocation.syncAll(rsc, this, src);
222 uint8_t *dst, const uint8_t *src, bool dstPadded) {
235 memcpy(dst, src, unpaddedBytes);
236 src += srcInc;
259 memcpy(dst + dstOffsets[fI], src + srcOffsets[fI], sizeUnpadded[fI]);
261 src += srcInc;
271 const uint8_t *src = (const uint8_t*)data; local
274 writePackedData(rsc, getType(), dst, src, true);
283 const uint8_t *src local
221 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument
395 copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len) argument
424 rsi_AllocationSyncAll(Context *rsc, RsAllocation va, RsAllocationUsageType src) argument
568 Allocation *src= static_cast<Allocation *>(srcAlloc); local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_est.cpp483 uint8 *src, *dst; local
493 src = refPic->Sl;
495 temp1 = *src; /* top-left corner */
496 temp2 = src[width-1]; /* top-right corner */
502 dst = src - (pitch << 4);
509 memcpy(dst, src, width);
527 src = dst;
531 temp1 = *src;
532 temp2 = src[width-1];
548 src
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java101 public boolean restorePicture(Bundle b, File src); argument
/frameworks/base/core/java/android/widget/
H A DStackView.java1438 void drawOutline(Canvas dest, Bitmap src) { argument
1440 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
1442 mMaskCanvas.drawBitmap(src, -xy[0], -xy[1], mErasePaint);
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp349 const float* src = floats + offset; local
351 pts[i].set(SkFloatToScalar(src[0]), SkFloatToScalar(src[1]));
352 src += 2;
495 SkIRect src, *srcPtr = NULL; local
498 GraphicsJNI::jrect_to_irect(env, srcIRect, &src);
499 srcPtr = &src;
597 const float* src = vertA.ptr() + vertIndex; local
599 verts[i].set(SkFloatToFixed(src[0]), SkFloatToFixed(src[
707 const float* src = vertA.ptr() + vertIndex; local
[all...]
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,
858 if (src == null) {
864 src.left, src.top, src.width(), src.height(),
871 Rect src, Rect dst,
883 if (src == null) {
889 src.left, src
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...]

Completed in 461 milliseconds

12345678