HomeSort by relevance Sort by last modified time
    Searched full:image_width (Results 1 - 25 of 184) sorted by null

1 2 3 4 5 6 7 8

  /external/tensorflow/tensorflow/core/kernels/
crop_and_resize_op_gpu.cu.cc 39 int image_width, int crop_height, int crop_width, int depth,
65 (crop_width > 1) ? (x2 - x1) * (image_width - 1) / (crop_width - 1) : 0;
76 ? x1 * (image_width - 1) + x * width_scale
77 : 0.5 * (x1 + x2) * (image_width - 1);
78 if (in_x < 0 || in_x > image_width - 1) {
92 image_ptr[((b_in * image_height + top_y_index) * image_width +
97 image_ptr[((b_in * image_height + top_y_index) * image_width +
102 image_ptr[((b_in * image_height + bottom_y_index) * image_width +
107 image_ptr[((b_in * image_height + bottom_y_index) * image_width +
121 int image_width, int crop_height, int crop_width, int depth
331 const int image_width = image.dimension(2); local
362 const int image_width = grads_image.dimension(2); local
404 const int image_width = image.dimension(2); local
    [all...]
crop_and_resize_op.cc 123 // The shape of 'image' is [batch_size, image_height, image_width,
140 const int image_width = image.dim_size(2); variable
143 context, image_height > 0 && image_width > 0,
211 const int image_width = image.dimension(2); local
236 (crop_width > 1) ? (x2 - x1) * (image_width - 1) / (crop_width - 1)
257 ? x1 * (image_width - 1) + x * width_scale
258 : 0.5 * (x1 + x2) * (image_width - 1);
259 if (in_x < 0 || in_x > image_width - 1) {
358 const int image_width = internal::SubtleMustCopy(image_size_vec(2)); variable
361 context, image_height > 0 && image_width > 0
407 const int image_width = grads_image.dimension(2); local
516 const int image_width = image.dim_size(2); variable
573 const int image_width = image.dimension(2); local
    [all...]
quantized_conv_ops_test.cc 58 const int image_width = 4; local
70 {image_batch_count, image_height, image_width, depth});
119 const int expected_width = image_width;
150 const int image_width = 4; local
154 TensorShape({image_batch_count, image_height, image_width, depth}),
167 const int expected_width = image_width;
193 const int image_width = 4; local
197 TensorShape({image_batch_count, image_height, image_width, depth}),
210 const int expected_width = image_width / stride;
234 const int image_width = 4 local
278 const int image_width = 4; local
    [all...]
  /frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
AnimatedVectorDrawableParameterizedTest.java 52 private static final int IMAGE_WIDTH = 64;
86 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH,
92 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
96 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
113 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
PathInterpolatorParameterizedTest.java 48 private static final int IMAGE_WIDTH = 64;
76 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH,
82 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
86 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
103 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2);
AnimatedVectorDrawableTest.java 76 private static final int IMAGE_WIDTH = 64;
115 mBitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888);
141 mAnimatedVectorDrawable.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
144 int sunColor = mBitmap.getPixel(IMAGE_WIDTH / 2, IMAGE_HEIGHT / 2);
145 int earthColor = mBitmap.getPixel(IMAGE_WIDTH * 3 / 4 + 2, IMAGE_HEIGHT / 2);
163 final Bitmap bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_WIDTH,
169 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT);
187 int centerColor = bitmap.getPixel(IMAGE_WIDTH / 2 , IMAGE_WIDTH / 2)
    [all...]
  /external/clang/test/CodeGen/
mandel.c 11 #define IMAGE_WIDTH 150
23 #define step_X ((END_X - START_X)/IMAGE_WIDTH)
35 for (x = 0; x < IMAGE_WIDTH; ++x) {
  /packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
genJPEGStrips.cpp 51 write_JPEG_Buff(ubyte *buffPtr, int quality, int image_width, int image_height,
67 .free_in_buffer = (size_t) image_width * image_height * 3
73 cinfo.image_width = (JDIMENSION) image_width;
99 cinfo.MCUs_per_row = (JDIMENSION) image_width;
108 row_stride = image_width * cinfo.input_components; // JSAMPLEs per row in imageBuffer
126 LOGD("write_JPEG_Buff: w=%d, h=%d, r=%d, q=%d compressed to %d", image_width, image_height,
  /external/tensorflow/tensorflow/core/api_def/base_api/
api_def_CropAndResizeGradImage.pbtxt 34 A 1-D tensor with value `[batch, image_height, image_width, depth]`
35 containing the original image size. Both `image_height` and `image_width` need
42 A 4-D tensor of shape `[batch, image_height, image_width, depth]`.
api_def_CropAndResizeGradBoxes.pbtxt 12 A 4-D tensor of shape `[batch, image_height, image_width, depth]`.
13 Both `image_height` and `image_width` need to be positive.
  /external/libjpeg-turbo/
jpegcomp.h 29 #define _jpeg_width image_width
jdmaster.c 116 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE);
124 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE);
132 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE);
140 jdiv_round_up((long) cinfo->image_width * 4L, (long) DCTSIZE);
148 jdiv_round_up((long) cinfo->image_width * 5L, (long) DCTSIZE);
156 jdiv_round_up((long) cinfo->image_width * 6L, (long) DCTSIZE);
164 jdiv_round_up((long) cinfo->image_width * 7L, (long) DCTSIZE);
172 jdiv_round_up((long) cinfo->image_width * 8L, (long) DCTSIZE);
180 jdiv_round_up((long) cinfo->image_width * 9L, (long) DCTSIZE);
188 jdiv_round_up((long) cinfo->image_width * 10L, (long) DCTSIZE)
    [all...]
jccolext.c 42 JDIMENSION num_cols = cinfo->image_width;
99 JDIMENSION num_cols = cinfo->image_width;
133 JDIMENSION num_cols = cinfo->image_width;
  /external/libyuv/files/util/
yuvconvert.cc 31 int image_width = 0, image_height = 0; // original width and height variable
94 image_width = atoi(argv[++c]); // NOLINT
135 if (image_width == 0 || image_height == 0) {
137 image_width = org_width;
140 image_width = rec_width;
152 dst_width = Abs(image_width);
224 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB
227 const int y_size = Abs(image_width) * Abs(image_height);
229 ((Abs(image_width) + 1) / 2) * ((Abs(image_height) + 1) / 2);
262 printf("Size: %dx%d to %dx%d\n", image_width, image_height, dst_width
    [all...]
ssim.h 29 const int image_width,
psnr_main.cc 56 int image_width = 0, image_height = 0; variable
176 image_width = atoi(argv[++c]); // NOLINT
210 if (image_width == 0 || image_height == 0) {
220 image_width = org_width;
227 image_width = org_width;
231 image_width = rec_width;
278 distorted_frame->y = CalcSSIM(ch_org, ch_rec, image_width, image_height);
280 CalcSSIM(u_org, u_rec, (image_width + 1) / 2, (image_height + 1) / 2);
282 CalcSSIM(v_org, v_rec, (image_width + 1) / 2, (image_height + 1) / 2);
355 const int y_size = image_width * image_height
    [all...]
ssim.cc 297 const int image_width,
301 const int KERNEL_X = (image_width < KERNEL) ? image_width : KERNEL;
302 const int start_x = start_max(image_width - 8 + KERNEL_X, KERNEL_X);
304 const int stride = image_width;
307 for (int i = 0; i < image_width; ++i) {
308 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride);
317 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride);
322 if (start_x < image_width) {
336 (j - KERNEL + k) * stride + image_width - kScratchWidth
    [all...]
  /external/pdfium/core/fpdfapi/page/
cpdf_devicecs.h 27 int image_width,
  /packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/
genPCLm.h 27 extern void write_JPEG_Buff(ubyte *outBuff, int quality, int image_width, int image_height,
  /hardware/libhardware/modules/camera/3_4/arc/
jpeg_compressor.cpp 125 cinfo->image_width = width;
152 size_t y_plane_size = cinfo->image_width * cinfo->image_height;
157 std::unique_ptr<uint8_t[]> empty(new uint8_t[cinfo->image_width]);
158 memset(empty.get(), 0, cinfo->image_width);
164 y[i] = y_plane + scanline * cinfo->image_width;
173 int offset = scanline * (cinfo->image_width / 2);
  /external/autotest/client/site_tests/firmware_TouchMTB/
report_html.py 22 def __init__(self, image_width, image_height, score_colors):
49 ''' % (image_width, image_height))
137 self.image_width = self.screen_size[0] * 0.5
139 self.image_height = self.image_width / touch_width * touch_height
140 self.doc = TemplateHtml(self.image_width, self.image_height,
  /external/tensorflow/tensorflow/contrib/lite/examples/label_image/
bitmap_helpers_impl.h 37 void resize(T* out, uint8_t* in, int image_height, int image_width,
40 int number_of_pixels = image_height * image_width * image_channels;
57 {1, image_height, image_width, image_channels}, quant);
  /external/tensorflow/tensorflow/examples/ios/simple/
RunModelViewController.mm 168 int image_width;
172 [image_path UTF8String], &image_width, &image_height, &image_channels);
185 // tensorflow::uint8* in_end = (in + (image_height * image_width * image_channels));
189 tensorflow::uint8* in_row = in + (in_y * image_width * image_channels);
192 const int in_x = (x * image_width) / wanted_width;
203 label_strings.size(), label_strings[0].c_str(), image_width, image_height];
  /external/tensorflow/tensorflow/examples/multibox_detector/
main.cc 232 void DrawBox(const int image_width, const int image_height, int left, int top,
239 left = std::max(0, std::min(image_width - 1, left));
240 right = std::max(0, std::min(image_width - 1, right));
245 image_ref((top * image_width + x) * 3 + i) = val;
246 image_ref((bottom * image_width + x) * 3 + i) = val;
249 image_ref((y * image_width + left) * 3 + i) = val;
250 image_ref((y * image_width + right) * 3 + i) = val;
288 const int image_width = original_tensor->shape().dim_size(1); local
302 float left = decoded_location[0] * image_width;
304 float right = decoded_location[2] * image_width;
    [all...]
  /external/libjpeg-turbo/simd/
jcsample-altivec.c 30 jsimd_h2v1_downsample_altivec (JDIMENSION image_width, int max_v_samp_factor,
49 expand_right_edge(input_data, max_v_samp_factor, image_width,
86 jsimd_h2v2_downsample_altivec (JDIMENSION image_width, int max_v_samp_factor,
106 expand_right_edge(input_data, max_v_samp_factor, image_width,

Completed in 790 milliseconds

1 2 3 4 5 6 7 8