comparison ratecontrol.h @ 4084:90e848a24c70 libavcodec

update ratecontrol to new ff_eval API
author ods15
date Fri, 27 Oct 2006 20:16:26 +0000
parents c8c591fe26f8
children 4394344397d8
comparison
equal deleted inserted replaced
4083:065ee7dd69ca 4084:90e848a24c70
25 25
26 /** 26 /**
27 * @file ratecontrol.h 27 * @file ratecontrol.h
28 * ratecontrol header. 28 * ratecontrol header.
29 */ 29 */
30
31 #include "eval.h"
30 32
31 typedef struct Predictor{ 33 typedef struct Predictor{
32 double coeff; 34 double coeff;
33 double count; 35 double count;
34 double decay; 36 double decay;
78 int last_non_b_pict_type; 80 int last_non_b_pict_type;
79 81
80 void *non_lavc_opaque; ///< context for non lavc rc code (for example xvid) 82 void *non_lavc_opaque; ///< context for non lavc rc code (for example xvid)
81 float dry_run_qscale; ///< for xvid rc 83 float dry_run_qscale; ///< for xvid rc
82 int last_picture_number; ///< for xvid rc 84 int last_picture_number; ///< for xvid rc
85 AVEvalExpr * rc_eq_eval;
83 }RateControlContext; 86 }RateControlContext;
84 87
85 struct MpegEncContext; 88 struct MpegEncContext;
86 89
87 /* rate control */ 90 /* rate control */