/external/libvpx/libvpx/test/ |
D | vpx_scale_test.h | 42 ResetImage(&img_, width, height); in ResetImages() 46 FillPlane(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetImages() 47 img_.y_stride); in ResetImages() 48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages() 49 img_.uv_stride); in ResetImages() 50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages() 51 img_.uv_stride); in ResetImages() 69 ResetScaleImage(&img_, src_width, src_height); in ResetScaleImages() 72 FillPlaneExtreme(img_.y_buffer, img_.y_crop_width, img_.y_crop_height, in ResetScaleImages() 73 img_.y_stride); in ResetScaleImages() [all …]
|
D | video_source.h | 136 : 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 …]
|
D | y4m_video_source.h | 26 : file_name_(file_name), input_file_(NULL), img_(new vpx_image_t()), in Y4mVideoSource() 31 vpx_img_free(img_.get()); in ~Y4mVideoSource() 65 return (frame_ < limit_) ? img_.get() : NULL; in img() 85 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); in FillFrame() 95 tmp = other->img_.release(); in SwapBuffers() 96 other->img_.reset(img_.release()); in SwapBuffers() 97 img_.reset(tmp); in SwapBuffers() 112 std::unique_ptr<vpx_image_t> img_; variable
|
D | yuv_video_source.h | 30 : 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
|
D | vpx_scale_test.cc | 46 void ExtendBorder() { ASM_REGISTER_STATE_CHECK(extend_fn_(&img_)); } in ExtendBorder() 54 CompareImages(img_); in RunTest() 77 ASM_REGISTER_STATE_CHECK(copy_frame_fn_(&img_, &dst_img_)); in CopyFrame()
|
D | vp9_scale_test.cc | 42 vp9_scale_and_extend_frame_c(&img_, &ref_img_, filter_type, phase_scaler); in ReferenceScaleFrame() 47 scale_fn_(&img_, &dst_img_, filter_type, phase_scaler)); in ScaleFrame()
|
/external/libaom/libaom/test/ |
D | video_source.h | 138 : img_(NULL), limit_(100), width_(80), height_(64), in DummyVideoSource() 143 virtual ~DummyVideoSource() { aom_img_free(img_); } in ~DummyVideoSource() 155 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img() 190 if (img_) memset(img_->img_data, 0, raw_sz_); in FillFrame() 194 aom_img_free(img_); in ReallocImage() 195 img_ = aom_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage() 196 raw_sz_ = ((img_->w + 31) & ~31) * img_->h * img_->bps / 8; in ReallocImage() 199 aom_image_t *img_; variable 224 if (img_) { in FillFrame() 226 for (size_t i = 0; i < raw_sz_; ++i) img_->img_data[i] = rnd_.Rand8(); in FillFrame() [all …]
|
D | y4m_video_source.h | 27 : file_name_(file_name), input_file_(NULL), img_(new aom_image_t()), in Y4mVideoSource() 32 aom_img_free(img_.get()); in ~Y4mVideoSource() 67 return (frame_ < limit_) ? img_.get() : NULL; in img() 87 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); in FillFrame() 97 tmp = other->img_.release(); in SwapBuffers() 98 other->img_.reset(img_.release()); in SwapBuffers() 99 img_.reset(tmp); in SwapBuffers() 114 std::unique_ptr<aom_image_t> img_; variable
|
D | yuv_video_source.h | 31 : file_name_(file_name), input_file_(NULL), img_(NULL), start_(start), in YUVVideoSource() 40 aom_img_free(img_); in ~YUVVideoSource() 61 virtual aom_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img() 80 aom_img_free(img_); in SetSize() 81 img_ = aom_img_alloc(NULL, format, width, height, 1); in SetSize() 82 ASSERT_TRUE(img_ != NULL); in SetSize() 101 if (fread(img_->img_data, raw_size_, 1, input_file_) == 0) { in FillFrame() 109 aom_image_t *img_; variable
|
/external/webp/src/mux/ |
D | muxread.c | 77 const WebPChunk* const img = wpi->img_; in MuxImageFinalize() 142 if (wpi->img_ != NULL) goto Fail; // Only 1 image chunk allowed. in MuxImageParse() 143 if (ChunkSetHead(&subchunk, &wpi->img_) != WEBP_MUX_OK) goto Fail; in MuxImageParse() 254 if (ChunkSetHead(&chunk, &wpi->img_) != WEBP_MUX_OK) goto Err; in WebPMuxCreateInternal() 399 ChunkDiskSize(wpi->img_); in SynthesizeBitstream() 405 assert(wpi->img_ != NULL && wpi->img_->next_ == NULL); in SynthesizeBitstream() 416 dst = ChunkListEmit(wpi->img_, dst); in SynthesizeBitstream() 454 info->id = ChunkGetIdFromTag(wpi->img_->tag_); in MuxGetImageInternal()
|
D | muxinternal.c | 234 ChunkListDelete(&wpi->img_); in MuxImageRelease() 252 case WEBP_CHUNK_IMAGE: return (WebPChunk**)&wpi->img_; in GetChunkListFromId() 365 if (wpi->img_ != NULL) size += ChunkDiskSize(wpi->img_); in MuxImageDiskSize() 396 if (wpi->img_ != NULL) dst = ChunkEmit(wpi->img_, dst); in MuxImageEmit()
|
D | muxedit.c | 142 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()
|
D | muxi.h | 51 WebPChunk* img_; // Corresponds to WEBP_CHUNK_IMAGE. member
|
/external/google-breakpad/src/common/windows/ |
D | pdb_source_line_writer.cc | 111 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::__anonaa151b930211::AutoImage
|