Searched refs:dst (Results 76 - 100 of 210) sorted by relevance

123456789

/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp160 static void clearLine(Color8888* dst, int width) { argument
161 memset(dst, 0, width * sizeof(*dst)); // Note: Assumes TRANSPARENT == 0x0.
164 // Copy all pixels from 'src' to 'dst'.
165 static void copyFrame(const Color8888* src, int srcStride, Color8888* dst, int dstStride, argument
168 memcpy(dst, src, width * sizeof(*dst));
170 dst += dstStride;
200 Color8888* dst = currBuffer + y * currStride; local
201 clearLine(dst, canvasWidt
213 Color8888* dst = currBuffer + prevIter.x_offset + prevIter.y_offset * currStride; local
224 Color8888* dst = currBuffer + currIter.x_offset + currIter.y_offset * currStride; local
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp273 uint8_t* dst = ex->mPsshBuf->data(); local
274 uint8_t* dstdata = dst + sizeof(size_t) + numentries * sizeof(PsshEntry);
275 *((size_t*)dst) = numentries;
276 dst += sizeof(size_t);
279 memcpy(dst, src, 16);
281 dst += 16;
285 *((size_t*)dst) = datalen;
287 dst += sizeof(size_t);
291 *((void**)dst) = dstdata;
292 dst
[all...]
H A DNdkMediaCodec.cpp458 media_status_t AMediaCodecCryptoInfo_getKey(AMediaCodecCryptoInfo* ci, uint8_t *dst) { argument
462 if (!dst) {
465 memcpy(dst, ci->key, 16);
470 media_status_t AMediaCodecCryptoInfo_getIV(AMediaCodecCryptoInfo* ci, uint8_t *dst) { argument
474 if (!dst) {
477 memcpy(dst, ci->iv, 16);
490 media_status_t AMediaCodecCryptoInfo_getClearBytes(AMediaCodecCryptoInfo* ci, size_t *dst) { argument
494 if (!dst) {
497 memcpy(dst, ci->clearbytes, sizeof(size_t) * ci->numsubsamples);
502 media_status_t AMediaCodecCryptoInfo_getEncryptedBytes(AMediaCodecCryptoInfo* ci, size_t *dst) { argument
[all...]
/frameworks/base/libs/hwui/
H A DGradientCache.cpp209 uint8_t*& dst) const {
214 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount));
215 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount));
216 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount));
217 *dst++ = uint8_t(alpha);
221 uint8_t*& dst) const {
225 float* d = (float*) dst;
231 dst += 4 * sizeof(float);
261 uint8_t* dst = pixels; local
275 (this->*mix)(start, end, amount, dst);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java137 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]));
528 RectF dst, int stf) {
539 if (dst.isEmpty()) {
544 float tx, sx = dst.width() / src.width();
545 float ty, sy = dst.height() / src.height();
557 tx = dst
527 native_setRectToRect(long native_object, RectF src, RectF dst, int stf) argument
592 native_setPolyToPoly(long native_object, float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount) argument
630 native_mapPoints(long native_object, float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount, boolean isPts) argument
645 native_mapRect(long native_object, RectF dst, RectF src) argument
854 mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount) argument
893 mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp193 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument
195 memcpy(dst, src, width * height * sizeof(T));
199 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument
203 dst[j * height + height - 1 - i] = src[i * width + j];
209 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument
213 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j];
219 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument
223 dst[(width - 1 - j) * height + i] = src[i * width + j];
229 static void rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument
233 rotate0(dst, sr
[all...]
H A Dandroid_media_MediaMuxer.cpp84 void *dst = env->GetDirectBufferAddress(byteBuf); local
89 if (dst == NULL) {
101 dst = env->GetByteArrayElements(byteArray, &isCopy);
112 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
119 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, size);
124 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
H A Dandroid_media_MediaExtractor.cpp139 void *dst = env->GetDirectBufferAddress(byteBuf); local
147 if (dst == NULL) {
160 dst = env->GetByteArrayElements(byteArray, &isCopy);
169 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
175 sp<ABuffer> buffer = new ABuffer((char *)dst + offset, dstSize - offset);
180 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
525 jint *dst = env->GetIntArrayElements(numBytesOfEncryptedDataObj, &isCopy); local
527 dst[i] = ((const int32_t *)data)[i];
529 env->ReleaseIntArrayElements(numBytesOfEncryptedDataObj, dst, 0);
530 dst
542 jint *dst = env->GetIntArrayElements(numBytesOfPlainDataObj, &isCopy); local
559 jbyte *dst = env->GetByteArrayElements(keyObj, &isCopy); local
574 jbyte *dst = env->GetByteArrayElements(ivObj, &isCopy); local
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp81 * Copy rects from the src vector into the dst vector, resolving vertical T-Junctions along the way
83 * First pass through, divideSpanRTL will be set because the 'previous span' (indexing into the dst
95 Vector<Rect>& dst, int spanDirection) {
96 dst.clear();
103 dst.add(*current);
123 endLastSpan = static_cast<int>(dst.size()) - 1;
135 const Rect prev = dst[static_cast<size_t>(prevIndex)];
141 dst.add(Rect(prev.right, top, right, bottom));
146 dst.add(Rect(prev.left, top, right, bottom));
160 dst
94 reverseRectsResolvingJunctions(const Rect* begin, const Rect* end, Vector<Rect>& dst, int spanDirection) argument
585 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument
695 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument
724 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs) argument
730 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs) argument
755 translate(Region& dst, const Region& reg, int dx, int dy) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMetaData.cpp248 void *dst = allocateStorage(from.mSize); local
249 if (dst) {
250 memcpy(dst, from.storage(), mSize);
259 void *dst = allocateStorage(from.mSize); local
260 if (dst) {
261 memcpy(dst, from.storage(), mSize);
280 void *dst = allocateStorage(size); local
281 if (dst) {
282 memcpy(dst, data, size);
H A DAVIExtractor.cpp960 static uint8_t *EncodeSize(uint8_t *dst, size_t x) { argument
962 *dst++ = (x & 0x7f) | 0x80;
965 *dst++ = x;
966 return dst;
975 uint8_t *dst = csd->data(); local
976 *dst++ = 0x03;
977 dst = EncodeSize(dst, len2 + 3);
978 *dst++ = 0x00; // ES_ID
979 *dst
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlend.cpp98 extern void rsdIntrinsicBlendSrcOver_K(void *dst, const void *src, uint32_t count8);
99 extern void rsdIntrinsicBlendDstOver_K(void *dst, const void *src, uint32_t count8);
100 extern void rsdIntrinsicBlendSrcIn_K(void *dst, const void *src, uint32_t count8);
101 extern void rsdIntrinsicBlendDstIn_K(void *dst, const void *src, uint32_t count8);
102 extern void rsdIntrinsicBlendSrcOut_K(void *dst, const void *src, uint32_t count8);
103 extern void rsdIntrinsicBlendDstOut_K(void *dst, const void *src, uint32_t count8);
104 extern void rsdIntrinsicBlendSrcAtop_K(void *dst, const void *src, uint32_t count8);
105 extern void rsdIntrinsicBlendDstAtop_K(void *dst, const void *src, uint32_t count8);
106 extern void rsdIntrinsicBlendXor_K(void *dst, const void *src, uint32_t count8);
107 extern void rsdIntrinsicBlendMultiply_K(void *dst, cons
[all...]
H A DrsCpuIntrinsics_advsimd_3DLUT.S21 .macro lanepair dst, src0, src1, xr0, xr1, yr0, yr1, zr0, zr1
93 .ifc \dst, v20.16b
94 uqrshrn2 \dst, v14.8h, #8
95 .else ; .ifc \dst, v21.16b
96 uqrshrn2 \dst, v14.8h, #8
98 uqrshrn \dst, v14.8h, #8
103 * void *dst, // x0
135 /* x0 = dst
189 lanepair dst=v20.8b, src0=v6.s[0], src1=v6.s[1], xr0=v0.h[0], xr1=v0.h[1], yr0=v1.b[0], yr1=v1.b[1], zr0=v2.h[0], zr1=v2.h[1]
192 lanepair dst
[all...]
/frameworks/av/include/media/stagefright/
H A DSkipCutBuffer.h49 size_t read(char *dst, size_t num);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
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...]
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...]
/frameworks/av/services/audioflinger/
H A DBufferProviders.h74 // #frames in the *src pointer to the *dst pointer. It is public because
77 virtual void copyFrames(void *dst, const void *src, size_t frames) = 0;
98 virtual void copyFrames(void *dst, const void *src, size_t frames);
125 virtual void copyFrames(void *dst, const void *src, size_t frames);
142 virtual void copyFrames(void *dst, const void *src, size_t frames);
/frameworks/base/libs/hwui/renderstate/
H A DBlend.h32 // dictates whether to swap src/dst
44 void setFactors(GLenum src, GLenum dst);
/frameworks/compile/slang/tests/
H A Dtest.py43 def UpdateFiles(src, dst):
44 """Update dst if it is different from src."""
45 if not CompareFiles(src, dst):
46 print 'Copying from %s to %s' % (src, dst)
47 shutil.copyfile(src, dst)
/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp400 //int copy_and_append(dir_rec_t* dst, dir_rec_t* src, char* suffix)
401 dir_rec_t dst; local
407 EXPECT_EQ(0, copy_and_append(&dst, &src, "app/"))
410 EXPECT_STREQ("/data/app/", dst.path)
413 EXPECT_EQ(10, (ssize_t) dst.len)
419 char dst[dst_size]; local
420 char *dstp = dst;
426 EXPECT_STREQ("FOO", dst)
432 EXPECT_STREQ("FOOFOO", dst)
438 char dst[dst_siz local
[all...]
/frameworks/av/media/libstagefright/include/
H A DSoftVideoEncoderOMXComponent.h54 uint8_t *dst, size_t dstStride, size_t dstVStride,
66 uint8_t *dst, size_t dstSize, const uint8_t *src, size_t srcSize,
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DCopyTest.java219 File dst = mStorage.getFile(DST, srcPath);
220 assertTrue(dst.isDirectory());
251 final Uri dst = DocumentsContract.buildDocumentUri(AUTHORITY, mRoots.get(1).documentId);
253 stack.push(DocumentInfo.fromUri(mResolver, dst));
284 FileInputStream dst = null;
287 dst = new FileInputStream(dstFile);
289 byte[] dstbuf = Streams.readFully(dst);
294 IoUtils.closeQuietly(dst);
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp31 char* dst = (char*)d; local
34 *dst++ = *src++;
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp231 uint8_t *dst, const uint8_t *srcY, const uint8_t *srcU, const uint8_t *srcV,
236 uint8_t *dstStart = dst;
239 memcpy(dst, srcY, mWidth);
241 dst += dstYStride;
244 dst = dstStart + dstYStride * dstHeight;
246 memcpy(dst, srcU, mWidth / 2);
248 dst += dstUVStride;
251 dst = dstStart + (5 * dstYStride * dstHeight) / 4;
253 memcpy(dst, srcV, mWidth / 2);
255 dst
230 copyYV12FrameToOutputBuffer( uint8_t *dst, const uint8_t *srcY, const uint8_t *srcU, const uint8_t *srcV, size_t srcYStride, size_t srcUStride, size_t srcVStride) argument
[all...]
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java263 * @param dst socket to write the augmented request to.
269 private void sendAugmentedRequestToHost(Socket src, Socket dst, argument
272 sendRequestLineWithPath(dst, httpMethod, uri, httpVersion);
273 filterAndForwardRequestHeaders(src, dst);
278 sendLine(dst, "Connection: close");
281 sendLine(dst, "");
288 * @param dst destination socket to send the filtered headers to.
291 private void filterAndForwardRequestHeaders(Socket src, Socket dst) throws IOException { argument
296 sendLine(dst, line);

Completed in 764 milliseconds

123456789