/frameworks/media/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 417 void NativeWindowRenderer::copyI420Buffer(MediaBuffer* src, uint8_t* dst, argument 423 memcpy(dst, p, srcWidth); 424 dst += stride; 427 // The src is I420, the dst is YV12. 431 memcpy(dst, p, srcWidth / 2); 432 dst += strideUV; 438 memcpy(dst, p, srcWidth / 2); 439 dst += strideUV;
|
H A D | PreviewRenderer.cpp | 111 void *dst; local 114 bounds, &dst)); 116 *data = (uint8_t*)dst;
|
/frameworks/media/libvideoeditor/vss/src/ |
H A D | M4ChannelConverter.c | 25 short *dst, 30 dst += (n*2)-1; 33 *dst-- = *src; 34 *dst-- = *src--; 41 short *dst, 49 *(dst++) = (short)(Temp >>1); 24 MonoTo2I_16( const short *src, short *dst, short n) argument 40 From2iToMono_16( const short *src, short *dst, short n) argument
|
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
H A D | runtime.c | 52 static __inline bool OSAtomicCompareAndSwapLong(long oldl, long newl, long volatile *dst) { argument 54 long original = InterlockedCompareExchange(dst, newl, oldl); 58 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { argument 60 int original = InterlockedCompareExchange(dst, newi, oldi); 73 static __inline bool OSAtomicCompareAndSwapLong(long oldl, long newl, long volatile *dst) { argument 74 return __sync_bool_compare_and_swap(dst, oldl, newl); 77 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { argument 78 return __sync_bool_compare_and_swap(dst, oldi, newi); 195 static void _Block_memmove_default(void *dst, void *src, unsigned long size) { argument 196 memmove(dst, sr [all...] |
/frameworks/compile/libbcc/runtime/lib/ppc/ |
H A D | gcc_qadd.c | 16 DD dst = { .ld = x }, src = { .ld = y }; local 18 register double A = dst.s.hi, a = dst.s.lo, 23 dst.s.hi = A + B; 24 dst.s.lo = 0.0; 25 return dst.ld; 33 dst.s.hi = A + B; 34 dst.s.lo = 0.0; 35 return dst.ld; 43 dst [all...] |
H A D | gcc_qdiv.c | 15 DD dst = { .ld = a }, src = { .ld = b }; local 17 register double x = dst.s.hi, x1 = dst.s.lo, 27 dst.s.hi = q; 28 dst.s.lo = 0.0; 29 return dst.ld; 34 dst.s.hi = q; 35 dst.s.lo = 0.0; 36 return dst.ld; 51 dst [all...] |
H A D | gcc_qmul.c | 15 DD dst = { .ld = x }, src = { .ld = y }; local 17 register double A = dst.s.hi, a = dst.s.lo, 27 dst.s.hi = ab; 28 dst.s.lo = 0.0; 29 return dst.ld; 34 dst.s.hi = ab; 35 dst.s.lo = 0.0; 36 return dst.ld; 49 dst [all...] |
H A D | gcc_qsub.c | 16 DD dst = { .ld = x }, src = { .ld = y }; local 18 register double A = dst.s.hi, a = dst.s.lo, 23 dst.s.hi = A + B; 24 dst.s.lo = 0.0; 25 return dst.ld; 33 dst.s.hi = A + B; 34 dst.s.lo = 0.0; 35 return dst.ld; 43 dst [all...] |
/frameworks/base/opengl/libagl/ |
H A D | egl.cpp | 330 ANativeWindowBuffer* dst, void* dst_vaddr, 448 ANativeWindowBuffer* dst, void* dst_vaddr, 452 // NOTE: dst and src must be the same format 458 const size_t dbpr = dst->stride * bpp; 471 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp; 447 copyBlt( ANativeWindowBuffer* dst, void* dst_vaddr, ANativeWindowBuffer* src, void const* src_vaddr, const Region& clip) argument
|
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...] |
H A D | texture.cpp | 272 const GGLSurface& dst, 277 if ((dst.format == src.format) && 278 (dst.stride == src.stride) && 279 (dst.width == src.width) && 280 (dst.height == src.height) && 281 (dst.stride > 0) && 288 memcpy(dst.data, src.data, size); 299 ggl->colorBuffer(ggl, &dst); 270 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/base/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 31 char* dst = (char*)d; local 34 *dst++ = *src++;
|
/frameworks/base/services/audioflinger/ |
H A D | AudioFlinger.cpp | 2492 int16_t *dst = mMixBuffer + count-1; local 2494 *dst-- = (int16_t)(*src--^0x80) << 8; 2545 uint8_t *dst = (uint8_t *)mMixBuffer; local 2547 *dst++ = (uint8_t)(((int32_t)*src++ + (1<<7)) >> 8)^0x80; 4335 int8_t *dst = buffer.i8 + (buffer.frameCount - framesOut) * mActiveTrack->mCblk->frameSize; local 4342 memcpy(dst, src, framesIn * mFrameSize); 4345 int16_t *dst16 = (int16_t *)dst; 4397 int16_t *dst = buffer.i16; local 4399 *dst++ = (int16_t)(((int32_t)*src + (int32_t)*(src + 1)) >> 1); 5570 LOGW("moveEffects() same dst an [all...] |
/frameworks/base/services/camera/libcameraservice/ |
H A D | FakeCamera.cpp | 362 void FakeCamera::drawSquare(uint16_t *dst, int x, int y, int size, int color, int shadow) argument 372 uint16_t *sh = &dst[(y+(size/4))*mWidth]; 381 uint16_t *sq = &dst[y*mWidth]; 390 void FakeCamera::drawCheckerboard(uint16_t *dst, int size) argument 406 dst[y*mWidth+x] = current?0:0xffff;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 1028 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 1029 TimeZone guess = findTimeZone(offset, dst, when); 1032 guess = findTimeZone(offset, !dst, when); 1038 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument 1040 if (dst) { 1049 tz.inDaylightTime(d) == dst) { 1273 int dst = (nitzSubs.length >= 8 ) ? Integer.parseInt(nitzSubs[7]) 1279 // tzOffset += dst * 4; 1302 zone = TimeUtils.getTimeZone(tzOffset, dst != 0, 1310 zone = getNitzTimeZone(tzOffset, (dst ! [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 968 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument 969 TimeZone guess = findTimeZone(offset, dst, when); 972 guess = findTimeZone(offset, !dst, when); 978 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument 980 if (dst) { 989 tz.inDaylightTime(d) == dst) { 1338 int dst = (nitzSubs.length >= 8 ) ? Integer.parseInt(nitzSubs[7]) 1344 // tzOffset += dst * 4; 1367 zone = TimeUtils.getTimeZone(tzOffset, dst != 0, 1375 zone = getNitzTimeZone(tzOffset, (dst ! [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 21 void strcpy16_htod(uint16_t* dst, const uint16_t* src) argument 25 *dst++ = s; 28 *dst = 0;
|
H A D | ZipFile.cpp | 428 long dst = ftell(mZipFp) - startPosn; local 429 if (dst + (dst / 10) > src) { 430 LOGD("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...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 383 /*package*/ static void nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) { argument
|
H A D | Canvas_Delegate.java | 833 Rect src, RectF dst, 848 (int)dst.left, (int)dst.top, (int)dst.right, (int)dst.bottom); 852 (int)dst.left, (int)dst.top, (int)dst.right, (int)dst.bottom); 858 Rect src, Rect dst, 832 native_drawBitmap(Canvas thisCanvas, int nativeCanvas, int bitmap, Rect src, RectF dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument 857 native_drawBitmap(int nativeCanvas, int bitmap, Rect src, Rect dst, int nativePaintOrZero, int screenDensity, int bitmapDensity) argument [all...] |
H A D | Matrix_Delegate.java | 137 public boolean mapRect(RectF dst, RectF src) { argument 150 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6])); 151 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6])); 153 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); 154 dst.bottom = Math.max(Math.max(corners[1], corners[3]), Math.max(corners[5], corners[7])); 583 RectF dst, int stf) { 594 if (dst.isEmpty()) { 599 float tx, sx = dst.width() / src.width(); 600 float ty, sy = dst.height() / src.height(); 612 tx = dst 582 native_setRectToRect(int native_object, RectF src, RectF dst, int stf) argument 647 native_setPolyToPoly(int native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument 685 native_mapPoints(int native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument 700 native_mapRect(int native_object, RectF dst, RectF src) argument 910 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument 949 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) argument [all...] |
H A D | Paint_Delegate.java | 750 /*package*/ static boolean native_getFillPath(int native_object, int src, int dst) { argument 761 Path_Delegate dstPath = Path_Delegate.getDelegate(dst);
|
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/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]));
|