Home
last modified time | relevance | path

Searched refs:resized (Results 1 – 25 of 74) sorted by relevance

123

/external/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java142 int resized = maxPrimary; in getResizedDimension() local
146 if ((resized * ratio) < maxSecondary) { in getResizedDimension()
147 resized = (int) (maxSecondary / ratio); in getResizedDimension()
149 return resized; in getResizedDimension()
152 if ((resized * ratio) > maxSecondary) { in getResizedDimension()
153 resized = (int) (maxSecondary / ratio); in getResizedDimension()
155 return resized; in getResizedDimension()
/external/elfutils/libdwfl/
Dsegment.c164 bool resized = false; in reify_segments() local
173 resized = true; in reify_segments()
182 resized = true; in reify_segments()
191 resized = true; in reify_segments()
201 resized = true; in reify_segments()
222 if (resized && idx - 1 >= highest) in reify_segments()
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dclassifier_metrics_impl.py138 resized = image_ops.resize_bilinear(images, [height, width])
139 resized = (resized - 128.0) / 128.0
141 resized = array_ops.squeeze(resized, axis=0)
142 return resized
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_st.c205 boolean resized; in xmesa_st_framebuffer_validate() local
222 resized = (xstfb->buffer->width != xstfb->texture_width || in xmesa_st_framebuffer_validate()
226 if (resized || new_mask) { in xmesa_st_framebuffer_validate()
232 if (!resized) { in xmesa_st_framebuffer_validate()
/external/mesa3d/src/gallium/state_trackers/hgl/
Dhgl.c158 boolean resized; in hgl_st_framebuffer_validate() local
176 resized = (buffer->width != context->width) in hgl_st_framebuffer_validate()
179 if (resized || newMask) { in hgl_st_framebuffer_validate()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py803 resized = pad_to_bounding_box(cropped, offset_pad_height, offset_pad_width,
807 if resized.get_shape().ndims is None:
810 _, resized_height, resized_width, _ = _ImageDimensions(resized, rank=4)
820 resized = control_flow_ops.with_dependencies(assert_ops, resized)
823 resized = array_ops.squeeze(resized, squeeze_dims=[0])
825 return resized
Dimage_ops_test.py2098 resized, newshape = sess.run([y, yshape])
2100 self.assertAllClose(resized, img_np, atol=1e-5)
2130 resized, newshape = sess.run([y, yshape], {new_size: [6, 4]})
2132 self.assertAllClose(resized, img_np, atol=1e-5)
2140 resized, newshape = sess.run([y, yshape], {new_size: [6, 4]})
2142 self.assertAllClose(resized, img_single, atol=1e-5)
2212 resized, newshape = sess.run([y, yshape])
2214 self.assertAllClose(resized, img_np, atol=1e-5)
2244 resized = y.eval()
2245 self.assertAllClose(resized, expected, atol=1e-5)
[all …]
/external/deqp/doc/testspecs/EGL/
Dfunctional.resize.txt34 Checks for EGL surface behavior when the surface's native window is resized by external means.
41 a test image on it. The native window is resized, and the back buffer is
/external/tensorflow/tensorflow/examples/label_image/
Dlabel_image.py59 resized = tf.image.resize_bilinear(dims_expander, [input_height, input_width])
60 normalized = tf.divide(tf.subtract(resized, [input_mean]), [input_std])
Dmain.cc164 auto resized = ResizeBilinear( in ReadTensorFromImageFile() local
168 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile()
/external/mesa3d/src/gallium/state_trackers/dri/
Ddrisw.c270 boolean resized; in drisw_allocate_textures() local
276 resized = (drawable->old_w != width || in drisw_allocate_textures()
280 if (resized) { in drisw_allocate_textures()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_CropAndResize.pbtxt36 cropped image patches are resized to this size. The aspect ratio of the image
67 bounding box locations in `boxes`. The cropped boxes are all resized (with
Dapi_def_ResizeBicubicGrad.pbtxt14 The image tensor that was resized.
Dapi_def_ResizeBilinearGrad.pbtxt14 The image tensor that was resized.
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509Certificate.java351 final boolean[] resized = new boolean[9]; in getKeyUsage()
352 System.arraycopy(kusage, 0, resized, 0, kusage.length); in getKeyUsage()
353 return resized; in getKeyUsage()
/external/tensorflow/tensorflow/core/ops/
Dnn_ops.cc324 ShapeHandle resized = input; in CommonFusedConvCalculations() local
341 TF_RETURN_IF_ERROR(c->ReplaceDim(resized, 1, new_height, &resized)); in CommonFusedConvCalculations()
342 TF_RETURN_IF_ERROR(c->ReplaceDim(resized, 2, new_width, &resized)); in CommonFusedConvCalculations()
348 c->WithRank(resized, c->Value(c->Dim(paddings, 0)), &resized)); in CommonFusedConvCalculations()
350 c->Merge(paddings, c->Matrix(c->Rank(resized), 2), &paddings)); in CommonFusedConvCalculations()
357 DimensionHandle dim = c->Dim(resized, i); in CommonFusedConvCalculations()
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_test.py412 resized = gen_image_ops.resize_bilinear(
414 out = sess.run(resized, {image: image_np[np.newaxis, :, :, np.newaxis]})
429 resized = gen_image_ops._resize_bilinear_grad(
433 out = sess.run(resized, {grads: grads_np[np.newaxis, :, :, np.newaxis]})
/external/annotation-tools/asmx/src/org/objectweb/asm/
DLabel.java58 boolean resized; field in Label
DMethodWriter.java2071 if (!labels[i].resized) { in resizeInstructions()
2076 labels[i].resized = true; in resizeInstructions()
2196 if (!label.resized) { in getNewOffset()
2198 label.resized = true; in getNewOffset()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.h75 int alt_fb_idx, int gld_fb_idx, int lst_fb_idx, int resized,
/external/ImageMagick/coders/
Dicon.c164 *resized, in AutoResizeImage() local
201 resized=ResizeImage(image,sizes[i],sizes[i],image->filter,exception); in AutoResizeImage()
202 if (resized == (Image *) NULL) in AutoResizeImage()
206 images=resized; in AutoResizeImage()
208 AppendImageToList(&images,resized); in AutoResizeImage()
/external/mesa3d/docs/specs/OLD/
DMESA_resize_buffers.spec57 determines that a window has been resized. Calling
/external/e2fsprogs/tests/r_inline_xattr/
Dscript25 # Look at inline extended attribute in resized fs
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc112 auto resized = ResizeBilinear( in ReadTensorFromImageFile() local
116 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile()
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc1079 bool resized = false; in ScreenUpdateProcess() local
1085 resized = true; in ScreenUpdateProcess()
1095 resized = true; in ScreenUpdateProcess()
1098 if (resized) in ScreenUpdateProcess()

123