Lines Matching refs:src_width
58 static void ScaleUVDown2(int src_width, in ScaleUVDown2() argument
79 (void)src_width; in ScaleUVDown2()
191 static int ScaleUVDown4Box(int src_width, in ScaleUVDown4Box() argument
215 (void)src_width; in ScaleUVDown4Box()
268 static void ScaleUVDownEven(int src_width, in ScaleUVDownEven() argument
287 (void)src_width; in ScaleUVDownEven()
289 assert(IS_ALIGNED(src_width, 2)); in ScaleUVDownEven()
350 static int ScaleUVBilinearDown(int src_width, in ScaleUVBilinearDown() argument
369 (src_width >= 32768) ? ScaleUVFilterCols64_C : ScaleUVFilterCols_C; in ScaleUVBilinearDown()
377 if (xr > src_width) { in ScaleUVBilinearDown()
378 xr = src_width; in ScaleUVBilinearDown()
429 if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) { in ScaleUVBilinearDown()
483 static int ScaleUVBilinearUp(int src_width, in ScaleUVBilinearUp() argument
549 if (src_width >= 32768) { in ScaleUVBilinearUp()
553 if (filtering && TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) { in ScaleUVBilinearUp()
574 if (!filtering && TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) { in ScaleUVBilinearUp()
594 if (!filtering && src_width * 2 == dst_width && x < 0x8000) { in ScaleUVBilinearUp()
668 static void ScaleUVLinearUp2(int src_width, in ScaleUVLinearUp2() argument
683 assert(src_width == ((dst_width + 1) / 2)); in ScaleUVLinearUp2()
727 static void ScaleUVBilinearUp2(int src_width, in ScaleUVBilinearUp2() argument
741 assert(src_width == ((dst_width + 1) / 2)); in ScaleUVBilinearUp2()
787 static void ScaleUVLinearUp2_16(int src_width, in ScaleUVLinearUp2_16() argument
802 assert(src_width == ((dst_width + 1) / 2)); in ScaleUVLinearUp2_16()
840 static void ScaleUVBilinearUp2_16(int src_width, in ScaleUVBilinearUp2_16() argument
854 assert(src_width == ((dst_width + 1) / 2)); in ScaleUVBilinearUp2_16()
894 static void ScaleUVSimple(int src_width, in ScaleUVSimple() argument
909 (src_width >= 32768) ? ScaleUVCols64_C : ScaleUVCols_C; in ScaleUVSimple()
912 if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) { in ScaleUVSimple()
932 if (src_width * 2 == dst_width && x < 0x8000) { in ScaleUVSimple()
997 int src_width, in ScaleUV() argument
1015 filtering = ScaleFilterReduce(src_width, src_height, dst_width, dst_height, in ScaleUV()
1024 ScaleSlope(src_width, src_height, dst_width, dst_height, filtering, &x, &y, in ScaleUV()
1026 src_width = Abs(src_width); in ScaleUV()
1050 ScaleUVDown2(src_width, src_height, clip_width, clip_height, in ScaleUV()
1059 return ScaleUVDown4Box(src_width, src_height, clip_width, clip_height, in ScaleUV()
1065 ScaleUVDownEven(src_width, src_height, clip_width, clip_height, in ScaleUV()
1092 if ((filtering == kFilterLinear) && ((dst_width + 1) / 2 == src_width)) { in ScaleUV()
1093 ScaleUVLinearUp2(src_width, src_height, clip_width, clip_height, src_stride, in ScaleUV()
1098 (clip_width + 1) / 2 == src_width && in ScaleUV()
1100 ScaleUVBilinearUp2(src_width, src_height, clip_width, clip_height, in ScaleUV()
1106 return ScaleUVBilinearUp(src_width, src_height, clip_width, clip_height, in ScaleUV()
1113 return ScaleUVBilinearDown(src_width, src_height, clip_width, clip_height, in ScaleUV()
1118 ScaleUVSimple(src_width, src_height, clip_width, clip_height, src_stride, in ScaleUV()
1127 int src_width, in UVScale() argument
1134 if (!src_uv || src_width <= 0 || src_height == 0 || src_width > 32768 || in UVScale()
1138 return ScaleUV(src_uv, src_stride_uv, src_width, src_height, dst_uv, in UVScale()
1148 int src_width, in UVScale_16() argument
1157 if (!src_uv || src_width <= 0 || src_height == 0 || src_width > 32768 || in UVScale_16()
1164 filtering = ScaleFilterReduce(src_width, src_height, dst_width, dst_height, in UVScale_16()
1173 src_width = Abs(src_width); in UVScale_16()
1176 if (!filtering && src_width == dst_width && (src_height % dst_height == 0)) { in UVScale_16()
1191 if ((filtering == kFilterLinear) && ((dst_width + 1) / 2 == src_width)) { in UVScale_16()
1192 ScaleUVLinearUp2_16(src_width, src_height, dst_width, dst_height, in UVScale_16()
1197 if ((dst_height + 1) / 2 == src_height && (dst_width + 1) / 2 == src_width && in UVScale_16()
1199 ScaleUVBilinearUp2_16(src_width, src_height, dst_width, dst_height, in UVScale_16()