Lines Matching defs:mode
73 int mode;
75 if ((mode = get_mode(avctx)) < 0) {
76 av_log(avctx, AV_LOG_ERROR, "iLBC frame mode not indicated\n");
80 WebRtcIlbcfix_InitDecode(&s->decoder, mode, s->enhance);
139 int mode;
143 { "mode", "iLBC mode (20 or 30 ms frames)", offsetof(ILBCEncContext, mode), AV_OPT_TYPE_INT, { .i64 = 20 }, 20, 30, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
157 int mode;
169 if ((mode = get_mode(avctx)) > 0)
170 s->mode = mode;
172 s->mode = s->mode != 30 ? 20 : 30;
173 WebRtcIlbcfix_InitEncode(&s->encoder, s->mode);