]> granicus.if.org Git - libvpx/commit
Optimizing set_contexts() function.
authorDmitry Kovalev <dkovalev@google.com>
Fri, 8 Nov 2013 20:44:56 +0000 (12:44 -0800)
committerDmitry Kovalev <dkovalev@google.com>
Fri, 8 Nov 2013 20:44:56 +0000 (12:44 -0800)
commit22a001988bffbd6ba023d1522460d380bf65baa5
tree3bb603ce3fd1b6d1e88ac0b447d0f09a230ae73a
parent614effc0f6739a85d70f547024da49d5cc567819
Optimizing set_contexts() function.

Inlining set_contexts_on_border() into set_contexts(). The only difference
is the additional check that "has_eob != 0" in addition to
"xd->mb_to_right_edge < 0" and "xd->mb_to_right_edge < 0". If has_eob == 0
then memset does the right thing and works faster.

Change-Id: I5206f767d729f758b14c667592b7034df4837d0e
vp9/common/vp9_blockd.h