Lines Matching defs:vi
48 vorbis_info vi; /**< vorbis_info used during init */
98 static av_cold int libvorbis_setup(vorbis_info *vi, AVCodecContext *avctx)
114 if ((ret = vorbis_encode_setup_vbr(vi, channels,
123 if ((ret = vorbis_encode_setup_managed(vi, channels,
130 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_SET, NULL)))
137 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_SET, &cfreq)))
143 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &s->iblock)))
175 if ((ret = vorbis_encode_setup_init(vi)))
199 vorbis_info_clear(&s->vi);
217 vorbis_info_init(&s->vi);
218 if ((ret = libvorbis_setup(&s->vi, avctx))) {
222 if ((ret = vorbis_analysis_init(&s->vd, &s->vi))) {
299 int c, channels = s->vi.channels;