Home
last modified time | relevance | path

Searched refs:image_width (Results 1 – 25 of 80) sorted by relevance

1234

/external/opencv3/3rdparty/libjpeg/
Djdinput.c60 jdiv_round_up((long) cinfo->image_width, (long) cinfo->block_size); in jpeg_core_output_dimensions()
68 jdiv_round_up((long) cinfo->image_width * 2L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
76 jdiv_round_up((long) cinfo->image_width * 3L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
84 jdiv_round_up((long) cinfo->image_width * 4L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
92 jdiv_round_up((long) cinfo->image_width * 5L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
100 jdiv_round_up((long) cinfo->image_width * 6L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
108 jdiv_round_up((long) cinfo->image_width * 7L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
116 jdiv_round_up((long) cinfo->image_width * 8L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
124 jdiv_round_up((long) cinfo->image_width * 9L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
132 jdiv_round_up((long) cinfo->image_width * 10L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
[all …]
Djcmaster.c64 if (((long) cinfo->image_width >> 24) || ((long) cinfo->image_height >> 24)) in jpeg_calc_jpeg_dimensions()
70 cinfo->jpeg_width = cinfo->image_width * cinfo->block_size; in jpeg_calc_jpeg_dimensions()
77 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 2L); in jpeg_calc_jpeg_dimensions()
85 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 3L); in jpeg_calc_jpeg_dimensions()
93 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 4L); in jpeg_calc_jpeg_dimensions()
101 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 5L); in jpeg_calc_jpeg_dimensions()
109 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 6L); in jpeg_calc_jpeg_dimensions()
117 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 7L); in jpeg_calc_jpeg_dimensions()
125 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 8L); in jpeg_calc_jpeg_dimensions()
133 jdiv_round_up((long) cinfo->image_width * cinfo->block_size, 9L); in jpeg_calc_jpeg_dimensions()
[all …]
Djccolor.c141 JDIMENSION num_cols = cinfo->image_width; in rgb_ycc_convert()
197 JDIMENSION num_cols = cinfo->image_width; in rgb_gray_convert()
235 JDIMENSION num_cols = cinfo->image_width; in cmyk_ycck_convert()
288 JDIMENSION num_cols = cinfo->image_width; in rgb_rgb1_convert()
327 JDIMENSION num_cols = cinfo->image_width; in grayscale_convert()
354 JDIMENSION num_cols = cinfo->image_width; in rgb_convert()
389 JDIMENSION num_cols = cinfo->image_width; in null_convert()
Djcsample.c170 cinfo->image_width, output_cols * h_expand); in int_downsample()
204 cinfo->max_v_samp_factor, cinfo->image_width); in fullsize_downsample()
206 expand_right_edge(output_data, cinfo->max_v_samp_factor, cinfo->image_width, in fullsize_downsample()
238 cinfo->image_width, output_cols * 2); in h2v1_downsample()
275 cinfo->image_width, output_cols * 2); in h2v2_downsample()
319 cinfo->image_width, output_cols * 2); in h2v2_smooth_downsample()
421 cinfo->image_width, output_cols); in fullsize_smooth_downsample()
/external/libjpeg-turbo/
Djdmaster.c104 jdiv_round_up((long) cinfo->image_width, (long) DCTSIZE); in jpeg_core_output_dimensions()
112 jdiv_round_up((long) cinfo->image_width * 2L, (long) DCTSIZE); in jpeg_core_output_dimensions()
120 jdiv_round_up((long) cinfo->image_width * 3L, (long) DCTSIZE); in jpeg_core_output_dimensions()
128 jdiv_round_up((long) cinfo->image_width * 4L, (long) DCTSIZE); in jpeg_core_output_dimensions()
136 jdiv_round_up((long) cinfo->image_width * 5L, (long) DCTSIZE); in jpeg_core_output_dimensions()
144 jdiv_round_up((long) cinfo->image_width * 6L, (long) DCTSIZE); in jpeg_core_output_dimensions()
152 jdiv_round_up((long) cinfo->image_width * 7L, (long) DCTSIZE); in jpeg_core_output_dimensions()
160 jdiv_round_up((long) cinfo->image_width * 8L, (long) DCTSIZE); in jpeg_core_output_dimensions()
168 jdiv_round_up((long) cinfo->image_width * 9L, (long) DCTSIZE); in jpeg_core_output_dimensions()
176 jdiv_round_up((long) cinfo->image_width * 10L, (long) DCTSIZE); in jpeg_core_output_dimensions()
[all …]
Dexample.c63 extern int image_width; /* Number of columns in image */
125 cinfo.image_width = image_width; /* image width and height, in pixels */ in write_JPEG_file()
154 row_stride = image_width * 3; /* JSAMPLEs per row in image_buffer */ in write_JPEG_file()
Drdppm.c150 for (col = cinfo->image_width; col > 0; col--) { in get_text_gray_row()
169 for (col = cinfo->image_width; col > 0; col--) { in get_text_rgb_row()
192 for (col = cinfo->image_width; col > 0; col--) { in get_scaled_gray_row()
213 for (col = cinfo->image_width; col > 0; col--) { in get_scaled_rgb_row()
251 for (col = cinfo->image_width; col > 0; col--) { in get_word_gray_row()
275 for (col = cinfo->image_width; col > 0; col--) { in get_word_rgb_row()
329 cinfo->image_width = (JDIMENSION) w; in start_input_ppm()
Djcsample.c164 cinfo->image_width, output_cols * h_expand); in int_downsample()
197 cinfo->max_v_samp_factor, cinfo->image_width); in fullsize_downsample()
200 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); in fullsize_downsample()
231 cinfo->image_width, output_cols * 2); in h2v1_downsample()
268 cinfo->image_width, output_cols * 2); in h2v2_downsample()
311 cinfo->image_width, output_cols * 2); in h2v2_smooth_downsample()
412 cinfo->image_width, output_cols); in fullsize_smooth_downsample()
Djccolext.c41 JDIMENSION num_cols = cinfo->image_width; in LOCAL()
98 JDIMENSION num_cols = cinfo->image_width; in LOCAL()
132 JDIMENSION num_cols = cinfo->image_width; in LOCAL()
Drdtarga.c183 for (col = cinfo->image_width; col > 0; col--) { in get_8bit_gray_row()
201 for (col = cinfo->image_width; col > 0; col--) { in get_8bit_row()
221 for (col = cinfo->image_width; col > 0; col--) { in get_16bit_row()
248 for (col = cinfo->image_width; col > 0; col--) { in get_24bit_row()
465 cinfo->image_width = width; in start_input_tga()
Djdinput.c52 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) in initial_setup()
104 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup()
120 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup()
187 jdiv_round_up((long) cinfo->image_width, in per_scan_setup()
Drdjpgcom.c279 unsigned int image_height, image_width; in process_SOFn() local
288 image_width = read_2_bytes(); in process_SOFn()
309 image_width, image_height, num_components, data_precision); in process_SOFn()
Drdrle.c122 cinfo->image_width = width; in start_input_rle()
221 for (col = cinfo->image_width; col > 0; col--) { in get_pseudocolor_row()
296 for (col = 0; col < cinfo->image_width; col++) { in load_image()
322 for (col = cinfo->image_width; col > 0; col--) { in load_image()
/external/libpng/contrib/gregbook/
Drpng-win.c151 static ulg image_width, image_height, image_rowbytes; variable
342 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in WinMain()
497 wimage_rowbytes = ((3*image_width + 3L) >> 2) << 2; in rpng_win_create_window()
515 bmih->biWidth = image_width; in rpng_win_create_window()
528 for (i = image_width; i > 0; --i) { in rpng_win_create_window()
565 CW_USEDEFAULT, CW_USEDEFAULT, image_width+extra_width, in rpng_win_create_window()
590 image_width, image_rowbytes, wimage_rowbytes)) in rpng_win_display_image()
603 for (i = image_width; i > 0; --i) { in rpng_win_display_image()
612 for (i = image_width; i > 0; --i) { in rpng_win_display_image()
640 rect.right = (LONG)image_width; /* possibly off by one? */ in rpng_win_display_image()
[all …]
Drpng-x.c135 static ulg image_width, image_height, image_rowbytes; variable
303 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in main()
557 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, in rpng_x_create_window()
579 size_hints->min_width = size_hints->max_width = (int)image_width; in rpng_x_create_window()
634 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); in rpng_x_create_window()
651 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
654 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
657 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window()
667 (char *)xdata, image_width, image_height, pad, 0); in rpng_x_create_window()
706 image_width, image_rowbytes, ximage_rowbytes)) in rpng_x_display_image()
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dreport_html.py22 def __init__(self, image_width, image_height, score_colors): argument
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/
Dfpdfapi_jcsample.c159 cinfo->image_width, output_cols * h_expand); in int_downsample()
192 cinfo->max_v_samp_factor, cinfo->image_width); in fullsize_downsample()
195 cinfo->image_width, compptr->width_in_blocks * DCTSIZE); in fullsize_downsample()
226 cinfo->image_width, output_cols * 2); in h2v1_downsample()
263 cinfo->image_width, output_cols * 2); in h2v2_downsample()
306 cinfo->image_width, output_cols * 2); in h2v2_smooth_downsample()
407 cinfo->image_width, output_cols); in fullsize_smooth_downsample()
Dfpdfapi_jdmaster.c102 jdiv_round_up((long) cinfo->image_width, 8L); in jpeg_calc_output_dimensions()
109 jdiv_round_up((long) cinfo->image_width, 4L); in jpeg_calc_output_dimensions()
116 jdiv_round_up((long) cinfo->image_width, 2L); in jpeg_calc_output_dimensions()
122 cinfo->output_width = cinfo->image_width; in jpeg_calc_output_dimensions()
151 jdiv_round_up((long) cinfo->image_width * in jpeg_calc_output_dimensions()
163 cinfo->output_width = cinfo->image_width; in jpeg_calc_output_dimensions()
Dfpdfapi_jccolor.c140 JDIMENSION num_cols = cinfo->image_width; in rgb_ycc_convert()
196 JDIMENSION num_cols = cinfo->image_width; in rgb_gray_convert()
235 JDIMENSION num_cols = cinfo->image_width; in cmyk_ycck_convert()
287 JDIMENSION num_cols = cinfo->image_width; in grayscale_convert()
318 JDIMENSION num_cols = cinfo->image_width; in null_convert()
Dfpdfapi_jcmaster.c55 if (cinfo->image_height <= 0 || cinfo->image_width <= 0 in initial_setup()
61 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) in initial_setup()
65 samplesperrow = (long) cinfo->image_width * (long) cinfo->input_components; in initial_setup()
102 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup()
109 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup()
350 jdiv_round_up((long) cinfo->image_width, in per_scan_setup()
Dfpdfapi_jdinput.c47 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) in initial_setup()
85 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup()
96 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup()
163 jdiv_round_up((long) cinfo->image_width, in per_scan_setup()
/external/libjpeg-turbo/simd/
Djsimd_i386.c184 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); in jsimd_rgb_ycc_convert()
186 mmxfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); in jsimd_rgb_ycc_convert()
234 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); in jsimd_rgb_gray_convert()
236 mmxfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); in jsimd_rgb_gray_convert()
339 jsimd_h2v2_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
344 jsimd_h2v2_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
354 jsimd_h2v1_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
359 jsimd_h2v1_downsample_mmx(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
Djsimd_mips.c224 mipsdspr2fct(cinfo->image_width, input_buf, output_buf, output_row, in jsimd_rgb_ycc_convert()
264 mipsdspr2fct(cinfo->image_width, input_buf, output_buf, output_row, in jsimd_rgb_gray_convert()
321 jsimd_c_null_convert_mips_dspr2(cinfo->image_width, input_buf, in jsimd_c_null_convert()
384 jsimd_h2v2_downsample_mips_dspr2(cinfo->image_width, in jsimd_h2v2_downsample()
401 cinfo->image_width); in jsimd_h2v2_smooth_downsample()
409 jsimd_h2v1_downsample_mips_dspr2(cinfo->image_width, in jsimd_h2v1_downsample()
Djsimd_x86_64.c124 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); in jsimd_rgb_ycc_convert()
162 sse2fct(cinfo->image_width, input_buf, output_buf, output_row, num_rows); in jsimd_rgb_gray_convert()
238 jsimd_h2v2_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v2_downsample()
247 jsimd_h2v1_downsample_sse2(cinfo->image_width, cinfo->max_v_samp_factor, in jsimd_h2v1_downsample()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp175 cinfo.image_width = width; in _JpegEncode()
294 width = cinfo.image_width; in _JpegLoadInfo()
379 cinfo.image_width = m_OrigWidth; in InitDecode()
391 m_OrigWidth = cinfo.image_width; in InitDecode()
431 if ((int)cinfo.image_width < width) { in Create()
435 (static_cast<FX_DWORD>(cinfo.image_width) * cinfo.num_components + 3) / in Create()
657 *width = p->m_Info.image_width;

1234