Fix int64_t to unsigned int conversion warnings
authorJingning Han <jingning@google.com>
Thu, 28 Aug 2014 16:21:58 +0000 (09:21 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Fri, 29 Aug 2014 21:29:31 +0000 (14:29 -0700)
commit6ddf1e152acbade83e166d0d7dffc5e3c07cbf05
tree65b169f69c432c1c6860d859188aec0d6a8f18f2
parent02e6ecdc4c0bc1216f6748fe95ff6864d0f8304e
Fix int64_t to unsigned int conversion warnings

Use unsigned int type to store the sse in the pixel domain. The
precision is sufficient to handle sse of block size up to 64x64.
The transform domain version however needs int64_t, since there is
a transfer gain applied in the forward transformation that might
cause unsigned int overflow.

Change-Id: Ifef97c38597e426262290f35341fbb093cf0a079
vp9/encoder/vp9_rdopt.c