New threading method:
authorLoren Merritt <pengvado@videolan.org>
Fri, 15 Dec 2006 23:03:36 +0000 (23:03 +0000)
committerLoren Merritt <pengvado@videolan.org>
Fri, 15 Dec 2006 23:03:36 +0000 (23:03 +0000)
commit7b4f6a1fd95c7e0ab479e116fe59e66e5d1fd107
tree4089971589436d9c473577672e23dd848695c31d
parentfa2c1e5430619c6011dfe2ffbebbd59557afa228
New threading method:
Encode multiple frames in prallel instead of dividing each frame into slices.
Improves speed, and reduces the bitrate penalty of threading.

Side effects:
It is no longer possible to re-encode a frame, so threaded scenecut detection
must run in the pre-me pass, which is faster but less precise.
It is now useful to use more threads than you have cpus. --threads=auto has
been updated to use cpus*1.5.
Minor changes to ratecontrol.

New options: --pre-scenecut, --mvrange-thread, --non-deterministic

git-svn-id: svn://svn.videolan.org/x264/trunk@607 df754926-b1dd-0310-bc7b-ec298dee348c
17 files changed:
common/amd64/mc-a2.asm
common/common.c
common/common.h
common/frame.c
common/frame.h
common/i386/mc-a2.asm
common/macroblock.c
common/mc.c
doc/threads.txt [new file with mode: 0644]
encoder/analyse.c
encoder/encoder.c
encoder/me.c
encoder/ratecontrol.c
encoder/ratecontrol.h
encoder/slicetype.c
x264.c
x264.h