]> git.videolan.org Git - x264.git/commit
Significantly faster CABAC and CAVLC residual coding and bit cost calculation
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 28 Nov 2008 03:37:56 +0000 (19:37 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 28 Nov 2008 06:04:35 +0000 (22:04 -0800)
commit12724e638e8d28ce97bcb9c77d2bb7336b087af3
treea8e2c2cca605749a8a0ec6a713dae7a8aca1677e
parent1591275a92faa3d63186e6de1e9022956113bc1d
Significantly faster CABAC and CAVLC residual coding and bit cost calculation
Early-terminate in residual writing using stored nnz counts
To allow the above, store nnz counts for luma and chroma DC
Add assembly functions to find the last nonzero coefficient in a block
Overall ~1.9% faster at subme9+8x8dct+qp25 with CAVLC, ~0.7% faster with CABAC
Note this changes output slightly with CABAC RDO because it requires always storing correct nnz values during RDO, which wasn't done before in cases it wasn't useful.
CAVLC output should be equivalent.
common/common.h
common/quant.c
common/quant.h
common/x86/quant-a.asm
common/x86/quant.h
encoder/cabac.c
encoder/cavlc.c
encoder/macroblock.c
tools/checkasm.c