Lines Matching refs:img_
136 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource()
141 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
188 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame()
192 vpx_img_free(img_); in ReallocImage()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
194 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
197 vpx_image_t *img_; variable
222 if (img_) { in FillFrame()
224 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame()
226 memset(img_->img_data, 0, raw_sz_); in FillFrame()