diff options
author | Frank Barchard <fbarchard@google.com> | 2018-02-06 12:03:44 -0800 |
---|---|---|
committer | Frank Barchard <fbarchard@chromium.org> | 2018-02-07 00:24:25 +0000 |
commit | e1f6c1c0b57a9210bb95e88080fa171296210296 (patch) | |
tree | e570473510f916290a85f9831ce15c0c896c18fc /source/convert_from_argb.cc | |
parent | b625f7b932fb93b877e603a1addcf613a5a0c3eb (diff) | |
download | libyuv-e1f6c1c0b57a9210bb95e88080fa171296210296.tar.gz |
tidy applied with readability-inconsistent-declaration-parameter-name
Bug: libyuv:750
Test: builds and runs and passes more tidy tests
Change-Id: I023699a7aa61ea3f5e4a21647112691ea5739281
Reviewed-on: https://chromium-review.googlesource.com/902170
Reviewed-by: Weiyong Yao <braveyao@chromium.org>
Diffstat (limited to 'source/convert_from_argb.cc')
-rw-r--r-- | source/convert_from_argb.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/convert_from_argb.cc b/source/convert_from_argb.cc index d0b4829f..16b83845 100644 --- a/source/convert_from_argb.cc +++ b/source/convert_from_argb.cc @@ -360,8 +360,8 @@ int ARGBToNV21(const uint8_t* src_argb, int src_stride_argb, uint8_t* dst_y, int dst_stride_y, - uint8_t* dst_uv, - int dst_stride_uv, + uint8_t* dst_vu, + int dst_stride_vu, int width, int height) { int y; @@ -372,8 +372,8 @@ int ARGBToNV21(const uint8_t* src_argb, void (*ARGBToYRow)(const uint8_t* src_argb, uint8_t* dst_y, int width) = ARGBToYRow_C; void (*MergeUVRow_)(const uint8_t* src_u, const uint8_t* src_v, - uint8_t* dst_uv, int width) = MergeUVRow_C; - if (!src_argb || !dst_y || !dst_uv || width <= 0 || height == 0) { + uint8_t* dst_vu, int width) = MergeUVRow_C; + if (!src_argb || !dst_y || !dst_vu || width <= 0 || height == 0) { return -1; } // Negative height means invert the image. @@ -473,16 +473,16 @@ int ARGBToNV21(const uint8_t* src_argb, for (y = 0; y < height - 1; y += 2) { ARGBToUVRow(src_argb, src_stride_argb, row_u, row_v, width); - MergeUVRow_(row_v, row_u, dst_uv, halfwidth); + MergeUVRow_(row_v, row_u, dst_vu, halfwidth); ARGBToYRow(src_argb, dst_y, width); ARGBToYRow(src_argb + src_stride_argb, dst_y + dst_stride_y, width); src_argb += src_stride_argb * 2; dst_y += dst_stride_y * 2; - dst_uv += dst_stride_uv; + dst_vu += dst_stride_vu; } if (height & 1) { ARGBToUVRow(src_argb, 0, row_u, row_v, width); - MergeUVRow_(row_v, row_u, dst_uv, halfwidth); + MergeUVRow_(row_v, row_u, dst_vu, halfwidth); ARGBToYRow(src_argb, dst_y, width); } free_aligned_buffer_64(row_u); |