Lines Matching refs:arith_encode
225 arith_encode(j_compress_ptr cinfo, unsigned char *st, int val) in arith_encode() function
406 arith_encode(cinfo, st, 0); in encode_mcu_DC_first()
410 arith_encode(cinfo, st, 1); in encode_mcu_DC_first()
414 arith_encode(cinfo, st + 1, 0); /* Table F.4: SS = S0 + 1 */ in encode_mcu_DC_first()
419 arith_encode(cinfo, st + 1, 1); /* Table F.4: SS = S0 + 1 */ in encode_mcu_DC_first()
426 arith_encode(cinfo, st, 1); in encode_mcu_DC_first()
431 arith_encode(cinfo, st, 1); in encode_mcu_DC_first()
436 arith_encode(cinfo, st, 0); in encode_mcu_DC_first()
445 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu_DC_first()
500 arith_encode(cinfo, st, 0); /* EOB decision */ in encode_mcu_AC_first()
504 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_first()
505 arith_encode(cinfo, entropy->fixed_bin, 0); in encode_mcu_AC_first()
511 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_first()
512 arith_encode(cinfo, entropy->fixed_bin, 1); in encode_mcu_AC_first()
516 arith_encode(cinfo, st + 1, 0); st += 3; k++; in encode_mcu_AC_first()
522 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
526 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
531 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
537 arith_encode(cinfo, st, 0); in encode_mcu_AC_first()
541 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu_AC_first()
546 arith_encode(cinfo, st, 1); in encode_mcu_AC_first()
581 arith_encode(cinfo, st, (MCU_data[blkn][0][0] >> Al) & 1); in encode_mcu_DC_refine()
644 arith_encode(cinfo, st, 0); /* EOB decision */ in encode_mcu_AC_refine()
649 arith_encode(cinfo, st + 2, (v & 1)); in encode_mcu_AC_refine()
651 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_refine()
652 arith_encode(cinfo, entropy->fixed_bin, 0); in encode_mcu_AC_refine()
660 arith_encode(cinfo, st + 2, (v & 1)); in encode_mcu_AC_refine()
662 arith_encode(cinfo, st + 1, 1); in encode_mcu_AC_refine()
663 arith_encode(cinfo, entropy->fixed_bin, 1); in encode_mcu_AC_refine()
668 arith_encode(cinfo, st + 1, 0); st += 3; k++; in encode_mcu_AC_refine()
674 arith_encode(cinfo, st, 1); in encode_mcu_AC_refine()
721 arith_encode(cinfo, st, 0); in encode_mcu()
725 arith_encode(cinfo, st, 1); in encode_mcu()
729 arith_encode(cinfo, st + 1, 0); /* Table F.4: SS = S0 + 1 */ in encode_mcu()
734 arith_encode(cinfo, st + 1, 1); /* Table F.4: SS = S0 + 1 */ in encode_mcu()
741 arith_encode(cinfo, st, 1); in encode_mcu()
746 arith_encode(cinfo, st, 1); in encode_mcu()
751 arith_encode(cinfo, st, 0); in encode_mcu()
760 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu()
774 arith_encode(cinfo, st, 0); /* EOB decision */ in encode_mcu()
776 arith_encode(cinfo, st + 1, 0); st += 3; k++; in encode_mcu()
778 arith_encode(cinfo, st + 1, 1); in encode_mcu()
782 arith_encode(cinfo, entropy->fixed_bin, 0); in encode_mcu()
785 arith_encode(cinfo, entropy->fixed_bin, 1); in encode_mcu()
791 arith_encode(cinfo, st, 1); in encode_mcu()
795 arith_encode(cinfo, st, 1); in encode_mcu()
800 arith_encode(cinfo, st, 1); in encode_mcu()
806 arith_encode(cinfo, st, 0); in encode_mcu()
810 arith_encode(cinfo, st, (m & v) ? 1 : 0); in encode_mcu()
815 arith_encode(cinfo, st, 1); in encode_mcu()