]> git.sesse.net Git - x264/commit
* all: Patches by Loren Merritt:
authorLaurent Aimar <fenrir@videolan.org>
Wed, 22 Sep 2004 07:07:48 +0000 (07:07 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 22 Sep 2004 07:07:48 +0000 (07:07 +0000)
commit48e288644ed493a77b5935e90010973a4e15faf6
tree2d1304aa4a268bf0caee91f914ce4c4678778419
parentf9bd35a32d8de87c67749c1628ea7693a2b83460
 * all: Patches by Loren Merritt:
"Improved patch. Now supports subpel ME on all candidate MB types,
not just on the winner.

subpel_refine: (completely different scale from before)
0 => halfpel only
1 => 1 iteration of qpel on the winner (same as x264 r46)
2 => 2 iterations of qpel (about the same as my earlier patch, but faster
3 => halfpel on all MB types, qpel on the winner
4 => qpel on all
5 => more iterations

benchmarks:
mencoder dvd://1 -ovc x264 -x264encopts
qp_constant=19:fullinter:cabac:iframe=200:psnr

subpel_refine=1:  PSNR Global:46.82 kb/s:1048.1 fps:17.335
subpel_refine=2:  PSNR Global:46.83 kb/s:1034.4 fps:16.970
subpel_refine=3:  PSNR Global:46.84 kb/s:1023.3 fps:14.770
subpel_refine=4:  PSNR Global:46.87 kb/s:1010.8 fps:11.598
subpel_refine=5:  PSNR Global:46.88 kb/s:1006.9 fps:10.824"

 And

"The current code for calculating the cost of encoding which reference
frame a MB is predicted from, introduces a bias towards ref0 and
against P16x16.
Removing this bias produces an improvement of .4% - 2% bitrate,
depending on content and number of reference frames."

git-svn-id: svn://svn.videolan.org/x264/trunk@47 df754926-b1dd-0310-bc7b-ec298dee348c
core/common.c
encoder/analyse.c
encoder/encoder.c
encoder/me.c
x264.c
x264.h