]> git.videolan.org Git - x264.git/commit
Support changing resolutions between passes with macroblock-tree
authorJason Garrett-Glaser <jason@x264.com>
Sat, 9 Jun 2012 01:19:59 +0000 (18:19 -0700)
committerJason Garrett-Glaser <jason@x264.com>
Tue, 17 Jul 2012 19:19:13 +0000 (12:19 -0700)
commit913485d26b19dddb6340f7115843d63cde8bb836
treede9fe05c95e7b59e85b54d416fb9a747bad1053b
parent8b535d9006d87e32c4ff939691b920da823ae85a
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)
encoder/ratecontrol.c