[x264-devel] commit: Improve HRD accuracy (Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Fri Jun 25 09:58:06 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sat Jun 19 03:27:33 2010 -0700| [88b90d9ca0582ff340a6d821d104f25917baa693] | committer: Jason Garrett-Glaser 

Improve HRD accuracy
In a staggering display of brain damage, the spec requires all HRD math to be done in infinite precision despite the output being of quite limited precision.
Accordingly, convert buffer management to work in units of timescale.
These accumulating rounding errors probably didn't cause any real problems, but might in theory cause issues in very picky muxers on extremely long-running streams.

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

 common/common.c       |   36 ++++++++++++++-----------
 common/common.h       |    1 +
 encoder/encoder.c     |    3 +-
 encoder/ratecontrol.c |   67 ++++++++++++++++++++++++++++++++-----------------
 encoder/ratecontrol.h |    2 +-
 5 files changed, 67 insertions(+), 42 deletions(-)

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


More information about the x264-devel mailing list