Mercurial > mplayer.hg
changeset 11586:efe910b068fc
xvid 1.0 beta2
author | iive |
---|---|
date | Mon, 08 Dec 2003 16:56:46 +0000 |
parents | b44bf57aef04 |
children | 01cd5497870c |
files | libmpcodecs/ve_xvid4.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_xvid4.c Mon Dec 08 13:51:00 2003 +0000 +++ b/libmpcodecs/ve_xvid4.c Mon Dec 08 16:56:46 2003 +0000 @@ -105,7 +105,7 @@ static int xvidenc_vbr_max_overflow_improvement = 0; static int xvidenc_vbr_max_overflow_degradation = 0; static int xvidenc_vbr_kfreduction = 0; -static int xvidenc_vbr_min_key_interval = 0; +static int xvidenc_vbr_kfthreshold = 0; static int xvidenc_vbr_container_frame_overhead = 0; static char *xvidenc_par = NULL; @@ -165,7 +165,7 @@ {"max_overflow_improvement", &xvidenc_vbr_max_overflow_improvement, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL}, {"max_overflow_degradation", &xvidenc_vbr_max_overflow_degradation, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL}, {"kfreduction", &xvidenc_vbr_kfreduction, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL}, - {"min_key_interval", &xvidenc_vbr_min_key_interval, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, + {"kfthreshold", &xvidenc_vbr_kfthreshold, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, {"container_frame_overhead", &xvidenc_vbr_container_frame_overhead, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, /* Section Aspect Ratio */ @@ -399,7 +399,7 @@ /* If size is == 0, we're done with that frame */ if(size == 0) return(FINE); - /* Did xvidcore returned stats about an ecoded frame ? (asynchrone) */ + /* Did xvidcore returned stats about an encoded frame ? (asynchronous) */ if(xvidenc_stats && stats.type > 0) { mod->frames++; mod->sse_y += stats.sse_y; @@ -591,7 +591,7 @@ pass2->max_overflow_improvement = xvidenc_vbr_max_overflow_improvement; pass2->max_overflow_degradation = xvidenc_vbr_max_overflow_degradation; pass2->kfreduction = xvidenc_vbr_kfreduction; - pass2->min_key_interval = xvidenc_vbr_min_key_interval; + pass2->kfthreshold = xvidenc_vbr_kfthreshold; pass2->container_frame_overhead = xvidenc_vbr_container_frame_overhead; /* -------------------------------------------------------------------