ref: bf8a49abbd3e637ae933806aa47564dd7ef324d1
parent: a02f391cbe618c6d84b35d161269266c43bc84ca
author: Linfeng Zhang <linfengz@google.com>
date: Wed Apr 5 13:54:42 EDT 2017
Clean CONVERT_TO_BYTEPTR/SHORTPTR in convolve Replace by CAST_TO_BYTEPTR/SHORTPTR. The rule is: if a short ptr is casted to a byte ptr, any offset operation on the byte ptr must be doubled. We do this by casting to short ptr first, adding offset, then casting back to byte ptr. BUG=webm:1388 Change-Id: I9e18a73ba45ddae58fc9dae470c0ff34951fe248