[x264-devel] Support changing resolutions between passes with macroblock-tree
Jason Garrett-Glaser
git at videolan.org
Tue Jul 17 21:21:41 CEST 2012
x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Fri Jun 8 18:19:59 2012 -0700| [913485d26b19dddb6340f7115843d63cde8bb836] | committer: Jason Garrett-Glaser
Support changing resolutions between passes with macroblock-tree
Implement a basic separable bilinear filter to rescale the quantizer offsets.
Structure inspired by swscale, but floating-point instead of fixed-point.
Not as optimized as it could be, but it's quite fast already.
Example compression penalties on a 720p video game recording:
First pass with 720p and second as 480p: ~-1.5% (vs. same res)
First pass with 480p and second as 720p: ~-3% (vs. same res)
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=913485d26b19dddb6340f7115843d63cde8bb836
---
encoder/ratecontrol.c | 190 ++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 166 insertions(+), 24 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=913485d26b19dddb6340f7115843d63cde8bb836
More information about the x264-devel
mailing list