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
508508 return p->coeff*var / (q*p->count);
509509 }
510510
511−/*
512−static 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−
519511 static void update_predictor(Predictor *p, double q, double var, double size)
520512 {
521513 double new_coeff= size*q / (var + 1);
@@ -555,10 +547,6 @@ static void adaptive_quantization(MpegEncContext *s, double q){ · 33 unmodified lines
555547 int mb_y = mb_xy / s->mb_stride;
556548 int mb_distance;
557549 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
562550 if(spat_cplx < 4) spat_cplx= 4; //FIXME finetune
563551 if(temp_cplx < 4) temp_cplx= 4; //FIXME finetune
564552

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