Lines Matching refs:x

23 #define ROUND_4_DOWN(x) ((x) & ~3)  argument
24 #define ROUND_4_UP(x) (ROUND_4_DOWN((x) + 3)) argument
435 int x; in _scale_row_down_9in() local
439 for (x = 0; x < out_width; x++) { in _scale_row_down_9in()
487 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in()
488 out[(x * 3) + 0] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in()
489 out[(x * 3) + 0] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_9in()
499 int x; in _scale_row_down_8in() local
503 for (x = 0; x < out_width; x++) { in _scale_row_down_8in()
548 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in()
549 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in()
550 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_8in()
558 int x; in _scale_row_down_7in() local
562 for (x = 0; x < out_width; x++) { in _scale_row_down_7in()
604 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_7in()
605 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_7in()
606 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_7in()
614 int x; in _scale_row_down_6in() local
618 for (x = 0; x < out_width; x++) { in _scale_row_down_6in()
657 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_6in()
658 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_6in()
659 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_6in()
667 int x; in _scale_row_down_5in() local
671 for (x = 0; x < out_width; x++) { in _scale_row_down_5in()
707 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_5in()
708 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_5in()
709 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_5in()
717 int x; in _scale_row_down_4in() local
721 for (x = 0; x < out_width; x++) { in _scale_row_down_4in()
754 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_4in()
755 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_4in()
756 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_4in()
763 int x; in _scale_row_down_3in() local
767 for (x = 0; x < out_width; x++) { in _scale_row_down_3in()
797 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_3in()
798 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_3in()
799 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_3in()
806 int x; in _scale_row_down_2in() local
810 for (x = 0; x < out_width; x++) { in _scale_row_down_2in()
837 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_2in()
838 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_2in()
839 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down_2in()
846 int x; in _scale_row_down() local
915 for (x = 0; x < out_width; x++) { in _scale_row_down()
949 out[(x * 3) + 0] = ((uint64) acc_r * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down()
950 out[(x * 3) + 1] = ((uint64) acc_g * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down()
951 out[(x * 3) + 2] = ((uint64) acc_b * weight_reciprocal + ((uint64) 1 << 31)) >> 32; in _scale_row_down()
958 int x; in _scale_row_up() local
959 for (x = 0; x < out_width; x++) { in _scale_row_up()
989 out[(x * 3) + 0] = ((top_val_r << 10) + weight_y * (bot_val_r - top_val_r)) >> 20; in _scale_row_up()
990 out[(x * 3) + 1] = ((top_val_g << 10) + weight_y * (bot_val_g - top_val_g)) >> 20; in _scale_row_up()
991 out[(x * 3) + 2] = ((top_val_b << 10) + weight_y * (bot_val_b - top_val_b)) >> 20; in _scale_row_up()