Mercurial > libavcodec.hg
comparison libschroedingerenc.c @ 7839:e6348a5656e0 libavcodec
Add support for creating Simple Profile (I-frame only, no arithmetic coding)
Dirac bytestreams. patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
author | diego |
---|---|
date | Tue, 09 Sep 2008 14:47:47 +0000 |
parents | 2f5b98d0aa13 |
children | e9d9d946f213 |
comparison
equal
deleted
inserted
replaced
7838:88f4153caa21 | 7839:e6348a5656e0 |
---|---|
147 | 147 |
148 if (avccontext->gop_size == 0){ | 148 if (avccontext->gop_size == 0){ |
149 schro_encoder_setting_set_double (p_schro_params->encoder, | 149 schro_encoder_setting_set_double (p_schro_params->encoder, |
150 "gop_structure", | 150 "gop_structure", |
151 SCHRO_ENCODER_GOP_INTRA_ONLY); | 151 SCHRO_ENCODER_GOP_INTRA_ONLY); |
152 | |
153 if (avccontext->coder_type == FF_CODER_TYPE_VLC) { | |
154 schro_encoder_setting_set_double (p_schro_params->encoder, | |
155 "enable_noarith", 1); | |
156 } | |
152 } | 157 } |
153 else { | 158 else { |
154 schro_encoder_setting_set_double (p_schro_params->encoder, | 159 schro_encoder_setting_set_double (p_schro_params->encoder, |
155 "gop_structure", | 160 "gop_structure", |
156 SCHRO_ENCODER_GOP_BIREF); | 161 SCHRO_ENCODER_GOP_BIREF); |