Home
last modified time | relevance | path

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

12

/external/jpeg/
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.c121 cinfo->image_height = height; in start_input_rle()
264 progress->pub.pass_limit = cinfo->image_height; in load_image()
274 for (row = 0; row < cinfo->image_height; row++) { in load_image()
289 for (row = 0; row < cinfo->image_height; row++) { in load_image()
312 for (row = 0; row < cinfo->image_height; row++) { in load_image()
348 source->row = cinfo->image_height; in load_image()
Djdmaster.c121 jdiv_round_up((long) cinfo->image_height, 8L); in jpeg_calc_output_dimensions()
128 jdiv_round_up((long) cinfo->image_height, 4L); in jpeg_calc_output_dimensions()
135 jdiv_round_up((long) cinfo->image_height, 2L); in jpeg_calc_output_dimensions()
140 cinfo->output_height = cinfo->image_height; in jpeg_calc_output_dimensions()
172 jdiv_round_up((long) cinfo->image_height * in jpeg_calc_output_dimensions()
181 cinfo->output_height = cinfo->image_height; in jpeg_calc_output_dimensions()
Djdinput.c48 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || in initial_setup()
90 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
101 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
111 jdiv_round_up((long) cinfo->image_height, in initial_setup()
168 jdiv_round_up((long) cinfo->image_height, in per_scan_setup()
Djcmaster.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()
Drdjpgcom.c269 unsigned int image_height, image_width; in process_SOFn() local
277 image_height = read_2_bytes(); in process_SOFn()
299 image_width, image_height, num_components, data_precision); in process_SOFn()
Drdbmp.c198 for (row = 0; row < cinfo->image_height; row++) { in preload_image()
201 progress->pub.pass_limit = (long) cinfo->image_height; in preload_image()
229 source->source_row = cinfo->image_height; in preload_image()
403 cinfo->image_height = (JDIMENSION) biHeight; in start_input_bmp()
Dtransupp.c134 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_flip_v()
313 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_rot_270()
375 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_rot_180()
479 MCU_rows = dstinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE); in do_transverse()
650 dstinfo->image_width = dstinfo->image_height; in transpose_critical_parameters()
651 dstinfo->image_height = dtemp; in transpose_critical_parameters()
714 MCU_rows = dstinfo->image_height / (max_v_samp_factor * DCTSIZE); in trim_bottom_edge()
716 dstinfo->image_height = MCU_rows * (max_v_samp_factor * DCTSIZE); in trim_bottom_edge()
Drdtarga.c281 source_row = cinfo->image_height - source->current_row - 1; in get_memory_row()
307 for (row = 0; row < cinfo->image_height; row++) { in preload_image()
310 progress->pub.pass_limit = (long) cinfo->image_height; in preload_image()
464 cinfo->image_height = height; in start_input_tga()
Djcprepct.c86 prep->rows_to_go = cinfo->image_height; in start_pass_prep()
217 if (prep->rows_to_go == cinfo->image_height) { in pre_process_context()
Djctrans.c76 dstinfo->image_height = srcinfo->image_height; in jpeg_copy_critical_parameters()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jcapistd.c85 if (cinfo->next_scanline >= cinfo->image_height) in jpeg_write_scanlines()
91 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_scanlines()
104 rows_left = cinfo->image_height - cinfo->next_scanline; in jpeg_write_scanlines()
128 if (cinfo->next_scanline >= cinfo->image_height) { in jpeg_write_raw_data()
136 cinfo->progress->pass_limit = (long) cinfo->image_height; in jpeg_write_raw_data()
Dfpdfapi_jdinput.c47 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || in initial_setup()
89 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
100 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
110 jdiv_round_up((long) cinfo->image_height, in initial_setup()
167 jdiv_round_up((long) cinfo->image_height, in per_scan_setup()
Dfpdfapi_jdmaster.c105 jdiv_round_up((long) cinfo->image_height, 8L); in jpeg_calc_output_dimensions()
112 jdiv_round_up((long) cinfo->image_height, 4L); in jpeg_calc_output_dimensions()
119 jdiv_round_up((long) cinfo->image_height, 2L); in jpeg_calc_output_dimensions()
124 cinfo->output_height = cinfo->image_height; in jpeg_calc_output_dimensions()
156 jdiv_round_up((long) cinfo->image_height * in jpeg_calc_output_dimensions()
165 cinfo->output_height = cinfo->image_height; in jpeg_calc_output_dimensions()
Dfpdfapi_jcmaster.c56 if (cinfo->image_height <= 0 || cinfo->image_width <= 0 in initial_setup()
61 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || in initial_setup()
106 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
113 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor, in initial_setup()
123 jdiv_round_up((long) cinfo->image_height, in initial_setup()
354 jdiv_round_up((long) cinfo->image_height, in per_scan_setup()
Dfpdfapi_jdmarker.c245 JDIMENSION image_width, image_height; in get_sof() local
254 INPUT_2BYTES(cinfo, image_height, return FALSE); in get_sof()
261 if (image_height <= JPEG_MAX_DIMENSION) in get_sof()
262 cinfo->image_height = image_height; in get_sof()
267 (int) cinfo->image_width, (int) cinfo->image_height, in get_sof()
276 if (cinfo->image_height <= 0 || cinfo->image_width <= 0 in get_sof()
Dfpdfapi_jcprepct.c87 prep->rows_to_go = cinfo->image_height; in start_pass_prep()
218 if (prep->rows_to_go == cinfo->image_height) { in pre_process_context()
Dfpdfapi_jctrans.c77 dstinfo->image_height = srcinfo->image_height; in jpeg_copy_critical_parameters()
/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.c133 static ulg image_width, image_height, image_rowbytes; variable
299 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in main()
551 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0, in rpng_x_create_window()
574 size_hints->min_height = size_hints->max_height = (int)image_height; in rpng_x_create_window()
628 XFillRectangle(display, window, gc, 0, 0, image_width, image_height); in rpng_x_create_window()
645 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window()
648 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window()
651 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window()
661 (char *)xdata, image_width, image_height, pad, 0); in rpng_x_create_window()
708 for (lastrow = row = 0; row < image_height; ++row) { in rpng_x_display_image()
[all …]
/external/webp/src/dec/
Dwebp.c295 int image_height = 0; in ParseHeadersInternal() local
339 image_height = canvas_height; in ParseHeadersInternal()
383 &image_width, &image_height)) { in ParseHeadersInternal()
392 if (!VP8LGetInfo(data, data_size, &image_width, &image_height, has_alpha)) { in ParseHeadersInternal()
398 if (canvas_width != image_width || canvas_height != image_height) { in ParseHeadersInternal()
417 if (height != NULL) *height = image_height; in ParseHeadersInternal()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp162 cinfo.image_height = height; in _JpegEncode()
183 while (cinfo.next_scanline < cinfo.image_height) { in _JpegEncode()
262 height = cinfo.image_height; in _JpegLoadInfo()
348 cinfo.image_height = m_OrigHeight; in InitDecode()
360 m_OrigHeight = cinfo.image_height; in InitDecode()
634 *height = p->m_Info.image_height; in ReadHeader()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp145 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans… in TranslateImageLine() argument
270 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans…
313 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans… in TranslateImageLine() argument
327 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans…
402 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans… in TranslateImageLine() argument
433 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans…
508 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans… in TranslateImageLine() argument
558 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans…
705 …LPBYTE pDestBuf, FX_LPCBYTE pSrcBuf, int pixels, int image_width, int image_height, FX_BOOL bTrans… in TranslateImageLine() argument
714 if (m_nComponents > 3 || image_width * image_height < nMaxColors * 3 / 2) { in TranslateImageLine()
[all …]
/external/libvncserver/common/
Dturbojpeg.c572 cinfo->image_height=height; in tjCompress2()
592 while(cinfo->next_scanline<cinfo->image_height) in tjCompress2()
595 cinfo->image_height-cinfo->next_scanline); in tjCompress2()
705 *height=dinfo->image_height; in tjDecompressHeader2()
782 jpegwidth=dinfo->image_width; jpegheight=dinfo->image_height; in tjDecompress2()

12