]> git.sesse.net Git - x264/commit
weightp: improve scale/offset search, chroma
authorFiona Glaser <fiona@x264.com>
Mon, 4 Mar 2013 23:19:47 +0000 (15:19 -0800)
committerFiona Glaser <fiona@x264.com>
Tue, 23 Apr 2013 18:47:30 +0000 (11:47 -0700)
commit2d0c47a50622ec59ade303cf150c21b8910a2bce
tree320477665dfcad6da04ebc0db48d0aade69b41c3
parent732e4f7e8b9ab6d214cbcf059445b4712709faa4
weightp: improve scale/offset search, chroma

Rescale the scale factor if the offset clips. This makes weightp more effective
in fades to/from white (and an other situation that requires big offsets).

Search more than 1 scale factor and more than 1 offset, depending on --subme.

Try to find the optimal chroma denominator instead of hardcoding it.

Overall improvement: a few percent in fade-heavy clips, such as a sample from
Avatar: TLA.
encoder/slicetype.c