Home | History | Annotate | Download | only in image_diff

Lines Matching refs:w_

42   Image() : w_(0), h_(0) {}
43 Image(const Image& image) : w_(image.w_), h_(image.h_), data_(image.data_) {}
45 bool has_image() const { return w_ > 0 && h_ > 0; }
46 int w() const { return w_; }
68 &w_, &h_)) {
76 w_ = h_ = 0;
97 return x >= 0 && x < w_ && y >= 0 && y < h_;
100 size_t pixel_address(int x, int y) const { return (y * w_ + x) * 4; }
103 int w_;