Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/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()
/third_party/flutter/skia/src/gpu/
DGrYUVProvider.cpp42 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
48 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
59 SkASSERT((yuvInfo.fSizeInfo.fWidthBytes[i] && yuvInfo.fSizeInfo.fSizes[i].fHeight) || in getPlanes()
60 (!yuvInfo.fSizeInfo.fWidthBytes[i] && !yuvInfo.fSizeInfo.fSizes[i].fHeight)); in getPlanes()
62 totalSize += yuvInfo.fSizeInfo.fWidthBytes[i] * yuvInfo.fSizeInfo.fSizes[i].fHeight; in getPlanes()
72 !yuvInfo.fSizeInfo.fSizes[i].fHeight); in getPlanes()
78 yuvInfo.fSizeInfo.fSizes[i-1].fHeight); in getPlanes()
124 if (yuvSizeInfo.fSizes[i].isEmpty()) { in refAsTextureProxy()
129 int componentWidth = yuvSizeInfo.fSizes[i].fWidth; in refAsTextureProxy()
130 int componentHeight = yuvSizeInfo.fSizes[i].fHeight; in refAsTextureProxy()
[all …]
/third_party/flutter/skia/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()
/third_party/skia/bench/
DAAClipBench.cpp95 SkPoint fSizes[kNestingDepth+1]; member in NestedAAClipBench
105 fSizes[0].set(SkIntToScalar(kImageSize), SkIntToScalar(kImageSize)); in NestedAAClipBench()
108 fSizes[i].set(fSizes[i-1].fX/2, fSizes[i-1].fY/2); in NestedAAClipBench()
123 fSizes[depth].fX, fSizes[depth].fY); in recurse()
141 childOffset += fSizes[depth+1]; in recurse()
144 childOffset.fX = offset.fX + fSizes[depth+1].fX; in recurse()
149 childOffset.fY = offset.fY + fSizes[depth+1].fY; in recurse()
/third_party/flutter/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
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()
/third_party/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
/third_party/flutter/skia/modules/skparagraph/src/
DTextLine.h39 LineMetrics sizes() const { return fSizes; } in sizes()
50 SkScalar alphabeticBaseline() const { return fSizes.alphabeticBaseline(); } in alphabeticBaseline()
51 SkScalar ideographicBaseline() const { return fSizes.ideographicBaseline(); } in ideographicBaseline()
52 SkScalar baseline() const { return fSizes.baseline(); } in baseline()
53 SkScalar roundingDelta() const { return fSizes.delta(); } in roundingDelta()
122 LineMetrics fSizes; // Line metrics as a max of all run metrics variable
/third_party/flutter/skia/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
/third_party/flutter/skia/tools/gpu/
DYUVUtils.cpp60 if (fSizeInfo.fSizes[i].isEmpty()) { in reset()
64 auto planeInfo = SkImageInfo::Make(fSizeInfo.fSizes[i].fWidth, in reset()
65 fSizeInfo.fSizes[i].fHeight, in reset()
83 fSizeInfo.fSizes[0], kTopLeft_GrSurfaceOrigin, false, false); in ensureYUVImage()
/third_party/flutter/skia/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()
89 fSizes.reset(); in onClose()
94 fSizes.reset(); in onAbort()
/third_party/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()
/third_party/flutter/skia/tests/
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()
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()
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()
/third_party/skia/modules/skparagraph/src/
DTextLine.h65 InternalLineMetrics sizes() const { return fSizes; } in sizes()
76 SkScalar alphabeticBaseline() const { return fSizes.alphabeticBaseline(); } in alphabeticBaseline()
77 SkScalar ideographicBaseline() const { return fSizes.ideographicBaseline(); } in ideographicBaseline()
78 SkScalar baseline() const { return fSizes.baseline(); } in baseline()
150 … InternalLineMetrics fSizes; // Line metrics as a max of all run metrics and struts variable
DTextLine.cpp105 , fSizes(sizes) in TextLine()
289 if (this->fSizes.getForceStrut()) { in metricsWithoutMultiplier()
302 delta += (this->fSizes.fAscent - result.fAscent); in metricsWithoutMultiplier()
303 this->fSizes.fAscent = result.fAscent; in metricsWithoutMultiplier()
306 delta -= (this->fSizes.fDescent - result.fDescent); in metricsWithoutMultiplier()
307 this->fSizes.fDescent = result.fDescent; in metricsWithoutMultiplier()
/third_party/flutter/skia/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()
/third_party/flutter/skia/include/codec/
DSkCodec.h388 SkASSERT(sizeInfo->fSizes[i].fWidth > 0 && sizeInfo->fSizes[i].fHeight > 0 && in queryYUV8()
391 SkASSERT(!sizeInfo->fSizes[3].fWidth && in queryYUV8()
392 !sizeInfo->fSizes[3].fHeight && in queryYUV8()
/third_party/flutter/skia/tools/
DDDLPromiseImageHelper.cpp303 if (yuvaSizeInfo.fSizes[i].isEmpty()) { in addImage()
308 SkImageInfo planeII = SkImageInfo::Make(yuvaSizeInfo.fSizes[i].fWidth, in addImage()
309 yuvaSizeInfo.fSizes[i].fHeight, in addImage()
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp834 size->fSizes[i].fWidth = fYUVBitmaps[i].width(); in onQueryYUVA8()
835 size->fSizes[i].fHeight = fYUVBitmaps[i].height(); in onQueryYUVA8()
839 size->fSizes[i].fWidth = 0; in onQueryYUVA8()
840 size->fSizes[i].fHeight = 0; in onQueryYUVA8()
/third_party/flutter/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp1193 for (const auto& size : intf.fSizes) { in writeFunctionCall()
1259 for (const auto& size : var.fSizes) { in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp1014 for (const auto& size : intf.fSizes) { in writeInterfaceBlock()
1126 for (const auto& size : var.fSizes) { in writeVarDeclarations()

12