/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 414 void NativeWindowRenderer::copyI420Buffer(MediaBuffer* src, uint8_t* dst, argument 420 memcpy(dst, p, srcWidth); 421 dst += stride; 424 // The src is I420, the dst is YV12. 428 memcpy(dst, p, srcWidth / 2); 429 dst += strideUV; 435 memcpy(dst, p, srcWidth / 2); 436 dst += strideUV;
|
H A D | NativeWindowRenderer.h | 79 void copyI420Buffer(MediaBuffer* src, uint8_t* dst,
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 264 uint8_t *dst, const uint8_t *src, bool dstPadded) { 277 memcpy(dst, src, unpaddedBytes); 279 dst += dstInc; 301 memcpy(dst + dstOffsets[fI], src + srcOffsets[fI], sizeUnpadded[fI]); 304 dst += dstInc; 314 uint8_t *dst = (uint8_t *)rsc->mHal.funcs.allocation.lock1D(rsc, this); local 316 writePackedData(rsc, getType(), dst, src, true); 326 uint8_t *dst = new uint8_t[numItems * unpaddedBytes]; local 328 writePackedData(rsc, getType(), dst, src, false); 329 stream->addByteArray(dst, getPackedSiz 263 writePackedData(Context *rsc, const Type *type, uint8_t *dst, const uint8_t *src, bool dstPadded) argument 673 Allocation *dst = static_cast<Allocation *>(dstAlloc); local 690 Allocation *dst = static_cast<Allocation *>(dstAlloc); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 63 static void assign(JNIEnv* env, jobject clazz, SkPath* dst, const SkPath* src) { argument 64 *dst = *src; 217 SkScalar dst[8]; local 220 dst[i] = SkFloatToScalar(src[i]); 222 obj->addRoundRect(rect_, dst, dir); 239 static void offset__FFPath(JNIEnv* env, jobject clazz, SkPath* obj, jfloat dx, jfloat dy, SkPath* dst) { argument 242 obj->offset(dx_, dy_, dst); 257 static void transform__MatrixPath(JNIEnv* env, jobject clazz, SkPath* obj, SkMatrix* matrix, SkPath* dst) { argument 258 obj->transform(*matrix, dst);
|
H A D | PathMeasure.cpp | 103 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 D | Bitmap.java | 473 public void copyPixelsToBuffer(Buffer dst) { argument 474 int elements = dst.remaining(); 476 if (dst instanceof ByteBuffer) { 478 } else if (dst instanceof ShortBuffer) { 480 } else if (dst instanceof IntBuffer) { 493 nativeCopyPixelsToBuffer(mNativeBitmap, dst); 496 int position = dst.position(); 498 dst.position(position); 1597 Buffer dst); 1596 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
|
H A D | RectF.java | 440 * Set the dst integer Rect by rounding this rectangle's coordinates 443 public void round(Rect dst) { argument 444 dst.set(FastMath.round(left), FastMath.round(top), 449 * Set the dst integer Rect by rounding "out" this rectangle, choosing the 452 public void roundOut(Rect dst) { argument 453 dst.set((int) FloatMath.floor(left), (int) FloatMath.floor(top),
|
H A D | Region.java | 225 * Set the dst region to the result of translating this region by [dx, dy]. 226 * If this region is empty, then dst will be set to empty. 228 public native void translate(int dx, int dy, Region dst); argument 244 * Set the dst region to the result of scaling this region by the given scale amount. 245 * If this region is empty, then dst will be set to empty. 248 public native void scale(float scale, Region dst); argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 840 Rect src, RectF dst, 855 (int)dst.left, (int)dst.top, (int)dst.right, (int)dst.bottom); 859 (int)dst.left, (int)dst.top, (int)dst.right, (int)dst.bottom); 865 Rect src, Rect dst, 839 native_drawBitmap(Canvas thisCanvas, int nativeCanvas, int bitmap, Rect src, RectF dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument 864 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, Rect dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument [all...] |
H A D | Path_Delegate.java | 770 * @param dst The translated path is written here. If this is null, then 773 public void offset(float dx, float dy, Path_Delegate dst) { argument 780 if (dst != null) { 781 dst.mPath = newPath; 789 * into dst. If dst is null, then the the original path is modified. 792 * @param dst The transformed path is written here. If dst is null, 795 public void transform(Matrix_Delegate matrix, Path_Delegate dst) { argument 809 if (dst ! [all...] |
H A D | Region_Delegate.java | 223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) { argument 229 Region_Delegate targetRegionDelegate = sManager.getDelegate(dst.mNativeRegion); 245 /*package*/ static void scale(Region thisRegion, float scale, Region dst) { argument 251 Region_Delegate targetRegionDelegate = sManager.getDelegate(dst.mNativeRegion);
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 642 void *dst = NULL; local 645 bounds, &dst); 646 alloc->mHal.drvState.lod[0].mallocPtr = dst; 811 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); local 812 if (dst == src) { 822 alloc->decRefs(dst, w); 824 memcpy(dst, src, lineSize); 826 dst += alloc->mHal.drvState.lod[lod].stride; 841 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); local 844 memcpy(dst, sr 874 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, z, lod, local 919 uint8_t *dst = static_cast<uint8_t *>(data); local 949 uint8_t *dst = static_cast<uint8_t *>(data); local [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 109 extern "C" void rsdIntrinsicYuv_K(void *dst, const uchar *Y, const uchar *uv, uint32_t count, const short *param); 110 extern "C" void rsdIntrinsicYuvR_K(void *dst, const uchar *Y, const uchar *uv, uint32_t count, const short *param); 111 extern "C" void rsdIntrinsicYuv2_K(void *dst, const uchar *Y, const uchar *u, const uchar *v, uint32_t count, const short *param);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | slice.cpp | 514 uint32 *dst, *dst2, *src; local 516 dst = (uint32*)curL; 523 *dst++ = *src++; 524 *dst++ = *src++; 525 *dst++ = *src++; 526 *dst++ = *src++; 528 dst += offset; 531 dst = (uint32*)curCb; 537 *dst++ = *src++; 538 *dst [all...] |
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 428 long dst = ftell(mZipFp) - startPosn; local 429 if (dst + (dst / 10) > src) { 430 ALOGD("insufficient compression (src=%ld dst=%ld), storing\n", 431 src, dst); 641 * Copy all of the bytes in "src" to "dst". 672 * Copy all of the bytes in "src" to "dst". 694 * Copy some of the bytes in "src" to "dst". 1049 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) argument 1051 if (dst [all...] |
H A D | StringPool.h | 29 void strcpy16_htod(uint16_t* dst, const uint16_t* src);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_MCReconBlock_s.s | 606 dst RN 1 label 673 LDR dst, [pDst] ;// dst = [dcba] 677 UXTB16 tmp1, dst ;// tmp1 = [0c0a] 678 UXTB16 tmp2, dst, ROR #8 ;// tmp2 = [0d0b] 686 LDR dst, [pDst] 690 UXTB16 tmp1, dst 691 UXTB16 tmp2, dst, ROR #8
|
/frameworks/base/core/java/android/util/ |
H A D | TimeUtils.java | 63 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { argument 81 if (currentOffset == offset && currentDst == dst) { 93 tz.inDaylightTime(d) == dst) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 957 if (DBG) log("fixTimeZone: using getTimeZone(off, dst, time, iso)"); 1137 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 1138 TimeZone guess = findTimeZone(offset, dst, when); 1141 guess = findTimeZone(offset, !dst, when); 1147 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument 1149 if (dst) { 1158 tz.inDaylightTime(d) == dst) { 1348 int dst = (nitzSubs.length >= 8 ) ? Integer.parseInt(nitzSubs[7]) 1354 // tzOffset += dst * 4; 1376 zone = TimeUtils.getTimeZone(tzOffset, dst ! [all...] |
/frameworks/av/media/libstagefright/ |
H A D | WAVExtractor.cpp | 475 int16_t *dst = (int16_t *)tmp->data(); local 480 *dst++ = ((int16_t)(*src) - 128) * 256; 491 int16_t *dst = (int16_t *)src; local 499 *dst++ = (int16_t)x;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 64 int GetNextBuf(FILE* inFile,unsigned char* dst,int size) argument 66 int size2 = (int)fread(dst, sizeof(signed char), size,inFile);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ProgramStore.java | 395 * @param dst specifies how the destination blending factor is 400 public Builder setBlendFunc(BlendSrcFunc src, BlendDstFunc dst) { argument 402 mBlendDst = dst;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 783 private void mapRect(AffineTransform matrix, RectF dst, RectF src) { argument 796 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6])); 797 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6])); 799 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); 800 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7]));
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 336 LVM_INT32 *dst, 341 dst += ((n*2)-1); 345 *dst = *src; 346 dst--; 348 *dst = *src; 349 dst--; 365 LVM_INT32 *dst, 379 *dst = Temp; 380 dst++; 335 MonoTo2I_32( const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument 364 From2iToMono_32( const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 1051 if (DBG) log("pollStateDone: using getTimeZone(off, dst, time, iso)"); 1131 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 1132 TimeZone guess = findTimeZone(offset, dst, when); 1135 guess = findTimeZone(offset, !dst, when); 1141 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument 1143 if (dst) { 1152 tz.inDaylightTime(d) == dst) { 1524 int dst = (nitzSubs.length >= 8 ) ? Integer.parseInt(nitzSubs[7]) 1530 // tzOffset += dst * 4; 1553 zone = TimeUtils.getTimeZone(tzOffset, dst ! [all...] |