Home
last modified time | relevance | path

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

/external/jpeg/
Dwrgif.c81 flush_packet (gif_dest_ptr dinfo) in flush_packet() argument
84 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()
85 dinfo->packetbuf[0] = (char) dinfo->bytesinpkt++; in flush_packet()
86 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet()
87 != (size_t) dinfo->bytesinpkt) in flush_packet()
88 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet()
89 dinfo->bytesinpkt = 0; in flush_packet()
95 #define CHAR_OUT(dinfo,c) \ argument
96 { (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char) (c); \
97 if ((dinfo)->bytesinpkt >= 255) \
[all …]
Dwrtarga.c54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument
88 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t) 18) in write_header()
99 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
103 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_pixel_rows()
120 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument
124 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_gray_rows()
144 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument
147 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_demapped_gray()
167 start_output_tga (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument
169 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in start_output_tga()
[all …]
Dwrppm.c90 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
93 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_pixel_rows()
105 copy_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in copy_pixel_rows() argument
108 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in copy_pixel_rows()
128 put_demapped_rgb (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_rgb() argument
131 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_rgb()
153 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument
156 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_gray()
176 start_output_ppm (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_ppm() argument
178 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in start_output_ppm()
[all …]
Dwrrle.c66 JPP((j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
77 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_rle() argument
79 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in start_output_rle()
153 rle_put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in rle_put_pixel_rows() argument
156 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in rle_put_pixel_rows()
172 finish_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_rle() argument
174 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in finish_output_rle()
Dwrbmp.c71 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
75 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_pixel_rows()
106 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument
110 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_gray_rows()
142 start_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_bmp() argument
344 finish_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_bmp() argument
346 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in finish_output_bmp()
Dcdjpeg.h52 djpeg_dest_ptr dinfo));
55 djpeg_dest_ptr dinfo,
59 djpeg_dest_ptr dinfo));
/external/skia/src/codec/
DSkJpegCodec.cpp35 SkSwizzler::SrcConfig get_src_config(const jpeg_decompress_struct& dinfo) { in get_src_config() argument
36 if (JCS_CMYK == dinfo.out_color_space) { in get_src_config()
40 if (3 == dinfo.out_color_components && JCS_RGB == dinfo.out_color_space) { in get_src_config()
44 if (JCS_RGBA_8888 == dinfo.out_color_space) { in get_src_config()
48 if (JCS_RGB_565 == dinfo.out_color_space) { in get_src_config()
52 if (1 == dinfo.out_color_components && JCS_GRAYSCALE == dinfo.out_color_space) { in get_src_config()
136 if (JPEG_HEADER_OK != jpeg_read_header(decoderMgr->dinfo(), true)) { in ReadHeader()
145 const SkImageInfo& imageInfo = SkImageInfo::Make(decoderMgr->dinfo()->image_width, in ReadHeader()
146 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType); in ReadHeader()
192 jpeg_decompress_struct dinfo; in onGetScaledDimensions() local
[all …]
DSkJpegUtility.cpp14 static void sk_init_source(j_decompress_ptr dinfo) { in sk_init_source() argument
15 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_init_source()
23 static boolean sk_fill_input_buffer(j_decompress_ptr dinfo) { in sk_fill_input_buffer() argument
24 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_fill_input_buffer()
40 static void sk_skip_input_data(j_decompress_ptr dinfo, long numBytes) { in sk_skip_input_data() argument
41 skjpeg_source_mgr* src = (skjpeg_source_mgr*) dinfo->src; in sk_skip_input_data()
48 dinfo->err->error_exit((j_common_ptr) dinfo); in sk_skip_input_data()
63 static void sk_term_source(j_decompress_ptr dinfo) in sk_term_source() argument
83 void skjpeg_err_exit(j_common_ptr dinfo) { in skjpeg_err_exit() argument
86 skjpeg_error_mgr* error = (skjpeg_error_mgr*) dinfo->err; in skjpeg_err_exit()
[all …]
DSkJpegDecoderMgr.cpp33 static void overwrite_mem_buffer_size(jpeg_decompress_struct* dinfo) { in overwrite_mem_buffer_size() argument
39 dinfo->mem->max_memory_to_use = 30 * 1024 * 1024; in overwrite_mem_buffer_size()
41 dinfo->mem->max_memory_to_use = 5 * 1024 * 1024; in overwrite_mem_buffer_size()
107 jpeg_decompress_struct* JpegDecoderMgr::dinfo() { in dinfo() function in JpegDecoderMgr
DSkJpegDecoderMgr.h67 jpeg_decompress_struct* dinfo();
/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()
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()
/external/pdfium/core/src/fxcodec/libjpeg/
Dcdjpeg.h52 djpeg_dest_ptr dinfo));
55 djpeg_dest_ptr dinfo,
59 djpeg_dest_ptr dinfo));
/external/linux-tools-perf/src/tools/perf/util/
Dprobe-event.c236 struct debuginfo *dinfo; in kprobe_convert_to_perf_probe() local
244 dinfo = debuginfo__new_online_kernel(addr); in kprobe_convert_to_perf_probe()
245 if (dinfo) { in kprobe_convert_to_perf_probe()
246 ret = debuginfo__find_probe_point(dinfo, in kprobe_convert_to_perf_probe()
248 debuginfo__delete(dinfo); in kprobe_convert_to_perf_probe()
306 struct debuginfo *dinfo; in try_to_find_probe_trace_events() local
318 dinfo = open_debuginfo(target); in try_to_find_probe_trace_events()
320 if (!dinfo) { in try_to_find_probe_trace_events()
330 ntevs = debuginfo__find_trace_events(dinfo, pev, tevs, max_tevs); in try_to_find_probe_trace_events()
332 debuginfo__delete(dinfo); in try_to_find_probe_trace_events()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h156 void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo);
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c793 const struct pipe_draw_info *dinfo) in r300_draw_vbo() argument
796 struct pipe_draw_info info = *dinfo; in r300_draw_vbo()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c1136 void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo) in r600_draw_vbo() argument
1139 struct pipe_draw_info info = *dinfo; in r600_draw_vbo()
/external/valgrind/helgrind/
Dhg_main.c4466 DebugInfo* dinfo; in is_in_dynamic_linker_shared_object() local
4470 dinfo = VG_(find_DebugInfo)( ga ); in is_in_dynamic_linker_shared_object()
4471 if (!dinfo) return False; in is_in_dynamic_linker_shared_object()
4473 soname = VG_(DebugInfo_get_soname)(dinfo); in is_in_dynamic_linker_shared_object()