]> granicus.if.org Git - libvpx/commit
Simplify mask checking in loop filters
authorYunqing Wang <yunqingwang@google.com>
Wed, 27 Nov 2013 22:10:57 +0000 (14:10 -0800)
committerYunqing Wang <yunqingwang@google.com>
Wed, 27 Nov 2013 22:10:57 +0000 (14:10 -0800)
commit8f05e70340533b9922be5b1c97c37e50607fd862
treec82331daaf329af1309a7a9807983ffe46df96ce
parenta622ed554f7072268e4c8d0b8f26d2e8865c2b3b
Simplify mask checking in loop filters

Considering a horizontal edge, if mask_16x16 is 1 for an even-
indexed 8x8 block, then mask_16x16 is 1 for next 8x8 block in
same row. Similiar to a verticle edge, if mask_16x16 is 1 for
an even-rowed 8x8 block, then mask_16x16 is 1 for the 8x8 block
right below it in next raw. Based on that, the mask_16x16 checking
can be simplified to save cycles. The corresponding 8-pixel
vp9_mb_lpf_horizontal_edge code can also be removed.

Change-Id: Ic3fe7a5674322239208cbe2731dc3216ce2084f3
vp9/common/vp9_loopfilter.c