Home
last modified time | relevance | path

Searched refs:img_ (Results 1 – 10 of 10) 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/opencv3/3rdparty/libwebp/mux/
Dmuxedit.c168 assert(wpi != NULL && wpi->img_ != NULL); in GetImageData()
169 *image = wpi->img_->data_; in GetImageData()
262 return AddDataToChunkList(&image, copy_data, image_tag, &wpi->img_); in SetAlphaAndImageChunks()
333 assert(wpi.img_ != NULL); // As SetAlphaAndImageChunks() was successful. in WebPMuxPushFrame()
336 const int is_lossless = (wpi.img_->tag_ == kChunks[IDX_VP8L].tag); in WebPMuxPushFrame()
351 err = CreateFrameFragmentData(&wpi.img_->data_, x_offset, y_offset, in WebPMuxPushFrame()
451 const WebPChunk* const image_chunk = wpi->img_; in GetImageInfo()
472 assert(wpi->img_ != NULL); in GetImageCanvasWidthHeight()
507 const WebPChunk* const image_chunk = wpi->img_; in GetImageCanvasWidthHeight()
532 if (images == NULL || images->img_ == NULL || in CreateVP8XChunk()
[all …]
Dmuxread.c123 if (ChunkSetNth(&subchunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Fail; in MuxImageParse()
220 if (ChunkSetNth(&chunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Err; in WebPMuxCreateInternal()
279 const WebPData* const vp8l_data = &mux->images_->img_->data_; in WebPMuxGetFeatures()
319 ChunkDiskSize(wpi->img_); in SynthesizeBitstream()
329 assert(wpi->img_ != NULL); in SynthesizeBitstream()
330 err = MuxGetImageWidthHeight(wpi->img_, &w, &h); in SynthesizeBitstream()
340 dst = ChunkListEmit(wpi->img_, dst); in SynthesizeBitstream()
376 info->id = ChunkGetIdFromTag(wpi->img_->tag_); in MuxGetImageInternal()
Dmuxinternal.c237 ChunkDelete(wpi->img_); in MuxImageRelease()
361 if (wpi->img_ != NULL) size += ChunkDiskSize(wpi->img_); in MuxImageDiskSize()
401 if (wpi->img_ != NULL) dst = ChunkEmit(wpi->img_, dst); in MuxImageEmit()
418 assert(images->img_ != NULL); in MuxHasLosslessImages()
419 if (images->img_->tag_ == kChunks[IDX_VP8L].tag) { in MuxHasLosslessImages()
Dmuxi.h50 WebPChunk* img_; // Corresponds to WEBP_CHUNK_IMAGE. member
197 case WEBP_CHUNK_IMAGE: return (WebPChunk**)&wpi->img_; in MuxImageGetListFromId()
/external/opencv3/modules/features2d/src/
Dbrisk.cpp176 return img_; in img()
206 cv::Mat img_; member in cv::BriskLayer
2069 img_ = img_in; in BriskLayer()
2076 makeAgastOffsets(pixel_5_8_, (int)img_.step, AgastFeatureDetector::AGAST_5_8); in BriskLayer()
2077 makeAgastOffsets(pixel_9_16_, (int)img_.step, AgastFeatureDetector::OAST_9_16); in BriskLayer()
2084 img_.create(layer.img().rows / 2, layer.img().cols / 2, CV_8U); in BriskLayer()
2085 halfsample(layer.img(), img_); in BriskLayer()
2091 img_.create(2 * (layer.img().rows / 3), 2 * (layer.img().cols / 3), CV_8U); in BriskLayer()
2092 twothirdsample(layer.img(), img_); in BriskLayer()
2096 scores_ = cv::Mat::zeros(img_.rows, img_.cols, CV_8U); in BriskLayer()
[all …]
/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::__anond4a446aa0211::AutoImage