Lines Matching defs:image
154 // Iterate through the image twice. Once to decode odd stripes, and once for even.
201 // This will allow comparison even if the image is incomplete.
295 // Test full image decodes with SkCodec
382 // Do not attempt to decode subsets of an image of only one pixel, since there is no
538 // Decodes an embedded BMP image
540 // Decodes an embedded PNG image
663 // Ensure that onGetScaledDimensions returns valid image dimensions to use for decodes
721 // This image is an ico with an embedded mask-bmp. This is illegal.
964 // Test that SkCodec now supports an image with these bits set.
987 // size of the image. We cap the size at 65535, meaning we only need to look at
988 // 8 bytes to determine whether we can read the image. This is important
990 // determine whether the image is a wbmp.
1004 // Now test an image which is too big. Any image with a larger header (i.e.
1041 // Rewind the codec and perform a full image decode.
1056 // Perform another full image decode. ASAN will detect if we look at the subset when it is
1121 // Encode the image to png.
1685 auto image = GetResourceAsImage(file);
1697 // rejected as an invalid GIF image - but the two implementations differ in
1705 if (image) {
1706 ERRORF(r, "Invalid data gave non-nullptr image");
1711 if (!image) {
1716 REPORTER_ASSERT(r, image->width() == 32);
1717 REPORTER_ASSERT(r, image->height() == 32);
1728 canvas.drawImage(image, 0, 0);
1730 for (int i = 0; i < image->width(); ++i)
1731 for (int j = 0; j < image->height(); ++j) {
1758 // sample size on this image. Other sample sizes could have had the same result,
1800 auto image = GetResourceAsImage(file);
1801 if (!image) {
1806 const int kWidth = image->width();
1807 const int kHeight = image->height();
1818 canvas.drawImage(image, 0, 0);
1823 ERRORF(r, "image should not be transparent! %i, %i is 0", i, j);