Mercurial > libavcodec.hg
diff mpegvideo_enc.c @ 5211:413c5e2eff68 libavcodec
move mpeg encoder specific initialization in the encoder specific file
author | aurel |
---|---|
date | Thu, 05 Jul 2007 09:48:29 +0000 |
parents | 2ac10c5e5885 |
children | 470601203f44 |
line wrap: on
line diff
--- a/mpegvideo_enc.c Thu Jul 05 09:21:55 2007 +0000 +++ b/mpegvideo_enc.c Thu Jul 05 09:48:29 2007 +0000 @@ -660,6 +660,14 @@ if (MPV_common_init(s) < 0) return -1; + if(!s->dct_quantize) + s->dct_quantize = dct_quantize_c; + if(!s->denoise_dct) + s->denoise_dct = denoise_dct_c; + s->fast_dct_quantize = s->dct_quantize; + if(s->flags & CODEC_FLAG_TRELLIS_QUANT) + s->dct_quantize = dct_quantize_trellis_c; + if(s->modified_quant) s->chroma_qscale_table= ff_h263_chroma_qscale_table; s->progressive_frame=