Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:st

222 arith_encode (j_compress_ptr cinfo, unsigned char *st, int val)
232 sv = *st;
249 *st = (sv & 0x80) ^ nl; /* Estimate_after_LPS */
261 *st = (sv & 0x80) ^ nm; /* Estimate_after_MPS */
369 unsigned char *st;
399 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
403 arith_encode(cinfo, st, 0);
407 arith_encode(cinfo, st, 1);
411 arith_encode(cinfo, st + 1, 0); /* Table F.4: SS = S0 + 1 */
412 st += 2; /* Table F.4: SP = S0 + 2 */
416 arith_encode(cinfo, st + 1, 1); /* Table F.4: SS = S0 + 1 */
417 st += 3; /* Table F.4: SN = S0 + 3 */
423 arith_encode(cinfo, st, 1);
426 st = entropy->dc_stats[tbl] + 20; /* Table F.4: X1 = 20 */
428 arith_encode(cinfo, st, 1);
430 st += 1;
433 arith_encode(cinfo, st, 0);
440 st += 14;
442 arith_encode(cinfo, st, (m & v) ? 1 : 0);
460 unsigned char *st;
496 st = entropy->ac_stats[tbl] + 3 * (k - 1);
497 arith_encode(cinfo, st, 0); /* EOB decision */
501 arith_encode(cinfo, st + 1, 1);
508 arith_encode(cinfo, st + 1, 1);
513 arith_encode(cinfo, st + 1, 0); st += 3; k++;
515 st += 2;
519 arith_encode(cinfo, st, 1);
523 arith_encode(cinfo, st, 1);
525 st = entropy->ac_stats[tbl] +
528 arith_encode(cinfo, st, 1);
530 st += 1;
534 arith_encode(cinfo, st, 0);
536 st += 14;
538 arith_encode(cinfo, st, (m & v) ? 1 : 0);
542 st = entropy->ac_stats[tbl] + 3 * (k - 1);
543 arith_encode(cinfo, st, 1);
558 unsigned char *st;
572 st = entropy->fixed_bin; /* use fixed probability estimation */
578 arith_encode(cinfo, st, (MCU_data[blkn][0][0] >> Al) & 1);
594 unsigned char *st;
639 st = entropy->ac_stats[tbl] + 3 * (k - 1);
641 arith_encode(cinfo, st, 0); /* EOB decision */
646 arith_encode(cinfo, st + 2, (v & 1));
648 arith_encode(cinfo, st + 1, 1);
657 arith_encode(cinfo, st + 2, (v & 1));
659 arith_encode(cinfo, st + 1, 1);
665 arith_encode(cinfo, st + 1, 0); st += 3; k++;
670 st = entropy->ac_stats[tbl] + 3 * (k - 1);
671 arith_encode(cinfo, st, 1);
688 unsigned char *st;
714 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
718 arith_encode(cinfo, st, 0);
722 arith_encode(cinfo, st, 1);
726 arith_encode(cinfo, st + 1, 0); /* Table F.4: SS = S0 + 1 */
727 st += 2; /* Table F.4: SP = S0 + 2 */
731 arith_encode(cinfo, st + 1, 1); /* Table F.4: SS = S0 + 1 */
732 st += 3; /* Table F.4: SN = S0 + 3 */
738 arith_encode(cinfo, st, 1);
741 st = entropy->dc_stats[tbl] + 20; /* Table F.4: X1 = 20 */
743 arith_encode(cinfo, st, 1);
745 st += 1;
748 arith_encode(cinfo, st, 0);
755 st += 14;
757 arith_encode(cinfo, st, (m & v) ? 1 : 0);
770 st = entropy->ac_stats[tbl] + 3 * (k - 1);
771 arith_encode(cinfo, st, 0); /* EOB decision */
773 arith_encode(cinfo, st + 1, 0); st += 3; k++;
775 arith_encode(cinfo, st + 1, 1);
784 st += 2;
788 arith_encode(cinfo, st, 1);
792 arith_encode(cinfo, st, 1);
794 st = entropy->ac_stats[tbl] +
797 arith_encode(cinfo, st, 1);
799 st += 1;
803 arith_encode(cinfo, st, 0);
805 st += 14;
807 arith_encode(cinfo, st, (m & v) ? 1 : 0);
811 st = entropy->ac_stats[tbl] + 3 * (k - 1);
812 arith_encode(cinfo, st, 1);