Home
last modified time | relevance | path

Searched refs:input_bitmap (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/thumbnails/
Dcontent_analysis.cc228 void ApplyGaussianGradientMagnitudeFilter(SkBitmap* input_bitmap, in ApplyGaussianGradientMagnitudeFilter() argument
233 SkAutoLockPixels source_lock(*input_bitmap); in ApplyGaussianGradientMagnitudeFilter()
234 DCHECK(input_bitmap); in ApplyGaussianGradientMagnitudeFilter()
235 DCHECK(input_bitmap->getPixels()); in ApplyGaussianGradientMagnitudeFilter()
236 DCHECK_EQ(SkBitmap::kA8_Config, input_bitmap->config()); in ApplyGaussianGradientMagnitudeFilter()
240 const SkISize image_size = SkISize::Make(input_bitmap->width(), in ApplyGaussianGradientMagnitudeFilter()
241 input_bitmap->height()); in ApplyGaussianGradientMagnitudeFilter()
244 input_bitmap->config(), image_size.width(), image_size.height()); in ApplyGaussianGradientMagnitudeFilter()
249 input_bitmap->config(), image_size.width(), image_size.height()); in ApplyGaussianGradientMagnitudeFilter()
259 input_bitmap->getAddr8(0, 0), in ApplyGaussianGradientMagnitudeFilter()
[all …]
Dcontent_analysis.h24 void ApplyGaussianGradientMagnitudeFilter(SkBitmap* input_bitmap,
35 void ExtractImageProfileInformation(const SkBitmap& input_bitmap,
/external/chromium_org/chrome/browser/favicon/
Dfavicon_util.cc94 const SkBitmap& input_bitmap = input_bitmaps[i]; in ResizeBitmapByDownsamplingIfPossible() local
95 if (input_bitmap.width() == desired_size_in_pixel && in ResizeBitmapByDownsamplingIfPossible()
96 input_bitmap.height() == desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible()
97 return input_bitmap; in ResizeBitmapByDownsamplingIfPossible()
99 best_bitmap = input_bitmap; in ResizeBitmapByDownsamplingIfPossible()
100 } else if (input_bitmap.width() >= best_bitmap.width() && in ResizeBitmapByDownsamplingIfPossible()
101 input_bitmap.height() >= best_bitmap.height()) { in ResizeBitmapByDownsamplingIfPossible()
104 best_bitmap = input_bitmap; in ResizeBitmapByDownsamplingIfPossible()
107 if (input_bitmap.width() >= desired_size_in_pixel && in ResizeBitmapByDownsamplingIfPossible()
108 input_bitmap.height() >= desired_size_in_pixel) { in ResizeBitmapByDownsamplingIfPossible()
[all …]