• Home
  • Raw
  • Download

Lines Matching refs:src_width

653 void ScaleAddRow_C(const uint8* src_ptr, uint16* dst_ptr, int src_width) {  in ScaleAddRow_C()  argument
655 assert(src_width > 0); in ScaleAddRow_C()
656 for (x = 0; x < src_width - 1; x += 2) { in ScaleAddRow_C()
662 if (src_width & 1) { in ScaleAddRow_C()
667 void ScaleAddRow_16_C(const uint16* src_ptr, uint32* dst_ptr, int src_width) { in ScaleAddRow_16_C() argument
669 assert(src_width > 0); in ScaleAddRow_16_C()
670 for (x = 0; x < src_width - 1; x += 2) { in ScaleAddRow_16_C()
676 if (src_width & 1) { in ScaleAddRow_16_C()
1033 enum FilterMode ScaleFilterReduce(int src_width, int src_height, in ScaleFilterReduce() argument
1036 if (src_width < 0) { in ScaleFilterReduce()
1037 src_width = -src_width; in ScaleFilterReduce()
1044 if (dst_width * 2 >= src_width && dst_height * 2 >= src_height) { in ScaleFilterReduce()
1058 if (src_width == 1) { in ScaleFilterReduce()
1063 if (src_width == 1) { in ScaleFilterReduce()
1067 if (dst_width == src_width || dst_width * 3 == src_width) { in ScaleFilterReduce()
1088 void ScaleSlope(int src_width, int src_height, in ScaleSlope() argument
1096 assert(src_width != 0); in ScaleSlope()
1101 if (dst_width == 1 && src_width >= 32768) { in ScaleSlope()
1102 dst_width = src_width; in ScaleSlope()
1109 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1115 if (dst_width <= Abs(src_width)) { in ScaleSlope()
1116 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1119 *dx = FixedDiv1(Abs(src_width), dst_width); in ScaleSlope()
1131 if (dst_width <= Abs(src_width)) { in ScaleSlope()
1132 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1135 *dx = FixedDiv1(Abs(src_width), dst_width); in ScaleSlope()
1142 *dx = FixedDiv(Abs(src_width), dst_width); in ScaleSlope()
1148 if (src_width < 0) { in ScaleSlope()