commit | 4bca73b609bfe9a5cb86fc25b69c6128d9041504 | [log] [tgz] |
---|---|---|
author | Yaowu Xu <yaowu@google.com> | Fri Feb 06 12:19:32 2015 -0800 |
committer | Yaowu Xu <yaowu@google.com> | Fri Feb 06 12:19:32 2015 -0800 |
tree | 9ceaf2ab6354ea7cffa82625484b03479d89cc6e | |
parent | 519b9141ad15bc06ace824aeb0cce40ffa810406 [diff] |
Correct the miscalculation in uv dimensions The calculation of required extension used in HBD case was wrong due to rounding for UV when y dimension is odd. This commit replace the computation with correct version. This fixes a crash caused by writting beyond buffer boundary. Change-Id: Ic7c9afeb7388cd1341ec4974a611dacfb74ac6b6