Home | History | Annotate | Download | only in libjpeg

Lines Matching full:pred

479   int Al, pred;
578 pred = (int) (((Q01<<7) + num) / (Q01<<8));
579 if (Al > 0 && pred >= (1<<Al))
580 pred = (1<<Al)-1;
582 pred = (int) (((Q01<<7) - num) / (Q01<<8));
583 if (Al > 0 && pred >= (1<<Al))
584 pred = (1<<Al)-1;
585 pred = -pred;
587 workspace[1] = (JCOEF) pred;
593 pred = (int) (((Q10<<7) + num) / (Q10<<8));
594 if (Al > 0 && pred >= (1<<Al))
595 pred = (1<<Al)-1;
597 pred = (int) (((Q10<<7) - num) / (Q10<<8));
598 if (Al > 0 && pred >= (1<<Al))
599 pred = (1<<Al)-1;
600 pred = -pred;
602 workspace[8] = (JCOEF) pred;
608 pred = (int) (((Q20<<7) + num) / (Q20<<8));
609 if (Al > 0 && pred >= (1<<Al))
610 pred = (1<<Al)-1;
612 pred = (int) (((Q20<<7) - num) / (Q20<<8));
613 if (Al > 0 && pred >= (1<<Al))
614 pred = (1<<Al)-1;
615 pred = -pred;
617 workspace[16] = (JCOEF) pred;
623 pred = (int) (((Q11<<7) + num) / (Q11<<8));
624 if (Al > 0 && pred >= (1<<Al))
625 pred = (1<<Al)-1;
627 pred = (int) (((Q11<<7) - num) / (Q11<<8));
628 if (Al > 0 && pred >= (1<<Al))
629 pred = (1<<Al)-1;
630 pred = -pred;
632 workspace[9] = (JCOEF) pred;
638 pred = (int) (((Q02<<7) + num) / (Q02<<8));
639 if (Al > 0 && pred >= (1<<Al))
640 pred = (1<<Al)-1;
642 pred = (int) (((Q02<<7) - num) / (Q02<<8));
643 if (Al > 0 && pred >= (1<<Al))
644 pred = (1<<Al)-1;
645 pred = -pred;
647 workspace[2] = (JCOEF) pred;