/external/libvpx/libvpx/test/ |
vpx_scale_test.cc | 35 memset(&img_, 0, sizeof(img_)); 36 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&img_, width_, height_, 38 memset(img_.buffer_alloc, kBufFiller, img_.frame_size); 39 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, 40 img_.y_stride); 41 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height 161 YV12_BUFFER_CONFIG img_; member in class:__anon17090::VpxScaleBase [all...] |
y4m_video_source.h | 28 img_(new vpx_image_t()), 38 vpx_img_free(img_.get()); 72 return (frame_ < limit_) ? img_.get() : NULL; 92 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); 102 tmp = other->img_.release(); 103 other->img_.reset(img_.release()); 104 img_.reset(tmp); 119 testing::internal::scoped_ptr<vpx_image_t> img_; member in class:libvpx_test::Y4mVideoSource
|
video_source.h | 141 : img_(NULL), 149 virtual ~DummyVideoSource() { vpx_img_free(img_); } 162 return (frame_ < limit_) ? img_ : NULL; 199 virtual void FillFrame() { if (img_) memset(img_->img_data, 0, raw_sz_); } 202 vpx_img_free(img_); 203 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); 204 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8 207 vpx_image_t *img_; member in class:libvpx_test::DummyVideoSource [all...] |
yuv_video_source.h | 33 img_(NULL), 47 vpx_img_free(img_); 70 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } 89 vpx_img_free(img_); 90 img_ = vpx_img_alloc(NULL, format, width, height, 1); 91 ASSERT_TRUE(img_ != NULL); 129 if (fread(img_->img_data, raw_size_, 1, input_file_) == 0) { 137 vpx_image_t *img_; member in class:libvpx_test::YUVVideoSource
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
i420_video_source.h | 30 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
|
video_source.h | 87 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_);
|
y4m_video_source.h | 27 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
|
/external/opencv3/3rdparty/libwebp/mux/ |
muxi.h | 50 WebPChunk* img_; // Corresponds to WEBP_CHUNK_IMAGE. member in struct:WebPMuxImage 197 case WEBP_CHUNK_IMAGE: return (WebPChunk**)&wpi->img_;
|
muxread.c | 123 if (ChunkSetNth(&subchunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Fail; 220 if (ChunkSetNth(&chunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Err; 279 const WebPData* const vp8l_data = &mux->images_->img_->data_; 319 ChunkDiskSize(wpi->img_); 329 assert(wpi->img_ != NULL); 330 err = MuxGetImageWidthHeight(wpi->img_, &w, &h); 340 dst = ChunkListEmit(wpi->img_, dst); 376 info->id = ChunkGetIdFromTag(wpi->img_->tag_);
|
muxedit.c | 168 assert(wpi != NULL && wpi->img_ != NULL); 169 *image = wpi->img_->data_; 248 // and wpi.img_ appropriately. 262 return AddDataToChunkList(&image, copy_data, image_tag, &wpi->img_); 333 assert(wpi.img_ != NULL); // As SetAlphaAndImageChunks() was successful. 336 const int is_lossless = (wpi.img_->tag_ == kChunks[IDX_VP8L].tag); 351 err = CreateFrameFragmentData(&wpi.img_->data_, x_offset, y_offset, 451 const WebPChunk* const image_chunk = wpi->img_; 472 assert(wpi->img_ != NULL); 507 const WebPChunk* const image_chunk = wpi->img_; [all...] |
muxinternal.c | 237 ChunkDelete(wpi->img_); 361 if (wpi->img_ != NULL) size += ChunkDiskSize(wpi->img_); 401 if (wpi->img_ != NULL) dst = ChunkEmit(wpi->img_, dst); 418 assert(images->img_ != NULL); 419 if (images->img_->tag_ == kChunks[IDX_VP8L].tag) {
|
/external/opencv3/modules/features2d/src/ |
brisk.cpp | 176 return img_; 206 cv::Mat img_; member in class:cv::BriskLayer [all...] |
/external/google-breakpad/src/common/windows/ |
pdb_source_line_writer.cc | 111 explicit AutoImage(PLOADED_IMAGE img) : img_(img) {} 113 if (img_) 114 ImageUnload(img_); 117 operator PLOADED_IMAGE() { return img_; } 118 PLOADED_IMAGE operator->() { return img_; } 121 PLOADED_IMAGE img_; member in class:google_breakpad::__anon12252::AutoImage [all...] |