Home
last modified time | relevance | path

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

12

/external/libpng/contrib/gregbook/
Drpng-win.c125 static ulg image_width, image_height, image_rowbytes; variable
309 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in WinMain()
456 wimage_rowbytes*image_height))) in rpng_win_create_window()
472 bmih->biHeight = -((long)image_height); in rpng_win_create_window()
482 for (j = 0; j < image_height; ++j) { in rpng_win_create_window()
522 image_height+extra_height, NULL, NULL, hInst, NULL); in rpng_win_create_window()
555 for (lastrow = row = 0; row < image_height; ++row) { in rpng_win_display_image()
605 if (lastrow < image_height) { in rpng_win_display_image()
609 rect.bottom = (LONG)image_height; /* possibly off by one? */ in rpng_win_display_image()
658 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/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()
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()
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()
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()
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()
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()
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()
Djcmarker.c288 if ((long) cinfo->image_height > 65535L || in emit_sof()
293 emit_2bytes(cinfo, (int) cinfo->image_height); in emit_sof()
Djcapimin.c154 if (cinfo->next_scanline < cinfo->image_height) in jpeg_finish_compress()
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab.cc98 int image_height = alpha->image_l->height(); in Layout() local
100 int y_base = height() - image_height; in Layout()
104 title_bounds_ = gfx::Rect(x_base, y_base, center_width, image_height); in Layout()
147 int image_height = alpha->image_l->height(); in PaintActiveTabBackground() local
148 int y_base = height() - image_height; in PaintActiveTabBackground()
150 *tab_bg, offset, 0, tab_image->l_width, image_height); in PaintActiveTabBackground()
158 tab_image->r_width, image_height); in PaintActiveTabBackground()
176 width() - tab_image->l_width - tab_image->r_width, image_height); in PaintActiveTabBackground()
/external/libvpx/vp8/encoder/
Dssim.c159 const int image_width, const int image_height, in calc_ssimg() argument
170 SSIM += get_ssimg(org, rec, i, j, image_width, image_height, stride1, stride2); in calc_ssimg()
174 for (j = KERNEL; j < image_height - KERNEL; ++j) in calc_ssimg()
178 SSIM += get_ssimg(org, rec, i, j, image_width, image_height, stride1, stride2); in calc_ssimg()
184 image_width, image_height, stride1, stride2); in calc_ssimg()
189 SSIM += get_ssimg(org, rec, i, j, image_width, image_height, stride1, stride2); in calc_ssimg()
193 for (j = image_height - KERNEL; j < image_height; ++j) in calc_ssimg()
197 SSIM += get_ssimg(org, rec, i, j, image_width, image_height, stride1, stride2); in calc_ssimg()
/external/webkit/Source/WebCore/platform/image-encoders/
DJPEGImageEncoder.cpp102 compressData.image_height = size.height(); in compressRGBABigEndianToJPEG()
118 … const unsigned char* pixelEnd = pixel + compressData.image_width * compressData.image_height * 4; in compressRGBABigEndianToJPEG()
/external/webkit/Source/WebCore/platform/image-encoders/skia/
DJPEGImageEncoder.cpp128 cinfo.image_height = imageSize.height(); in encodePixels()
139 while (cinfo.next_scanline < cinfo.image_height) { in encodePixels()
/external/chromium/webkit/glue/
Dwebcursor_mac.mm346 int image_height = image_dimensions.height;
348 size_t size = image_height * image_width * 4;
351 custom_size_.set_height(image_height);
359 image_height,
365 CGRect rect = CGRectMake(0, 0, image_width, image_height);
/external/chromium/chrome/browser/ui/views/
Dpage_info_bubble_view.cc315 int image_height = y + size.height(); in LayoutItems() local
345 y = std::max(y, image_height); in LayoutItems()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp280 bm->setConfig(config, cinfo.image_width, cinfo.image_height); in onDecode()
906 cinfo.image_height = bm.height(); in onEncode()
927 while (cinfo.next_scanline < cinfo.image_height) { in onEncode()
/external/qemu/distrib/libpng-1.2.19/
Dpngread.c883 png_uint_32 i,image_height; in png_read_image() local
900 image_height=png_ptr->height; in png_read_image()
901 png_ptr->num_rows = image_height; /* Make sure this is set correctly */ in png_read_image()
906 for (i = 0; i < image_height; i++) in png_read_image()
/external/libpng/
Dpngread.c1074 png_uint_32 i, image_height; in png_read_image() local
1093 image_height=png_ptr->height; in png_read_image()
1094 png_ptr->num_rows = image_height; /* Make sure this is set correctly */ in png_read_image()
1099 for (i = 0; i < image_height; i++) in png_read_image()

12