Lines Matching refs:vi
44 vorbis_info vi; /**< vorbis_info used during init */ member
94 static av_cold int libvorbis_setup(vorbis_info *vi, AVCodecContext *avctx) in libvorbis_setup() argument
109 if ((ret = vorbis_encode_setup_vbr(vi, avctx->channels, in libvorbis_setup()
118 if ((ret = vorbis_encode_setup_managed(vi, avctx->channels, in libvorbis_setup()
125 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_SET, NULL))) in libvorbis_setup()
132 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_SET, &cfreq))) in libvorbis_setup()
138 if ((ret = vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &s->iblock))) in libvorbis_setup()
171 if ((ret = vorbis_encode_setup_init(vi))) in libvorbis_setup()
195 vorbis_info_clear(&s->vi); in libvorbis_encode_close()
214 vorbis_info_init(&s->vi); in libvorbis_encode_init()
215 if ((ret = libvorbis_setup(&s->vi, avctx))) { in libvorbis_encode_init()
219 if ((ret = vorbis_analysis_init(&s->vd, &s->vi))) { in libvorbis_encode_init()
296 int c, channels = s->vi.channels; in libvorbis_encode_frame()