Lines Matching refs:brd
171 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in draw() local
172 if (nullptr == brd.get()) { in draw()
176 auto recommendedCT = brd->computeOutputColorType(colorType); in draw()
182 auto colorSpace = brd->computeOutputColorSpace(colorType, nullptr); in draw()
184 const uint32_t width = brd->width(); in draw()
185 const uint32_t height = brd->height(); in draw()
193 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height), in draw()
248 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(decodeLeft, in draw()
275 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in size() local
276 if (brd) { in size()
277 return {std::max(1, brd->width() / (int)fSampleSize), in size()
278 std::max(1, brd->height() / (int)fSampleSize)}; in size()