1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00

sync to x264 r457 (direct_pred=3)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17732 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
lorenm 2006-03-05 07:23:12 +00:00
parent 1a2d562981
commit 66419046a2
3 changed files with 9 additions and 6 deletions

View File

@ -8841,7 +8841,7 @@ to overflow compensation and qp_min/qp_max.
.RE
.
.TP
.B direct_pred=<0\-2>
.B direct_pred=<0\-3>
Determines the type of motion prediction used for direct macroblocks
in B-frames.
.PD 0
@ -8850,14 +8850,17 @@ in B-frames.
None: direct macroblocks are not used.
.IPs 1
Spatial: motion vectors are extrapolated from neighboring blocks.
(default)
.IPs 2
Temporal: motion vectors are interpolated from the following P-frame.
(default)
.IPs 3
Auto: the codec selects between spatial and temporal for each frame.
.RE
.PD 1
.RS
Spatial and temporal are approximately the same speed and PSNR,
but temporal often looks better.
the choice between them depends on the video content.
Auto is slightly better, but slower.
direct_pred=0 is both slower and lower quality.
.RE
.

2
configure vendored
View File

@ -6388,7 +6388,7 @@ echocheck "x264"
cat > $TMPC << EOF
#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 43
#if X264_BUILD < 45
#error We do not support old versions of x264. Get the latest from SVN.
#endif
int main(void) { x264_encoder_open((void*)0); return 0; }

View File

@ -77,7 +77,7 @@ static int b8x8mv = 1;
static int i8x8 = 1;
static int i4x4 = 1;
static int dct8 = 0;
static int direct_pred = X264_DIRECT_PRED_TEMPORAL;
static int direct_pred = X264_DIRECT_PRED_SPATIAL;
static int weight_b = 0;
static int chroma_me = 1;
static int mixed_references = 0;
@ -152,7 +152,7 @@ m_option_t x264encopts_conf[] = {
{"noi8x8", &i8x8, CONF_TYPE_FLAG, 0, 0, 0, NULL},
{"8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"no8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 0, NULL},
{"direct_pred", &direct_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
{"direct_pred", &direct_pred, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
{"weight_b", &weight_b, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"noweight_b", &weight_b, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"bime", &bidir_me, CONF_TYPE_FLAG, 0, 0, 1, NULL},