Home
last modified time | relevance | path

Searched refs:fSizes (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/include/core/
DSkYUVASizeInfo.h18 SkISize fSizes[kMaxCount]; member
42 SkASSERT((!fSizes[i].isEmpty() && fWidthBytes[i]) ||
43 (fSizes[i].isEmpty() && !fWidthBytes[i]));
44 if (fSizes[i] != that.fSizes[i] || fWidthBytes[i] != that.fWidthBytes[i]) {
56 SkASSERT((!fSizes[i].isEmpty() && fWidthBytes[i]) || in computeTotalBytes()
57 (fSizes[i].isEmpty() && !fWidthBytes[i])); in computeTotalBytes()
58 totalBytes += fWidthBytes[i] * fSizes[i].height(); in computeTotalBytes()
/external/skqp/src/gpu/
DGrYUVProvider.cpp40 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
46 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
57 SkASSERT((yuvInfo.fSizeInfo.fWidthBytes[i] && yuvInfo.fSizeInfo.fSizes[i].fHeight) || in getPlanes()
58 (!yuvInfo.fSizeInfo.fWidthBytes[i] && !yuvInfo.fSizeInfo.fSizes[i].fHeight)); in getPlanes()
60 totalSize += yuvInfo.fSizeInfo.fWidthBytes[i] * yuvInfo.fSizeInfo.fSizes[i].fHeight; in getPlanes()
70 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
76 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
122 if (yuvSizeInfo.fSizes[i].isEmpty()) { in refAsTextureProxy()
127 int componentWidth = yuvSizeInfo.fSizes[i].fWidth; in refAsTextureProxy()
128 int componentHeight = yuvSizeInfo.fSizes[i].fHeight; in refAsTextureProxy()
[all …]
/external/skia/bench/
DAAClipBench.cpp96 SkPoint fSizes[kNestingDepth+1]; member in NestedAAClipBench
106 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench()
109 fSizes[i].set(fSizes[i-1].fX/2, fSizes[i-1].fY/2); in NestedAAClipBench()
124 fSizes[depth].fX, fSizes[depth].fY); in recurse()
142 childOffset += fSizes[depth+1]; in recurse()
145 childOffset.fX = offset.fX + fSizes[depth+1].fX; in recurse()
150 childOffset.fY = offset.fY + fSizes[depth+1].fY; in recurse()
/external/skqp/bench/
DAAClipBench.cpp98 SkPoint fSizes[kNestingDepth+1]; member in NestedAAClipBench
108 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench()
111 fSizes[i].set(fSizes[i-1].fX/2, fSizes[i-1].fY/2); in NestedAAClipBench()
126 fSizes[depth].fX, fSizes[depth].fY); in recurse()
146 childOffset += fSizes[depth+1]; in recurse()
149 childOffset.fX = offset.fX + fSizes[depth+1].fX; in recurse()
154 childOffset.fY = offset.fY + fSizes[depth+1].fY; in recurse()
/external/skia/src/core/
DSkMaskCache.cpp109 fSizes[0] = SkSize{rects[0].width(), rects[0].height()}; in RectsBlurKey()
111 fSizes[1] = SkSize{rects[1].width(), rects[1].height()}; in RectsBlurKey()
112 fSizes[2] = SkSize{rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()}; in RectsBlurKey()
114 fSizes[1] = SkSize{0, 0}; in RectsBlurKey()
115 fSizes[2] = SkSize{0, 0}; in RectsBlurKey()
117 fSizes[3] = SkSize{rects[0].x() - ir.x(), rects[0].y() - ir.y()}; in RectsBlurKey()
120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey()
125 SkSize fSizes[4]; member
/external/skqp/src/core/
DSkMaskCache.cpp109 fSizes[0] = SkSize{rects[0].width(), rects[0].height()}; in RectsBlurKey()
111 fSizes[1] = SkSize{rects[1].width(), rects[1].height()}; in RectsBlurKey()
112 fSizes[2] = SkSize{rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()}; in RectsBlurKey()
114 fSizes[1] = SkSize{0, 0}; in RectsBlurKey()
115 fSizes[2] = SkSize{0, 0}; in RectsBlurKey()
117 fSizes[3] = SkSize{rects[0].x() - ir.x(), rects[0].y() - ir.y()}; in RectsBlurKey()
120 sizeof(fSigma) + sizeof(fStyle) + sizeof(fSizes)); in RectsBlurKey()
125 SkSize fSizes[4]; member
DSkYUVASizeInfo.cpp15 if (fSizes[i].isEmpty()) { in computePlanes()
18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes()
DSkImageGenerator.cpp46 SkASSERT(sizeInfo.fSizes[i].fWidth >= 0); in getYUVA8Planes()
47 SkASSERT(sizeInfo.fSizes[i].fHeight >= 0); in getYUVA8Planes()
48 SkASSERT(sizeInfo.fWidthBytes[i] >= (size_t) sizeInfo.fSizes[i].fWidth); in getYUVA8Planes()
/external/skqp/src/sksl/ir/
DSkSLInterfaceBlock.h35 , fSizes(std::move(sizes)) in InterfaceBlock()
40 for (const auto& s : fSizes) { in clone()
61 for (const auto& size : fSizes) { in description()
75 std::vector<std::unique_ptr<Expression>> fSizes; member
DSkSLVarDeclarations.h29 , fSizes(std::move(sizes)) in VarDeclaration()
34 for (const auto& s : fSizes) { in clone()
47 for (const auto& size : fSizes) { in description()
61 std::vector<std::unique_ptr<Expression>> fSizes; member
/external/skqp/src/utils/
DSkMultiPictureDocument.cpp55 SkTArray<SkSize> fSizes; member
67 fSizes.push_back(fCurrentPageSize); in onEndPage()
76 for (SkSize s : fSizes) { in onClose()
79 SkSize bigsize = join(fSizes); in onClose()
88 fSizes.reset(); in onClose()
93 fSizes.reset(); in onAbort()
/external/skqp/src/sksl/ast/
DSkSLASTParameter.h29 , fSizes(std::move(sizes)) {} in ASTParameter()
33 for (int size : fSizes) { in description()
42 const std::vector<int> fSizes; member
DSkSLASTInterfaceBlock.h37 , fSizes(std::move(sizes)) {} in ASTInterfaceBlock()
47 for (const auto& size : fSizes) { in description()
62 const std::vector<std::unique_ptr<ASTExpression>> fSizes; member
DSkSLASTVarDeclaration.h29 , fSizes(std::move(sizes)) in ASTVarDeclaration()
34 for (const auto& size : fSizes) { in description()
50 std::vector<std::unique_ptr<ASTExpression>> fSizes; member
DSkSLASTType.h28 , fSizes(std::move(sizes)) {} in ASTType()
39 const std::vector<int> fSizes; member
/external/skia/src/utils/
DSkMultiPictureDocument.cpp56 SkTArray<SkSize> fSizes; member
71 fSizes.push_back(fCurrentPageSize); in onEndPage()
84 for (SkSize s : fSizes) { in onClose()
87 SkSize bigsize = join(fSizes); in onClose()
97 fSizes.reset(); in onClose()
102 fSizes.reset(); in onAbort()
/external/skqp/tests/
DYUVTest.cpp42 REPORTER_ASSERT(reporter, info.fSizes[i] == expectedSizes[i]); in codec_yuv()
44 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv()
57 REPORTER_ASSERT(reporter, info.fSizes[i] == expectedSizes[i]); in codec_yuv()
59 info.fWidthBytes[i] == (uint32_t) SkAlign8(info.fSizes[i].width())); in codec_yuv()
DImageGeneratorTest.cpp66 sizeInfo.fSizes[0] = SkISize::Make(200, 200); in DEF_TEST()
67 sizeInfo.fSizes[1] = SkISize::Make(100, 100); in DEF_TEST()
68 sizeInfo.fSizes[2] = SkISize::Make( 50, 50); in DEF_TEST()
69 sizeInfo.fSizes[3] = SkISize::Make( 25, 25); in DEF_TEST()
DYUVCacheTest.cpp36 yuvInfo.fSizeInfo.fSizes[i].fWidth = 20 * (i + 1); in DEF_TEST()
37 yuvInfo.fSizeInfo.fSizes[i].fHeight = 10 * (i + 1); in DEF_TEST()
/external/skia/modules/skparagraph/src/
DTextLine.h62 InternalLineMetrics sizes() const { return fSizes; } in sizes()
73 SkScalar alphabeticBaseline() const { return fSizes.alphabeticBaseline(); } in alphabeticBaseline()
74 SkScalar ideographicBaseline() const { return fSizes.ideographicBaseline(); } in ideographicBaseline()
75 SkScalar baseline() const { return fSizes.baseline(); } in baseline()
146 … InternalLineMetrics fSizes; // Line metrics as a max of all run metrics and struts variable
DTextLine.cpp103 , fSizes(sizes) in TextLine()
287 if (this->fSizes.getForceStrut()) { in metricsWithoutMultiplier()
300 delta += (this->fSizes.fAscent - result.fAscent); in metricsWithoutMultiplier()
301 this->fSizes.fAscent = result.fAscent; in metricsWithoutMultiplier()
304 delta -= (this->fSizes.fDescent - result.fDescent); in metricsWithoutMultiplier()
305 this->fSizes.fDescent = result.fDescent; in metricsWithoutMultiplier()
/external/skqp/src/codec/
DSkJpegCodec.cpp850 sizeInfo->fSizes[i].set(comp_info[i].downsampled_width, comp_info[i].downsampled_height); in onQueryYUV8()
855 sizeInfo->fSizes[3].fHeight = sizeInfo->fSizes[3].fWidth = sizeInfo->fWidthBytes[3] = 0; in onQueryYUV8()
873 sizeInfo.fSizes[0] != defaultInfo.fSizes[0] || in onGetYUV8Planes()
874 sizeInfo.fSizes[1] != defaultInfo.fSizes[1] || in onGetYUV8Planes()
875 sizeInfo.fSizes[2] != defaultInfo.fSizes[2] || in onGetYUV8Planes()
903 SkASSERT(sizeInfo.fSizes[1] == sizeInfo.fSizes[2]); in onGetYUV8Planes()
904 SkASSERT((uint32_t) sizeInfo.fSizes[0].width() == dinfo->output_width && in onGetYUV8Planes()
905 (uint32_t) sizeInfo.fSizes[0].height() == dinfo->output_height); in onGetYUV8Planes()
/external/skqp/include/codec/
DSkCodec.h368 SkASSERT(sizeInfo->fSizes[i].fWidth > 0 && sizeInfo->fSizes[i].fHeight > 0 && in queryYUV8()
371 SkASSERT(!sizeInfo->fSizes[3].fWidth && in queryYUV8()
372 !sizeInfo->fSizes[3].fHeight && in queryYUV8()
/external/skqp/tools/
DDDLPromiseImageHelper.cpp332 if (yuvaSizeInfo.fSizes[i].isEmpty()) { in addImage()
337 SkImageInfo planeII = SkImageInfo::Make(yuvaSizeInfo.fSizes[i].fWidth, in addImage()
338 yuvaSizeInfo.fSizes[i].fHeight, in addImage()
/external/skqp/gm/
Dwacky_yuv_formats.cpp581 size->fSizes[i].fWidth = fYUVBitmaps[i].width(); in onQueryYUVA8()
582 size->fSizes[i].fHeight = fYUVBitmaps[i].height(); in onQueryYUVA8()
586 size->fSizes[i].fWidth = 0; in onQueryYUVA8()
587 size->fSizes[i].fHeight = 0; in onQueryYUVA8()

12