Home
last modified time | relevance | path

Searched refs:img_ (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/test/
Dvpx_scale_test.cc35 memset(&img_, 0, sizeof(img_)); in ResetImage()
36 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&img_, width_, height_, in ResetImage()
38 memset(img_.buffer_alloc, kBufFiller, img_.frame_size); in ResetImage()
39 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImage()
40 img_.y_stride); in ResetImage()
41 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
42 img_.uv_stride); in ResetImage()
43 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
44 img_.uv_stride); in ResetImage()
59 vp8_yv12_de_alloc_frame_buffer(&img_); in DeallocImage()
[all …]
Dvideo_source.h141 : img_(NULL), in DummyVideoSource()
149 virtual ~DummyVideoSource() { vpx_img_free(img_); } in ~DummyVideoSource()
162 return (frame_ < limit_) ? img_ : NULL; in img()
199 virtual void FillFrame() { if (img_) memset(img_->img_data, 0, raw_sz_); } in FillFrame()
202 vpx_img_free(img_); in ReallocImage()
203 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
204 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage()
207 vpx_image_t *img_; variable
234 if (img_) { in FillFrame()
237 img_->img_data[i] = rnd_.Rand8(); in FillFrame()
[all …]
Dy4m_video_source.h28 img_(new vpx_image_t()), in Y4mVideoSource()
38 vpx_img_free(img_.get()); in ~Y4mVideoSource()
72 return (frame_ < limit_) ? img_.get() : NULL; in img()
92 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); in FillFrame()
102 tmp = other->img_.release(); in SwapBuffers()
103 other->img_.reset(img_.release()); in SwapBuffers()
104 img_.reset(tmp); in SwapBuffers()
119 testing::internal::scoped_ptr<vpx_image_t> img_; variable
Dyuv_video_source.h33 img_(NULL), in YUVVideoSource()
47 vpx_img_free(img_); in ~YUVVideoSource()
70 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
89 vpx_img_free(img_); in SetSize()
90 img_ = vpx_img_alloc(NULL, format, width, height, 1); in SetSize()
91 ASSERT_TRUE(img_ != NULL); in SetSize()
129 if (fread(img_->img_data, raw_size_, 1, input_file_) == 0) { in FillFrame()
137 vpx_image_t *img_; variable
/external/google-breakpad/src/common/windows/
Dpdb_source_line_writer.cc111 explicit AutoImage(PLOADED_IMAGE img) : img_(img) {} in AutoImage()
113 if (img_) in ~AutoImage()
114 ImageUnload(img_); in ~AutoImage()
117 operator PLOADED_IMAGE() { return img_; } in operator PLOADED_IMAGE()
118 PLOADED_IMAGE operator->() { return img_; } in operator ->()
121 PLOADED_IMAGE img_; member in google_breakpad::__anond9e9fecb0211::AutoImage