Searched refs:img_ (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dvpx_scale_test.cc36 vpx_memset(&img_, 0, sizeof(img_));
37 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&img_, width_, height_,
39 vpx_memset(img_.buffer_alloc, kBufFiller, img_.frame_size);
40 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height,
41 img_.y_stride);
42 FillPlane(img_
162 YV12_BUFFER_CONFIG img_; member in class:__anon13016::VpxScaleBase
[all...]
H A Di420_video_source.h30 img_(NULL),
43 vpx_img_free(img_);
67 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; }
85 vpx_img_free(img_);
86 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1);
87 ASSERT_TRUE(img_ != NULL);
97 if (fread(img_->img_data, raw_sz_, 1, input_file_) == 0) {
105 vpx_image_t *img_; member in class:libvpx_test::I420VideoSource
H A Dvideo_source.h137 DummyVideoSource() : img_(NULL), limit_(100), width_(0), height_(0) {
141 virtual ~DummyVideoSource() { vpx_img_free(img_); }
154 return (frame_ < limit_) ? img_ : NULL;
177 vpx_img_free(img_);
179 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 32);
186 virtual void FillFrame() { if (img_) memset(img_->img_data, 0, raw_sz_); }
188 vpx_image_t *img_; member in class:libvpx_test::DummyVideoSource
214 if (img_) {
217 img_
[all...]
H A Dy4m_video_source.h27 img_(new vpx_image_t()),
37 vpx_img_free(img_.get());
71 return (frame_ < limit_) ? img_.get() : NULL;
91 y4m_input_fetch_frame(&y4m_, input_file_, img_.get());
106 testing::internal::scoped_ptr<vpx_image_t> img_; member in class:libvpx_test::Y4mVideoSource
/external/libvpx/libvpx/test/
H A Di420_video_source.h30 img_(NULL),
43 vpx_img_free(img_);
67 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; }
85 vpx_img_free(img_);
86 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1);
87 ASSERT_TRUE(img_ != NULL);
97 if (fread(img_->img_data, raw_sz_, 1, input_file_) == 0) {
105 vpx_image_t *img_; member in class:libvpx_test::I420VideoSource
H A Dvideo_source.h87 DummyVideoSource() : img_(NULL), limit_(100), width_(0), height_(0) {
91 virtual ~DummyVideoSource() { vpx_img_free(img_); }
104 return (frame_ < limit_) ? img_ : NULL;
123 vpx_img_free(img_);
125 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 32);
132 virtual void FillFrame() { memset(img_->img_data, 0, raw_sz_); }
134 vpx_image_t *img_; member in class:libvpx_test::DummyVideoSource
162 img_->img_data[i] = rnd_.Rand8();
164 memset(img_->img_data, 0, raw_sz_);
H A Dy4m_video_source.h27 img_(new vpx_image_t()),
37 vpx_img_free(img_.get());
65 return (frame_ < limit_) ? img_.get() : NULL;
85 y4m_input_fetch_frame(&y4m_, input_file_, img_.get());
100 testing::internal::scoped_ptr<vpx_image_t> img_; member in class:libvpx_test::Y4mVideoSource

Completed in 1335 milliseconds