diff options
author | Linfeng Zhang <linfengz@google.com> | 2017-04-05 17:54:42 -0700 |
---|---|---|
committer | Linfeng Zhang <linfengz@google.com> | 2017-04-19 12:13:49 -0700 |
commit | bf8a49abbd3e637ae933806aa47564dd7ef324d1 (patch) | |
tree | af078af570536b39b55aafd0038009d5ca674663 /ivfenc.c | |
parent | a02f391cbe618c6d84b35d161269266c43bc84ca (diff) | |
download | libvpx-bf8a49abbd3e637ae933806aa47564dd7ef324d1.tar libvpx-bf8a49abbd3e637ae933806aa47564dd7ef324d1.tar.gz libvpx-bf8a49abbd3e637ae933806aa47564dd7ef324d1.tar.bz2 libvpx-bf8a49abbd3e637ae933806aa47564dd7ef324d1.zip |
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
Diffstat (limited to 'ivfenc.c')
0 files changed, 0 insertions, 0 deletions