Lines Matching refs:height
54 static bool webp_parse_header(SkStream* stream, int* width, int* height, int* alpha) {
76 *height = features.height;
81 int64_t size = sk_64_mul(*width, *height);
118 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height);
158 SkDEBUGF(("libwebp error %s [%d %d]", msg, bm.width(), bm.height()));
236 int width, int height, bool premultiply) {
252 if (width != decodedBitmap->width() || height != decodedBitmap->height()) {
255 config->options.scaled_height = decodedBitmap->height();
261 bool SkWEBPImageDecoder::setDecodeConfig(SkBitmap* decodedBitmap, int width, int height) {
283 return decodedBitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType));
499 pic.height = bm.height();
509 uint8_t* rgb = new uint8_t[rgbStride * pic.height];
510 for (int y = 0; y < pic.height; ++y) {
536 int width, height, hasAlpha;
537 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) {
546 int width, height, hasAlpha;
547 if (webp_parse_header(stream, &width, &height, &hasAlpha)) {