]> git.sesse.net Git - x264/commit
Improve HRD accuracy
authorFiona Glaser <fiona@x264.com>
Sat, 19 Jun 2010 10:27:33 +0000 (03:27 -0700)
committerFiona Glaser <fiona@x264.com>
Fri, 25 Jun 2010 06:57:10 +0000 (23:57 -0700)
commit5a57688fa282c31f070f147790dec0793adc843b
tree8e904336b167632c2c2e5e466bdb6977e1d086d4
parentf2b78b93fa6568528a2ee0efb0b00834002df49a
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