• Home
  • Raw
  • Download

Lines Matching refs:curr_weight

443         uint32 curr_weight = 256 - ((position_x >> 24) & 0xff);  in _scale_row_down_9in()  local
449 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_9in()
450 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
451 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
452 acc_r += (uint32) in3[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
453 acc_r += (uint32) in4[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
454 acc_r += (uint32) in5[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
455 acc_r += (uint32) in6[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
456 acc_r += (uint32) in7[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_9in()
457 acc_r += (uint32) in8[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_9in()
459 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_9in()
460 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
461 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
462 acc_g += (uint32) in3[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
463 acc_g += (uint32) in4[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
464 acc_g += (uint32) in5[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
465 acc_g += (uint32) in6[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
466 acc_g += (uint32) in7[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_9in()
467 acc_g += (uint32) in8[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_9in()
469 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_9in()
470 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
471 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
472 acc_b += (uint32) in3[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
473 acc_b += (uint32) in4[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
474 acc_b += (uint32) in5[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
475 acc_b += (uint32) in6[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
476 acc_b += (uint32) in7[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_9in()
477 acc_b += (uint32) in8[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_9in()
481 total_weight -= curr_weight; in _scale_row_down_9in()
482 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_9in()
507 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_8in() local
513 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_8in()
514 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
515 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
516 acc_r += (uint32) in3[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
517 acc_r += (uint32) in4[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
518 acc_r += (uint32) in5[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
519 acc_r += (uint32) in6[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_8in()
520 acc_r += (uint32) in7[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_8in()
522 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_8in()
523 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
524 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
525 acc_g += (uint32) in3[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
526 acc_g += (uint32) in4[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
527 acc_g += (uint32) in5[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
528 acc_g += (uint32) in6[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_8in()
529 acc_g += (uint32) in7[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_8in()
531 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_8in()
532 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
533 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
534 acc_b += (uint32) in3[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
535 acc_b += (uint32) in4[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
536 acc_b += (uint32) in5[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
537 acc_b += (uint32) in6[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_8in()
538 acc_b += (uint32) in7[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_8in()
542 total_weight -= curr_weight; in _scale_row_down_8in()
543 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_8in()
566 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_7in() local
572 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_7in()
573 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
574 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
575 acc_r += (uint32) in3[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
576 acc_r += (uint32) in4[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
577 acc_r += (uint32) in5[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_7in()
578 acc_r += (uint32) in6[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_7in()
580 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_7in()
581 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_7in()
582 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_7in()
583 acc_g += (uint32) in3[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_7in()
584 acc_g += (uint32) in4[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_7in()
585 acc_g += (uint32) in5[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_7in()
586 acc_g += (uint32) in6[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_7in()
588 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_7in()
589 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_7in()
590 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_7in()
591 acc_b += (uint32) in3[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_7in()
592 acc_b += (uint32) in4[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_7in()
593 acc_b += (uint32) in5[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_7in()
594 acc_b += (uint32) in6[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_7in()
598 total_weight -= curr_weight; in _scale_row_down_7in()
599 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_7in()
622 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_6in() local
628 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_6in()
629 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_6in()
630 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_6in()
631 acc_r += (uint32) in3[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_6in()
632 acc_r += (uint32) in4[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_6in()
633 acc_r += (uint32) in5[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_6in()
635 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_6in()
636 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_6in()
637 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_6in()
638 acc_g += (uint32) in3[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_6in()
639 acc_g += (uint32) in4[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_6in()
640 acc_g += (uint32) in5[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_6in()
642 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_6in()
643 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_6in()
644 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_6in()
645 acc_b += (uint32) in3[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_6in()
646 acc_b += (uint32) in4[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_6in()
647 acc_b += (uint32) in5[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_6in()
651 total_weight -= curr_weight; in _scale_row_down_6in()
652 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_6in()
675 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_5in() local
681 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_5in()
682 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_5in()
683 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_5in()
684 acc_r += (uint32) in3[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_5in()
685 acc_r += (uint32) in4[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_5in()
687 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_5in()
688 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_5in()
689 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_5in()
690 acc_g += (uint32) in3[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_5in()
691 acc_g += (uint32) in4[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_5in()
693 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_5in()
694 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_5in()
695 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_5in()
696 acc_b += (uint32) in3[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_5in()
697 acc_b += (uint32) in4[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_5in()
701 total_weight -= curr_weight; in _scale_row_down_5in()
702 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_5in()
725 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_4in() local
731 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_4in()
732 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_4in()
733 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_4in()
734 acc_r += (uint32) in3[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_4in()
736 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_4in()
737 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_4in()
738 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_4in()
739 acc_g += (uint32) in3[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_4in()
741 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_4in()
742 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_4in()
743 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_4in()
744 acc_b += (uint32) in3[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_4in()
748 total_weight -= curr_weight; in _scale_row_down_4in()
749 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_4in()
771 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_3in() local
777 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_3in()
778 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight << 8; in _scale_row_down_3in()
779 acc_r += (uint32) in2[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_3in()
781 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_3in()
782 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight << 8; in _scale_row_down_3in()
783 acc_g += (uint32) in2[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_3in()
785 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_3in()
786 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight << 8; in _scale_row_down_3in()
787 acc_b += (uint32) in2[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_3in()
791 total_weight -= curr_weight; in _scale_row_down_3in()
792 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_3in()
814 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down_2in() local
820 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_2in()
821 acc_r += (uint32) in1[(in_col * 3) + 0] * curr_weight * bot_weight; in _scale_row_down_2in()
823 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_2in()
824 acc_g += (uint32) in1[(in_col * 3) + 1] * curr_weight * bot_weight; in _scale_row_down_2in()
826 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_2in()
827 acc_b += (uint32) in1[(in_col * 3) + 2] * curr_weight * bot_weight; in _scale_row_down_2in()
831 total_weight -= curr_weight; in _scale_row_down_2in()
832 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down_2in()
919 uint32 curr_weight = 256 - ((position_x >> 24) & 0xff); in _scale_row_down() local
925 acc_r += (uint32) in[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down()
926 acc_g += (uint32) in[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down()
927 acc_b += (uint32) in[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down()
930 acc_r += (uint32) in[y * in_row_ofs + ((in_col * 3) + 0)] * curr_weight * 256; in _scale_row_down()
931 acc_g += (uint32) in[y * in_row_ofs + ((in_col * 3) + 1)] * curr_weight * 256; in _scale_row_down()
932 acc_b += (uint32) in[y * in_row_ofs + ((in_col * 3) + 2)] * curr_weight * 256; in _scale_row_down()
936 (uint32) in[y * in_row_ofs + ((in_col * 3) + 0)] * curr_weight * bot_weight; in _scale_row_down()
938 (uint32) in[y * in_row_ofs + ((in_col * 3) + 1)] * curr_weight * bot_weight; in _scale_row_down()
940 (uint32) in[y * in_row_ofs + ((in_col * 3) + 2)] * curr_weight * bot_weight; in _scale_row_down()
943 total_weight -= curr_weight; in _scale_row_down()
944 curr_weight = total_weight > 256 ? 256 : total_weight; in _scale_row_down()