aboutsummaryrefslogtreecommitdiff
path: root/source/rotate_common.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/rotate_common.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/rotate_common.cc')
-rw-r--r--source/rotate_common.cc31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/rotate_common.cc b/source/rotate_common.cc
index 4b496d1b..e72608e9 100644
--- a/source/rotate_common.cc
+++ b/source/rotate_common.cc
@@ -120,37 +120,6 @@ void TransposeWx8_16_C(const uint16_t* src,
}
}
-void TransposeUVWx8_16_C(const uint16_t* src,
- int src_stride,
- uint16_t* dst_a,
- int dst_stride_a,
- uint16_t* dst_b,
- int dst_stride_b,
- int width) {
- int i;
- for (i = 0; i < width; ++i) {
- dst_a[0] = src[0 * src_stride + 0];
- dst_b[0] = src[0 * src_stride + 1];
- dst_a[1] = src[1 * src_stride + 0];
- dst_b[1] = src[1 * src_stride + 1];
- dst_a[2] = src[2 * src_stride + 0];
- dst_b[2] = src[2 * src_stride + 1];
- dst_a[3] = src[3 * src_stride + 0];
- dst_b[3] = src[3 * src_stride + 1];
- dst_a[4] = src[4 * src_stride + 0];
- dst_b[4] = src[4 * src_stride + 1];
- dst_a[5] = src[5 * src_stride + 0];
- dst_b[5] = src[5 * src_stride + 1];
- dst_a[6] = src[6 * src_stride + 0];
- dst_b[6] = src[6 * src_stride + 1];
- dst_a[7] = src[7 * src_stride + 0];
- dst_b[7] = src[7 * src_stride + 1];
- src += 2;
- dst_a += dst_stride_a;
- dst_b += dst_stride_b;
- }
-}
-
void TransposeWxH_16_C(const uint16_t* src,
int src_stride,
uint16_t* dst,