mirror of https://github.com/mpv-player/mpv
remove x264 option "cabacidc", because the default is always best.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15150 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
264c7b0087
commit
18fe92cd19
|
@ -7757,23 +7757,6 @@ Slightly slows down encoding and decoding, but should save 10-15% bitrate.
|
|||
Unless you are looking for decoding speed, you should not disable it.
|
||||
.
|
||||
.TP
|
||||
.B cabacidc=<value>
|
||||
Initial value of CABAC IDC.
|
||||
The encoder must choose a context for each block it encodes, but for the
|
||||
first block in a frame, there are no prior blocks to predict the context.
|
||||
Adjusting this may affect bitrate by a fraction of a percent, but it doesn't
|
||||
directly affect distortion.
|
||||
.RSs
|
||||
-1: Encoder chooses context, usually 0 (default).
|
||||
.br
|
||||
0: low complexity
|
||||
.br
|
||||
1: medium complexity
|
||||
.br
|
||||
2: high complexity
|
||||
.REss
|
||||
.
|
||||
.TP
|
||||
.B qp_min=<1\-51> (CBR or two pass)
|
||||
Minimum quantizer, 10\-30 seems to be a useful range (default: 10).
|
||||
.
|
||||
|
|
|
@ -72,7 +72,6 @@ static int deblock = 1;
|
|||
static int deblockalpha = 0;
|
||||
static int deblockbeta = 0;
|
||||
static int cabac = 1;
|
||||
static int cabacidc = -1;
|
||||
static int p4x4mv = 0;
|
||||
static int p8x8mv = 1;
|
||||
static int b8x8mv = 1;
|
||||
|
@ -117,7 +116,6 @@ m_option_t x264encopts_conf[] = {
|
|||
{"deblockbeta", &deblockbeta, CONF_TYPE_INT, CONF_RANGE, -6, 6, NULL},
|
||||
{"cabac", &cabac, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||
{"nocabac", &cabac, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
||||
{"cabacidc", &cabacidc, CONF_TYPE_INT, CONF_RANGE, -1, 2, NULL},
|
||||
{"4x4mv", &p4x4mv, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||
{"no4x4mv", &p4x4mv, CONF_TYPE_FLAG, 0, 1, 0, NULL},
|
||||
{"8x8mv", &p8x8mv, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||
|
@ -173,7 +171,6 @@ static int config(struct vf_instance_s* vf, int width, int height, int d_width,
|
|||
mod->param.i_deblocking_filter_alphac0 = deblockalpha;
|
||||
mod->param.i_deblocking_filter_beta = deblockbeta;
|
||||
mod->param.b_cabac = cabac;
|
||||
mod->param.i_cabac_init_idc = cabacidc;
|
||||
|
||||
mod->param.rc.i_qp_constant = qp_constant;
|
||||
if(qp_min > qp_constant)
|
||||
|
|
Loading…
Reference in New Issue