Lines Matching refs:top_weight
433 uint64 position_x, uint64 x_factor_inv, uint32 top_weight, uint32 bot_weight, in _scale_row_down_9in() argument
449 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_9in()
459 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_9in()
469 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_9in()
496 uint64 x_factor_inv, uint32 top_weight, in _scale_row_down_8in() argument
513 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_8in()
522 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_8in()
531 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_8in()
557 uint32 top_weight, uint32 bot_weight, uint32 weight_reciprocal, int out_width) { in _scale_row_down_7in() argument
572 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_7in()
580 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_7in()
588 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_7in()
612 uint8 *_RESTRICT_ out, uint64 position_x, uint64 x_factor_inv, uint32 top_weight, in _scale_row_down_6in() argument
628 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_6in()
635 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_6in()
642 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_6in()
665 uint64 position_x, uint64 x_factor_inv, uint32 top_weight, uint32 bot_weight, in _scale_row_down_5in() argument
681 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_5in()
687 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_5in()
693 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_5in()
715 uint64 x_factor_inv, uint32 top_weight, uint32 bot_weight, uint32 weight_reciprocal, in _scale_row_down_4in() argument
731 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_4in()
736 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_4in()
741 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_4in()
762 uint32 top_weight, uint32 bot_weight, uint32 weight_reciprocal, int out_width) { in _scale_row_down_3in() argument
777 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_3in()
781 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_3in()
785 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_3in()
804 uint8 *_RESTRICT_ out, uint64 position_x, uint64 x_factor_inv, uint32 top_weight, in _scale_row_down_2in() argument
820 acc_r += (uint32) in0[(in_col * 3) + 0] * curr_weight * top_weight; in _scale_row_down_2in()
823 acc_g += (uint32) in0[(in_col * 3) + 1] * curr_weight * top_weight; in _scale_row_down_2in()
826 acc_b += (uint32) in0[(in_col * 3) + 2] * curr_weight * top_weight; in _scale_row_down_2in()
847 uint32 y, in_col, in_rows, top_weight, bot_weight; in _scale_row_down() local
852 top_weight = (uint32) 256 - ((position_y >> 24) & 0xff); in _scale_row_down()
854 if ((sint32) top_weight > total_weight) { in _scale_row_down()
855 top_weight = total_weight; in _scale_row_down()
857 total_weight -= top_weight; in _scale_row_down()
876 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
880 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
884 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
890 top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
895 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
900 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
906 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
912 out, position_x, x_factor_inv, top_weight, bot_weight, weight_reciprocal, in _scale_row_down()
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()