/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 93 image_height = atoi(argv[++c]); // NOLINT 135 if (image_width == 0 || image_height == 0) { 138 image_height = org_height; 141 image_height = rec_height; 153 dst_height = Abs(image_height); 221 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB 224 const int y_size = Abs(image_width) * Abs(image_height); 226 ((Abs(image_height) + 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 172 image_height = atoi(argv[++c]); // NOLINT 205 if (image_width == 0 || image_height == 0) { 218 image_height = org_height; 225 image_height = org_height; 229 image_height = rec_height; 271 distorted_frame->y = CalcSSIM(ch_org, ch_rec, image_width, image_height); 273 (image_height + 1) / 2); 275 (image_height + 1) / 2); 348 const int y_size = image_width * image_height; [all...] |
ssim.cc | 272 const int image_width, const int image_height) { 274 const int KERNEL_Y = (image_height < KERNEL) ? image_height : KERNEL; 277 const int start_y = start_max(image_height - KERNEL_Y, KERNEL_Y); 282 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); 289 for (int j = KERNEL_Y; j < image_height - KERNEL_Y; ++j) { 291 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride); 321 for (int j = start_y; j < image_height; ++j) { 323 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride);
|
/external/libjpeg-turbo/ |
jpegcomp.h | 29 #define _jpeg_height image_height
|
jcapistd.c | 67 * or if more than image_height scanlines are passed in. 84 if (cinfo->next_scanline >= cinfo->image_height) 90 cinfo->progress->pass_limit = (long) cinfo->image_height; 103 rows_left = cinfo->image_height - cinfo->next_scanline; 127 if (cinfo->next_scanline >= cinfo->image_height) { 135 cinfo->progress->pass_limit = (long) cinfo->image_height;
|
example.c | 62 extern int image_height; /* Number of rows in image */ 126 cinfo.image_height = image_height; 156 while (cinfo.next_scanline < cinfo.image_height) {
|
jdmaster.c | 106 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE); 114 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE); 122 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE); 130 jdiv_round_up((long) cinfo->image_height * 4L, (long) DCTSIZE); 138 jdiv_round_up((long) cinfo->image_height * 5L, (long) DCTSIZE); 146 jdiv_round_up((long) cinfo->image_height * 6L, (long) DCTSIZE); 154 jdiv_round_up((long) cinfo->image_height * 7L, (long) DCTSIZE); 162 jdiv_round_up((long) cinfo->image_height * 8L, (long) DCTSIZE); 170 jdiv_round_up((long) cinfo->image_height * 9L, (long) DCTSIZE); 178 jdiv_round_up((long) cinfo->image_height * 10L, (long) DCTSIZE) [all...] |
rdrle.c | 123 cinfo->image_height = height; 265 progress->pub.pass_limit = cinfo->image_height; 275 for (row = 0; row < cinfo->image_height; row++) { 290 for (row = 0; row < cinfo->image_height; row++) { 313 for (row = 0; row < cinfo->image_height; row++) { 349 source->row = cinfo->image_height;
|
transupp.h | 175 (JDIMENSION image_width, JDIMENSION image_height, int MCU_width,
|
jdinput.c | 51 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || 107 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, 123 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, 133 jdiv_round_up((long) cinfo->image_height, 190 jdiv_round_up((long) cinfo->image_height,
|
rdjpgcom.c | 279 unsigned int image_height, image_width; local 287 image_height = read_2_bytes(); 309 image_width, image_height, num_components, data_precision);
|
/external/opencv3/3rdparty/libjpeg/ |
jcapistd.c | 67 * or if more than image_height scanlines are passed in. 84 if (cinfo->next_scanline >= cinfo->image_height) 90 cinfo->progress->pass_limit = (long) cinfo->image_height; 103 rows_left = cinfo->image_height - cinfo->next_scanline; 127 if (cinfo->next_scanline >= cinfo->image_height) { 135 cinfo->progress->pass_limit = (long) cinfo->image_height;
|
jdinput.c | 62 jdiv_round_up((long) cinfo->image_height, (long) cinfo->block_size); 70 jdiv_round_up((long) cinfo->image_height * 2L, (long) cinfo->block_size); 78 jdiv_round_up((long) cinfo->image_height * 3L, (long) cinfo->block_size); 86 jdiv_round_up((long) cinfo->image_height * 4L, (long) cinfo->block_size); 94 jdiv_round_up((long) cinfo->image_height * 5L, (long) cinfo->block_size); 102 jdiv_round_up((long) cinfo->image_height * 6L, (long) cinfo->block_size); 110 jdiv_round_up((long) cinfo->image_height * 7L, (long) cinfo->block_size); 118 jdiv_round_up((long) cinfo->image_height * 8L, (long) cinfo->block_size); 126 jdiv_round_up((long) cinfo->image_height * 9L, (long) cinfo->block_size); 134 jdiv_round_up((long) cinfo->image_height * 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)) 71 cinfo->jpeg_height = cinfo->image_height * cinfo->block_size; 79 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 2L); 87 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 3L); 95 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 4L); 103 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 5L); 111 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 6L); 119 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 7L); 127 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 8L) [all...] |
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jcapistd.c | 67 * or if more than image_height scanlines are passed in. 84 if (cinfo->next_scanline >= cinfo->image_height) 90 cinfo->progress->pass_limit = (long) cinfo->image_height; 103 rows_left = cinfo->image_height - cinfo->next_scanline; 127 if (cinfo->next_scanline >= cinfo->image_height) { 135 cinfo->progress->pass_limit = (long) cinfo->image_height;
|
fpdfapi_jdinput.c | 46 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || 88 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, 99 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, 109 jdiv_round_up((long) cinfo->image_height, 166 jdiv_round_up((long) cinfo->image_height,
|
fpdfapi_jdmaster.c | 104 jdiv_round_up((long) cinfo->image_height, 8L); 111 jdiv_round_up((long) cinfo->image_height, 4L); 118 jdiv_round_up((long) cinfo->image_height, 2L); 123 cinfo->output_height = cinfo->image_height; 155 jdiv_round_up((long) cinfo->image_height * 164 cinfo->output_height = cinfo->image_height;
|
/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) { 500 wimage_rowbytes*image_height))) 516 bmih->biHeight = -((long)image_height); 526 for (j = 0; j < image_height; ++j) { 566 image_height+extra_height, NULL, NULL, hInst, NULL); 599 for (lastrow = row = 0; row < image_height; ++row) { 649 if (lastrow < image_height) { 653 rect.bottom = (LONG)image_height; /* possibly off by one? */ 702 rc = StretchDIBits(hdc, 0, 0, image_width, image_height, [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, 580 size_hints->min_height = size_hints->max_height = (int)image_height; 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); 714 for (lastrow = row = 0; row < image_height; ++row) [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
JpegCompressor.cpp | 103 mCInfo.image_height = mAuxBuffer->height; 107 ALOGV("%s: image_width = %d, image_height = %d", __FUNCTION__, mCInfo.image_width, mCInfo.image_height); 118 while (mCInfo.next_scanline < mCInfo.image_height) {
|
/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)) 139 self.image_height = self.image_width / touch_width * touch_height 140 self.doc = TemplateHtml(self.image_width, self.image_height,
|
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.cpp | 55 cinfo->image_height = height; 85 int height = cinfo->image_height; 93 while (cinfo->next_scanline < cinfo->image_height) { 161 int height = cinfo->image_height; 169 while (cinfo->next_scanline < cinfo->image_height) {
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_writer.cpp | 74 mInfo.image_height = height; 133 while (mInfo.next_scanline < mInfo.image_height) {
|
/frameworks/av/cmds/stagefright/ |
jpeg.cpp | 64 cinfo.image_height = height;
|