summaryrefslogtreecommitdiff
path: root/libavcodec/ratecontrol.h
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-10-27 20:16:26 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-10-27 20:16:26 +0000
commitbb0f1ea72fc046c4203909ff04cd682dbc8cab23 (patch)
treec94ba5f1d9f5f586f8e46884f3b67dbd2cbec86f /libavcodec/ratecontrol.h
parentce459e12da901ae37604f83f040411f33fa0d424 (diff)
update ratecontrol to new ff_eval API
Originally committed as revision 6808 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.h')
-rw-r--r--libavcodec/ratecontrol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ratecontrol.h b/libavcodec/ratecontrol.h
index 33e1d215b7..c428923a5d 100644
--- a/libavcodec/ratecontrol.h
+++ b/libavcodec/ratecontrol.h
@@ -28,6 +28,8 @@
* ratecontrol header.
*/
+#include "eval.h"
+
typedef struct Predictor{
double coeff;
double count;
@@ -80,6 +82,7 @@ typedef struct RateControlContext{
void *non_lavc_opaque; ///< context for non lavc rc code (for example xvid)
float dry_run_qscale; ///< for xvid rc
int last_picture_number; ///< for xvid rc
+ AVEvalExpr * rc_eq_eval;
}RateControlContext;
struct MpegEncContext;