Searched refs:image_width (Results 1 - 25 of 120) 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
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_heigh
[all...]
H A Dpsnr_main.cc56 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_heigh
[all...]
H A Dssim.cc272 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
271 CalcSSIM(const uint8 *org, const uint8 *rec, const int image_width, const int image_height) argument
[all...]
/external/chromium_org/third_party/libjpeg_turbo/
H A Djpegcomp.h28 #define _jpeg_width image_width
H A Dexample.c63 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 */
H A Djdmaster.c114 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE);
122 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE);
130 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE);
138 jdiv_round_up((long) cinfo->image_width * 4L, (long) DCTSIZE);
146 jdiv_round_up((long) cinfo->image_width * 5L, (long) DCTSIZE);
154 jdiv_round_up((long) cinfo->image_width * 6L, (long) DCTSIZE);
162 jdiv_round_up((long) cinfo->image_width * 7L, (long) DCTSIZE);
170 jdiv_round_up((long) cinfo->image_width * 8L, (long) DCTSIZE);
178 jdiv_round_up((long) cinfo->image_width * 9L, (long) DCTSIZE);
186 jdiv_round_up((long) cinfo->image_width * 1
[all...]
H A Djccolext.c41 JDIMENSION num_cols = cinfo->image_width;
98 JDIMENSION num_cols = cinfo->image_width;
132 JDIMENSION num_cols = cinfo->image_width;
H A Djcsample.c161 cinfo->image_width, output_cols * h_expand);
194 cinfo->max_v_samp_factor, cinfo->image_width);
197 cinfo->image_width, compptr->width_in_blocks * DCTSIZE);
228 cinfo->image_width, output_cols * 2);
265 cinfo->image_width, output_cols * 2);
308 cinfo->image_width, output_cols * 2);
409 cinfo->image_width, output_cols);
H A Drdppm.c152 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--) {
252 for (col = cinfo->image_width; col > 0; col--) {
276 for (col = cinfo->image_width; col > 0; col--) {
330 cinfo->image_width = (JDIMENSION) w;
/external/jpeg/
H A Dexample.c63 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 */
H A Djdinput.c49 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
87 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
98 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
119 cinfo->original_image_width = cinfo->image_width;
165 jdiv_round_up((long) cinfo->image_width,
186 tmp = (int) (jdiv_round_up(cinfo->image_width, 8)
/external/qemu/distrib/jpeg-6b/
H A Dexample.c63 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 */
H A Djdinput.c49 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
87 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
98 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor,
119 cinfo->original_image_width = cinfo->image_width;
165 jdiv_round_up((long) cinfo->image_width,
186 tmp = (int) (jdiv_round_up(cinfo->image_width, 8)
/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) {
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; /* possibl
[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,
573 size_hints->min_width = size_hints->max_width = (int)image_width;
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);
700 image_width, image_rowbyte
[all...]
/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) {
34 image_width == b.image_width &&
185 captcha_value->SetInteger("imageWidth", captcha_.image_width);
249 int image_width,
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.h110 int image_width; // Width of captcha image. member in struct:GoogleServiceAuthError::Captcha
196 int image_width,
/external/chromium_org/cc/layers/
H A Dnine_patch_layer_impl.cc150 float image_width = image_bounds_.width(); local
155 int image_aperture_right_width = image_width - image_aperture_.right();
162 image_width,
165 NormalizedRect(image_width - image_aperture_right_width,
169 image_width,
176 image_width,
179 NormalizedRect(image_width - image_aperture_right_width,
183 image_width,
188 (image_width - image_aperture_left_width - image_aperture_right_width) /
189 image_width,
[all...]
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dicon_label_bubble_view.cc126 const int image_width = image_->GetPreferredSize().width(); local
128 (image_width ? (image_width + LocationBarView::kItemPadding) : 0);
/external/chromium_org/third_party/WebKit/Source/platform/image-encoders/skia/
H A DJPEGImageEncoder.cpp146 cinfo.image_width = imageSize.width();
160 const size_t pixelRowStride = cinfo.image_width * 4;
186 row.resize(cinfo.image_width * cinfo.input_components);
187 const size_t pixelRowStride = cinfo.image_width * 4;
190 extractRowRGB(pixels, cinfo.image_width, rowData);
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_entry_conversion.cc110 const int64 image_width = input.image_media_metadata().width(); local
111 if (image_width != -1)
112 file_specific_info->set_image_width(image_width);
/external/chromium_org/chrome/browser/drive/
H A Ddrive_api_util_unittest.cc134 EXPECT_EQ(640, resource_entry->image_width());
142 EXPECT_EQ(0, resource_entry->image_width());
150 EXPECT_EQ(-1, resource_entry->image_width());
/external/chromium_org/native_client_sdk/src/examples/api/var_array_buffer/
H A Dvar_array_buffer.cc81 const uint32_t image_width = image_data->size().width(); local
82 assert(column < image_width);
86 image_buffer[row * image_width + column] = kBlue;
/external/chromium_org/components/enhanced_bookmarks/
H A Dmetadata_accessor.h80 int image_width,

Completed in 773 milliseconds

12345