[cvs] / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /xvidcore/examples/xvid_encraw.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1, Sun Jan 12 17:21:43 2003 UTC revision 1.7, Thu Dec 26 14:36:06 2002 UTC
# Line 699  Line 699 
699          xparam.min_quantizer = ARG_MINQUANT;          xparam.min_quantizer = ARG_MINQUANT;
700          xparam.max_quantizer = ARG_MAXQUANT;          xparam.max_quantizer = ARG_MAXQUANT;
701          xparam.max_key_interval = (int)ARG_FRAMERATE*10;          xparam.max_key_interval = (int)ARG_FRAMERATE*10;
         xparam.bquant_ratio = 150;  
         xparam.bquant_offset = 100;  
         xparam.max_bframes = 0;  
         xparam.global = 0;  
702    
703          /* I use a small value here, since will not encode whole movies, but short clips */          /* I use a small value here, since will not encode whole movies, but short clips */
704    
# Line 739  Line 735 
735          xframe.intra = -1; /* let the codec decide between I-frame (1) and P-frame (0) */          xframe.intra = -1; /* let the codec decide between I-frame (1) and P-frame (0) */
736    
737          xframe.quant = ARG_QUANTI;      /* is quant != 0, use a fixed quant (and ignore bitrate) */          xframe.quant = ARG_QUANTI;      /* is quant != 0, use a fixed quant (and ignore bitrate) */
         xframe.bquant = 0;  
738    
739          xframe.motion = motion_presets[ARG_QUALITY];          xframe.motion = motion_presets[ARG_QUALITY];
740          xframe.general = general_presets[ARG_QUALITY];          xframe.general = general_presets[ARG_QUALITY];
741          xframe.quant_intra_matrix = xframe.quant_inter_matrix = NULL;          xframe.quant_intra_matrix = xframe.quant_inter_matrix = NULL;
         xframe.stride = XDIM;  
742    
743          xframe.hint.hintstream = hints_buffer;          xframe.hint.hintstream = hints_buffer;
744    

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.7

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4