/external/libyuv/files/util/ |
ssim.h | 29 const int image_width,
|
convert.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/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...] |
jccolext.c | 42 JDIMENSION num_cols = cinfo->image_width; 99 JDIMENSION num_cols = cinfo->image_width; 133 JDIMENSION num_cols = cinfo->image_width;
|
transupp.h | 176 (JDIMENSION image_width, JDIMENSION image_height, int MCU_width,
|
jcsample.c | 166 cinfo->image_width, output_cols * h_expand); 199 cinfo->max_v_samp_factor, cinfo->image_width); 202 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); 233 cinfo->image_width, output_cols * 2); 270 cinfo->image_width, output_cols * 2); 313 cinfo->image_width, output_cols * 2); 414 cinfo->image_width, output_cols);
|
rdppm.c | 151 for (col = cinfo->image_width; col > 0; col--) { 170 for (col = cinfo->image_width; col > 0; col--) { 193 for (col = cinfo->image_width; col > 0; col--) { 214 for (col = cinfo->image_width; col > 0; col--) { 253 for (col = cinfo->image_width; col > 0; col--) { 280 for (col = cinfo->image_width; col > 0; col--) { 340 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 | 123 cinfo->image_width = width; 222 for (col = cinfo->image_width; col > 0; col--) { 297 for (col = 0; col < cinfo->image_width; col++) { 323 for (col = cinfo->image_width; col > 0; col--) {
|
/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/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,
|
jsimd_i386.c | 189 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 191 mmxfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 239 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 241 mmxfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); 344 jsimd_h2v2_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, 349 jsimd_h2v2_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor, 359 jsimd_h2v1_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, 364 jsimd_h2v1_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor,
|
/external/autotest/client/site_tests/policy_ImagesAllowedForUrls/ |
policy_ImagesAllowedForUrls.py | 80 image_width = tab.EvaluateJavaScript( 82 return image_width < self.MINIMUM_IMAGE_WIDTH
|
/external/autotest/client/site_tests/policy_ImagesBlockedForUrls/ |
policy_ImagesBlockedForUrls.py | 79 image_width = tab.EvaluateJavaScript( 81 return image_width < self.MINIMUM_IMAGE_WIDTH
|
/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;
|
/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);
|