-
Dale Curtis authored
For 1x1 YUV images the sample size will be larger than the height, so upon dividing the integer height by the sample size we get a result of zero chunks for processing. Additionally, since the code wasn't accounting for the last row of odd height frames, it would do nothing on a 1x1 frame. The fix is to ensure we always process an extra row in the last task when we've got an odd height frame. R=thomasanderson Fixed: 1034955 Change-Id: Ic6733ffb31bd2040769d7bc63e9096aea756cbbb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2016359 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Dan Sanders <sandersd@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#735077}
0eb139aa