]> git.sesse.net Git - x264/commit
CAVLC "trellis"
authorFiona Glaser <fiona@x264.com>
Sat, 21 Aug 2010 07:15:53 +0000 (00:15 -0700)
committerFiona Glaser <fiona@x264.com>
Tue, 24 Aug 2010 18:03:34 +0000 (14:03 -0400)
commit268618932b0c065c1ab1eea26311f35937073c58
tree1ca96b4f1c9aa8cdef9a27a3f0ccdb143d45504b
parent34649ace2ce4cb4bde4bcbdc78919dfca358d6a3
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