Searched refs:image_area (Results 1 – 2 of 2) sorted by relevance
48 const auto image_area = SkToSizeT(image->width() * image->height()); in getFrame() local50 if (image_area > kMaxArea) { in getFrame()52 const auto scale = std::sqrt(static_cast<float>(kMaxArea) / image_area); in getFrame()
131 const auto image_area = SkToSizeT(image->width() * image->height()); in generateFrame() local133 if (image_area > kMaxArea) { in generateFrame()135 const auto scale = std::sqrt(static_cast<float>(kMaxArea) / image_area); in generateFrame()