Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dwrgif.c83 flush_packet (gif_dest_ptr dinfo) in flush_packet() argument
86 if (dinfo->bytesinpkt > 0) { /* never write zero-length packet */ in flush_packet()
87 dinfo->packetbuf[0] = (char) dinfo->bytesinpkt++; in flush_packet()
88 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) in flush_packet()
89 != (size_t) dinfo->bytesinpkt) in flush_packet()
90 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); in flush_packet()
91 dinfo->bytesinpkt = 0; in flush_packet()
97 #define CHAR_OUT(dinfo,c) \ argument
98 { (dinfo)->packetbuf[++(dinfo)->bytesinpkt] = (char) (c); \
99 if ((dinfo)->bytesinpkt >= 255) \
[all …]
Dturbojpeg.c95 struct jpeg_decompress_struct dinfo; member
131 j_compress_ptr cinfo=NULL; j_decompress_ptr dinfo=NULL; \
134 cinfo=&this->cinfo; dinfo=&this->dinfo; \
143 j_decompress_ptr dinfo=NULL; \
146 dinfo=&this->dinfo; \
274 static int setDecompDefaults(struct jpeg_decompress_struct *dinfo, in setDecompDefaults() argument
282 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
285 dinfo->out_color_space=JCS_EXT_RGB; break; in setDecompDefaults()
287 dinfo->out_color_space=JCS_EXT_BGR; break; in setDecompDefaults()
289 dinfo->out_color_space=JCS_EXT_RGBX; break; in setDecompDefaults()
[all …]
Dbmp.c248 struct jpeg_decompress_struct dinfo; in savebmp() local
254 memset(&dinfo, 0, sizeof(struct jpeg_decompress_struct)); in savebmp()
262 dinfo.err=jpeg_std_error(&jerr.pub); in savebmp()
272 jpeg_create_decompress(&dinfo); in savebmp()
275 dinfo.out_color_components=dinfo.output_components=1; in savebmp()
276 dinfo.out_color_space=JCS_GRAYSCALE; in savebmp()
280 dinfo.out_color_components=dinfo.output_components=3; in savebmp()
281 dinfo.out_color_space=JCS_RGB; in savebmp()
283 dinfo.image_width=w; dinfo.image_height=h; in savebmp()
284 dinfo.global_state=DSTATE_READY; in savebmp()
[all …]
Dwrtarga.c47 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) in write_header() argument
81 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t) 18) in write_header()
92 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
96 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_pixel_rows()
113 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument
117 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_gray_rows()
137 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument
140 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_demapped_gray()
160 start_output_tga (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_tga() argument
162 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in start_output_tga()
[all …]
Dwrppm.c74 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
77 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_pixel_rows()
89 copy_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in copy_pixel_rows() argument
92 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in copy_pixel_rows()
112 put_demapped_rgb (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_rgb() argument
115 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_rgb()
137 put_demapped_gray (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_demapped_gray() argument
140 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_gray()
160 start_output_ppm (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_ppm() argument
162 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in start_output_ppm()
[all …]
Dwrrle.c68 (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
79 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_rle() argument
81 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in start_output_rle()
155 rle_put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in rle_put_pixel_rows() argument
158 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in rle_put_pixel_rows()
174 finish_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_rle() argument
176 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in finish_output_rle()
Dwrbmp.c84 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_pixel_rows() argument
88 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_pixel_rows()
138 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, in put_gray_rows() argument
142 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_gray_rows()
174 start_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in start_output_bmp() argument
382 finish_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) in finish_output_bmp() argument
384 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in finish_output_bmp()
Dcdjpeg.h50 void (*start_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo);
52 void (*put_pixel_rows) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
55 void (*finish_output) (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo);
/external/skia/src/codec/
DSkJpegCodec.cpp47 if (JPEG_HEADER_OK != jpeg_read_header(decoderMgr->dinfo(), true)) { in ReadHeader()
56 const SkImageInfo& imageInfo = SkImageInfo::Make(decoderMgr->dinfo()->image_width, in ReadHeader()
57 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType); in ReadHeader()
82 , fReadyState(decoderMgr->dinfo()->global_state) in SkJpegCodec()
89 static size_t get_row_bytes(const j_decompress_ptr dinfo) { in get_row_bytes() argument
91 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 : in get_row_bytes()
92 dinfo->out_color_components; in get_row_bytes()
94 const size_t colorBytes = dinfo->out_color_components; in get_row_bytes()
96 return dinfo->output_width * colorBytes; in get_row_bytes()
106 void calc_output_dimensions(jpeg_decompress_struct* dinfo, unsigned int num, unsigned int denom) { in calc_output_dimensions() argument
[all …]
DSkJpegUtility_codec.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
88 void skjpeg_err_exit(j_common_ptr dinfo) { in skjpeg_err_exit() argument
91 skjpeg_error_mgr* error = (skjpeg_error_mgr*) dinfo->err; in skjpeg_err_exit()
[all …]
DSkJpegDecoderMgr.h65 jpeg_decompress_struct* dinfo();
DSkJpegDecoderMgr.cpp72 jpeg_decompress_struct* JpegDecoderMgr::dinfo() { in dinfo() function in JpegDecoderMgr
/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/third_party/libjpeg/
Dcdjpeg.h52 djpeg_dest_ptr dinfo));
55 djpeg_dest_ptr dinfo,
59 djpeg_dest_ptr dinfo));
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h156 void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo);
/external/iproute2/misc/
Dss.c1965 const struct tcp_dctcp_info *dinfo in tcp_show_info() local
1968 dctcp->enabled = !!dinfo->dctcp_enabled; in tcp_show_info()
1969 dctcp->ce_state = dinfo->dctcp_ce_state; in tcp_show_info()
1970 dctcp->alpha = dinfo->dctcp_alpha; in tcp_show_info()
1971 dctcp->ab_ecn = dinfo->dctcp_ab_ecn; in tcp_show_info()
1972 dctcp->ab_tot = dinfo->dctcp_ab_tot; in tcp_show_info()
/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.c4590 DebugInfo* dinfo; in is_in_dynamic_linker_shared_object() local
4594 dinfo = VG_(find_DebugInfo)( ga ); in is_in_dynamic_linker_shared_object()
4595 if (!dinfo) return False; in is_in_dynamic_linker_shared_object()
4597 soname = VG_(DebugInfo_get_soname)(dinfo); in is_in_dynamic_linker_shared_object()