diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
commit | efbc9d9043ff8ff92716ddd00a5f61412d535593 (patch) | |
tree | 8f3e621f756cf1f5b4d64d97964c7e7abd8aaf08 /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h | |
parent | df6b139a6d9027156f614b68687e039e3a5854db (diff) |
revert r1783
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1785 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h index 5bc816677..9a070e997 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h @@ -32,16 +32,14 @@ #include <stdint.h>
#include "eval.h"
-typedef struct Predictor
-{
+typedef struct Predictor{
double coeff;
double count;
double decay;
} Predictor;
-typedef struct RateControlEntry
-{
- int rcOverrideIndex1, rcOverrideQscale; //Milan Cutka - don't obey qmin/qmax in RcOverride sections
+typedef struct RateControlEntry{
+ int rcOverrideIndex1,rcOverrideQscale; //Milan Cutka - don't obey qmin/qmax in RcOverride sections
int pict_type;
float qscale;
int mv_bits;
@@ -58,13 +56,12 @@ typedef struct RateControlEntry int skip_count;
int f_code;
int b_code;
-} RateControlEntry;
+}RateControlEntry;
/**
* rate control context.
*/
-typedef struct RateControlContext
-{
+typedef struct RateControlContext{
FILE *stats_file;
int num_entries; ///< number of RateControlEntries
RateControlEntry *entry;
@@ -89,7 +86,7 @@ typedef struct RateControlContext float dry_run_qscale; ///< for xvid rc
int last_picture_number; ///< for xvid rc
AVEvalExpr * rc_eq_eval;
-} RateControlContext;
+}RateControlContext;
struct MpegEncContext;
|