Lines Matching refs:compptr
231 jpeg_component_info *compptr; in emit_dac() local
237 compptr = cinfo->cur_comp_info[i]; in emit_dac()
238 dc_in_use[compptr->dc_tbl_no] = 1; in emit_dac()
239 ac_in_use[compptr->ac_tbl_no] = 1; in emit_dac()
281 jpeg_component_info *compptr; in emit_sof() local
298 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in emit_sof()
299 ci++, compptr++) { in emit_sof()
300 emit_byte(cinfo, compptr->component_id); in emit_sof()
301 emit_byte(cinfo, (compptr->h_samp_factor << 4) + compptr->v_samp_factor); in emit_sof()
302 emit_byte(cinfo, compptr->quant_tbl_no); in emit_sof()
312 jpeg_component_info *compptr; in emit_sos() local
321 compptr = cinfo->cur_comp_info[i]; in emit_sos()
322 emit_byte(cinfo, compptr->component_id); in emit_sos()
323 td = compptr->dc_tbl_no; in emit_sos()
324 ta = compptr->ac_tbl_no; in emit_sos()
498 jpeg_component_info *compptr; in write_frame_header() local
504 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in write_frame_header()
505 ci++, compptr++) { in write_frame_header()
506 prec += emit_dqt(cinfo, compptr->quant_tbl_no); in write_frame_header()
518 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in write_frame_header()
519 ci++, compptr++) { in write_frame_header()
520 if (compptr->dc_tbl_no > 1 || compptr->ac_tbl_no > 1) in write_frame_header()
555 jpeg_component_info *compptr; in write_scan_header() local
568 compptr = cinfo->cur_comp_info[i]; in write_scan_header()
573 emit_dht(cinfo, compptr->dc_tbl_no, FALSE); in write_scan_header()
575 emit_dht(cinfo, compptr->ac_tbl_no, TRUE); in write_scan_header()
579 emit_dht(cinfo, compptr->dc_tbl_no, FALSE); in write_scan_header()
580 emit_dht(cinfo, compptr->ac_tbl_no, TRUE); in write_scan_header()