Lines Matching refs:qual
128 float qual=7; in vbr_analysis() local
187 qual -= .7; in vbr_analysis()
189 qual-=.7; in vbr_analysis()
191 qual-=.7; in vbr_analysis()
204 qual += .6*long_diff; in vbr_analysis()
206 qual += .5*long_diff; in vbr_analysis()
211 qual += .5*short_diff; in vbr_analysis()
215 qual += .5; in vbr_analysis()
219 qual += 2.2*((pitch_coef-.4) + (vbr->soft_pitch-.4)); in vbr_analysis()
221 if (qual < vbr->last_quality) in vbr_analysis()
222 qual = .5*qual + .5*vbr->last_quality; in vbr_analysis()
223 if (qual<4) in vbr_analysis()
224 qual=4; in vbr_analysis()
225 if (qual>10) in vbr_analysis()
226 qual=10; in vbr_analysis()
237 qual=4; in vbr_analysis()
240 qual -= 1.0 * (log(3.0 + vbr->consec_noise)-log(3)); in vbr_analysis()
241 if (qual<0) in vbr_analysis()
242 qual=0; in vbr_analysis()
247 qual-=0.5*(log(3.0 + vbr->consec_noise)-log(3)); in vbr_analysis()
249 qual-=0.5*(log(3.0 + vbr->consec_noise)-log(3)); in vbr_analysis()
250 if (qual<0) in vbr_analysis()
251 qual=0; in vbr_analysis()
252 qual += .3*log(.0001+ener/60000.0); in vbr_analysis()
254 if (qual<-1) in vbr_analysis()
255 qual=-1; in vbr_analysis()
260 vbr->last_quality = qual; in vbr_analysis()
268 return qual; in vbr_analysis()