History

flvdec: remove incomplete, disabled seeking code

Diego Biurrun committed 15 years ago

Commit 4cc29201 parent be1a8391 file · +0 −12Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ratecontrol.c+0−12
@@ -508,14 +508,6 @@ static double predict_size(Predictor *p, double q, double var) · 507 unmodified lines
508 return p->coeff*var / (q*p->count);508 return p->coeff*var / (q*p->count);
509}509}
510 510
511/*
512static double predict_qp(Predictor *p, double size, double var)
513{
514//printf("coeff:%f, count:%f, var:%f, size:%f//\n", p->coeff, p->count, var, size);
515 return p->coeff*var / (size*p->count);
516}
517*/
518
519static void update_predictor(Predictor *p, double q, double var, double size)511static void update_predictor(Predictor *p, double q, double var, double size)
520{512{
521 double new_coeff= size*q / (var + 1);513 double new_coeff= size*q / (var + 1);
@@ -555,10 +547,6 @@ static void adaptive_quantization(MpegEncContext *s, double q){ · 33 unmodified lines
555 int mb_y = mb_xy / s->mb_stride;547 int mb_y = mb_xy / s->mb_stride;
556 int mb_distance;548 int mb_distance;
557 float mb_factor = 0.0;549 float mb_factor = 0.0;
558#if 0
559 if(spat_cplx < q/3) spat_cplx= q/3; //FIXME finetune
560 if(temp_cplx < q/3) temp_cplx= q/3; //FIXME finetune
561#endif
562 if(spat_cplx < 4) spat_cplx= 4; //FIXME finetune550 if(spat_cplx < 4) spat_cplx= 4; //FIXME finetune
563 if(temp_cplx < 4) temp_cplx= 4; //FIXME finetune551 if(temp_cplx < 4) temp_cplx= 4; //FIXME finetune
564 552

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t