]> granicus.if.org Git - libvpx/commit
Refactor coeff_cost() function
authorJingning Han <jingning@google.com>
Wed, 6 Jul 2016 16:58:22 +0000 (09:58 -0700)
committerJingning Han <jingning@google.com>
Thu, 7 Jul 2016 18:09:39 +0000 (18:09 +0000)
commit541eb7899409914dd0c530bebb2307102f7694a8
tree7219098b7876da0cba028ee3f1e7d4783f0d4fd5
parent7c1fdf02cd7554b1be0626e454d910c7ad06fe08
Refactor coeff_cost() function

Move the operations that update the context buffers outside this
function. The coeff_cost() takes all input as const value and returns
the coefficient cost.

This makes preparation for the next coefficient optimization CLs.

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