Searched refs:image_height (Results 1 - 25 of 124) sorted by relevance

12345

/external/chromium_org/third_party/libyuv/util/
H A Dssim.h28 const int image_width, const int image_height);
H A Dconvert.cc31 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...]
H A Dpsnr_main.cc56 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...]
H A Dssim.cc272 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);
271 CalcSSIM(const uint8 *org, const uint8 *rec, const int image_width, const int image_height) argument
/external/chromium_org/third_party/libjpeg_turbo/
H A Djpegcomp.h29 #define _jpeg_height image_height
H A Djcapistd.c67 * 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;
H A Dexample.c62 extern int image_height; /* Number of rows in image */
126 cinfo.image_height = image_height;
156 while (cinfo.next_scanline < cinfo.image_height) {
H A Djdmaster.c116 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE);
124 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE);
132 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE);
140 jdiv_round_up((long) cinfo->image_height * 4L, (long) DCTSIZE);
148 jdiv_round_up((long) cinfo->image_height * 5L, (long) DCTSIZE);
156 jdiv_round_up((long) cinfo->image_height * 6L, (long) DCTSIZE);
164 jdiv_round_up((long) cinfo->image_height * 7L, (long) DCTSIZE);
172 jdiv_round_up((long) cinfo->image_height * 8L, (long) DCTSIZE);
180 jdiv_round_up((long) cinfo->image_height * 9L, (long) DCTSIZE);
188 jdiv_round_up((long) cinfo->image_height * 1
[all...]
H A Drdrle.c121 cinfo->image_height = height;
264 progress->pub.pass_limit = cinfo->image_height;
274 for (row = 0; row < cinfo->image_height; row++) {
289 for (row = 0; row < cinfo->image_height; row++) {
312 for (row = 0; row < cinfo->image_height; row++) {
348 source->row = cinfo->image_height;
/external/chromium_org/chrome/common/
H A Dinstant_types.cc47 image_height(0),
67 image_height == rhs.image_height &&
/external/jpeg/
H A Djcapistd.c67 * 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;
H A Dexample.c62 extern int image_height; /* Number of rows in image */
126 cinfo.image_height = image_height;
156 while (cinfo.next_scanline < cinfo.image_height) {
H A Drdrle.c121 cinfo->image_height = height;
264 progress->pub.pass_limit = cinfo->image_height;
274 for (row = 0; row < cinfo->image_height; row++) {
289 for (row = 0; row < cinfo->image_height; row++) {
312 for (row = 0; row < cinfo->image_height; row++) {
348 source->row = cinfo->image_height;
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jcapistd.c68 * or if more than image_height scanlines are passed in.
85 if (cinfo->next_scanline >= cinfo->image_height)
91 cinfo->progress->pass_limit = (long) cinfo->image_height;
104 rows_left = cinfo->image_height - cinfo->next_scanline;
128 if (cinfo->next_scanline >= cinfo->image_height) {
136 cinfo->progress->pass_limit = (long) cinfo->image_height;
/external/qemu/distrib/jpeg-6b/
H A Djcapistd.c67 * 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;
H A Dexample.c62 extern int image_height; /* Number of rows in image */
126 cinfo.image_height = image_height;
156 while (cinfo.next_scanline < cinfo.image_height) {
/external/chromium_org/google_apis/gaia/
H A Dgoogle_service_auth_error.cc16 GoogleServiceAuthError::Captcha::Captcha() : image_width(0), image_height(0) {
23 image_width(width), image_height(height) {
35 image_height == b.image_height);
186 captcha_value->SetInteger("imageHeight", captcha_.image_height);
250 int image_height)
253 captcha_unlock_url, image_width, image_height),
243 GoogleServiceAuthError( State s, const std::string& captcha_token, const GURL& captcha_audio_url, const GURL& captcha_image_url, const GURL& captcha_unlock_url, int image_width, int image_height) argument
H A Dgoogle_service_auth_error.h111 int image_height; // Height of capture image. member in struct:GoogleServiceAuthError::Captcha
197 int image_height);
/external/chromium_org/cc/layers/
H A Dnine_patch_layer_impl.cc151 float image_height = image_bounds_.height(); local
156 int image_aperture_bottom_height = image_height - image_aperture_.bottom();
163 image_height);
170 image_height);
173 image_height - image_aperture_bottom_height,
177 image_height);
180 image_height - image_aperture_bottom_height,
184 image_height);
190 (image_aperture_top_height) / image_height);
194 (image_height
[all...]
/external/libpng/contrib/gregbook/
H A Drpng-win.c151 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...]
H A Drpng-x.c133 static ulg image_width, image_height, image_rowbytes; variable
299 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) {
551 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0,
574 size_hints->min_height = size_hints->max_height = (int)image_height;
628 XFillRectangle(display, window, gc, 0, 0, image_width, image_height);
645 xdata = (uch *)malloc(4*image_width*image_height);
648 xdata = (uch *)malloc(2*image_width*image_height);
651 xdata = (uch *)malloc(image_width*image_height);
661 (char *)xdata, image_width, image_height, pad, 0);
708 for (lastrow = row = 0; row < image_height;
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_entry_conversion.cc114 const int64 image_height = input.image_media_metadata().height(); local
115 if (image_height != -1)
116 file_specific_info->set_image_height(image_height);
/external/chromium_org/chrome/browser/drive/
H A Ddrive_api_util_unittest.cc135 EXPECT_EQ(480, resource_entry->image_height());
143 EXPECT_EQ(0, resource_entry->image_height());
151 EXPECT_EQ(-1, resource_entry->image_height());
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/
H A Dvar_array_buffer.cc80 const uint32_t image_height = image_data->size().height(); local
83 int bar_height = static_cast<int>(value * image_height);
85 uint32_t row = image_height - 1 - i;
/external/qemu/android/utils/
H A Djpeg-compress.c171 cinfo.image_height = h;
192 while (cinfo.next_scanline < cinfo.image_height) {
198 while (cinfo.next_scanline < cinfo.image_height) {

Completed in 540 milliseconds

12345