diff options
author | tetsuo55 <tetsuo55@users.sourceforge.net> | 2010-04-09 01:14:58 +0400 |
---|---|---|
committer | tetsuo55 <tetsuo55@users.sourceforge.net> | 2010-04-09 01:14:58 +0400 |
commit | a9b7bf3fb3e1334d8defd05ca4cfae870b4912e5 (patch) | |
tree | 2dab453d94d5e003379a6cc895eceb84c80e23ec /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h | |
parent | aafd49a91f7c2fa9c7103971c16fa6e1b29e8bfd (diff) |
astyle formatting cleanup to make the sourcecode more accessible
switch used: astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren
http://astyle.sourceforge.net/
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1783 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, 9 insertions, 6 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h index 9a070e997..5bc816677 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/ratecontrol.h @@ -32,14 +32,16 @@ #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;
@@ -56,12 +58,13 @@ 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;
@@ -86,7 +89,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;
|