comparison x264.c @ 2682:dfa4d2773d13 libavcodec

work with latest svn of x264
author mru
date Sat, 14 May 2005 21:02:49 +0000
parents ef44d24680d1
children 5bdc60634470
comparison
equal deleted inserted replaced
2681:663dca3aa1d9 2682:dfa4d2773d13
131 x4->params.pf_log = X264_log; 131 x4->params.pf_log = X264_log;
132 x4->params.p_log_private = avctx; 132 x4->params.p_log_private = avctx;
133 133
134 x4->params.i_keyint_max = avctx->gop_size; 134 x4->params.i_keyint_max = avctx->gop_size;
135 x4->params.rc.i_bitrate = avctx->bit_rate / 1000; 135 x4->params.rc.i_bitrate = avctx->bit_rate / 1000;
136 x4->params.rc.i_rc_buffer_size = avctx->rc_buffer_size / 1000; 136 x4->params.rc.i_vbv_buffer_size = avctx->rc_buffer_size / 1000;
137 if(avctx->rc_buffer_size) 137 if(avctx->rc_buffer_size)
138 x4->params.rc.b_cbr = 1; 138 x4->params.rc.b_cbr = 1;
139 x4->params.i_bframe = avctx->max_b_frames; 139 x4->params.i_bframe = avctx->max_b_frames;
140 x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; 140 x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;
141 141