/external/skia/bench/ |
RecordingBench.cpp | 14 : fSrc(SkRef(pic)) 27 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), 28 SkScalarCeilToInt(fSrc->cullRect().height())); 33 const SkScalar w = fSrc->cullRect().width(), 34 h = fSrc->cullRect().height(); 40 fSrc->playback(recorder.beginRecording(w, h, fUseBBH ? &factory : nullptr, flags));
|
RecordingBench.h | 25 SkAutoTUnref<const SkPicture> fSrc;
|
BitmapScaleBench.cpp | 121 SkBitmap fSrc, fDst; 140 fSrc.allocN32Pixels(640, 480); 141 fSrc.eraseColor(SK_ColorWHITE); 147 fSrc.peekPixels(&src);
|
Xfer4fBench.cpp | 36 fSrc[i] = {{ 1, 1, 1, 1 }}; 56 fProcN(fXfer, fDst, fSrc, N, fAA); 58 fProc1(fXfer, fDst, fSrc, N, fAA); 75 SkPM4f fSrc[N];
|
XferU64Bench.cpp | 36 fSrc[i] = {{ 1, 1, 1, 1 }}; 56 fProcN(fXfer, fDst, fSrc, N, fAA); 58 fProc1(fXfer, fDst, fSrc, N, fAA); 75 SkPM4f fSrc[N];
|
MatrixBench.cpp | 280 SkPoint fSrc[N], fDst[N]; 287 fSrc[i].set(rand.nextSScalar1(), rand.nextSScalar1()); 293 fM.mapPoints(fDst, fSrc, N);
|
MathBench.cpp | 30 float fSrc[kBuffer], fDst[kBuffer]; 37 fSrc[i] = rand.nextSScalar1(); 59 this->performTest(fDst, fSrc, kBuffer);
|
/external/skia/dm/ |
DMSrcSinkAndroid.cpp | 44 const Src& fSrc; 46 : fSrc(src) {} 58 fSrc.draw(&fc); 62 SkISize size() const override { return fSrc.size(); }
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
amrnb_enc_test.cpp | 63 FILE *fSrc = NULL; 75 fSrc = fopen(srcFile, "rb"); 76 if (fSrc == NULL) { 108 bytesRead = fread(inputBuf, 1, kInputSize, fSrc); 109 if (bytesRead != kInputSize && !feof(fSrc)) { 113 } else if (feof(fSrc) && bytesRead == 0) { 164 if (fSrc) { 165 fclose(fSrc);
|
/external/skia/src/gpu/batches/ |
GrCopySurfaceBatch.h | 45 fDst.get(), fSrc.get(), fSrcRect.fLeft, fSrcRect.fTop, fSrcRect.fRight, 55 , fSrc(src) 67 state->gpu()->copySurface(fDst.get(), fSrc.get(), fSrcRect, fDstPoint); 71 GrPendingIOResource<GrSurface, kRead_GrIOType> fSrc;
|
/external/skia/tests/ |
PackBitsTest.cpp | 26 const uint8_t* fSrc; 39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, 42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, 50 memcmp(gTests[i].fSrc, src,
|
BlitRowTest.cpp | 109 SkColor fSrc; 134 srcBM.eraseColor(gSrcRec[j].fSrc); 140 if (gSrcRec[j].fSrc != 0 && blend) {
|
/external/skia/gm/ |
xfermodes2.cpp | 62 p.setShader(fSrc); 118 fSrc.reset(SkShader::CreateBitmapShader(srcBmp, 143 SkAutoTUnref<SkShader> fSrc;
|
/external/skia/samplecode/ |
SamplePathClip.cpp | 260 SkPoint fSrc[100]; 267 SkASSERT((size_t)count <= SK_ARRAY_COUNT(fSrc)); 268 memcpy(fSrc, poly, count * sizeof(SkPoint)); 274 fPoly[i].set(snap(fSrc[i].x() + dx), snap(fSrc[i].y() + dy));
|
/external/skia/src/core/ |
SkLinearBitmapPipeline.cpp | 482 : fSrc{src}, fWidth{width}{ } 490 *px2 = getPixel(fSrc, bufferLoc[2]); 492 *px1 = getPixel(fSrc, bufferLoc[1]); 494 *px0 = getPixel(fSrc, bufferLoc[0]); 504 *px0 = getPixel(fSrc, bufferLoc[0]); 505 *px1 = getPixel(fSrc, bufferLoc[1]); 506 *px2 = getPixel(fSrc, bufferLoc[2]); 507 *px3 = getPixel(fSrc, bufferLoc[3]); 510 const uint32_t* row(int y) { return fSrc + y * fWidth[0]; } 522 const uint32_t* const fSrc; [all...] |
SkPictureData.cpp | 325 uint32_t fSrc; 335 if (pictInfoFlags & gSD[i].fSrc) {
|
SkStroke.cpp | [all...] |
/external/skia/tools/debugger/ |
SkDrawCommand.h | 288 const SkRect* srcRect() const { return fSrc.isEmpty() ? nullptr : &fSrc; } 289 void setSrcRect(const SkRect& src) { fSrc = src; } 299 SkRect fSrc; 336 SkTLazy<SkRect> fSrc;
|
SkDrawCommand.cpp | [all...] |