Lines Matching refs:arith_encode
221 arith_encode (j_compress_ptr cinfo, unsigned char *st, int val) in arith_encode() function
402 arith_encode(cinfo, st, 0); in encode_mcu_DC_first()
406 arith_encode(cinfo, st, 1); in encode_mcu_DC_first()
410 arith_encode(cinfo, st + 1, 0); /* Table F.4: SS = S0 + 1 */ in encode_mcu_DC_first()
415 arith_encode(cinfo, st + 1, 1); /* Table F.4: SS = S0 + 1 */ in encode_mcu_DC_first()
422 arith_encode(cinfo, st, 1); in encode_mcu_DC_first()
427 arith_encode(cinfo, st, 1); in encode_mcu_DC_first()
432 arith_encode(cinfo, st, 0); in encode_mcu_DC_first()
441 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu_DC_first()
496 arith_encode(cinfo, st, 0); /* EOB decision */ in encode_mcu_AC_first()
500 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_first()
501 arith_encode(cinfo, entropy->fixed_bin, 0); in encode_mcu_AC_first()
507 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_first()
508 arith_encode(cinfo, entropy->fixed_bin, 1); in encode_mcu_AC_first()
512 arith_encode(cinfo, st + 1, 0); st += 3; k++; in encode_mcu_AC_first()
518 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
522 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
527 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
533 arith_encode(cinfo, st, 0); in encode_mcu_AC_first()
537 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu_AC_first()
542 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
577 arith_encode(cinfo, st, (MCU_data[blkn][0][0] >> Al) & 1); in encode_mcu_DC_refine()
640 arith_encode(cinfo, st, 0); /* EOB decision */ in encode_mcu_AC_refine()
645 arith_encode(cinfo, st + 2, (v & 1)); in encode_mcu_AC_refine()
647 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_refine()
648 arith_encode(cinfo, entropy->fixed_bin, 0); in encode_mcu_AC_refine()
656 arith_encode(cinfo, st + 2, (v & 1)); in encode_mcu_AC_refine()
658 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_refine()
659 arith_encode(cinfo, entropy->fixed_bin, 1); in encode_mcu_AC_refine()
664 arith_encode(cinfo, st + 1, 0); st += 3; k++; in encode_mcu_AC_refine()
670 arith_encode(cinfo, st, 1); in encode_mcu_AC_refine()
717 arith_encode(cinfo, st, 0); in encode_mcu()
721 arith_encode(cinfo, st, 1); in encode_mcu()
725 arith_encode(cinfo, st + 1, 0); /* Table F.4: SS = S0 + 1 */ in encode_mcu()
730 arith_encode(cinfo, st + 1, 1); /* Table F.4: SS = S0 + 1 */ in encode_mcu()
737 arith_encode(cinfo, st, 1); in encode_mcu()
742 arith_encode(cinfo, st, 1); in encode_mcu()
747 arith_encode(cinfo, st, 0); in encode_mcu()
756 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu()
770 arith_encode(cinfo, st, 0); /* EOB decision */ in encode_mcu()
772 arith_encode(cinfo, st + 1, 0); st += 3; k++; in encode_mcu()
774 arith_encode(cinfo, st + 1, 1); in encode_mcu()
778 arith_encode(cinfo, entropy->fixed_bin, 0); in encode_mcu()
781 arith_encode(cinfo, entropy->fixed_bin, 1); in encode_mcu()
787 arith_encode(cinfo, st, 1); in encode_mcu()
791 arith_encode(cinfo, st, 1); in encode_mcu()
796 arith_encode(cinfo, st, 1); in encode_mcu()
802 arith_encode(cinfo, st, 0); in encode_mcu()
806 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu()
811 arith_encode(cinfo, st, 1); in encode_mcu()