Lines Matching refs:region
276 const SkIRect& region, bool premultiply) {
278 if (!webp_get_config_resize(config, decodedBitmap, region.width(),
279 region.height(), premultiply)) {
284 config->options.crop_left = region.fLeft;
285 config->options.crop_top = region.fTop;
286 config->options.crop_width = region.width();
287 config->options.crop_height = region.height();
352 const SkIRect& region) {
355 if (!rect.intersect(region)) {
356 // If the requested region is entirely outsides the image, return false
366 // 1. the region is within the image range
368 // 3. bitmap's size is same as the required region (after sampled)
369 bool directDecode = (rect == region) &&
411 // the specified cropped image-region.
417 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(),
418 region.width(), region.height(), rect.x(), rect.y());