--- xvid_encraw.c 2003/01/12 17:21:43 1.1.2.1 +++ xvid_encraw.c 2002/12/26 14:36:06 1.7 @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid_encraw.c,v 1.1.2.1 2003/01/12 17:21:43 edgomez Exp $ + * $Id: xvid_encraw.c,v 1.7 2002/12/26 14:36:06 edgomez Exp $ * ****************************************************************************/ @@ -699,10 +699,6 @@ xparam.min_quantizer = ARG_MINQUANT; xparam.max_quantizer = ARG_MAXQUANT; xparam.max_key_interval = (int)ARG_FRAMERATE*10; - xparam.bquant_ratio = 150; - xparam.bquant_offset = 100; - xparam.max_bframes = 0; - xparam.global = 0; /* I use a small value here, since will not encode whole movies, but short clips */ @@ -739,12 +735,10 @@ xframe.intra = -1; /* let the codec decide between I-frame (1) and P-frame (0) */ xframe.quant = ARG_QUANTI; /* is quant != 0, use a fixed quant (and ignore bitrate) */ - xframe.bquant = 0; - + xframe.motion = motion_presets[ARG_QUALITY]; xframe.general = general_presets[ARG_QUALITY]; xframe.quant_intra_matrix = xframe.quant_inter_matrix = NULL; - xframe.stride = XDIM; xframe.hint.hintstream = hints_buffer;