[x264-devel] commit: Add QPRD support as subme=10 (Jason Garrett-Glaser )

git version control git at videolan.org
Sun Jul 26 10:46:44 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Thu Jul 23 12:20:39 2009 -0700| [7733721e410acb96fdf740ca95d2a394b2a2b713] | committer: Jason Garrett-Glaser 

Add QPRD support as subme=10
Refactor trellis lambda selection to be done in analyse_init instead of in trellis.
This will allow for more easy adaption of lambda later on; for now it allows constant lambda across variable QPs.
QPRD is only available with adaptive quantization enabled and generally improves SSIM and visual quality.
Additionally, weight the SSD values from RD based on the relative QP offset for chroma; helps visually at high QPs where chroma has a lower QP than luma.
This fixes some visual artifacts created by QPRD at high QPs.
Note that this generally hurts PSNR and SSIM, and so is only on when psy-RD is on.

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

 Makefile              |    2 +-
 common/common.h       |    5 ++
 encoder/analyse.c     |  129 +++++++++++++++++++++++++++++++++++++++++++++++--
 encoder/encoder.c     |    4 +-
 encoder/macroblock.c  |   12 ++--
 encoder/macroblock.h  |    4 +-
 encoder/ratecontrol.c |    4 --
 encoder/rdo.c         |   51 +++++--------------
 x264.c                |    7 ++-
 9 files changed, 160 insertions(+), 58 deletions(-)

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


More information about the x264-devel mailing list