Lines Matching refs:vb
64 int vorbis_bitrate_managed(vorbis_block *vb){ in vorbis_bitrate_managed() argument
65 vorbis_dsp_state *vd=vb->vd; in vorbis_bitrate_managed()
74 int vorbis_bitrate_addblock(vorbis_block *vb){ in vorbis_bitrate_addblock() argument
75 vorbis_block_internal *vbi=vb->internal; in vorbis_bitrate_addblock()
76 vorbis_dsp_state *vd=vb->vd; in vorbis_bitrate_addblock()
85 long min_target_bits=(vb->W?bm->min_bitsper*bm->short_per_long:bm->min_bitsper); in vorbis_bitrate_addblock()
86 long max_target_bits=(vb->W?bm->max_bitsper*bm->short_per_long:bm->max_bitsper); in vorbis_bitrate_addblock()
87 int samples=ci->blocksizes[vb->W]>>1; in vorbis_bitrate_addblock()
93 if(bm->vb)return(-1); /* one has been submitted without in vorbis_bitrate_addblock()
95 bm->vb=vb; in vorbis_bitrate_addblock()
99 bm->vb=vb; in vorbis_bitrate_addblock()
104 long avg_target_bits=(vb->W?bm->avg_bitsper*bm->short_per_long:bm->avg_bitsper); in vorbis_bitrate_addblock()
223 long avg_target_bits=(vb->W?bm->avg_bitsper*bm->short_per_long:bm->avg_bitsper); in vorbis_bitrate_addblock()
233 vorbis_block *vb=bm->vb; in vorbis_bitrate_flushpacket() local
235 if(!vb)return 0; in vorbis_bitrate_flushpacket()
238 vorbis_block_internal *vbi=vb->internal; in vorbis_bitrate_flushpacket()
240 if(vorbis_bitrate_managed(vb)) in vorbis_bitrate_flushpacket()
246 op->e_o_s=vb->eofflag; in vorbis_bitrate_flushpacket()
247 op->granulepos=vb->granulepos; in vorbis_bitrate_flushpacket()
248 op->packetno=vb->sequence; /* for sake of completeness */ in vorbis_bitrate_flushpacket()
251 bm->vb=0; in vorbis_bitrate_flushpacket()