Refactoring of switchable filter search for speed
authorDeb Mukherjee <debargha@google.com>
Tue, 12 Feb 2013 01:08:52 +0000 (17:08 -0800)
committerDeb Mukherjee <debargha@google.com>
Thu, 21 Feb 2013 02:34:42 +0000 (18:34 -0800)
commit28b1db92783bdb8919bcaefe174a715009c5e444
tree5e75e12ad91036591458dcfb502974ed587f9b02
parent1d60b6bcb5f1d92c29a753def152106a76060689
Refactoring of switchable filter search for speed

Refactors the switchable filter search in the rd loop to
improve encode speed.

Uses a piecewise approximation to a closed form expression to estimate
rd cost for a Laplacian source with a given variance and quantization
step-size.

About 40% encode time reduction is achieved.

Results (on a feb 12 baseline) show a slight drop:

derf: -0.019%
yt: +0.010%
std-hd: -0.162%
hd: -0.050%

Change-Id: Ie861badf5bba1e3b1052e29a0ef1b7e256edbcd0
vp9/common/vp9_entropymode.c
vp9/common/vp9_entropymode.h
vp9/encoder/vp9_rdopt.c