[svn] / trunk / xvidcore / examples / ex1 / ex1.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/examples/ex1/ex1.c

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

revision 185, Tue May 28 01:16:06 2002 UTC revision 231, Fri Jun 21 07:02:59 2002 UTC
# Line 55  Line 55 
55          param->max_quantizer = 31;          param->max_quantizer = 31;
56          param->max_key_interval = 100;          param->max_key_interval = 100;
57    
58    #ifdef BFRAMES
59          param->max_bframes = 0;         // Disable B-frame          param->max_bframes = 0;         // Disable B-frame
60    #endif
61  }  }
62    
63  void set_enc_frame(XVID_ENC_FRAME *frame)  void set_enc_frame(XVID_ENC_FRAME *frame)
# Line 70  Line 72 
72          frame->colorspace = XVID_CSP_YV12;      // the test.yuv format is YV12          frame->colorspace = XVID_CSP_YV12;      // the test.yuv format is YV12
73          frame->quant = 0;       // CBR mode          frame->quant = 0;       // CBR mode
74    
         frame->general = 0;  
75          frame->general |= XVID_MPEGQUANT;       // Use MPEG quant          frame->general |= XVID_MPEGQUANT;       // Use MPEG quant
76          frame->quant_inter_matrix = NULL;       // Use default quant matrix          frame->quant_inter_matrix = NULL;       // Use default quant matrix
77          frame->quant_intra_matrix = NULL;          frame->quant_intra_matrix = NULL;

Legend:
Removed from v.185  
changed lines
  Added in v.231

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