aboutsummaryrefslogtreecommitdiff
path: root/source/scale_uv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/scale_uv.cc')
-rw-r--r--source/scale_uv.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/scale_uv.cc b/source/scale_uv.cc
index 65f986e9..1556071d 100644
--- a/source/scale_uv.cc
+++ b/source/scale_uv.cc
@@ -397,6 +397,11 @@ static void ScaleUVBilinearDown(int src_width,
}
}
#endif
+#if defined(HAS_INTERPOLATEROW_RVV)
+ if (TestCpuFlag(kCpuHasRVV)) {
+ InterpolateRow = InterpolateRow_RVV;
+ }
+#endif
#if defined(HAS_SCALEUVFILTERCOLS_SSSE3)
if (TestCpuFlag(kCpuHasSSSE3) && src_width < 32768) {
ScaleUVFilterCols = ScaleUVFilterCols_SSSE3;
@@ -511,6 +516,11 @@ static void ScaleUVBilinearUp(int src_width,
}
}
#endif
+#if defined(HAS_INTERPOLATEROW_RVV)
+ if (TestCpuFlag(kCpuHasRVV)) {
+ InterpolateRow = InterpolateRow_RVV;
+ }
+#endif
if (src_width >= 32768) {
ScaleUVFilterCols = filtering ? ScaleUVFilterCols64_C : ScaleUVCols64_C;
}