Lines Matching refs:width_
48 width_ = GetInt(); in DecodeImage()
63 width_ = GetShort(); in DecodeImage()
72 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage()
75 if (width_ * height_ > max_pixels) { in DecodeImage()
129 rowLen = width_ * 4; in DecodeImage()
132 rowLen = width_ * 3; in DecodeImage()
134 rowLen = width_ * 2; in DecodeImage()
136 rowLen = width_; in DecodeImage()
138 rowLen = width_ / 2; in DecodeImage()
139 if (width_ & 1) { in DecodeImage()
143 rowLen = width_ / 8; in DecodeImage()
144 if (width_ & 7) { in DecodeImage()
165 output_ = callback->SetSize(width_, height_); in DecodeImage()
191 while (cmd-- && x < width_) { in DoRLEDecode()
217 if (x > width_) { in DoRLEDecode()
218 x = width_; in DoRLEDecode()
242 if (x < width_) { in DoRLEDecode()
258 CHECK(x >= 0 && x < width_); in PutPixel()
264 int base = ((y * width_) + x) * 3; in PutPixel()
279 uint8* line = output_ + (3 * width_ * realH); in DoStandardDecode()
280 for (int w = 0; w < width_; w++) { in DoStandardDecode()