• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching refs:step

66  * This is the step table. Note that many programs use slight deviations from
133 int step;
248 if(!c->step) {
250 c->step = 127;
255 nibble = FFMIN(7, abs(delta)*4/c->step) + (delta<0)*8;
257 c->predictor += ((c->step * yamaha_difflookup[nibble]) / 8);
259 c->step = (c->step * yamaha_indexscale[nibble]) >> 8;
260 c->step = av_clip(c->step, 127, 24567);
275 int step;
300 nodes[0]->step = c->step_index;
306 nodes[0]->step = c->idelta;
308 if(c->step == 0) {
309 nodes[0]->step = 127;
312 nodes[0]->step = c->step;
325 const int step = nodes[j]->step;
329 const int div = (sample - predictor) / step;
334 int dec_sample = predictor + nidx * step;
344 * One could also distinguish states by step and by 2nd to last
361 u->step = STEP_INDEX;\
372 STORE_NODE(ms, FFMAX(16, (AdaptationTable[nibble] * step) >> 8));
387 LOOP_NODES(ima, step_table[step], av_clip(step + index_table[nibble], 0, 88));
389 LOOP_NODES(yamaha, step, av_clip((step * yamaha_indexscale[nibble]) >> 8, 127, 24567));
431 c->step_index = nodes[0]->step;
432 c->step = nodes[0]->step;
433 c->idelta = nodes[0]->step;
560 c->status[i].step_index = av_clip(c->status[i].step_index, 0, 63); // clip step so it fits 6 bits
685 c->status[0].step = c->status[1].step = 511;
704 int sign, delta, diff, step;
706 step = step_table[c->step_index];
716 diff = ((2 * delta + 1) * step) >> shift;
752 diff = ((2 * delta + 1) * c->step) >> 3;
756 /* calculate new step and clamp it to range 511..32767 */
757 new_step = (AdaptationTable[nibble & 7] * c->step) >> 8;
758 c->step = av_clip(new_step, 511, 32767);
769 diff = delta << (7 + c->step + shift);
774 /* calculate new step */
775 if (delta >= (2*size - 3) && c->step < 3)
776 c->step++;
777 else if (delta == 0 && c->step > 0)
778 c->step--;
785 if(!c->step) {
787 c->step = 127;
790 c->predictor += (c->step * yamaha_difflookup[nibble]) / 8;
792 c->step = (c->step * yamaha_indexscale[nibble]) >> 8;
793 c->step = av_clip(c->step, 127, 24567);
948 cs->step = step_table[cs->step_index];
1500 int step = step_table[c->status[i].step_index];
1501 long vpdiff = 0; // vpdiff = (delta+0.5)*step/4
1506 vpdiff += step;
1507 step >>= 1;
1510 vpdiff += step;