Lines Matching refs:brd
163 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in draw() local
164 if (nullptr == brd.get()) { in draw()
168 auto recommendedCT = brd->computeOutputColorType(colorType); in draw()
174 auto colorSpace = brd->computeOutputColorSpace(colorType, nullptr); in draw()
176 const uint32_t width = brd->width(); in draw()
177 const uint32_t height = brd->height(); in draw()
185 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height), in draw()
240 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(decodeLeft, in draw()
267 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in size() local
268 if (brd) { in size()
269 return {SkTMax(1, brd->width() / (int)fSampleSize), in size()
270 SkTMax(1, brd->height() / (int)fSampleSize)}; in size()