Home
last modified time | relevance | path

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

1234

/external/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java164 int resized = maxPrimary; in getResizedDimension() local
168 if ((resized * ratio) < maxSecondary) { in getResizedDimension()
169 resized = (int) (maxSecondary / ratio); in getResizedDimension()
171 return resized; in getResizedDimension()
174 if ((resized * ratio) > maxSecondary) { in getResizedDimension()
175 resized = (int) (maxSecondary / ratio); in getResizedDimension()
177 return resized; in getResizedDimension()
/external/elfutils/libdwfl/
Dsegment.c168 bool resized = false; in reify_segments() local
177 resized = true; in reify_segments()
186 resized = true; in reify_segments()
195 resized = true; in reify_segments()
205 resized = true; in reify_segments()
226 if (resized && idx - 1 >= highest) in reify_segments()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_st.c206 boolean resized; in xmesa_st_framebuffer_validate() local
223 resized = (xstfb->buffer->width != xstfb->texture_width || in xmesa_st_framebuffer_validate()
227 if (resized || new_mask) { in xmesa_st_framebuffer_validate()
233 if (!resized) { in xmesa_st_framebuffer_validate()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp202 SkAutoPixmapStorage resized; in MakeFromYUVAPixmaps() local
212 if (!resized.tryAlloc(info) || in MakeFromYUVAPixmaps()
213 !yuvaPixmaps[i].scalePixels(resized, kLow_SkFilterQuality)) { in MakeFromYUVAPixmaps()
216 pixmap = &resized; in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp511 SkAutoPixmapStorage resized; in MakeCrossContextFromPixmap() local
519 if (!resized.tryAlloc(info) || !originalPixmap.scalePixels(resized, kLow_SkFilterQuality)) { in MakeCrossContextFromPixmap()
522 pixmap = &resized; in MakeCrossContextFromPixmap()
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dclassifier_metrics_impl.py146 resized = image_ops.resize_bilinear(images, [height, width])
147 resized = (resized - 128.0) / 128.0
149 resized = array_ops.squeeze(resized, axis=0)
150 return resized
/external/skia/src/image/
DSkImage_GpuYUVA.cpp224 SkAutoPixmapStorage resized; in MakeFromYUVAPixmaps() local
234 if (!resized.tryAlloc(info) || in MakeFromYUVAPixmaps()
235 !yuvaPixmaps[i].scalePixels(resized, kLow_SkFilterQuality)) { in MakeFromYUVAPixmaps()
238 pixmap = &resized; in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp536 SkAutoPixmapStorage resized; in MakeCrossContextFromPixmap() local
544 if (!resized.tryAlloc(info) || !originalPixmap.scalePixels(resized, kLow_SkFilterQuality)) { in MakeCrossContextFromPixmap()
547 pixmap = &resized; in MakeCrossContextFromPixmap()
/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/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.cc165 auto resized = ResizeBilinear( in ReadTensorFromImageFile() local
169 Div(root.WithOpName(output_name), Sub(root, resized, {input_mean}), in ReadTensorFromImageFile()
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_test.py421 resized = gen_image_ops.resize_nearest_neighbor(
423 out = sess.run(resized, {image: image_np[np.newaxis, :, :, np.newaxis]})
529 resized = gen_image_ops.resize_bilinear(
531 out = sess.run(resized, {image: image_np[np.newaxis, :, :, np.newaxis]})
550 resized = gen_image_ops.resize_bilinear_grad(
554 out = sess.run(resized, {grads: grads_np[np.newaxis, :, :, np.newaxis]})
727 resized = gen_image_ops.resize_bilinear(
729 out = sess.run(resized, {image: input_image[:, :, :, np.newaxis]})
/external/mesa3d/src/gallium/state_trackers/dri/
Ddrisw.c271 boolean resized; in drisw_allocate_textures() local
277 resized = (drawable->old_w != width || in drisw_allocate_textures()
281 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
70 bounding box locations in `boxes`. The cropped boxes are all resized (with
Dapi_def_ResizeBilinearGrad.pbtxt14 The image tensor that was resized.
Dapi_def_ResizeBicubicGrad.pbtxt14 The image tensor that was resized.
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py2295 resized, newshape = self.evaluate([y, yshape])
2298 self.assertAllClose(resized, img_np, atol=1e-5)
2329 resized, newshape = sess.run([y, yshape], {new_size: [6, 4]})
2332 self.assertAllClose(resized, img_np, atol=1e-5)
2340 resized, newshape = sess.run([y, yshape], {new_size: [6, 4]})
2343 self.assertAllClose(resized, img_single, atol=1e-5)
2414 resized, newshape = self.evaluate([y, yshape])
2417 self.assertAllClose(resized, img_np, atol=1e-5)
2448 resized = self.evaluate(y)
2449 self.assertAllClose(resized, expected, atol=1e-5)
[all …]
Dimage_ops_impl.py917 resized = pad_to_bounding_box(cropped, offset_pad_height, offset_pad_width,
921 if resized.get_shape().ndims is None:
924 _, resized_height, resized_width, _ = _ImageDimensions(resized, rank=4)
934 resized = control_flow_ops.with_dependencies(assert_ops, resized)
937 resized = array_ops.squeeze(resized, axis=[0])
939 return resized
1312 resized = resize_fn(image, [resized_height, resized_width])
1314 padded = pad_to_bounding_box(resized, p_height, p_width, target_height,
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLX509Certificate.java353 final boolean[] resized = new boolean[9]; in getKeyUsage()
354 System.arraycopy(kusage, 0, resized, 0, kusage.length); in getKeyUsage()
355 return resized; in getKeyUsage()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509Certificate.java349 final boolean[] resized = new boolean[9]; in getKeyUsage()
350 System.arraycopy(kusage, 0, resized, 0, kusage.length); in getKeyUsage()
351 return resized; in getKeyUsage()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.h77 int resized, int svc_refresh_denoiser_buffers, int second_spatial_layer);
/external/mesa3d/docs/specs/OLD/
DMESA_resize_buffers.spec57 determines that a window has been resized. Calling
/external/e2fsprogs/tests/r_inline_xattr/
Dscript27 # Look at inline extended attribute in resized fs
/external/tensorflow/tensorflow/core/ops/
Dnn_ops.cc349 ShapeHandle resized = input; in CommonFusedConvCalculations() local
366 TF_RETURN_IF_ERROR(c->ReplaceDim(resized, 1, new_height, &resized)); in CommonFusedConvCalculations()
367 TF_RETURN_IF_ERROR(c->ReplaceDim(resized, 2, new_width, &resized)); in CommonFusedConvCalculations()
373 c->WithRank(resized, c->Value(c->Dim(paddings, 0)), &resized)); in CommonFusedConvCalculations()
375 c->Merge(paddings, c->Matrix(c->Rank(resized), 2), &paddings)); in CommonFusedConvCalculations()
382 DimensionHandle dim = c->Dim(resized, i); in CommonFusedConvCalculations()

1234