aboutsummaryrefslogtreecommitdiff
path: root/source/row_rvv.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2023-06-29 22:53:42 -0700
committerFrank Barchard <fbarchard@chromium.org>2023-06-30 17:46:56 +0000
commit650be7496fe171cc0d93935a4c161d45101533f4 (patch)
tree354291b96845915a654fba3c61e353edb407cff8 /source/row_rvv.cc
parenta34a0ba68781d0d1914597449d871775dad50984 (diff)
downloadlibyuv-650be7496fe171cc0d93935a4c161d45101533f4.tar.gz
Fix warnings for missing prototypes
- Add static to internal scale and rotate functions - Remove unittest that tested an internal scale function - Remove unused private functions - Include missing scale_argb.h header - Bump version and apply clang format Bug: libyuv:830 Change-Id: I45bab0423b86334f9707f935aedd0c6efc442dd4 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4658956 Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Diffstat (limited to 'source/row_rvv.cc')
-rw-r--r--source/row_rvv.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/row_rvv.cc b/source/row_rvv.cc
index b49e5b1b..ad5ccbcd 100644
--- a/source/row_rvv.cc
+++ b/source/row_rvv.cc
@@ -18,7 +18,8 @@
#include "libyuv/row.h"
// This module is for clang rvv. GCC hasn't supported segment load & store.
-#if !defined(LIBYUV_DISABLE_RVV) && defined(__riscv_vector) && defined(__clang__)
+#if !defined(LIBYUV_DISABLE_RVV) && defined(__riscv_vector) && \
+ defined(__clang__)
#include <assert.h>
#include <riscv_vector.h>
@@ -988,4 +989,5 @@ void ARGBCopyYToAlphaRow_RVV(const uint8_t* src, uint8_t* dst, int width) {
} // namespace libyuv
#endif
-#endif // !defined(LIBYUV_DISABLE_RVV) && defined(__riscv_vector) && defined(__clang__)
+#endif // !defined(LIBYUV_DISABLE_RVV) && defined(__riscv_vector) &&
+ // defined(__clang__)