Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Dvpx_scale_test.cc33 memset(&img_, 0, sizeof(img_)); in ResetImage()
34 ASSERT_EQ(0, vp8_yv12_alloc_frame_buffer(&img_, width_, height_, in ResetImage()
36 memset(img_.buffer_alloc, kBufFiller, img_.frame_size); in ResetImage()
37 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImage()
38 img_.y_stride); in ResetImage()
39 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
40 img_.uv_stride); in ResetImage()
41 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImage()
42 img_.uv_stride); in ResetImage()
57 vp8_yv12_de_alloc_frame_buffer(&img_); in DeallocImage()
[all …]
Dvideo_source.h136 : 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()
[all …]
Dy4m_video_source.h25 : file_name_(file_name), input_file_(NULL), img_(new vpx_image_t()), in Y4mVideoSource()
30 vpx_img_free(img_.get()); in ~Y4mVideoSource()
64 return (frame_ < limit_) ? img_.get() : NULL; in img()
84 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); in FillFrame()
94 tmp = other->img_.release(); in SwapBuffers()
95 other->img_.reset(img_.release()); in SwapBuffers()
96 img_.reset(tmp); in SwapBuffers()
111 testing::internal::scoped_ptr<vpx_image_t> img_; variable
Dyuv_video_source.h30 : file_name_(file_name), input_file_(NULL), img_(NULL), start_(start), in YUVVideoSource()
39 vpx_img_free(img_); in ~YUVVideoSource()
61 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
80 vpx_img_free(img_); in SetSize()
81 img_ = vpx_img_alloc(NULL, format, width, height, 1); in SetSize()
82 ASSERT_TRUE(img_ != NULL); in SetSize()
103 if (fread(img_->img_data, raw_size_, 1, input_file_) == 0) { in FillFrame()
111 vpx_image_t *img_; variable
/external/webp/src/mux/
Dmuxinternal.c237 ChunkDelete(wpi->img_); in MuxImageRelease()
255 case WEBP_CHUNK_IMAGE: return (WebPChunk**)&wpi->img_; in GetChunkListFromId()
368 if (wpi->img_ != NULL) size += ChunkDiskSize(wpi->img_); in MuxImageDiskSize()
399 if (wpi->img_ != NULL) dst = ChunkEmit(wpi->img_, dst); in MuxImageEmit()
Dmuxread.c76 const WebPChunk* const img = wpi->img_; in MuxImageFinalize()
140 if (ChunkSetNth(&subchunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Fail; in MuxImageParse()
243 if (ChunkSetNth(&chunk, &wpi->img_, 1) != WEBP_MUX_OK) goto Err; in WebPMuxCreateInternal()
381 ChunkDiskSize(wpi->img_); in SynthesizeBitstream()
394 dst = ChunkListEmit(wpi->img_, dst); in SynthesizeBitstream()
432 info->id = ChunkGetIdFromTag(wpi->img_->tag_); in MuxGetImageInternal()
Dmuxedit.c142 assert(wpi != NULL && wpi->img_ != NULL); in GetImageData()
143 *image = wpi->img_->data_; in GetImageData()
228 err = AddDataToChunkList(&image, copy_data, image_tag, &wpi->img_); in SetAlphaAndImageChunks()
292 assert(wpi.img_ != NULL); // As SetAlphaAndImageChunks() was successful. in WebPMuxPushFrame()
433 assert(wpi->img_ != NULL); in GetAdjustedCanvasSize()
479 if (images == NULL || images->img_ == NULL || in CreateVP8XChunk()
480 images->img_->data_.bytes == NULL) { in CreateVP8XChunk()
Dmuxi.h50 WebPChunk* img_; // Corresponds to WEBP_CHUNK_IMAGE. member
/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::__anonff4646090211::AutoImage