]> git.videolan.org Git - x264.git/commit
Improve HRD accuracy
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 19 Jun 2010 10:27:33 +0000 (03:27 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 25 Jun 2010 06:57:10 +0000 (23:57 -0700)
commit88b90d9ca0582ff340a6d821d104f25917baa693
treecaea789e125a1363d93b7d2c57846f5bfae10490
parent4c27afb595ac8e8a621ffc2bf8120f0d43c80384
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.
common/common.c
common/common.h
encoder/encoder.c
encoder/ratecontrol.c
encoder/ratecontrol.h