]> git.sesse.net Git - x264/commit
quant_4x4x4: quant one 8x8 block at a time
authorFiona Glaser <fiona@x264.com>
Fri, 8 Feb 2013 23:34:38 +0000 (15:34 -0800)
committerFiona Glaser <fiona@x264.com>
Tue, 26 Feb 2013 07:22:56 +0000 (23:22 -0800)
commit993c81e94eebaacddbbfcec665831d07d89490b7
tree616fce554748fc96a3f2f9038a1b64eea5c5d874
parent5ee1d03a8b86915d98b165d067dce377df3a87ba
quant_4x4x4: quant one 8x8 block at a time

This reduces overhead and lets us use less branchy code for zigzag, dequant,
decimate, and so on.
Reorganize and optimize a lot of macroblock_encode using this new function.
~1-2% faster overall.

Includes NEON and x86 versions of the new function.
Using larger merged functions like this will also make wider SIMD, like
AVX2, more effective.
common/arm/quant-a.S
common/arm/quant.h
common/osdep.h
common/quant.c
common/quant.h
common/x86/quant-a.asm
common/x86/quant.h
encoder/macroblock.c
encoder/macroblock.h
encoder/rdo.c
tools/checkasm.c