]> git.videolan.org Git - x264.git/commit
CAVLC "trellis"
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 21 Aug 2010 07:15:53 +0000 (00:15 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 24 Aug 2010 18:03:34 +0000 (14:03 -0400)
commitcd21d0551318972a58a7e497e0321e373f0d1237
tree9dfb88cbfacfa64d345a4fa5b8afc7c3cadb8970
parent636d85b07cab192f796485969bc5e7a5538b8372
CAVLC "trellis"
~3-10% improved compression with CAVLC.
--trellis is now a valid option with CAVLC.
Perhaps more importantly, this means psy-trellis now works with CAVLC.

This isn't a real trellis; it's actually just a simplified QNS.
But it takes enough shortcuts that it's still roughly as fast as a trellis; just not quite optimal.
Thus the name is a bit of a misnomer, but we're reusing the option name because it does the same thing.
A real trellis would be better, but CAVLC is much harder to trellis than CABAC.
I'm not aware of any published polynomial-time solutions that are significantly close to optimal.
encoder/cavlc.c
encoder/encoder.c
encoder/macroblock.c
encoder/rdo.c
x264.c