Home
last modified time | relevance | path

Searched refs:srcOffset (Results 1 – 25 of 74) sorted by relevance

123

/external/skia/src/core/
DSkGpuBlurUtils.cpp77 const SkIPoint& srcOffset, in convolve_gaussian_1d() argument
89 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), in convolve_gaussian_1d()
90 -SkIntToScalar(srcOffset.y())); in convolve_gaussian_1d()
111 const SkIPoint& srcOffset, in convolve_gaussian_2d() argument
138 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), in convolve_gaussian_2d()
139 -SkIntToScalar(srcOffset.y())); in convolve_gaussian_2d()
158 const SkIPoint& srcOffset, in convolve_gaussian() argument
194 convolve_gaussian_1d(dstRenderTargetContext.get(), clip, dstRect, srcOffset, in convolve_gaussian()
201 midRect.offset(srcOffset); in convolve_gaussian()
248 convolve_gaussian_1d(dstRenderTargetContext.get(), clip, dstRect, srcOffset, in convolve_gaussian()
[all …]
DSkImageFilter.cpp386 SkIPoint* srcOffset, in applyCropRectAndPad() argument
388 const SkIRect srcBounds = SkIRect::MakeXYWH(srcOffset->x(), srcOffset->y(), in applyCropRectAndPad()
400 Sk32_sat_sub(srcOffset->x(), bounds->x()), in applyCropRectAndPad()
401 Sk32_sat_sub(srcOffset->y(), bounds->y()))); in applyCropRectAndPad()
402 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRectAndPad()
/external/skqp/src/core/
DSkGpuBlurUtils.cpp76 const SkIPoint& srcOffset, in convolve_gaussian_1d() argument
88 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), in convolve_gaussian_1d()
89 -SkIntToScalar(srcOffset.y())); in convolve_gaussian_1d()
109 const SkIPoint& srcOffset, in convolve_gaussian_2d() argument
136 SkMatrix localMatrix = SkMatrix::MakeTrans(-SkIntToScalar(srcOffset.x()), in convolve_gaussian_2d()
137 -SkIntToScalar(srcOffset.y())); in convolve_gaussian_2d()
156 const SkIPoint& srcOffset, in convolve_gaussian() argument
192 convolve_gaussian_1d(dstRenderTargetContext.get(), clip, dstRect, srcOffset, in convolve_gaussian()
199 midRect.offset(srcOffset); in convolve_gaussian()
246 convolve_gaussian_1d(dstRenderTargetContext.get(), clip, dstRect, srcOffset, in convolve_gaussian()
[all …]
DSkImageFilter.cpp383 SkIPoint* srcOffset, in applyCropRectAndPad() argument
385 const SkIRect srcBounds = SkIRect::MakeXYWH(srcOffset->x(), srcOffset->y(), in applyCropRectAndPad()
397 Sk32_sat_sub(srcOffset->x(), bounds->x()), in applyCropRectAndPad()
398 Sk32_sat_sub(srcOffset->y(), bounds->y()))); in applyCropRectAndPad()
399 *srcOffset = SkIPoint::Make(bounds->x(), bounds->y()); in applyCropRectAndPad()
/external/skqp/src/effects/imagefilters/
DSkOffsetImageFilter.cpp38 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local
39 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &srcOffset)); in onFilterImage()
47 offset->fX = Sk32_sat_add(srcOffset.fX, vec.fX); in onFilterImage()
48 offset->fY = Sk32_sat_add(srcOffset.fY, vec.fY); in onFilterImage()
52 const SkIRect srcBounds = SkIRect::MakeXYWH(srcOffset.fX, srcOffset.fY, in onFilterImage()
71 canvas->translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImage()
72 SkIntToScalar(srcOffset.fY - bounds.fTop)); in onFilterImage()
DSkAlphaThresholdFilter.cpp238 SkIPoint srcOffset = { bounds.fLeft - inputOffset.fX, bounds.fTop - inputOffset.fY }; in onFilterImage() local
240 const SkColor* sptr = inputBM.getAddr32(srcOffset.fX, srcOffset.fY+y); in onFilterImage()
/external/skia/src/effects/imagefilters/
DSkOffsetImageFilter.cpp38 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage() local
39 sk_sp<SkSpecialImage> input(this->filterInput(0, source, ctx, &srcOffset)); in onFilterImage()
47 offset->fX = Sk32_sat_add(srcOffset.fX, vec.fX); in onFilterImage()
48 offset->fY = Sk32_sat_add(srcOffset.fY, vec.fY); in onFilterImage()
52 const SkIRect srcBounds = SkIRect::MakeXYWH(srcOffset.fX, srcOffset.fY, in onFilterImage()
71 canvas->translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), in onFilterImage()
72 SkIntToScalar(srcOffset.fY - bounds.fTop)); in onFilterImage()
DSkAlphaThresholdFilter.cpp241 SkIPoint srcOffset = { bounds.fLeft - inputOffset.fX, bounds.fTop - inputOffset.fY }; in onFilterImage() local
243 const SkColor* sptr = inputBM.getAddr32(srcOffset.fX, srcOffset.fY+y); in onFilterImage()
/external/protobuf/csharp/src/Google.Protobuf/
DByteArray.cs50 internal static void Copy(byte[] src, int srcOffset, byte[] dst, int dstOffset, int count) in Copy() argument
54 Buffer.BlockCopy(src, srcOffset, dst, dstOffset, count); in Copy()
58 int stop = srcOffset + count; in Copy()
59 for (int i = srcOffset; i < stop; i++) in Copy()
/external/deqp/modules/gles3/functional/
Des3fBufferCopyTests.cpp182 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/opencensus-java/api/src/main/java/io/opencensus/trace/
DTraceOptions.java100 public static TraceOptions fromBytes(byte[] src, int srcOffset) { in fromBytes() argument
101 Utils.checkIndex(srcOffset, src.length); in fromBytes()
102 return fromByte(src[srcOffset]); in fromBytes()
DSpanId.java92 public static SpanId fromBytes(byte[] src, int srcOffset) { in fromBytes() argument
94 System.arraycopy(src, srcOffset, bytes, 0, SIZE); in fromBytes()
DTraceId.java93 public static TraceId fromBytes(byte[] src, int srcOffset) { in fromBytes() argument
95 System.arraycopy(src, srcOffset, bytes, 0, SIZE); in fromBytes()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve_fs.c464 &region->srcOffset); in radv_meta_resolve_fragment_image()
490 &region->srcOffset); in radv_meta_resolve_fragment_image()
498 const struct VkOffset3D srcOffset = in radv_meta_resolve_fragment_image() local
499 radv_sanitize_image_offset(src_image->type, region->srcOffset); in radv_meta_resolve_fragment_image()
570 &(VkOffset2D) { srcOffset.x, srcOffset.y }, in radv_meta_resolve_fragment_image()
Dradv_meta_resolve_cs.c395 &region->srcOffset); in radv_meta_resolve_compute_image()
419 &region->srcOffset); in radv_meta_resolve_compute_image()
427 const struct VkOffset3D srcOffset = in radv_meta_resolve_compute_image() local
428 radv_sanitize_image_offset(src_image->type, region->srcOffset); in radv_meta_resolve_compute_image()
470 &(VkOffset2D) {srcOffset.x, srcOffset.y }, in radv_meta_resolve_compute_image()
Dradv_meta_resolve.c387 if (regions[0].srcOffset.x || in radv_CmdResolveImage()
388 regions[0].srcOffset.y || in radv_CmdResolveImage()
389 regions[0].srcOffset.z) in radv_CmdResolveImage()
471 &region->srcOffset); in radv_CmdResolveImage()
/external/skqp/src/codec/
DSkMaskSwizzler.cpp522 int srcOffset = 0; in CreateMaskSwizzler() local
525 srcOffset = options.fSubset->left(); in CreateMaskSwizzler()
529 return new SkMaskSwizzler(masks, proc, srcOffset, srcWidth); in CreateMaskSwizzler()
537 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) in SkMaskSwizzler() argument
543 , fSrcOffset(srcOffset) in SkMaskSwizzler()
544 , fX0(srcOffset) in SkMaskSwizzler()
DSkMaskSwizzler.h57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
/external/skia/src/codec/
DSkMaskSwizzler.cpp522 int srcOffset = 0; in CreateMaskSwizzler() local
525 srcOffset = options.fSubset->left(); in CreateMaskSwizzler()
529 return new SkMaskSwizzler(masks, proc, srcOffset, srcWidth); in CreateMaskSwizzler()
537 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) in SkMaskSwizzler() argument
543 , fSrcOffset(srcOffset) in SkMaskSwizzler()
544 , fX0(srcOffset) in SkMaskSwizzler()
DSkMaskSwizzler.h57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetDecoderICU.java661 private void copy(byte[] src, int srcOffset, char[] dst, int dstOffset, int length) { in copy() argument
662 for(int i=srcOffset; i<length; i++){ in copy()
663 dst[dstOffset++]=(char)(src[srcOffset++] & UConverterConstants.UNSIGNED_BYTE_MASK); in copy()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DparseConst.cpp159 int srcOffset = c * node->getType().getMatrixRows() + r; in visitConstantUnion() local
160 leftUnionArray[targetOffset] = rightUnionArray[srcOffset]; in visitConstantUnion()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp937 imageCopy.srcOffset.x *= blockWidth; in iterate()
938 imageCopy.srcOffset.y *= blockHeight; in iterate()
1098 VkOffset3D srcOffset = region.imageCopy.srcOffset; in copyRegionToTextureLevel() local
1104 dstOffset.z = srcOffset.z; in copyRegionToTextureLevel()
1109 srcOffset.z = dstOffset.z; in copyRegionToTextureLevel()
1121 …on = getEffectiveDepthStencilAccess(tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, … in copyRegionToTextureLevel()
1129 …on = getEffectiveDepthStencilAccess(tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, … in copyRegionToTextureLevel()
1136 …stPixelBufferAccess srcSubRegion = tcu::getSubregion(src, srcOffset.x, srcOffset.y, srcOffset.z, … in copyRegionToTextureLevel()
1333 (deUint8*) src.getDataPtr() + region.bufferCopy.srcOffset, in copyRegionToTextureLevel()
1542 const VkOffset3D srcOffset = region.bufferImageCopy.imageOffset; in copyRegionToTextureLevel() local
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c242 VkOffset3D srcOffset = in anv_CmdCopyImage() local
243 anv_sanitize_image_offset(src_image->type, pRegions[r].srcOffset); in anv_CmdCopyImage()
261 src_base_layer = pRegions[r].srcOffset.z; in anv_CmdCopyImage()
289 srcOffset.x, srcOffset.y, in anv_CmdCopyImage()
306 srcOffset.x, srcOffset.y, in anv_CmdCopyImage()
618 .offset = src_buffer->offset + pRegions[r].srcOffset, in anv_CmdCopyBuffer()
1423 pRegions[r].srcOffset.x, pRegions[r].srcOffset.y, in anv_CmdResolveImage()
/external/dng_sdk/source/
Ddng_render.cpp747 const dng_point &srcOffset);
768 const dng_point &srcOffset) in dng_render_task() argument
775 , fSrcOffset (srcOffset) in dng_render_task()

123