Mercurial > libavcodec.hg
comparison x264.c @ 2569:980f66959698 libavcodec
indentation fix
author | mru |
---|---|
date | Sat, 19 Mar 2005 12:30:01 +0000 |
parents | f06d5bf3da71 |
children | 37cdd1a1174a |
comparison
equal
deleted
inserted
replaced
2568:f06d5bf3da71 | 2569:980f66959698 |
---|---|
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_rc_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 |
142 x4->params.rc.i_qp_min = avctx->qmin; | 142 x4->params.rc.i_qp_min = avctx->qmin; |
143 x4->params.rc.i_qp_max = avctx->qmax; | 143 x4->params.rc.i_qp_max = avctx->qmax; |
144 x4->params.rc.i_qp_step = avctx->max_qdiff; | 144 x4->params.rc.i_qp_step = avctx->max_qdiff; |
145 | 145 |