/external/libpng/contrib/gregbook/ |
D | rpng-win.c | 125 static ulg image_width, image_height, image_rowbytes; variable 309 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) { in WinMain() 453 wimage_rowbytes = ((3*image_width + 3L) >> 2) << 2; in rpng_win_create_window() 471 bmih->biWidth = image_width; in rpng_win_create_window() 484 for (i = image_width; i > 0; --i) { in rpng_win_create_window() 521 CW_USEDEFAULT, CW_USEDEFAULT, image_width+extra_width, in rpng_win_create_window() 546 image_width, image_rowbytes, wimage_rowbytes)) in rpng_win_display_image() 559 for (i = image_width; i > 0; --i) { in rpng_win_display_image() 568 for (i = image_width; i > 0; --i) { in rpng_win_display_image() 596 rect.right = (LONG)image_width; /* possibly off by one? */ in rpng_win_display_image() [all …]
|
D | rpng-x.c | 133 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() 573 size_hints->min_width = size_hints->max_width = (int)image_width; 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() 700 image_width, image_rowbytes, ximage_rowbytes)) in rpng_x_display_image() [all …]
|
/external/jpeg/ |
D | example.c | 63 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()
|
D | rdppm.c | 151 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()
|
D | jdinput.c | 49 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) in initial_setup() 87 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 98 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 119 cinfo->original_image_width = cinfo->image_width; in initial_setup() 165 jdiv_round_up((long) cinfo->image_width, in per_scan_setup() 186 tmp = (int) (jdiv_round_up(cinfo->image_width, 8) in per_scan_setup()
|
D | jcsample.c | 159 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()
|
D | jdmaster.c | 119 jdiv_round_up((long) cinfo->image_width, 8L); in jpeg_calc_output_dimensions() 126 jdiv_round_up((long) cinfo->image_width, 4L); in jpeg_calc_output_dimensions() 133 jdiv_round_up((long) cinfo->image_width, 2L); in jpeg_calc_output_dimensions() 139 cinfo->output_width = cinfo->image_width; in jpeg_calc_output_dimensions() 168 jdiv_round_up((long) cinfo->image_width * in jpeg_calc_output_dimensions() 180 cinfo->output_width = cinfo->image_width; in jpeg_calc_output_dimensions()
|
D | rdjpgcom.c | 269 unsigned int image_height, image_width; in process_SOFn() local 278 image_width = read_2_bytes(); in process_SOFn() 299 image_width, image_height, num_components, data_precision); in process_SOFn()
|
D | rdtarga.c | 182 for (col = cinfo->image_width; col > 0; col--) { in get_8bit_gray_row() 200 for (col = cinfo->image_width; col > 0; col--) { in get_8bit_row() 220 for (col = cinfo->image_width; col > 0; col--) { in get_16bit_row() 247 for (col = cinfo->image_width; col > 0; col--) { in get_24bit_row() 463 cinfo->image_width = width; in start_input_tga()
|
D | jcmaster.c | 55 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()
|
D | jccolor.c | 142 JDIMENSION num_cols = cinfo->image_width; in rgb_ycc_convert() 198 JDIMENSION num_cols = cinfo->image_width; in rgb_gray_convert() 237 JDIMENSION num_cols = cinfo->image_width; in cmyk_ycck_convert() 289 JDIMENSION num_cols = cinfo->image_width; in grayscale_convert() 350 JDIMENSION num_cols = cinfo->image_width; in null_convert()
|
/external/qemu/distrib/jpeg-6b/ |
D | example.c | 63 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()
|
D | rdppm.c | 151 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()
|
D | jdinput.c | 49 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) in initial_setup() 87 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 98 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 119 cinfo->original_image_width = cinfo->image_width; in initial_setup() 165 jdiv_round_up((long) cinfo->image_width, in per_scan_setup() 186 tmp = (int) (jdiv_round_up(cinfo->image_width, 8) in per_scan_setup()
|
D | jcsample.c | 159 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()
|
D | jdmaster.c | 119 jdiv_round_up((long) cinfo->image_width, 8L); in jpeg_calc_output_dimensions() 126 jdiv_round_up((long) cinfo->image_width, 4L); in jpeg_calc_output_dimensions() 133 jdiv_round_up((long) cinfo->image_width, 2L); in jpeg_calc_output_dimensions() 139 cinfo->output_width = cinfo->image_width; in jpeg_calc_output_dimensions() 168 jdiv_round_up((long) cinfo->image_width * in jpeg_calc_output_dimensions() 180 cinfo->output_width = cinfo->image_width; in jpeg_calc_output_dimensions()
|
D | jccolor.c | 142 JDIMENSION num_cols = cinfo->image_width; in rgb_ycc_convert() 189 JDIMENSION num_cols = cinfo->image_width; in rgb565_ycc_convert() 235 JDIMENSION num_cols = cinfo->image_width; in rgba8888_ycc_convert() 291 JDIMENSION num_cols = cinfo->image_width; in rgb_gray_convert() 330 JDIMENSION num_cols = cinfo->image_width; in cmyk_ycck_convert() 382 JDIMENSION num_cols = cinfo->image_width; in grayscale_convert() 443 JDIMENSION num_cols = cinfo->image_width; in null_convert()
|
D | rdjpgcom.c | 269 unsigned int image_height, image_width; in process_SOFn() local 278 image_width = read_2_bytes(); in process_SOFn() 299 image_width, image_height, num_components, data_precision); in process_SOFn()
|
D | rdtarga.c | 182 for (col = cinfo->image_width; col > 0; col--) { in get_8bit_gray_row() 200 for (col = cinfo->image_width; col > 0; col--) { in get_8bit_row() 220 for (col = cinfo->image_width; col > 0; col--) { in get_16bit_row() 247 for (col = cinfo->image_width; col > 0; col--) { in get_24bit_row() 463 cinfo->image_width = width; in start_input_tga()
|
D | jcmaster.c | 55 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()
|
/external/webkit/Source/WebCore/platform/image-encoders/skia/ |
D | JPEGImageEncoder.cpp | 129 cinfo.image_width = imageSize.width(); in encodePixels() 138 row.resize(cinfo.image_width * cinfo.input_components); in encodePixels() 141 preMultipliedBGRAtoRGB(pixels, cinfo.image_width, row.data()); in encodePixels() 143 RGBAtoRGB(pixels, cinfo.image_width, row.data()); in encodePixels() 145 pixels += cinfo.image_width * 4; in encodePixels()
|
/external/webkit/Source/WebCore/platform/image-encoders/ |
D | JPEGImageEncoder.cpp | 101 compressData.image_width = size.width(); in compressRGBABigEndianToJPEG() 115 rowBuffer.resize(compressData.image_width * 3); in compressRGBABigEndianToJPEG() 118 … const unsigned char* pixelEnd = pixel + compressData.image_width * compressData.image_height * 4; in compressRGBABigEndianToJPEG() 121 for (const unsigned char* rowEnd = pixel + compressData.image_width * 4; pixel < rowEnd;) { in compressRGBABigEndianToJPEG()
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 54 const CGFloat image_width = image ? [image size].width : 0.0; 56 return kBubblePadding + image_width; 63 return kBubblePadding + image_width + label_width; 83 const CGFloat image_width = GetWidthForImageAndLabel(image_, nil); 84 if (image_width <= width) 85 return image_width;
|
D | image_decoration.mm | 41 const CGFloat image_width = [image size].width; 42 if (image_width <= width) 43 return image_width;
|
D | keyword_hint_decoration.mm | 96 const CGFloat image_width = image ? [image size].width : 0.0; 102 if (width < image_width) 111 kHintImagePadding + image_width + kHintImagePadding + 116 return image_width; 121 const CGFloat image_width = image ? [image size].width : 0.0; 123 const bool draw_full = NSWidth(frame) > image_width;
|