[x264-devel] weightp: improve scale/offset search, chroma

Jason Garrett-Glaser git at videolan.org
Tue Apr 23 23:03:04 CEST 2013


x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Mon Mar  4 15:19:47 2013 -0800| [e436158903c6171ce4abe78f03f013fe04f193bd] | committer: Jason Garrett-Glaser

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.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=e436158903c6171ce4abe78f03f013fe04f193bd
---

 encoder/slicetype.c |  140 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 101 insertions(+), 39 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=e436158903c6171ce4abe78f03f013fe04f193bd


More information about the x264-devel mailing list