vp9_encode_sb_row: remove a branch w/CONFIG_REALTIME_ONLY
authorJames Zern <jzern@google.com>
Fri, 17 Jun 2022 01:43:44 +0000 (18:43 -0700)
committerJerome Jiang <jianj@google.com>
Tue, 21 Jun 2022 20:03:10 +0000 (16:03 -0400)
commit10178e6161c9126a6178eadad122309f8372fb0d
treefd3327b50482f126d5e87fa00efa78372c87b2b8
parent158468202510a5d70ec1f0e9f4231c9ccacda8cd
vp9_encode_sb_row: remove a branch w/CONFIG_REALTIME_ONLY

replace the check on use_nonrd_pick_mode with an assert. this is only a
start, there are many branches that could be removed that check mode ==
REALTIME, etc. with this configuration.

Bug: webm:1773
Change-Id: I38cf9f83e7c085eb8e87d5cf6db7dc75359b611b
(cherry picked from commit 08b86d76224453ef9cbab4b10a48617715d9a14e)
vp9/encoder/vp9_encodeframe.c