]> granicus.if.org Git - libvpx/commit
Re-use switchable rate value in handle_inter_mode
authorJingning Han <jingning@google.com>
Tue, 26 Aug 2014 23:06:28 +0000 (16:06 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Wed, 27 Aug 2014 22:03:16 +0000 (15:03 -0700)
commit4db022c3684515ad57bfcdd7512d4a99c9dec3d3
tree9802a84cfdbac0da2323a1f18161dcf46a40fd4d
parentcd228fcdb8deafe51ead715988d395e05f8eda17
Re-use switchable rate value in handle_inter_mode

The value of switchable rate has been stored in a local variable.
This change skips the second call to vp9_get_switchable_rate() by
reusing the local variable.

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