Home | History | Annotate | Download | only in libjpeg

Lines Matching full:pred

481   int Al, pred;
580 pred = (int) (((Q01<<7) + num) / (Q01<<8));
581 if (Al > 0 && pred >= (1<<Al))
582 pred = (1<<Al)-1;
584 pred = (int) (((Q01<<7) - num) / (Q01<<8));
585 if (Al > 0 && pred >= (1<<Al))
586 pred = (1<<Al)-1;
587 pred = -pred;
589 workspace[1] = (JCOEF) pred;
595 pred = (int) (((Q10<<7) + num) / (Q10<<8));
596 if (Al > 0 && pred >= (1<<Al))
597 pred = (1<<Al)-1;
599 pred = (int) (((Q10<<7) - num) / (Q10<<8));
600 if (Al > 0 && pred >= (1<<Al))
601 pred = (1<<Al)-1;
602 pred = -pred;
604 workspace[8] = (JCOEF) pred;
610 pred = (int) (((Q20<<7) + num) / (Q20<<8));
611 if (Al > 0 && pred >= (1<<Al))
612 pred = (1<<Al)-1;
614 pred = (int) (((Q20<<7) - num) / (Q20<<8));
615 if (Al > 0 && pred >= (1<<Al))
616 pred = (1<<Al)-1;
617 pred = -pred;
619 workspace[16] = (JCOEF) pred;
625 pred = (int) (((Q11<<7) + num) / (Q11<<8));
626 if (Al > 0 && pred >= (1<<Al))
627 pred = (1<<Al)-1;
629 pred = (int) (((Q11<<7) - num) / (Q11<<8));
630 if (Al > 0 && pred >= (1<<Al))
631 pred = (1<<Al)-1;
632 pred = -pred;
634 workspace[9] = (JCOEF) pred;
640 pred = (int) (((Q02<<7) + num) / (Q02<<8));
641 if (Al > 0 && pred >= (1<<Al))
642 pred = (1<<Al)-1;
644 pred = (int) (((Q02<<7) - num) / (Q02<<8));
645 if (Al > 0 && pred >= (1<<Al))
646 pred = (1<<Al)-1;
647 pred = -pred;
649 workspace[2] = (JCOEF) pred;