Lines Matching refs:width_
55 width_ = GetInt(); in DecodeImage()
70 width_ = GetShort(); in DecodeImage()
79 if (width_ <= 0 || width_ > kMaxDim || height_ <= 0 || height_ > kMaxDim) { in DecodeImage()
82 if (width_ * height_ > max_pixels) { in DecodeImage()
136 rowLen = width_ * 4; in DecodeImage()
139 rowLen = width_ * 3; in DecodeImage()
141 rowLen = width_ * 2; in DecodeImage()
143 rowLen = width_; in DecodeImage()
145 rowLen = width_ / 2; in DecodeImage()
146 if (width_ & 1) { in DecodeImage()
150 rowLen = width_ / 8; in DecodeImage()
151 if (width_ & 7) { in DecodeImage()
172 output_ = callback->SetSize(width_, height_); in DecodeImage()
198 while (cmd-- && x < width_) { in DoRLEDecode()
224 if (x > width_) { in DoRLEDecode()
225 x = width_; in DoRLEDecode()
249 if (x < width_) { in DoRLEDecode()
265 CHECK(x >= 0 && x < width_); in PutPixel()
271 int base = ((y * width_) + x) * 3; in PutPixel()
286 uint8* line = output_ + (3 * width_ * realH); in DoStandardDecode()
287 for (int w = 0; w < width_; w++) { in DoStandardDecode()