Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkMultiPictureDocumentReader.cpp33 fSizes.reset(pageCount); in init()
37 fSizes[i] = size; in init()
46 const SkTArray<SkSize>* fSizes; member
51 : SkNWayCanvas(wh.width(), wh.height()), fSizes(s), fDest(d) { in PagerCanvas()
56 if (i < fSizes->count()) { in nextCanvas()
57 SkRect bounds = SkRect::MakeSize((*fSizes)[i]); in nextCanvas()
78 SkASSERT(pageNumber < fSizes.count()); in readPage()
82 SkISize size = SkMultiPictureDocumentProtocol::Join(fSizes).toCeil(); in readPage()
83 PagerCanvas canvas(size, &fSizes, &this->fPages); in readPage()
87 if (fPages.count() != fSizes.count()) { in readPage()
DSkMultiPictureDocument.cpp46 SkTArray<SkSize> fSizes; member
56 fSizes.push_back(fCurrentPageSize); in onEndPage()
65 for (SkSize s : fSizes) { in onClose()
68 SkSize bigsize = SkMultiPictureDocumentProtocol::Join(fSizes); in onClose()
79 fSizes.reset(); in onClose()
84 fSizes.reset(); in onAbort()
DSkMultiPictureDocumentReader.h24 fSizes.reset(); in reset()
29 int pageCount() const { return fSizes.count(); } in pageCount()
38 SkSize pageSize(int i) const { return fSizes[i]; } in pageSize()
41 SkTArray<SkSize> fSizes;
/external/skia/src/gpu/
DGrYUVProvider.cpp48 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight); in init()
50 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight); in init()
60 totalSize += yuvInfo->fSizeInfo.fWidthBytes[i] * yuvInfo->fSizeInfo.fSizes[i].fHeight; in init()
70 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight); in init()
72 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight); in init()
102 yuvDesc.fWidth = yuvInfo.fSizeInfo.fSizes[i].fWidth; in refAsTextureProxy()
103 yuvDesc.fHeight = yuvInfo.fSizeInfo.fSizes[i].fHeight; in refAsTextureProxy()
106 (yuvDesc.fWidth != yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth) || in refAsTextureProxy()
107 (yuvDesc.fHeight != yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight) in refAsTextureProxy()
139 yuvInfo.fSizeInfo.fSizes, yuvInfo.fColorSpace, false)); in refAsTextureProxy()
[all …]
/external/skia/tests/
DYUVTest.cpp41 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kY].width())); in codec_yuv()
43 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kU].width())); in codec_yuv()
45 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kV].width())); in codec_yuv()
51 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kY].width())); in codec_yuv()
53 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kU].width())); in codec_yuv()
55 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kV].width())); in codec_yuv()
60 info.fWidthBytes[SkYUVSizeInfo::kY] * info.fSizes[SkYUVSizeInfo::kY].height() + in codec_yuv()
61 info.fWidthBytes[SkYUVSizeInfo::kU] * info.fSizes[SkYUVSizeInfo::kU].height() + in codec_yuv()
62 info.fWidthBytes[SkYUVSizeInfo::kV] * info.fSizes[SkYUVSizeInfo::kV].height(); in codec_yuv()
67 info.fWidthBytes[SkYUVSizeInfo::kY] * info.fSizes[SkYUVSizeInfo::kY].height()); in codec_yuv()
[all …]
DYUVCacheTest.cpp36 yuvInfo.fSizeInfo.fSizes[i].fWidth = 20 * i; in DEF_TEST()
37 yuvInfo.fSizeInfo.fSizes[i].fHeight = 10 * i; in DEF_TEST()
63 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fWidth == in DEF_TEST()
64 yuvInfoRead.fSizeInfo.fSizes[i].fWidth); in DEF_TEST()
65 REPORTER_ASSERT(reporter, yuvInfo.fSizeInfo.fSizes[i].fHeight == in DEF_TEST()
66 yuvInfoRead.fSizeInfo.fSizes[i].fHeight); in DEF_TEST()
DImageGeneratorTest.cpp48 sizeInfo.fSizes[SkYUVSizeInfo::kY] = SkISize::Make(200, 200); in DEF_TEST()
49 sizeInfo.fSizes[SkYUVSizeInfo::kU] = SkISize::Make(100, 100); in DEF_TEST()
50 sizeInfo.fSizes[SkYUVSizeInfo::kV] = SkISize::Make( 50, 50); in DEF_TEST()
/external/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()
/external/skia/src/core/
DSkImageGenerator.cpp63 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth >= 0); in getYUV8Planes()
64 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight >= 0); in getYUV8Planes()
65 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kU].fWidth >= 0); in getYUV8Planes()
66 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight >= 0); in getYUV8Planes()
67 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kV].fWidth >= 0); in getYUV8Planes()
68 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kV].fHeight >= 0); in getYUV8Planes()
70 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth); in getYUV8Planes()
72 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kU].fWidth); in getYUV8Planes()
74 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kV].fWidth); in getYUV8Planes()
DSkMaskCache.cpp113 fSizes[0] = SkSize::Make(rects[0].width(), rects[0].height()); in RectsBlurKey()
115 fSizes[1] = SkSize::Make(rects[1].width(), rects[1].height()); in RectsBlurKey()
116 fSizes[2] = SkSize::Make(rects[0].x() - rects[1].x(), rects[0].y() - rects[1].y()); in RectsBlurKey()
118 fSizes[1] = SkSize::Make(0, 0); in RectsBlurKey()
119 fSizes[2] = SkSize::Make(0, 0); in RectsBlurKey()
121 fSizes[3] = SkSize::Make(rects[0].x() - ir.x(), rects[0].y() - ir.y()); in RectsBlurKey()
124 sizeof(fSigma) + sizeof(fStyle) + sizeof(fQuality) + sizeof(fSizes)); in RectsBlurKey()
130 SkSize fSizes[4]; member
/external/skia/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/sksl/ir/
DSkSLInterfaceBlock.h35 , fSizes(std::move(sizes)) in InterfaceBlock()
50 for (const auto& size : fSizes) { in description()
64 const std::vector<std::unique_ptr<Expression>> fSizes; member
DSkSLVarDeclarations.h28 , fSizes(std::move(sizes)) in VarDeclaration()
33 for (const auto& size : fSizes) { in description()
47 std::vector<std::unique_ptr<Expression>> fSizes; member
/external/skia/src/codec/
DSkJpegCodec.cpp836 sizeInfo->fSizes[SkYUVSizeInfo::kY].set(dinfo->comp_info[0].downsampled_width, in onQueryYUV8()
838 sizeInfo->fSizes[SkYUVSizeInfo::kU].set(dinfo->comp_info[1].downsampled_width, in onQueryYUV8()
840 sizeInfo->fSizes[SkYUVSizeInfo::kV].set(dinfo->comp_info[2].downsampled_width, in onQueryYUV8()
859 sizeInfo.fSizes[SkYUVSizeInfo::kY] != defaultInfo.fSizes[SkYUVSizeInfo::kY] || in onGetYUV8Planes()
860 sizeInfo.fSizes[SkYUVSizeInfo::kU] != defaultInfo.fSizes[SkYUVSizeInfo::kU] || in onGetYUV8Planes()
861 sizeInfo.fSizes[SkYUVSizeInfo::kV] != defaultInfo.fSizes[SkYUVSizeInfo::kV] || in onGetYUV8Planes()
888 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kU] == sizeInfo.fSizes[SkYUVSizeInfo::kV]); in onGetYUV8Planes()
889 SkASSERT((uint32_t) sizeInfo.fSizes[SkYUVSizeInfo::kY].width() == dinfo->output_width && in onGetYUV8Planes()
890 (uint32_t) sizeInfo.fSizes[SkYUVSizeInfo::kY].height() == dinfo->output_height); in onGetYUV8Planes()
/external/skia/include/core/
DSkYUVSizeInfo.h19 SkISize fSizes[3]; member
/external/skia/src/sksl/
DSkSLParser.cpp377 for (int i = (int) var.fSizes.size() - 1; i >= 0; i--) { in structDeclaration()
378 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
382 uint64_t columns = ((ASTIntLiteral&) *var.fSizes[i]).fValue; in structDeclaration()
DSkSLIRGenerator.cpp221 for (const auto& rawSize : varDecl.fSizes) { in convertVarDeclarations()
502 for (int j = (int) param->fSizes.size() - 1; j >= 0; j--) { in convertFunction()
503 int size = param->fSizes[j]; in convertFunction()
629 for (const auto& size : intf.fSizes) { in convertInterfaceBlock()
678 for (int size : type.fSizes) { in convertType()
DSkSLGLSLCodeGenerator.cpp613 for (const auto& size : intf.fSizes) { in writeInterfaceBlock()
634 for (const auto& size : var.fSizes) { in writeVarDeclarations()