Lines Matching refs:emit_2bytes
136 emit_2bytes(j_compress_ptr cinfo, int value) in emit_2bytes() function
169 emit_2bytes(cinfo, prec ? DCTSIZE2 * 2 + 1 + 2 : DCTSIZE2 + 1 + 2); in emit_dqt()
212 emit_2bytes(cinfo, length + 2 + 1 + 16); in emit_dht()
258 emit_2bytes(cinfo, length * 2 + 2); in emit_dac()
281 emit_2bytes(cinfo, 4); /* fixed length */ in emit_dri()
283 emit_2bytes(cinfo, (int)cinfo->restart_interval); in emit_dri()
296 emit_2bytes(cinfo, 3 * cinfo->num_components + 2 + 5 + 1); /* length */ in emit_sof()
303 emit_2bytes(cinfo, (int)cinfo->_jpeg_height); in emit_sof()
304 emit_2bytes(cinfo, (int)cinfo->_jpeg_width); in emit_sof()
326 emit_2bytes(cinfo, 2 * cinfo->comps_in_scan + 2 + 1 + 3); /* length */ in emit_sos()
370 emit_2bytes(cinfo, 2 + 4 + 1 + 2 + 1 + 2 + 2 + 1 + 1); /* length */ in emit_jfif_app0()
380 emit_2bytes(cinfo, (int)cinfo->X_density); in emit_jfif_app0()
381 emit_2bytes(cinfo, (int)cinfo->Y_density); in emit_jfif_app0()
409 emit_2bytes(cinfo, 2 + 5 + 2 + 2 + 2 + 1); /* length */ in emit_adobe_app14()
416 emit_2bytes(cinfo, 100); /* Version */ in emit_adobe_app14()
417 emit_2bytes(cinfo, 0); /* Flags0 */ in emit_adobe_app14()
418 emit_2bytes(cinfo, 0); /* Flags1 */ in emit_adobe_app14()
450 emit_2bytes(cinfo, (int)(datalen + 2)); /* total length */ in write_marker_header()