Lines Matching refs:width_
87 int height_, width_;
95 : height_(height), width_(width), data_(width*height, 0.0) { in PGMImage()
102 width_ = 0; in PGMImage()
115 return width_; in width()
125 return width_ * height_; in NumPixels()
141 CHECK(index < width_ * height_); in MutablePixelFromLinearIndex()
149 CHECK(index < width_ * height_); in PixelFromLinearIndex()
156 return x + width_*y; in LinearIndex()
191 outputfile << width_ << ' ' << height_ << " 255 " << std::endl; in WriteToFile()
194 int num_pixels = width_*height_; in WriteToFile()
245 if (!GetIgnoreComment(&inputfile, width_) || in ReadFromFile()
256 int num_pixels = width_*height_; in ReadFromFile()