diff options
author | Frank Barchard <fbarchard@google.com> | 2023-01-04 14:27:04 -0800 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-01-04 23:11:52 +0000 |
commit | 6e4b0acb4b3d5858c77a044aad46132998ac4a76 (patch) | |
tree | 311527482deeaa517aee2c01e8f004e63ca3c602 /source/convert.cc | |
parent | f8626a72248f7063c9bf3bbe96333a4af6e8b36f (diff) | |
download | libyuv-6e4b0acb4b3d5858c77a044aad46132998ac4a76.tar.gz |
I422Rotate take stride for temporary buffers
- Minor variable name changes first/last to top/bottom
- Comments explaining rotate temporary buffers usage
- Add asserts for scale parameter
- Use NULL and stddef.h instead of 0
- Use void * for allocation in row.h
- Add () around size parameter in macros
Bug: libyuv:926, libyuv:949
Change-Id: Ib55417570926ccada0a0f8abd1753dc12e5b162e
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4136762
Reviewed-by: Wan-Teh Chang <wtc@google.com>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'source/convert.cc')
-rw-r--r-- | source/convert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/convert.cc b/source/convert.cc index 5ee3dab5..d88efce0 100644 --- a/source/convert.cc +++ b/source/convert.cc @@ -885,7 +885,7 @@ int I422ToNV21(const uint8_t* src_y, int y; void (*MergeUVRow)(const uint8_t* src_u, const uint8_t* src_v, uint8_t* dst_uv, int width) = MergeUVRow_C; - void (*InterpolateRow)(uint8_t * dst_ptr, const uint8_t* src_ptr, + void (*InterpolateRow)(uint8_t* dst_ptr, const uint8_t* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) = InterpolateRow_C; int halfwidth = (width + 1) >> 1; |