/external/libyuv/files/util/ |
ssim.h | 28 const int image_width, const int image_height);
|
convert.cc | 31 int image_width = 0, image_height = 0; // original width and height variable 92 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); 221 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB 224 const int y_size = Abs(image_width) * Abs(image_height); 225 const int uv_size = ((Abs(image_width) + 1) / 2) * 259 printf("Size: %dx%d to %dx%d\n", image_width, image_height [all...] |
psnr_main.cc | 56 int image_width = 0, image_height = 0; variable 171 image_width = atoi(argv[++c]); // NOLINT 205 if (image_width == 0 || image_height == 0) { 217 image_width = org_width; 224 image_width = org_width; 228 image_width = rec_width; 271 distorted_frame->y = CalcSSIM(ch_org, ch_rec, image_width, image_height); 272 distorted_frame->u = CalcSSIM(u_org, u_rec, (image_width + 1) / 2, 274 distorted_frame->v = CalcSSIM(v_org, v_rec, (image_width + 1) / 2, 348 const int y_size = image_width * image_height [all...] |
ssim.cc | 272 const int image_width, const int image_height) { 275 const int KERNEL_X = (image_width < KERNEL) ? image_width : KERNEL; 276 const int start_x = start_max(image_width - 8 + KERNEL_X, KERNEL_X); 278 const int stride = image_width; 281 for (int i = 0; i < image_width; ++i) { 282 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); 291 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); 296 if (start_x < image_width) { 310 (j - KERNEL + k) * stride + image_width - kScratchWidth [all...] |
/external/libjpeg-turbo/ |
jpegcomp.h | 28 #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 | 104 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE); 112 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE); 120 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE); 128 jdiv_round_up((long) cinfo->image_width * 4L, (long) DCTSIZE); 136 jdiv_round_up((long) cinfo->image_width * 5L, (long) DCTSIZE); 144 jdiv_round_up((long) cinfo->image_width * 6L, (long) DCTSIZE); 152 jdiv_round_up((long) cinfo->image_width * 7L, (long) DCTSIZE); 160 jdiv_round_up((long) cinfo->image_width * 8L, (long) DCTSIZE); 168 jdiv_round_up((long) cinfo->image_width * 9L, (long) DCTSIZE); 176 jdiv_round_up((long) cinfo->image_width * 10L, (long) DCTSIZE) [all...] |
jccolext.c | 41 JDIMENSION num_cols = cinfo->image_width; 98 JDIMENSION num_cols = cinfo->image_width; 132 JDIMENSION num_cols = cinfo->image_width;
|
transupp.h | 175 (JDIMENSION image_width, JDIMENSION image_height, int MCU_width,
|
jcsample.c | 164 cinfo->image_width, output_cols * h_expand); 197 cinfo->max_v_samp_factor, cinfo->image_width); 200 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); 231 cinfo->image_width, output_cols * 2); 268 cinfo->image_width, output_cols * 2); 311 cinfo->image_width, output_cols * 2); 412 cinfo->image_width, output_cols);
|
rdppm.c | 150 for (col = cinfo->image_width; col > 0; col--) { 169 for (col = cinfo->image_width; col > 0; col--) { 192 for (col = cinfo->image_width; col > 0; col--) { 213 for (col = cinfo->image_width; col > 0; col--) { 251 for (col = cinfo->image_width; col > 0; col--) { 275 for (col = cinfo->image_width; col > 0; col--) { 329 cinfo->image_width = (JDIMENSION) w;
|
jdinput.c | 52 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) 104 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, 120 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, 187 jdiv_round_up((long) cinfo->image_width,
|
rdrle.c | 122 cinfo->image_width = width; 221 for (col = cinfo->image_width; col > 0; col--) { 296 for (col = 0; col < cinfo->image_width; col++) { 322 for (col = cinfo->image_width; col > 0; col--) {
|
/external/opencv3/3rdparty/libjpeg/ |
jdinput.c | 60 jdiv_round_up((long) cinfo->image_width, (long) cinfo->block_size); 68 jdiv_round_up((long) cinfo->image_width * 2L, (long) cinfo->block_size); 76 jdiv_round_up((long) cinfo->image_width * 3L, (long) cinfo->block_size); 84 jdiv_round_up((long) cinfo->image_width * 4L, (long) cinfo->block_size); 92 jdiv_round_up((long) cinfo->image_width * 5L, (long) cinfo->block_size); 100 jdiv_round_up((long) cinfo->image_width * 6L, (long) cinfo->block_size); 108 jdiv_round_up((long) cinfo->image_width * 7L, (long) cinfo->block_size); 116 jdiv_round_up((long) cinfo->image_width * 8L, (long) cinfo->block_size); 124 jdiv_round_up((long) cinfo->image_width * 9L, (long) cinfo->block_size); 132 jdiv_round_up((long) cinfo->image_width * 10L, (long) cinfo->block_size) [all...] |
jcmaster.c | 61 * but image_width and image_height can come from arbitrary data, 64 if (((long) cinfo->image_width >> 24) || ((long) cinfo->image_height >> 24)) 70 cinfo->jpeg_width = cinfo->image_width * cinfo->block_size; 77 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 2L); 85 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 3L); 93 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 4L); 101 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 5L); 109 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 6L); 117 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 7L); 125 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 8L) [all...] |
jccolor.c | 141 JDIMENSION num_cols = cinfo->image_width; 197 JDIMENSION num_cols = cinfo->image_width; 235 JDIMENSION num_cols = cinfo->image_width; 288 JDIMENSION num_cols = cinfo->image_width; 327 JDIMENSION num_cols = cinfo->image_width; 354 JDIMENSION num_cols = cinfo->image_width; 389 JDIMENSION num_cols = cinfo->image_width;
|
jcsample.c | 170 cinfo->image_width, output_cols * h_expand); 204 cinfo->max_v_samp_factor, cinfo->image_width); 206 expand_right_edge(output_data, cinfo->max_v_samp_factor, cinfo->image_width, 238 cinfo->image_width, output_cols * 2); 275 cinfo->image_width, output_cols * 2); 319 cinfo->image_width, output_cols * 2); 421 cinfo->image_width, output_cols);
|
/external/libpng/contrib/gregbook/ |
rpng-win.c | 151 static ulg image_width, image_height, image_rowbytes; variable 342 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { 497 wimage_rowbytes = ((3*image_width + 3L) >> 2) << 2; 515 bmih->biWidth = image_width; 528 for (i = image_width; i > 0; --i) { 565 CW_USEDEFAULT, CW_USEDEFAULT, image_width+extra_width, 590 image_width, image_rowbytes, wimage_rowbytes)) 603 for (i = image_width; i > 0; --i) { 612 for (i = image_width; i > 0; --i) { 640 rect.right = (LONG)image_width; /* possibly off by one? * [all...] |
rpng-x.c | 135 static ulg image_width, image_height, image_rowbytes; variable 303 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { 557 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, 579 size_hints->min_width = size_hints->max_width = (int)image_width; 634 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); 651 xdata = (uch *)malloc(4*image_width*image_height); 654 xdata = (uch *)malloc(2*image_width*image_height); 657 xdata = (uch *)malloc(image_width*image_height); 667 (char *)xdata, image_width, image_height, pad, 0); 706 image_width, image_rowbytes, ximage_rowbytes) [all...] |
/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/pdfium/third_party/libjpeg/ |
fpdfapi_jcsample.c | 159 cinfo->image_width, output_cols * h_expand); 192 cinfo->max_v_samp_factor, cinfo->image_width); 195 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); 226 cinfo->image_width, output_cols * 2); 263 cinfo->image_width, output_cols * 2); 306 cinfo->image_width, output_cols * 2); 407 cinfo->image_width, output_cols);
|
fpdfapi_jdmaster.c | 102 jdiv_round_up((long) cinfo->image_width, 8L); 109 jdiv_round_up((long) cinfo->image_width, 4L); 116 jdiv_round_up((long) cinfo->image_width, 2L); 122 cinfo->output_width = cinfo->image_width; 151 jdiv_round_up((long) cinfo->image_width * 163 cinfo->output_width = cinfo->image_width;
|
fpdfapi_jdinput.c | 47 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) 85 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, 96 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, 163 jdiv_round_up((long) cinfo->image_width,
|
/external/libjpeg-turbo/simd/ |
jsimd_i386.c | 184 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 186 mmxfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 234 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 236 mmxfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 339 jsimd_h2v2_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, 344 jsimd_h2v2_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor, 354 jsimd_h2v1_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, 359 jsimd_h2v1_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
JpegCompressor.cpp | 102 mCInfo.image_width = mAuxBuffer->width; 107 ALOGV("%s: image_width = %d, image_height = %d", __FUNCTION__, mCInfo.image_width, mCInfo.image_height);
|