/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | BufferUtils.java | 67 public static void copy (byte[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 69 copyJni(src, srcOffset, dst, positionInBytes(dst), numElements); in copy() 81 public static void copy (short[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 83 copyJni(src, srcOffset, dst, positionInBytes(dst), numElements << 1); in copy() 94 public static void copy (char[] src, int srcOffset, int numElements, Buffer dst) { in copy() argument 95 copyJni(src, srcOffset, dst, positionInBytes(dst), numElements << 1); in copy() 106 public static void copy (int[] src, int srcOffset, int numElements, Buffer dst) { in copy() argument 107 copyJni(src, srcOffset, dst, positionInBytes(dst), numElements << 2); in copy() 118 public static void copy (long[] src, int srcOffset, int numElements, Buffer dst) { in copy() argument 119 copyJni(src, srcOffset, dst, positionInBytes(dst), numElements << 3); in copy() [all …]
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
D | BufferUtils.java | 69 public static void copy (byte[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 74 byteBuffer.put(src, srcOffset, numElements); in copy() 88 public static void copy (short[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 96 buffer.put(src, srcOffset, numElements); in copy() 110 public static void copy (char[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 118 buffer.put(src, srcOffset, numElements); in copy() 132 public static void copy (int[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 140 buffer.put(src, srcOffset, numElements); in copy() 154 public static void copy (long[] src, int srcOffset, Buffer dst, int numElements) { in copy() argument 162 buffer.put(src, srcOffset, numElements); in copy() [all …]
|
/external/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 51 const SkPoint& srcOffset, in convolve_gaussian_1d() argument 63 SkMatrix localMatrix = SkMatrix::MakeTrans(-srcOffset.x(), -srcOffset.y()); in convolve_gaussian_1d() 70 const SkPoint& srcOffset, in convolve_gaussian_2d() argument 77 SkMatrix localMatrix = SkMatrix::MakeTrans(-srcOffset.x(), -srcOffset.y()); in convolve_gaussian_2d() 105 const SkPoint& srcOffset) { in convolve_gaussian() argument 109 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture, in convolve_gaussian() 114 midRect.offset(srcOffset); in convolve_gaussian() 151 convolve_gaussian_1d(drawContext, clip, dstRect, srcOffset, texture, in convolve_gaussian() 155 convolve_gaussian_1d(drawContext, clip, leftRect, srcOffset, texture, in convolve_gaussian() 157 convolve_gaussian_1d(drawContext, clip, rightRect, srcOffset, texture, in convolve_gaussian() [all …]
|
D | SkOffsetImageFilter.cpp | 22 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 24 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 31 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX); in onFilterImageDeprecated() 32 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY); in onFilterImageDeprecated() 35 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 41 srcBounds.offset(srcOffset); in onFilterImageDeprecated() 53 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImageDeprecated() 54 SkIntToScalar(srcOffset.fY - bounds.fTop)); in onFilterImageDeprecated()
|
D | SkBlurImageFilter.cpp | 76 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 77 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 86 srcBounds.offset(srcOffset); in onFilterImageDeprecated() 137 … const SkPMColor* s = src.getAddr32(srcBounds.x() - srcOffset.x(), srcBounds.y() - srcOffset.y()); in onFilterImageDeprecated() 206 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated() local 207 if (!this->filterInputGPUDeprecated(0, proxy, src, ctx, &input, &srcOffset)) { in filterImageGPUDeprecated() 211 srcBounds.offset(srcOffset); in filterImageGPUDeprecated() 228 srcBounds.offset(-srcOffset); in filterImageGPUDeprecated() 229 dstBounds.offset(-srcOffset); in filterImageGPUDeprecated()
|
D | SkColorFilterImageFilter.cpp | 63 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 64 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 70 srcBounds.offset(srcOffset); in onFilterImageDeprecated() 84 canvas.drawBitmap(src, SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImageDeprecated() 85 SkIntToScalar(srcOffset.fY - bounds.fTop), &paint); in onFilterImageDeprecated()
|
D | SkTileImageFilter.cpp | 42 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 43 if (!this->filterInputDeprecated(0, proxy, src, ctx, &source, &srcOffset)) { in onFilterImageDeprecated() 64 srcIRect.offset(-srcOffset); in onFilterImageDeprecated() 85 canvas.drawBitmap(src, SkIntToScalar(srcOffset.x()), in onFilterImageDeprecated() 86 SkIntToScalar(srcOffset.y())); in onFilterImageDeprecated()
|
D | SkDropShadowImageFilter.cpp | 60 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 61 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) in onFilterImageDeprecated() 65 srcBounds.offset(srcOffset); in onFilterImageDeprecated() 90 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImageDeprecated() 91 SkIntToScalar(srcOffset.fY - bounds.fTop)); in onFilterImageDeprecated()
|
D | SkMorphologyImageFilter.cpp | 64 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGeneric() local 65 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in filterImageGeneric() 74 if (!this->applyCropRectDeprecated(this->mapContext(ctx), proxy, src, &srcOffset, in filterImageGeneric() 95 srcBounds.offset(-srcOffset); in filterImageGeneric() 610 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUGeneric() local 611 if (!this->filterInputGPUDeprecated(0, proxy, src, ctx, &input, &srcOffset)) { in filterImageGPUGeneric() 615 if (!this->applyCropRectDeprecated(this->mapContext(ctx), proxy, input, &srcOffset, in filterImageGPUGeneric() 630 srcBounds.offset(-srcOffset); in filterImageGPUGeneric()
|
D | SkLightingImageFilter.cpp | 402 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated() local 403 if (!this->filterInputGPUDeprecated(0, proxy, src, ctx, &input, &srcOffset)) { in filterImageGPUDeprecated() 407 srcBounds.offset(srcOffset); in filterImageGPUDeprecated() 435 bounds.offset(-srcOffset); in filterImageGPUDeprecated() 436 srcBounds.offset(-srcOffset); in filterImageGPUDeprecated() 1232 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 1233 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 1241 srcBounds.offset(srcOffset); in onFilterImageDeprecated() 1264 matrix.postTranslate(SkIntToScalar(-srcOffset.x()), SkIntToScalar(-srcOffset.y())); in onFilterImageDeprecated() 1270 bounds.offset(-srcOffset); in onFilterImageDeprecated() [all …]
|
D | SkMatrixConvolutionImageFilter.cpp | 273 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 274 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 283 if (!this->applyCropRectDeprecated(this->mapContext(ctx), proxy, src, &srcOffset, in onFilterImageDeprecated() 306 bounds.offset(-srcOffset); in onFilterImageDeprecated()
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 182 int srcOffset; in iterate() member 195 int srcOffset = copyRanges[ndx].srcOffset; in iterate() local 207 deMemcpy(ref.getPtr()+dstOffset, ref.getPtr()+srcOffset, copySize); in iterate() 210 glCopyBufferSubData(m_srcTarget, m_dstTarget, srcOffset, dstOffset, copySize); in iterate() 287 int srcOffset; in init() member 312 cases[ndx].srcOffset, cases[ndx].dstOffset, cases[ndx].copySize, in init()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
D | Mesh.java | 229 public float[] getVertices (int srcOffset, float[] vertices) { in getVertices() argument 230 return getVertices(srcOffset, -1, vertices); in getVertices() 237 public float[] getVertices (int srcOffset, int count, float[] vertices) { in getVertices() argument 238 return getVertices(srcOffset, count, vertices, 0); in getVertices() 247 public float[] getVertices (int srcOffset, int count, float[] vertices, int destOffset) { in getVertices() argument 251 count = max - srcOffset; in getVertices() 254 …if (srcOffset < 0 || count <= 0 || (srcOffset + count) > max || destOffset < 0 || destOffset >= ve… in getVertices() 260 getVerticesBuffer().position(srcOffset); in getVertices() 307 public void getIndices (int srcOffset, short[] indices, int destOffset) { in getIndices() argument 308 getIndices(srcOffset, -1, indices, destOffset); in getIndices() [all …]
|
/external/libgdx/gdx/jni/ |
D | com.badlogic.gdx.utils.BufferUtils.cpp | 71 …java_nio_Buffer_2II(JNIEnv* env, jclass clazz, jbyteArray obj_src, jint srcOffset, jobject obj_dst… in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3BILjava_nio_Buffer_2II() argument 78 memcpy(dst + dstOffset, src + srcOffset, numBytes); in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3BILjava_nio_Buffer_2II() 84 …java_nio_Buffer_2II(JNIEnv* env, jclass clazz, jcharArray obj_src, jint srcOffset, jobject obj_dst… in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3CILjava_nio_Buffer_2II() argument 91 memcpy(dst + dstOffset, src + srcOffset, numBytes); in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3CILjava_nio_Buffer_2II() 97 …ava_nio_Buffer_2II(JNIEnv* env, jclass clazz, jshortArray obj_src, jint srcOffset, jobject obj_dst… in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3SILjava_nio_Buffer_2II() argument 104 memcpy(dst + dstOffset, src + srcOffset, numBytes); in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3SILjava_nio_Buffer_2II() 110 …Ljava_nio_Buffer_2II(JNIEnv* env, jclass clazz, jintArray obj_src, jint srcOffset, jobject obj_dst… in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3IILjava_nio_Buffer_2II() argument 117 memcpy(dst + dstOffset, src + srcOffset, numBytes); in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3IILjava_nio_Buffer_2II() 123 …java_nio_Buffer_2II(JNIEnv* env, jclass clazz, jlongArray obj_src, jint srcOffset, jobject obj_dst… in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3JILjava_nio_Buffer_2II() argument 130 memcpy(dst + dstOffset, src + srcOffset, numBytes); in Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3JILjava_nio_Buffer_2II() [all …]
|
/external/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 315 int srcOffset = 0; in CreateMaskSwizzler() local 318 srcOffset = options.fSubset->left(); in CreateMaskSwizzler() 322 return new SkMaskSwizzler(masks, proc, srcOffset, srcWidth); in CreateMaskSwizzler() 330 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) in SkMaskSwizzler() argument 336 , fSrcOffset(srcOffset) in SkMaskSwizzler() 337 , fX0(srcOffset) in SkMaskSwizzler()
|
D | SkMaskSwizzler.h | 56 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
|
D | SkSwizzler.cpp | 892 int srcOffset = 0; in CreateSwizzler() local 900 srcOffset = options.fSubset->left(); in CreateSwizzler() 908 return new SkSwizzler(fastProc, proc, ctable, srcOffset, srcWidth, dstOffset, dstWidth, in CreateSwizzler() 912 SkSwizzler::SkSwizzler(RowProc fastProc, RowProc proc, const SkPMColor* ctable, int srcOffset, in SkSwizzler() argument 918 , fSrcOffset(srcOffset) in SkSwizzler() 920 , fSrcOffsetUnits(srcOffset * srcBPP) in SkSwizzler()
|
D | SkSwizzler.h | 265 SkSwizzler(RowProc fastProc, RowProc proc, const SkPMColor* ctable, int srcOffset,
|
/external/skia/src/core/ |
D | SkMatrixImageFilter.cpp | 55 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 56 if (!this->filterInputDeprecated(0, proxy, source, ctx, &src, &srcOffset)) { in onFilterImageDeprecated() 63 srcBounds.offset(srcOffset); in onFilterImageDeprecated()
|
D | SkImageFilter.cpp | 319 SkIPoint srcOffset = SkIPoint::Make(0, 0); in filterImageGPUDeprecated() local 320 if (!this->filterInputGPUDeprecated(0, proxy, src, ctx, &input, &srcOffset)) { in filterImageGPUDeprecated() 325 if (!this->applyCropRectDeprecated(ctx, proxy, input, &srcOffset, &bounds, &input)) { in filterImageGPUDeprecated() 344 bounds.offset(-srcOffset); in filterImageGPUDeprecated() 393 SkIPoint* srcOffset, SkIRect* bounds, in applyCropRectDeprecated() argument 397 srcBounds.offset(*srcOffset); in applyCropRectDeprecated() 415 canvas.drawBitmap(src, srcOffset->x() - bounds->x(), srcOffset->y() - bounds->y()); in applyCropRectDeprecated() 416 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRectDeprecated()
|
/external/skia/gm/ |
D | imagefiltersgraph.cpp | 45 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImageDeprecated() local 46 if (!this->filterInputDeprecated(0, proxy, src, ctx, &source, &srcOffset)) { in onFilterImageDeprecated() 51 if (!this->applyCropRectDeprecated(ctx, proxy, source, &srcOffset, &bounds, &source)) { in onFilterImageDeprecated()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetDecoderICU.java | 653 private void copy(byte[] src, int srcOffset, char[] dst, int dstOffset, int length) { in copy() argument 654 for(int i=srcOffset; i<length; i++){ in copy() 655 dst[dstOffset++]=(char)(src[srcOffset++] & UConverterConstants.UNSIGNED_BYTE_MASK); in copy()
|
/external/dng_sdk/source/ |
D | dng_render.cpp | 747 const dng_point &srcOffset); 768 const dng_point &srcOffset) in dng_render_task() argument 775 , fSrcOffset (srcOffset) in dng_render_task()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 788 VkOffset3D srcOffset = region.imageCopy.srcOffset; in copyRegionToTextureLevel() local 792 …const tcu::ConstPixelBufferAccess srcSubRegion = tcu::getSubregion(src, srcOffset.x, srcOffset.y, … in copyRegionToTextureLevel() 975 (deUint8*) src.getDataPtr() + region.bufferCopy.srcOffset, in copyRegionToTextureLevel() 1208 const VkOffset3D srcOffset = region.bufferImageCopy.imageOffset; in copyRegionToTextureLevel() local 1216 …tPixelBufferAccess srcSubRegion = tcu::getSubregion(src, srcOffset.x, srcOffset.y + y, srcOffset.z… in copyRegionToTextureLevel()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkTypeUtil.inl | 314 inline VkBufferCopy makeBufferCopy (VkDeviceSize srcOffset, VkDeviceSize dstOffset, VkDeviceSize si… argument 317 res.srcOffset = srcOffset;
|