/external/tensorflow/tensorflow/core/kernels/ |
D | ops_util_test.cc | 46 int new_width; member 73 int64_t new_height, new_width, pad_rows, pad_cols; in VerifyGet2dOutputSizeBoundaries() local 81 pad_struct.input.col_stride, pad_struct.input.padding, &new_width, in VerifyGet2dOutputSizeBoundaries() 88 int64_t new_height, new_width, pad_rows, pad_cols; in VerifyGet2dOutputSizeValues() local 96 pad_struct.input.col_stride, pad_struct.input.padding, &new_width, in VerifyGet2dOutputSizeValues() 100 EXPECT_EQ(pad_struct.output.new_width, new_width); in VerifyGet2dOutputSizeValues() 107 int64_t new_height, new_width, pad_top, pad_bottom, pad_left, pad_right; in VerifyGet2dOutputVerboseSizeValues() local 115 pad_struct.input.col_stride, pad_struct.input.padding, &new_width, in VerifyGet2dOutputVerboseSizeValues() 119 EXPECT_EQ(pad_struct.output.new_width, new_width); in VerifyGet2dOutputVerboseSizeValues()
|
/external/XNNPACK/src/subgraph/ |
D | static-resize-bilinear-2d.c | 194 size_t new_width, in xnn_define_static_resize_bilinear_2d() argument 204 if (new_width == 0 || new_height == 0) { in xnn_define_static_resize_bilinear_2d() 207 xnn_node_type_to_string(xnn_node_type_static_resize_bilinear_2d), new_width, new_height); in xnn_define_static_resize_bilinear_2d() 211 if (max(new_width, new_height) >= 16777216) { in xnn_define_static_resize_bilinear_2d() 214 xnn_node_type_to_string(xnn_node_type_static_resize_bilinear_2d), new_width, new_height); in xnn_define_static_resize_bilinear_2d() 326 node->params.static_resize.new_width = new_width; in xnn_define_static_resize_bilinear_2d()
|
/external/chromium-crossbench/crossbench/browsers/firefox/ |
D | firefox.py | 83 new_width, new_height = 0, 0 85 new_width, new_height = self.viewport.size 89 new_width = int(flags["--width"]) 101 self.viewport = Viewport(new_width, new_height)
|
/external/libchrome/ui/gfx/geometry/ |
D | rect_f.cc | 167 float new_width = width(); in AdjustToFit() local 169 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit() 171 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit() 179 float new_width = std::min(width(), size.width()); in ClampToCenteredSize() local 181 float new_x = x() + (width() - new_width) / 2; in ClampToCenteredSize() 183 SetRect(new_x, new_y, new_width, new_height); in ClampToCenteredSize()
|
D | rect.cc | 241 int new_width = width(); in AdjustToFit() local 243 AdjustAlongAxis(rect.x(), rect.width(), &new_x, &new_width); in AdjustToFit() 245 SetRect(new_x, new_y, new_width, new_height); in AdjustToFit() 253 int new_width = std::min(width(), size.width()); in ClampToCenteredSize() local 255 int new_x = x() + (width() - new_width) / 2; in ClampToCenteredSize() 257 SetRect(new_x, new_y, new_width, new_height); in ClampToCenteredSize()
|
/external/armnn/python/pyarmnn/examples/common/ |
D | cv_utils.py | 70 new_height, new_width = int(model_width / aspect_ratio), model_width 73 new_height, new_width = model_height, int(model_height * aspect_ratio) 74 b_padding, r_padding = 0, model_width - new_width 77 frame = cv2.resize(frame, (new_width, new_height), interpolation=cv2.INTER_LINEAR)
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ResizeNearestNeighbor.pbtxt | 12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The 20 `[batch, new_height, new_width, channels]`.
|
D | api_def_QuantizedResizeBilinear.pbtxt | 12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The 20 `[batch, new_height, new_width, channels]`.
|
D | api_def_ResizeBilinear.pbtxt | 12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The 20 `[batch, new_height, new_width, channels]`.
|
D | api_def_ResizeBicubic.pbtxt | 12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The 20 `[batch, new_height, new_width, channels]`.
|
D | api_def_ImageProjectiveTransformV2.pbtxt | 21 1-D Tensor [new_height, new_width]. 28 `[batch, new_height, new_width, channels]`.
|
D | api_def_ResizeArea.pbtxt | 12 = A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The 20 `[batch, new_height, new_width, channels]`.
|
D | api_def_ImageProjectiveTransformV3.pbtxt | 21 1-D Tensor [new_height, new_width]. 34 `[batch, new_height, new_width, channels]`.
|
D | api_def_FusedResizeAndPadConv2D.pbtxt | 12 A 1-D int32 Tensor of 2 elements: `new_height, new_width`. The
|
/external/libaom/av1/encoder/ |
D | palette.c | 181 int new_width, int new_height) { in extend_palette_color_map() argument 183 assert(new_width >= orig_width); in extend_palette_color_map() 185 if (new_width == orig_width && new_height == orig_height) return; in extend_palette_color_map() 188 memmove(color_map + j * new_width, color_map + j * orig_width, orig_width); in extend_palette_color_map() 190 memset(color_map + j * new_width + orig_width, in extend_palette_color_map() 191 color_map[j * new_width + orig_width - 1], new_width - orig_width); in extend_palette_color_map() 195 memcpy(color_map + j * new_width, color_map + (orig_height - 1) * new_width, in extend_palette_color_map() 196 new_width); in extend_palette_color_map()
|
D | saliency_map.c | 192 const int new_width = width / 2; in decimate_map() local 212 downsampled_map[(y / 2) * new_width + (x / 2)] = in decimate_map() 355 int new_width = width[i]; in gaussian_pyramid() local 359 (double *)aom_malloc(new_width * new_height * sizeof(*gaussian_map[i])); in gaussian_pyramid() 368 memset(gaussian_map[i], 0, new_width * new_height * sizeof(double)); in gaussian_pyramid() 409 int new_width = width[i]; in gaussian_pyramid_rgb() local 412 gaussian_map[k][i] = (double *)aom_malloc(new_width * new_height * in gaussian_pyramid_rgb() 420 memset(gaussian_map[k][i], 0, new_width * new_height * sizeof(double)); in gaussian_pyramid_rgb() 546 int new_width = width[i]; in get_feature_map_orientation() local 550 (double *)aom_malloc(new_width * new_height * sizeof(*gaussian_map[i])); in get_feature_map_orientation() [all …]
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | image_data.h | 140 const int new_width = in GetPyramidSqrt2Level() local 146 pyramid_sqrt2_[level] = new Image<uint8_t>(new_width, new_height); in GetPyramidSqrt2Level()
|
D | image-inl.h | 116 const int new_width = right - left + 1; in Crop() local 119 Image<T>* const cropped_image = new Image(new_width, new_height); in Crop() 123 new_width * sizeof(T)); in Crop()
|
D | object_tracker_jni.cc | 445 const int new_width = (width + factor - 1) / factor; in OBJECT_TRACKER_METHOD() local 449 new_width, new_height, reinterpret_cast<uint8_t*>(output_array), false); in OBJECT_TRACKER_METHOD()
|
/external/executorch/backends/xnnpack/operators/ |
D | op_static_resize_bilinear_2d.py | 54 new_width=new_size[1],
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | winograd.cc | 228 int new_width = in GetGridSize() local 232 int tiles_x = DivideRoundUp(new_width, 4); in GetGridSize() 238 int new_width = in BindArguments() local 242 int tiles_x = DivideRoundUp(new_width, 4); in BindArguments()
|
/external/flatbuffers/rust/flexbuffers/src/builder/ |
D | value.rs | 163 pub fn set_child_width_or_panic(&mut self, new_width: BitWidth) { in set_child_width_or_panic() 165 *child_width = new_width; in set_child_width_or_panic()
|
/external/XNNPACK/test/ |
D | static-resize-bilinear-2d.cc | 117 ASSERT_EQ(node->params.static_resize.new_width, output_width); in TEST_F() 156 ASSERT_EQ(node->params.static_resize.new_width, output_width); in TEST_F() 195 ASSERT_EQ(node->params.static_resize.new_width, output_width); in TEST_F()
|
/external/pdfium/core/fxcrt/ |
D | fx_coordinates.h | 57 constexpr CFX_STemplate(BaseType new_width, BaseType new_height) in CFX_STemplate() argument 58 : width(new_width), height(new_height) {} in CFX_STemplate()
|
/external/python/cpython3/Lib/idlelib/ |
D | sidebar.py | 343 new_width = cur_width + width_difference 344 self.sidebar_text['width'] = self._sidebar_width_type(new_width)
|