Home
last modified time | relevance | path

Searched refs:dinfo (Results 1 – 25 of 29) sorted by relevance

12

/external/libjpeg-turbo/
Dwrgif.c84 flush_packet (gif_dest_ptr dinfo) in flush_packet() argument
87 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()
88 dinfo->packetbuf[0] = (char) dinfo->bytesinpkt++; in flush_packet()
89 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet()
90 != (size_t) dinfo->bytesinpkt) in flush_packet()
91 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet()
92 dinfo->bytesinpkt = 0; in flush_packet()
98 #define CHAR_OUT(dinfo,c) \ argument
99 { (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char) (c); \
100 if ((dinfo)->bytesinpkt >= 255) \
[all …]
Dturbojpeg.c96 struct jpeg_decompress_struct dinfo; member
132 j_compress_ptr cinfo=NULL; j_decompress_ptr dinfo=NULL; \
135 cinfo=&this->cinfo; dinfo=&this->dinfo; \
144 j_decompress_ptr dinfo=NULL; \
147 dinfo=&this->dinfo; \
275 static int setDecompDefaults(struct jpeg_decompress_struct *dinfo, in setDecompDefaults() argument
283 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
286 dinfo->out_color_space=JCS_EXT_RGB; break; in setDecompDefaults()
288 dinfo->out_color_space=JCS_EXT_BGR; break; in setDecompDefaults()
290 dinfo->out_color_space=JCS_EXT_RGBX; break; in setDecompDefaults()
[all …]
Dbmp.c255 struct jpeg_decompress_struct dinfo; in savebmp() local
261 memset(&dinfo, 0, sizeof(struct jpeg_decompress_struct)); in savebmp()
269 dinfo.err=jpeg_std_error(&jerr.pub); in savebmp()
279 jpeg_create_decompress(&dinfo); in savebmp()
282 dinfo.out_color_components=dinfo.output_components=1; in savebmp()
283 dinfo.out_color_space=JCS_GRAYSCALE; in savebmp()
287 dinfo.out_color_components=dinfo.output_components=3; in savebmp()
288 dinfo.out_color_space=JCS_RGB; in savebmp()
290 dinfo.image_width=w; dinfo.image_height=h; in savebmp()
291 dinfo.global_state=DSTATE_READY; in savebmp()
[all …]
Dwrtarga.c48 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument
82 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t) 18) in write_header()
93 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
97 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_pixel_rows()
114 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument
118 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_gray_rows()
138 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument
141 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_demapped_gray()
161 start_output_tga (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument
163 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in start_output_tga()
[all …]
Dwrppm.c75 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
78 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_pixel_rows()
90 copy_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in copy_pixel_rows() argument
93 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in copy_pixel_rows()
113 put_demapped_rgb (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_rgb() argument
116 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_rgb()
138 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument
141 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_gray()
161 start_output_ppm (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_ppm() argument
163 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in start_output_ppm()
[all …]
Dwrrle.c69 (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
80 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_rle() argument
82 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in start_output_rle()
156 rle_put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in rle_put_pixel_rows() argument
159 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in rle_put_pixel_rows()
175 finish_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_rle() argument
177 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in finish_output_rle()
Dwrbmp.c85 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
89 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_pixel_rows()
139 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument
143 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_gray_rows()
175 start_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_bmp() argument
383 finish_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_bmp() argument
385 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in finish_output_bmp()
Dcdjpeg.h51 void (*start_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo);
53 void (*put_pixel_rows) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
56 void (*finish_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo);
/external/skia/src/codec/
DSkJpegCodec.cpp100 static SkCodec::Origin get_exif_orientation(jpeg_decompress_struct* dinfo) { in get_exif_orientation() argument
102 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_exif_orientation()
125 static sk_sp<SkData> get_icc_profile(jpeg_decompress_struct* dinfo) { in get_icc_profile() argument
133 for (jpeg_marker_struct* marker = dinfo->marker_list; marker; marker = marker->next) { in get_icc_profile()
206 jpeg_save_markers(decoderMgr->dinfo(), kExifMarker, 0xFFFF); in ReadHeader()
207 jpeg_save_markers(decoderMgr->dinfo(), kICCMarker, 0xFFFF); in ReadHeader()
211 switch (jpeg_read_header(decoderMgr->dinfo(), true)) { in ReadHeader()
230 Origin orientation = get_exif_orientation(decoderMgr->dinfo()); in ReadHeader()
231 sk_sp<SkData> iccData = get_icc_profile(decoderMgr->dinfo()); in ReadHeader()
235 switch (decoderMgr->dinfo()->jpeg_color_space) { in ReadHeader()
[all …]
DSkJpegUtility.cpp15 void skjpeg_err_exit(j_common_ptr dinfo) { in skjpeg_err_exit() argument
18 skjpeg_error_mgr* error = (skjpeg_error_mgr*) dinfo->err; in skjpeg_err_exit()
19 (*error->output_message) (dinfo); in skjpeg_err_exit()
28 static void sk_init_buffered_source(j_decompress_ptr dinfo) { in sk_init_buffered_source() argument
29 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_init_buffered_source()
37 static boolean sk_fill_buffered_input_buffer(j_decompress_ptr dinfo) { in sk_fill_buffered_input_buffer() argument
38 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_fill_buffered_input_buffer()
54 static void sk_skip_buffered_input_data(j_decompress_ptr dinfo, long numBytes) { in sk_skip_buffered_input_data() argument
55 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_skip_buffered_input_data()
62 dinfo->err->error_exit((j_common_ptr) dinfo); in sk_skip_buffered_input_data()
[all …]
DSkJpegDecoderMgr.h64 jpeg_decompress_struct* dinfo();
DSkJpegDecoderMgr.cpp106 jpeg_decompress_struct* JpegDecoderMgr::dinfo() { in dinfo() function in JpegDecoderMgr
/external/libcups/cups/
Ddest-options.c39 static void cups_create_cached(http_t *http, cups_dinfo_t *dinfo,
41 static void cups_create_constraints(cups_dinfo_t *dinfo);
42 static void cups_create_defaults(cups_dinfo_t *dinfo);
43 static void cups_create_media_db(cups_dinfo_t *dinfo,
46 static int cups_get_media_db(http_t *http, cups_dinfo_t *dinfo,
51 static cups_array_t *cups_test_constraints(cups_dinfo_t *dinfo,
58 static void cups_update_ready(http_t *http, cups_dinfo_t *dinfo);
74 cups_dinfo_t *dinfo, /* I - Destination information */ in cupsCheckDestSupported() argument
99 if (!http || !dest || !dinfo || !option) in cupsCheckDestSupported()
107 attr = ippFindAttribute(dinfo->attrs, option, IPP_TAG_ZERO); in cupsCheckDestSupported()
[all …]
Dtestdest.c29 static void localize(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option, cons…
30 static void print_file(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *filename, …
31 static void show_conflicts(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, int num_options, c…
32 static void show_default(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option);
33 static void show_media(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, unsigned flags, const …
34 static void show_supported(http_t *http, cups_dest_t *dest, cups_dinfo_t *dinfo, const char *option…
48 cups_dinfo_t *dinfo; /* Destination info */ in main() local
131 if ((dinfo = cupsCopyDestInfo(http, dest)) == NULL) in main()
140 show_supported(http, dest, dinfo, argv[3], argv[4]); in main()
142 show_supported(http, dest, dinfo, argv[3], NULL); in main()
[all …]
Ddest-localization.c26 static void cups_create_localizations(http_t *http, cups_dinfo_t *dinfo);
46 cups_dinfo_t *dinfo, /* I - Destination information */ in cupsLocalizeDestMedia() argument
63 …info=%p, flags=%x, size=%p(\"%s\"))", (void *)http, (void *)dest, (void *)dinfo, flags, (void *)si… in cupsLocalizeDestMedia()
69 if (!http || !dest || !dinfo || !size) in cupsLocalizeDestMedia()
80 if (!dinfo->localizations) in cupsLocalizeDestMedia()
81 cups_create_localizations(http, dinfo); in cupsLocalizeDestMedia()
84 if ((match = (_cups_message_t *)cupsArrayFind(dinfo->localizations, &key)) != NULL) in cupsLocalizeDestMedia()
133 db = dinfo->ready_db; in cupsLocalizeDestMedia()
135 db = dinfo->media_db; in cupsLocalizeDestMedia()
160 lsource = cupsLocalizeDestValue(http, dest, dinfo, "media-source", mdb->source); in cupsLocalizeDestMedia()
[all …]
Dcups.h541 extern void cupsFreeDestInfo(cups_dinfo_t *dinfo) _CUPS_API_1_6;
543 cups_dinfo_t *dinfo,
548 cups_dinfo_t *dinfo,
571 cups_dinfo_t *dinfo,
574 cups_dinfo_t *dinfo,
577 cups_dinfo_t *dinfo,
581 cups_dinfo_t *dinfo, int n,
586 cups_dinfo_t *dinfo,
589 cups_dinfo_t *dinfo,
Dcupspm.md384 cups_dinfo_t *dinfo,
431 cups_dinfo_t *dinfo,
476 cups_dinfo_t *dinfo, const char *option);
520 cups_dinfo_t *dinfo,
526 cups_dinfo_t *dinfo,
568 cups_dinfo_t *dinfo, int n,
573 cups_dinfo_t *dinfo, unsigned flags);
604 cups_dinfo_t *dinfo, unsigned flags,
/external/libvncserver/common/
Dturbojpeg.c90 struct jpeg_decompress_struct dinfo; member
110 j_compress_ptr cinfo=NULL; j_decompress_ptr dinfo=NULL; \
111 (void) cinfo; (void) dinfo; /* silence warnings */ \
114 cinfo=&this->cinfo; dinfo=&this->dinfo;
205 static int setDecompDefaults(struct jpeg_decompress_struct *dinfo, in setDecompDefaults() argument
213 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
216 dinfo->out_color_space=JCS_EXT_RGB; break; in setDecompDefaults()
218 dinfo->out_color_space=JCS_EXT_BGR; break; in setDecompDefaults()
220 dinfo->out_color_space=JCS_EXT_RGBX; break; in setDecompDefaults()
222 dinfo->out_color_space=JCS_EXT_BGRX; break; in setDecompDefaults()
[all …]
/external/iptables/extensions/
Dlibxt_dscp.c55 struct xt_dscp_info *dinfo = cb->data; in dscp_parse() local
61 dinfo->invert = 1; in dscp_parse()
64 dinfo->dscp = class_to_dscp(cb->arg); in dscp_parse()
66 dinfo->invert = 1; in dscp_parse()
81 const struct xt_dscp_info *dinfo = in dscp_print() local
83 printf(" DSCP match %s0x%02x", dinfo->invert ? "!" : "", dinfo->dscp); in dscp_print()
88 const struct xt_dscp_info *dinfo = in dscp_save() local
91 printf("%s --dscp 0x%02x", dinfo->invert ? " !" : "", dinfo->dscp); in dscp_save()
97 const struct xt_dscp_info *dinfo = in __dscp_xlate() local
100 xt_xlate_add(xl, "dscp %s0x%02x", dinfo->invert ? "!= " : "", in __dscp_xlate()
[all …]
Dlibxt_DSCP.c55 struct xt_DSCP_info *dinfo = cb->data; in DSCP_parse() local
60 dinfo->dscp = class_to_dscp(cb->arg); in DSCP_parse()
81 const struct xt_DSCP_info *dinfo = in DSCP_print() local
84 print_dscp(dinfo->dscp, numeric); in DSCP_print()
89 const struct xt_DSCP_info *dinfo = in DSCP_save() local
92 printf(" --set-dscp 0x%02x", dinfo->dscp); in DSCP_save()
99 const struct xt_DSCP_info *dinfo = in DSCP_xlate() local
102 xt_xlate_add(xl, "ip dscp set 0x%02x", dinfo->dscp); in DSCP_xlate()
109 const struct xt_DSCP_info *dinfo = in DSCP_xlate6() local
112 xt_xlate_add(xl, "ip6 dscp set 0x%02x", dinfo->dscp); in DSCP_xlate6()
/external/pdfium/third_party/libjpeg/
Dcdjpeg.h52 djpeg_dest_ptr dinfo));
55 djpeg_dest_ptr dinfo,
59 djpeg_dest_ptr dinfo));
/external/ltp/testcases/kernel/fs/doio/
Diogen.c952 struct lk_device_info dinfo; in get_file_info() local
1002 if (lk_rawdev(rec->f_path, dinfo.path, sizeof(dinfo.path), 0) == in get_file_info()
1006 if (lk_devinfo(&dinfo, 0) == -1) { in get_file_info()
1010 rec->f_riou = ctob(dinfo.iou); in get_file_info()
1040 strcpy(dinfo.path, rec->f_path); in get_file_info()
1042 if (lk_devinfo(&dinfo, 0) == -1) { in get_file_info()
1048 rec->f_iou = ctob(dinfo.iou); in get_file_info()
1049 rec->f_riou = ctob(dinfo.iou); in get_file_info()
1050 rec->f_length = ctob(dinfo.length); in get_file_info()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c588 const struct pipe_draw_info *dinfo) in virgl_draw_vbo() argument
593 struct pipe_draw_info info = *dinfo; in virgl_draw_vbo()
595 if (!(rs->caps.caps.v1.prim_mask & (1 << dinfo->mode))) { in virgl_draw_vbo()
597 util_primconvert_draw_vbo(vctx->primconvert, dinfo); in virgl_draw_vbo()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h357 void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo);
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c782 const struct pipe_draw_info *dinfo) in r300_draw_vbo() argument
785 struct pipe_draw_info info = *dinfo; in r300_draw_vbo()

12