Home | History | Annotate | Download | only in imagediff

Lines Matching defs:w_

48   Image() : w_(0), h_(0) {
52 : w_(image.w_),
58 return w_ > 0 && h_ > 0;
62 return w_;
84 &data_, &w_, &h_)) {
109 &data_, &w_, &h_)) {
117 w_ = h_ = 0;
123 DCHECK(x >= 0 && x < w_);
125 return *reinterpret_cast<const uint32*>(&(data_[(y * w_ + x) * 4]));
129 DCHECK(x >= 0 && x < w_);
131 void* addr = &const_cast<unsigned char*>(&data_.front())[(y * w_ + x) * 4];
137 int w_, h_;