Mercurial > libavcodec.hg
comparison libx264.c @ 7983:47f50599b368 libavcodec
x264 has removed the b-rdo and bime options, and instead integrated
them into the subme number to attempt to reduce the number of
unnecessary options. subme now scales up to 9.
Patch by Jason Garett-Glaser %darkshikari A gmail P com%
author | gpoirier |
---|---|
date | Thu, 02 Oct 2008 19:05:35 +0000 |
parents | 850abcd10e19 |
children | 4f555a34e00f |
comparison
equal
deleted
inserted
replaced
7982:98d37cfc40a1 | 7983:47f50599b368 |
---|---|
225 else x4->params.analyse.i_me_method = X264_ME_HEX; | 225 else x4->params.analyse.i_me_method = X264_ME_HEX; |
226 | 226 |
227 x4->params.analyse.i_me_range = avctx->me_range; | 227 x4->params.analyse.i_me_range = avctx->me_range; |
228 x4->params.analyse.i_subpel_refine = avctx->me_subpel_quality; | 228 x4->params.analyse.i_subpel_refine = avctx->me_subpel_quality; |
229 | 229 |
230 x4->params.analyse.b_bidir_me = avctx->bidir_refine > 0; | |
231 x4->params.analyse.b_bframe_rdo = avctx->flags2 & CODEC_FLAG2_BRDO; | |
232 x4->params.analyse.b_mixed_references = | 230 x4->params.analyse.b_mixed_references = |
233 avctx->flags2 & CODEC_FLAG2_MIXED_REFS; | 231 avctx->flags2 & CODEC_FLAG2_MIXED_REFS; |
234 x4->params.analyse.b_chroma_me = avctx->me_cmp & FF_CMP_CHROMA; | 232 x4->params.analyse.b_chroma_me = avctx->me_cmp & FF_CMP_CHROMA; |
235 x4->params.analyse.b_transform_8x8 = avctx->flags2 & CODEC_FLAG2_8X8DCT; | 233 x4->params.analyse.b_transform_8x8 = avctx->flags2 & CODEC_FLAG2_8X8DCT; |
236 x4->params.analyse.b_fast_pskip = avctx->flags2 & CODEC_FLAG2_FASTPSKIP; | 234 x4->params.analyse.b_fast_pskip = avctx->flags2 & CODEC_FLAG2_FASTPSKIP; |