/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | image_decoder.cc | 34 std::optional<uint32_t> target_height) { in GetResizedDimensions() argument 39 if (target_width && target_height) { in GetResizedDimensions() 40 return SkISize::Make(target_width.value(), target_height.value()); in GetResizedDimensions() 51 if (target_height) { in GetResizedDimensions() 52 return SkISize::Make(target_height.value() * aspect_ratio, in GetResizedDimensions() 53 target_height.value()); in GetResizedDimensions() 61 std::optional<uint32_t> target_height, in ResizeRasterImage() argument 66 GetResizedDimensions(image->dimensions(), target_width, target_height); in ResizeRasterImage() 114 std::optional<uint32_t> target_height, in ImageFromDecompressedData() argument 125 return ResizeRasterImage(std::move(image), target_width, target_height, flow); in ImageFromDecompressedData() [all …]
|
D | image_decoder_unittests.cc | 327 std::optional<uint32_t> target_height) -> SkISize { in TEST_F() argument 332 image_descriptor.target_height = target_height; in TEST_F() 412 std::optional<uint32_t> target_height) -> SkISize { in TEST_F() argument 417 image_descriptor.target_height = target_height; in TEST_F()
|
D | image_decoder.h | 48 std::optional<uint32_t> target_height; member
|
D | codec.cc | 219 descriptor.target_height = targetHeight; in InstantiateImageCodec()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/ |
D | soft_dvpp_decode_resize_jpeg_op.h | 31 SoftDvppDecodeResizeJpegOp(int32_t target_height, int32_t target_width) in SoftDvppDecodeResizeJpegOp() argument 32 : target_height_(target_height), target_width_(target_width) {} in SoftDvppDecodeResizeJpegOp()
|
D | soft_dvpp_decode_random_crop_resize_jpeg_op.cc | 28 SoftDvppDecodeRandomCropResizeJpegOp::SoftDvppDecodeRandomCropResizeJpegOp(int32_t target_height, i… in SoftDvppDecodeRandomCropResizeJpegOp() argument 32 : target_height_(target_height), in SoftDvppDecodeRandomCropResizeJpegOp()
|
D | soft_dvpp_decode_random_crop_resize_jpeg_op.h | 40 …SoftDvppDecodeRandomCropResizeJpegOp(int32_t target_height, int32_t target_width, float scale_lb =…
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | random_crop_and_resize_with_bbox_op.h | 28 …RandomCropAndResizeWithBBoxOp(int32_t target_height, int32_t target_width, float scale_lb = kDefSc… 32 …: RandomCropAndResizeOp(target_height, target_width, scale_lb, scale_ub, aspect_lb, aspect_ub, int… in RandomCropAndResizeOp() argument
|
D | random_crop_decode_resize_op.cc | 24 RandomCropDecodeResizeOp::RandomCropDecodeResizeOp(int32_t target_height, int32_t target_width, flo… in RandomCropDecodeResizeOp() argument 27 …: RandomCropAndResizeOp(target_height, target_width, scale_lb, scale_ub, aspect_lb, aspect_ub, int… in RandomCropDecodeResizeOp()
|
D | random_crop_and_resize_op.cc | 33 RandomCropAndResizeOp::RandomCropAndResizeOp(int32_t target_height, int32_t target_width, float sca… in RandomCropAndResizeOp() argument 36 : target_height_(target_height), in RandomCropAndResizeOp()
|
D | random_crop_decode_resize_op.h | 34 …RandomCropDecodeResizeOp(int32_t target_height, int32_t target_width, float scale_lb = kDefScaleLb,
|
D | random_crop_and_resize_op.h | 41 RandomCropAndResizeOp(int32_t target_height, int32_t target_width, float scale_lb = kDefScaleLb,
|
D | bounding_box.h | 126 … int32_t target_height, int32_t orig_width, int32_t orig_height);
|
D | bounding_box.cc | 196 … int32_t target_height, int32_t orig_width, int32_t orig_height) { in UpdateBBoxesForResize() argument 203 bbox_float H_aspRatio = (target_height * 1.0) / (orig_height * 1.0); in UpdateBBoxesForResize()
|
D | image_utils.cc | 661 … int crop_height, int crop_width, int target_height, int target_width, InterpolationMode mode) { in CropAndResize() argument 670 …if (crop_height == 0 || crop_width == 0 || target_height == 0 || target_height > crop_height * kCr… in CropAndResize() 675 … crop_width: " + std::to_string(crop_width) + ", target_height: " + std::to_string(target_height) + in CropAndResize() 689 TensorShape new_shape = TensorShape({target_height, target_width, 3}); in CropAndResize() 692 …imOut.Init(target_width, target_height, input_cv->shape()[2], reinterpret_cast<void *>(buffer), LD… in CropAndResize() 695 if (ResizeCubic(imIn, imOut, target_width, target_height) == false) { in CropAndResize() 702 TensorShape shape{target_height, target_width}; in CropAndResize() 707 cv::resize(cv_in(roi), cvt_out->mat(), cv::Size(target_width, target_height), 0, 0, cv_mode); in CropAndResize()
|
D | image_utils.h | 189 … int crop_height, int crop_width, int target_height, int target_width, InterpolationMode mode);
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | random_crop_decode_resize_op_test.cc | 41 constexpr int target_height = 884; in TEST_F() local 50 …auto crop_and_decode = RandomCropDecodeResizeOp(target_height, target_width, scale_lb, scale_ub, a… in TEST_F() 70 for (int i = 0; i < target_height; i++) { in TEST_F()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | swapchain9.c | 726 int target_width, target_height, target_depth, i; in present() local 771 …ent_GetWindowInfo(This->present, hDestWindowOverride, &target_width, &target_height, &target_depth… in present() 778 if (FAILED(hr) || target_width == 0 || target_height == 0 || in present() 781 target_height = resource->height0; in present() 787 dest_rect.bottom = MIN2(target_height, dest_rect.bottom); in present() 789 target_height = dest_rect.bottom - dest_rect.top; in present() 800 (target_width != resource->width0 || target_height != resource->height0)) { in present() 807 … create_present_buffer(This, target_width, target_height, &new_resource[i], &new_handles[i]); in present() 845 target_height != This->present_buffers[0]->height0) { in present() 849 create_present_buffer(This, target_width, target_height, &new_resource, &new_handle); in present()
|