Home
last modified time | relevance | path

Searched refs:image_height (Results 1 – 25 of 76) sorted by relevance

1234

/external/opencv3/3rdparty/libjpeg/
Djdinput.c62 jdiv_round_up((long) cinfo->image_height, (long) cinfo->block_size); in jpeg_core_output_dimensions()
70 jdiv_round_up((long) cinfo->image_height * 2L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
78 jdiv_round_up((long) cinfo->image_height * 3L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
86 jdiv_round_up((long) cinfo->image_height * 4L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
94 jdiv_round_up((long) cinfo->image_height * 5L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
102 jdiv_round_up((long) cinfo->image_height * 6L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
110 jdiv_round_up((long) cinfo->image_height * 7L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
118 jdiv_round_up((long) cinfo->image_height * 8L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
126 jdiv_round_up((long) cinfo->image_height * 9L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
134 jdiv_round_up((long) cinfo->image_height * 10L, (long) cinfo->block_size); in jpeg_core_output_dimensions()
[all …]
Djcapistd.c84 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
90 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_scanlines()
103 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
127 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
135 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_raw_data()
Djcmaster.c64 if (((long) cinfo->image_width >> 24) || ((long) cinfo->image_height >> 24)) in jpeg_calc_jpeg_dimensions()
71 cinfo->jpeg_height = cinfo->image_height * cinfo->block_size; in jpeg_calc_jpeg_dimensions()
79 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 2L); in jpeg_calc_jpeg_dimensions()
87 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 3L); in jpeg_calc_jpeg_dimensions()
95 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 4L); in jpeg_calc_jpeg_dimensions()
103 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 5L); in jpeg_calc_jpeg_dimensions()
111 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 6L); in jpeg_calc_jpeg_dimensions()
119 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 7L); in jpeg_calc_jpeg_dimensions()
127 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 8L); in jpeg_calc_jpeg_dimensions()
135 jdiv_round_up((long) cinfo->image_height * cinfo->block_size, 9L); in jpeg_calc_jpeg_dimensions()
[all …]
/external/libjpeg-turbo/
Djdmaster.c106 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE); in jpeg_core_output_dimensions()
114 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE); in jpeg_core_output_dimensions()
122 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE); in jpeg_core_output_dimensions()
130 jdiv_round_up((long) cinfo->image_height * 4L, (long) DCTSIZE); in jpeg_core_output_dimensions()
138 jdiv_round_up((long) cinfo->image_height * 5L, (long) DCTSIZE); in jpeg_core_output_dimensions()
146 jdiv_round_up((long) cinfo->image_height * 6L, (long) DCTSIZE); in jpeg_core_output_dimensions()
154 jdiv_round_up((long) cinfo->image_height * 7L, (long) DCTSIZE); in jpeg_core_output_dimensions()
162 jdiv_round_up((long) cinfo->image_height * 8L, (long) DCTSIZE); in jpeg_core_output_dimensions()
170 jdiv_round_up((long) cinfo->image_height * 9L, (long) DCTSIZE); in jpeg_core_output_dimensions()
178 jdiv_round_up((long) cinfo->image_height * 10L, (long) DCTSIZE); in jpeg_core_output_dimensions()
[all …]
Djcapistd.c84 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
90 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_scanlines()
103 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
127 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
135 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_raw_data()
Dexample.c62 extern int image_height; /* Number of rows in image */
126 cinfo.image_height = image_height; in write_JPEG_file()
156 while (cinfo.next_scanline < cinfo.image_height) { in write_JPEG_file()
Drdrle.c123 cinfo->image_height = height; in start_input_rle()
265 progress->pub.pass_limit = cinfo->image_height; in load_image()
275 for (row = 0; row < cinfo->image_height; row++) { in load_image()
290 for (row = 0; row < cinfo->image_height; row++) { in load_image()
313 for (row = 0; row < cinfo->image_height; row++) { in load_image()
349 source->row = cinfo->image_height; in load_image()
Djdinput.c51 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || in initial_setup()
107 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
123 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
133 jdiv_round_up((long) cinfo->image_height, in initial_setup()
190 jdiv_round_up((long) cinfo->image_height, in per_scan_setup()
Drdjpgcom.c279 unsigned int image_height, image_width; in process_SOFn() local
287 image_height = read_2_bytes(); in process_SOFn()
309 image_width, image_height, num_components, data_precision); in process_SOFn()
Drdbmp.c232 for (row = 0; row < cinfo->image_height; row++) { in preload_image()
235 progress->pub.pass_limit = (long) cinfo->image_height; in preload_image()
266 source->source_row = cinfo->image_height; in preload_image()
446 cinfo->image_height = (JDIMENSION) biHeight; in start_input_bmp()
Drdtarga.c282 source_row = cinfo->image_height - source->current_row - 1; in get_memory_row()
308 for (row = 0; row < cinfo->image_height; row++) { in preload_image()
311 progress->pub.pass_limit = (long) cinfo->image_height; in preload_image()
466 cinfo->image_height = height; in start_input_tga()
Dbmp.c209 *w=cinfo.image_width; *h=cinfo.image_height; in loadbmp()
219 while(cinfo.next_scanline<cinfo.image_height) in loadbmp()
283 dinfo.image_width=w; dinfo.image_height=h; in savebmp()
Djpegcomp.h29 #define _jpeg_height image_height
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcapistd.c84 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
90 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_scanlines()
103 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
127 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
135 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_raw_data()
Dfpdfapi_jdinput.c46 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || in initial_setup()
88 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
99 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
109 jdiv_round_up((long) cinfo->image_height, in initial_setup()
166 jdiv_round_up((long) cinfo->image_height, in per_scan_setup()
Dfpdfapi_jdmaster.c104 jdiv_round_up((long) cinfo->image_height, 8L); in jpeg_calc_output_dimensions()
111 jdiv_round_up((long) cinfo->image_height, 4L); in jpeg_calc_output_dimensions()
118 jdiv_round_up((long) cinfo->image_height, 2L); in jpeg_calc_output_dimensions()
123 cinfo->output_height = cinfo->image_height; in jpeg_calc_output_dimensions()
155 jdiv_round_up((long) cinfo->image_height * in jpeg_calc_output_dimensions()
164 cinfo->output_height = cinfo->image_height; in jpeg_calc_output_dimensions()
Dfpdfapi_jcmaster.c55 if (cinfo->image_height <= 0 || cinfo->image_width <= 0 in initial_setup()
60 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || in initial_setup()
105 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
112 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
122 jdiv_round_up((long) cinfo->image_height, in initial_setup()
353 jdiv_round_up((long) cinfo->image_height, in per_scan_setup()
Dfpdfapi_jdmarker.c244 JDIMENSION image_width, image_height; in get_sof() local
253 INPUT_2BYTES(cinfo, image_height, return FALSE); in get_sof()
260 if (image_height <= JPEG_MAX_DIMENSION) in get_sof()
261 cinfo->image_height = image_height; in get_sof()
266 (int) cinfo->image_width, (int) cinfo->image_height, in get_sof()
275 if (cinfo->image_height <= 0 || cinfo->image_width <= 0 in get_sof()
/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()
500 wimage_rowbytes*image_height))) in rpng_win_create_window()
516 bmih->biHeight = -((long)image_height); in rpng_win_create_window()
526 for (j = 0; j < image_height; ++j) { in rpng_win_create_window()
566 image_height+extra_height, NULL, NULL, hInst, NULL); in rpng_win_create_window()
599 for (lastrow = row = 0; row < image_height; ++row) { in rpng_win_display_image()
649 if (lastrow < image_height) { in rpng_win_display_image()
653 rect.bottom = (LONG)image_height; /* possibly off by one? */ in rpng_win_display_image()
702 rc = StretchDIBits(hdc, 0, 0, image_width, image_height, in rpng_win_wndproc()
[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()
580 size_hints->min_height = size_hints->max_height = (int)image_height; 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()
714 for (lastrow = row = 0; row < image_height; ++row) { 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))
139 self.image_height = self.image_width / touch_width * touch_height
140 self.doc = TemplateHtml(self.image_width, self.image_height,
/external/webrtc/webrtc/common_video/
Dvideo_frame.cc36 int ExpectedSize(int plane_stride, int image_height, PlaneType type) { in ExpectedSize() argument
38 return plane_stride * image_height; in ExpectedSize()
39 return plane_stride * ((image_height + 1) / 2); in ExpectedSize()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp176 cinfo.image_height = height; in _JpegEncode()
197 while (cinfo.next_scanline < cinfo.image_height) { in _JpegEncode()
295 height = cinfo.image_height; in _JpegLoadInfo()
380 cinfo.image_height = m_OrigHeight; in InitDecode()
392 m_OrigHeight = cinfo.image_height; in InitDecode()
658 *height = p->m_Info.image_height;
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp176 int image_height, in TranslateImageLine() argument
326 int image_height,
376 int image_height, in TranslateImageLine() argument
401 int image_height,
484 int image_height, in TranslateImageLine() argument
524 int image_height,
611 int image_height, in TranslateImageLine() argument
673 int image_height,
817 int image_height, in TranslateImageLine() argument
826 if (m_nComponents > 3 || image_width * image_height < nMaxColors * 3 / 2) { in TranslateImageLine()
[all …]
/external/webp/src/dec/
Dwebp.c288 int image_height = 0; in ParseHeadersInternal() local
332 image_height = canvas_height; in ParseHeadersInternal()
376 &image_width, &image_height)) { in ParseHeadersInternal()
385 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { in ParseHeadersInternal()
391 if (canvas_width != image_width || canvas_height != image_height) { in ParseHeadersInternal()
410 if (height != NULL) *height = image_height; in ParseHeadersInternal()

1234