Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: source/planar_functions.cc

Issue 1506973002: Bug fix for UYVYToNV12 odd height (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/planar_functions.cc
diff --git a/source/planar_functions.cc b/source/planar_functions.cc
index 85425feaf98f09c90fb980f437a81e0954b33ae7..b7de63b4a50d91ce39a7f7037ce3383570626396 100644
--- a/source/planar_functions.cc
+++ b/source/planar_functions.cc
@@ -2517,7 +2517,7 @@ int YUY2ToNV12(const uint8* src_yuy2, int src_stride_yuy2,
}
if (height & 1) {
// Split Y from UV.
- SplitUVRow(src_yuy2, dst_y, dst_uv, width);
+ SplitUVRow(src_yuy2, dst_y, dst_uv, awidth);
}
free_aligned_buffer_64(rows);
}
@@ -2621,7 +2621,7 @@ int UYVYToNV12(const uint8* src_uyvy, int src_stride_uyvy,
}
if (height & 1) {
// Split Y from UV.
- SplitUVRow(src_uyvy, dst_y, dst_uv, width);
+ SplitUVRow(src_uyvy, dst_uv, dst_y, awidth);
}
free_aligned_buffer_64(rows);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698