]> git.videolan.org Git - x264.git/commit
Move deblocking/hpel into sliced threads
authorJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 15 Apr 2010 23:32:31 +0000 (16:32 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 23 Apr 2010 19:40:09 +0000 (12:40 -0700)
commit46fd4ae1388f6a53544b0bd4f97ce9940451f54d
tree829a2fbc2427929578b1ecfa5b54c3fa99185da5
parenta7ec5e2352c516f8c14bdd79ea9d1522d3ddae16
Move deblocking/hpel into sliced threads
Instead of doing both as a separate pass, do them during the main encode.
This requires disabling deblocking between slices (disable_deblock_idc == 2).
Overall performance gain is about 11% on --preset superfast with sliced threads.
Doesn't reduce the amount of actual computation done: only better parallelizes it.
common/common.h
common/frame.c
common/macroblock.c
common/macroblock.h
encoder/encoder.c
encoder/lookahead.c