/external/chromium_org/third_party/skia/src/effects/ |
SkDropShadowImageFilter.cpp | 69 SkIPoint srcOffset = SkIPoint::Make(0, 0); 70 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) 74 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 97 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 98 SkIntToScalar(srcOffset.fY - bounds.fTop));
|
SkOffsetImageFilter.cpp | 23 SkIPoint srcOffset = SkIPoint::Make(0, 0); 29 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 36 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX); 37 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY); 40 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 45 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 57 SkIntToScalar(srcOffset.fY - bounds.fTop));
|
SkColorFilterImageFilter.cpp | 106 SkIPoint srcOffset = SkIPoint::Make(0, 0); 107 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 112 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 125 canvas.drawSprite(src, srcOffset.fX - bounds.fLeft, srcOffset.fY - bounds.fTop, &paint);
|
SkMatrixImageFilter.cpp | 53 SkIPoint srcOffset = SkIPoint::Make(0, 0); 54 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 61 srcBounds.offset(srcOffset);
|
SkTileImageFilter.cpp | 24 SkIPoint srcOffset = SkIPoint::Make(0, 0); 25 if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { 43 srcIRect.offset(-srcOffset); 64 shaderMatrix.setTranslate(SkIntToScalar(srcOffset.fX), 65 SkIntToScalar(srcOffset.fY));
|
SkBicubicImageFilter.cpp | 89 SkIPoint srcOffset = SkIPoint::Make(0, 0); 90 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 116 srcRect.offset(SkPoint::Make(SkIntToScalar(srcOffset.fX), SkIntToScalar(srcOffset.fY)));
|
SkBlurImageFilter.cpp | 147 SkIPoint srcOffset = SkIPoint::Make(0, 0); 148 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 157 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &srcBounds, &src)) { 199 srcBounds.offset(-srcOffset); 262 SkIPoint srcOffset = SkIPoint::Make(0, 0); 263 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { 267 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &rect, &input)) { 277 rect.offset(-srcOffset);
|
SkMatrixConvolutionImageFilter.cpp | 262 SkIPoint srcOffset = SkIPoint::Make(0, 0); 263 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 272 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { 291 bounds.offset(-srcOffset);
|
SkMorphologyImageFilter.cpp | 147 SkIPoint srcOffset = SkIPoint::Make(0, 0); 148 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 157 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &bounds, &src)) { 181 srcBounds.offset(-srcOffset); 540 SkIPoint srcOffset = SkIPoint::Make(0, 0); 541 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { 545 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { 559 srcBounds.offset(-srcOffset);
|
/external/skia/src/effects/ |
SkDropShadowImageFilter.cpp | 69 SkIPoint srcOffset = SkIPoint::Make(0, 0); 70 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) 74 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 97 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 98 SkIntToScalar(srcOffset.fY - bounds.fTop));
|
SkOffsetImageFilter.cpp | 23 SkIPoint srcOffset = SkIPoint::Make(0, 0); 29 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 36 offset->fX = srcOffset.fX + SkScalarRoundToInt(vec.fX); 37 offset->fY = srcOffset.fY + SkScalarRoundToInt(vec.fY); 40 if (input && !input->filterImage(proxy, source, ctx, &src, &srcOffset)) { 45 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 57 SkIntToScalar(srcOffset.fY - bounds.fTop));
|
SkColorFilterImageFilter.cpp | 106 SkIPoint srcOffset = SkIPoint::Make(0, 0); 107 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 112 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) { 125 canvas.drawSprite(src, srcOffset.fX - bounds.fLeft, srcOffset.fY - bounds.fTop, &paint);
|
SkMatrixImageFilter.cpp | 53 SkIPoint srcOffset = SkIPoint::Make(0, 0); 54 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 61 srcBounds.offset(srcOffset);
|
SkTileImageFilter.cpp | 24 SkIPoint srcOffset = SkIPoint::Make(0, 0); 25 if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { 43 srcIRect.offset(-srcOffset); 64 shaderMatrix.setTranslate(SkIntToScalar(srcOffset.fX), 65 SkIntToScalar(srcOffset.fY));
|
SkBicubicImageFilter.cpp | 89 SkIPoint srcOffset = SkIPoint::Make(0, 0); 90 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 116 srcRect.offset(SkPoint::Make(SkIntToScalar(srcOffset.fX), SkIntToScalar(srcOffset.fY)));
|
SkBlurImageFilter.cpp | 147 SkIPoint srcOffset = SkIPoint::Make(0, 0); 148 if (getInput(0) && !getInput(0)->filterImage(proxy, source, ctx, &src, &srcOffset)) { 157 if (!this->applyCropRect(ctx, proxy, src, &srcOffset, &srcBounds, &src)) { 199 srcBounds.offset(-srcOffset); 262 SkIPoint srcOffset = SkIPoint::Make(0, 0); 263 if (getInput(0) && !getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { 267 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &rect, &input)) { 277 rect.offset(-srcOffset);
|
/external/chromium_org/third_party/skia/gm/ |
imagefiltersgraph.cpp | 36 SkIPoint srcOffset = SkIPoint::Make(0, 0); 37 if (NULL != input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { 42 if (!this->applyCropRect(ctx, proxy, source, &srcOffset, &bounds, &source)) {
|
/external/skia/gm/ |
imagefiltersgraph.cpp | 36 SkIPoint srcOffset = SkIPoint::Make(0, 0); 37 if (NULL != input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { 42 if (!this->applyCropRect(ctx, proxy, source, &srcOffset, &bounds, &source)) {
|
/external/chromium_org/third_party/skia/src/core/ |
SkImageFilter.cpp | 174 SkIPoint srcOffset = SkIPoint::Make(0, 0); 176 !this->getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { 181 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { 202 bounds.offset(-srcOffset); 221 const SkIPoint& srcOffset, SkIRect* bounds) const { 224 srcBounds.offset(srcOffset); 242 SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const { 245 srcBounds.offset(*srcOffset); 269 canvas.drawBitmap(src, srcOffset->x() - bounds->x(), srcOffset->y() - bounds->y()) [all...] |
/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,
|
/external/skia/src/core/ |
SkImageFilter.cpp | 174 SkIPoint srcOffset = SkIPoint::Make(0, 0); 176 !this->getInput(0)->getInputResultGPU(proxy, src, ctx, &input, &srcOffset)) { 181 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) { 202 bounds.offset(-srcOffset); 221 const SkIPoint& srcOffset, SkIRect* bounds) const { 224 srcBounds.offset(srcOffset); 242 SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const { 245 srcBounds.offset(*srcOffset); 269 canvas.drawBitmap(src, srcOffset->x() - bounds->x(), srcOffset->y() - bounds->y()) [all...] |
/frameworks/av/media/libstagefright/ |
DRMExtractor.cpp | 160 size_t srcOffset = 0; 164 while (srcOffset < len) { 165 CHECK(srcOffset + mNALLengthSize <= len); 167 const uint8_t* data = (const uint8_t*)(&decryptedDrmBuffer.data[srcOffset]); 187 srcOffset += mNALLengthSize; 189 if (srcOffset + nalLength > len) { 208 memcpy(&dstData[dstOffset], &decryptedDrmBuffer.data[srcOffset], nalLength); 209 srcOffset += nalLength; 213 CHECK_EQ(srcOffset, len);
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTPWriter.cpp | 761 size_t srcOffset = 0; 762 while (srcOffset < mediaLength) { 763 uint8_t toc = mediaData[srcOffset]; 769 srcOffset += getFrameSize(isWide, FT); 771 CHECK_EQ(srcOffset, mediaLength); 811 srcOffset = 0; 817 ++srcOffset; // skip toc 818 memcpy(&data[dstOffset], &mediaData[srcOffset], frameSize - 1); 819 srcOffset += frameSize - 1;
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
RTPSender.cpp | 257 size_t srcOffset = 0; 258 while (srcOffset < tsPackets->size()) { 285 size_t numTSPackets = (tsPackets->size() - srcOffset) / 188; 290 memcpy(&rtp[12], tsPackets->data() + srcOffset, numTSPackets * 188); 294 srcOffset += numTSPackets * 188; 295 bool isLastPacket = (srcOffset == tsPackets->size()); 385 size_t srcOffset = 1; 386 while (srcOffset < nalSize) { 388 if (copy > nalSize - srcOffset) { 389 copy = nalSize - srcOffset; [all...] |
/libcore/luni/src/main/java/java/nio/ |
ByteBuffer.java | 731 * @param srcOffset 736 * greater than {@code src.length - srcOffset}. 741 * if either {@code srcOffset} or {@code byteCount} is invalid. 745 public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { 746 Arrays.checkOffsetAndCount(src.length, srcOffset, byteCount); 750 for (int i = srcOffset; i < srcOffset + byteCount; ++i) { 791 int srcOffset = src.position(); 793 srcOffset += NioUtils.unsafeArrayOffset(src); 803 Memory.memmove(dstObject, dstOffset, srcObject, srcOffset, srcByteCount) [all...] |