/external/libyuv/files/util/ |
ssim.h | 29 const int image_width,
|
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...] |
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...] |
/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,
|
/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/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...] |
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...] |
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...] |
conv_ops_test.cc | 96 const int image_width = 4; local 104 {image_batch_count, image_height, image_width, depth}); 116 const int resized_width = image_width; 151 const int expected_width = image_width; 366 const int image_width = 4; local 374 {image_batch_count, image_height, image_width, depth}); 409 const int expected_width = image_width; 431 const int image_width = 6; local 435 {image_batch_count, image_height, image_width, depth});
|
/external/libjpeg-turbo/ |
jpegcomp.h | 29 #define _jpeg_width image_width
|
example.c | 63 extern int image_width; /* Number of columns in image */ 125 cinfo.image_width = image_width; /* image width and height, in pixels */ 154 row_stride = image_width * 3; /* JSAMPLEs per row in image_buffer */
|
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...] |
/external/pdfium/core/fpdfapi/page/ |
cpdf_devicecs.h | 27 int image_width,
|
/external/tensorflow/tensorflow/contrib/lite/examples/label_image/ |
bitmap_helpers.h | 29 void resize(T* out, uint8_t* in, int image_height, int image_width,
|
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/contrib/lite/kernels/ |
conv_test.cc | 173 const int image_width = 4; local 184 {image_batch_count, image_height, image_width, depth}}, 227 const int image_width = 4; local 238 {image_batch_count, image_height, image_width, depth}}, 281 const int image_width = 4; local 292 {image_batch_count, image_height, image_width, depth}}, 337 const int image_width = 4; local 348 {image_batch_count, image_height, image_width, depth}},
|
/external/libpng/contrib/gregbook/ |
rpng-win.c | 152 static ulg image_width, image_height, image_rowbytes; variable 343 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { 498 wimage_rowbytes = ((3*image_width + 3L) >> 2) << 2; 522 bmih->biWidth = image_width; 535 for (i = image_width; i > 0; --i) { 572 CW_USEDEFAULT, CW_USEDEFAULT, image_width+extra_width, 597 image_width, image_rowbytes, wimage_rowbytes)) 610 for (i = image_width; i > 0; --i) { 619 for (i = image_width; i > 0; --i) { 647 rect.right = (LONG)image_width; /* possibly off by one? * [all...] |
rpng-x.c | 136 static ulg image_width, image_height, image_rowbytes; variable 304 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { 558 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, 580 size_hints->min_width = size_hints->max_width = (int)image_width; 635 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); 652 xdata = (uch *)malloc(4*image_width*image_height); 655 xdata = (uch *)malloc(2*image_width*image_height); 658 xdata = (uch *)malloc(image_width*image_height); 668 (char *)xdata, image_width, image_height, pad, 0); 707 image_width, image_rowbytes, ximage_rowbytes) [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,
|
/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/autotest/client/site_tests/policy_ImagesAllowedForUrls/ |
policy_ImagesAllowedForUrls.py | 81 image_width = tab.EvaluateJavaScript( 83 return image_width < self.MINIMUM_IMAGE_WIDTH
|
/external/autotest/client/site_tests/policy_ImagesBlockedForUrls/ |
policy_ImagesBlockedForUrls.py | 80 image_width = tab.EvaluateJavaScript( 82 return image_width < self.MINIMUM_IMAGE_WIDTH
|
/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/libxcam/tests/ |
test-pipe-manager.cpp | 66 void set_image_width (uint32_t image_width) { 67 _image_width = image_width; 206 uint32_t image_width = 1920; local 253 image_width = atoi (optarg); 380 pipe_manager->set_image_width (image_width); 413 cl_post_processor->set_scaler_factor (640.0 / image_width); 418 buf_info.init (pixel_format, image_width, image_height);
|