HomeSort by relevance Sort by last modified time
    Searched full:srcoffset (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /external/skia/src/effects/
SkOffsetImageFilter.cpp 31 SkIPoint srcOffset = SkIPoint::Make(0, 0);
32 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &srcOffset));
41 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX);
42 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY);
47 srcBounds.offset(srcOffset);
65 canvas->translate(SkIntToScalar(srcOffset.fX - bounds.fLeft),
66 SkIntToScalar(srcOffset.fY - bounds.fTop));
SkAlphaThresholdFilter.cpp 223 SkIPoint srcOffset = { bounds.fLeft - inputOffset.fX, bounds.fTop - inputOffset.fY };
225 const SkColor* sptr = inputBM.getAddr32(srcOffset.fX, srcOffset.fY+y);
  /cts/tests/sensor/jni/
android_hardware_cts_SensorDirectReportTest.cpp 26 jobject hardwareBufferObj, jbyteArray buffer, jint srcOffset, jint destOffset, jint count) {
28 srcOffset < 0 || destOffset < 0 || count <= 0) {
50 reinterpret_cast<const jbyte *>(address) + srcOffset);
  /external/skia/src/core/
SkGpuBlurUtils.cpp 72 const SkIPoint& srcOffset,
86 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()),
87 -SkIntToScalar(srcOffset.y()));
95 const SkIPoint& srcOffset,
103 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()),
104 -SkIntToScalar(srcOffset.y()));
127 const SkIPoint& srcOffset,
132 convolve_gaussian_1d(renderTargetContext, clip, dstRect, srcOffset,
138 midRect.offset(srcOffset);
173 convolve_gaussian_1d(renderTargetContext, clip, dstRect, srcOffset,
    [all...]
SkImageFilter.cpp 431 SkIPoint* srcOffset,
433 const SkIRect srcBounds = SkIRect::MakeXYWH(srcOffset->x(), srcOffset->y(),
447 srcOffset->x() - bounds->x(),
448 srcOffset->y() - bounds->y()));
449 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y());
  /libcore/luni/src/main/native/
libcore_io_Memory.cpp 95 static void Memory_memmove(JNIEnv* env, jclass, jobject dstObject, jint dstOffset, jobject srcObject, jint srcOffset, jlong length) {
104 memmove(dstBytes.get() + dstOffset, srcBytes.get() + srcOffset, length);
181 const SWAP_TYPE* src = reinterpret_cast<const SWAP_TYPE*>(elements.get()) + srcOffset; \
184 env->Get ## JNI_NAME ## ArrayRegion(src, srcOffset, count, cast<SCALAR_TYPE*>(dstAddress)); /*NOLINT*/ \
188 static void Memory_pokeCharArray(JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) {
192 static void Memory_pokeDoubleArray(JNIEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jboolean swap) {
196 static void Memory_pokeFloatArray(JNIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jboolean swap) {
200 static void Memory_pokeIntArray(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jboolean swap) {
204 static void Memory_pokeLongArray(JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOffset, jint count, jboolean swap) {
208 static void Memory_pokeShortArray(JNIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcOffset, jint count, jboolean swap)
    [all...]
  /libcore/ojluni/src/main/java/java/nio/
HeapByteBuffer.java 239 void putUnchecked(int pos, char[] src, int srcOffset, int length) {
240 Memory.unsafeBulkPut(hb, ix(pos), length * 2, src, srcOffset, 2, !nativeByteOrder);
300 void putUnchecked(int pos, short[] src, int srcOffset, int length) {
301 Memory.unsafeBulkPut(hb, ix(pos), length * 2, src, srcOffset, 2, !nativeByteOrder);
361 void putUnchecked(int pos, int[] src, int srcOffset, int length) {
362 Memory.unsafeBulkPut(hb, ix(pos), length * 4, src, srcOffset, 4, !nativeByteOrder);
423 void putUnchecked(int pos, long[] src, int srcOffset, int length) {
424 Memory.unsafeBulkPut(hb, ix(pos), length * 8, src, srcOffset, 8, !nativeByteOrder);
484 void putUnchecked(int pos, float[] src, int srcOffset, int length) {
485 Memory.unsafeBulkPut(hb, ix(pos), length * 4, src, srcOffset, 4, !nativeByteOrder)
    [all...]
DirectByteBuffer.java 278 public ByteBuffer put(byte[] src, int srcOffset, int length) {
285 checkBounds(srcOffset, length, src.length);
293 src, srcOffset, length);
417 void putUnchecked(int pos, char[] src, int srcOffset, int length) {
422 src, srcOffset, length, !nativeByteOrder);
519 void putUnchecked(int pos, short[] src, int srcOffset, int length) {
524 src, srcOffset, length, !nativeByteOrder);
621 final void putUnchecked(int pos, int[] src, int srcOffset, int length) {
626 src, srcOffset, length, !nativeByteOrder);
723 final void putUnchecked(int pos, long[] src, int srcOffset, int length)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
MemoryFileTest.java 53 private void checkWriteBytesInIllegalParameter(int srcOffset, int destOffset, int count)
57 mMemoryFile.writeBytes(data, srcOffset, destOffset, count);
136 private void checkReadBytesInIllegalParameter(int srcOffset, int destOffset, int count)
140 mMemoryFile.readBytes(data, srcOffset, destOffset, count);
  /hardware/interfaces/cas/native/1.0/
IDescrambler.hal 35 * @param srcOffset the position where the source scrambled data starts at.
44 SharedBuffer srcBuffer, uint64_t srcOffset, DestinationBuffer dstBuffer, uint64_t dstOffset)
  /frameworks/av/media/libstagefright/wifi-display/rtp/
RTPSender.cpp 255 size_t srcOffset = 0;
256 while (srcOffset < tsPackets->size()) {
283 size_t numTSPackets = (tsPackets->size() - srcOffset) / 188;
288 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188);
292 srcOffset += numTSPackets * 188;
293 bool isLastPacket = (srcOffset == tsPackets->size());
383 size_t srcOffset = 1;
384 while (srcOffset < nalSize) {
386 if (copy > nalSize - srcOffset) {
387 copy = nalSize - srcOffset;
    [all...]
  /frameworks/base/core/java/android/os/
MemoryFile.java 177 * @param srcOffset offset into the memory file to read from.
183 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count)
187 mMapping.position(srcOffset);
200 * @param srcOffset offset into the byte array buffer to write from.
205 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count)
210 mMapping.put(buffer, srcOffset, count);
  /frameworks/base/media/jni/
android_media_MediaDescrambler.h 45 jint srcOffset,
android_media_MediaDescrambler.cpp 167 jint srcOffset,
184 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength);
333 jobject srcBuf, jint srcOffset, jint srcLimit,
355 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray);
378 srcPtr, srcOffset, dstPtr, dstOffset,
  /hardware/interfaces/cas/1.0/default/
DescramblerImpl.h 49 uint64_t srcOffset,
DescramblerImpl.cpp 77 uint64_t srcOffset,
104 srcOffset,
  /cts/tests/tests/proto/src/android/util/proto/cts/
EncodedBufferTest.java 316 private void testWriteFromThisBuffer(int chunkSize, int destOffset, int srcOffset, int size)
329 System.arraycopy(expected, srcOffset, expected, destOffset, size);
344 buffer.writeFromThisBuffer(srcOffset, size);
351 private void testWriteFromThisBufferFails(int chunkSize, int destOffset, int srcOffset,
354 testWriteFromThisBuffer(chunkSize, destOffset, srcOffset, size);
357 + " srcOffset=" + srcOffset + " size=" + size);
  /external/deqp/modules/gles3/functional/
es3fBufferCopyTests.cpp 182 int srcOffset;
195 int srcOffset = copyRanges[ndx].srcOffset;
207 deMemcpy(ref.getPtr()+dstOffset, ref.getPtr()+srcOffset, copySize);
210 glCopyBufferSubData(m_srcTarget, m_dstTarget, srcOffset, dstOffset, copySize);
287 int srcOffset;
312 cases[ndx].srcOffset, cases[ndx].dstOffset, cases[ndx].copySize,
  /frameworks/base/media/java/android/media/
ImageUtils.java 151 int srcOffset = srcBuffer.position();
160 int remainingBytes = srcBuffer.remaining() - srcOffset;
165 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount);
166 srcOffset += srcRowStride;
272 private static void directByteBufferCopy(ByteBuffer srcBuffer, int srcOffset,
274 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount);
  /external/skia/src/codec/
SkMaskSwizzler.h 63 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
SkMaskSwizzler.cpp 522 int srcOffset = 0;
525 srcOffset = options.fSubset->left();
529 return new SkMaskSwizzler(masks, proc, srcOffset, srcWidth);
537 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth)
543 , fSrcOffset(srcOffset)
544 , fX0(srcOffset)
  /frameworks/av/drm/mediacas/plugins/mock/
MockCasPlugin.cpp 216 int32_t srcOffset,
221 "subSamples=%s, srcPtr=%p, dstPtr=%p, srcOffset=%d, dstOffset=%d)",
224 srcPtr, dstPtr, srcOffset, dstOffset);
  /frameworks/base/core/java/android/util/proto/
EncodedBuffer.java 422 public void writeFromThisBuffer(int srcOffset, int size) {
426 if (srcOffset < getWritePos()) {
428 + " srcOffset=" + srcOffset + " size=" + size + " " + getDebugString());
430 if (srcOffset + size > mReadableSize) {
432 + " srcOffset=" + srcOffset + " size=" + size + " " + getDebugString());
437 if (srcOffset == ((mWriteBufIndex) * mChunkSize) + mWriteIndex /* write pos */) {
461 int readBufIndex = srcOffset / mChunkSize;
463 int readIndex = srcOffset % mChunkSize
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/util/
ByteArrayList.java 166 * @param srcOffset The index of first element of {@code src} to append
170 public boolean addAll(byte[] src, int srcOffset, int length) {
176 System.arraycopy(src, srcOffset, mStorage, mCurBytes, length);
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/
IsaIo.h 117 IN UINT32 SrcOffset,

Completed in 889 milliseconds

1 2 3 4 5 6 7