summaryrefslogtreecommitdiff
path: root/libavcodec/psymodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/psymodel.h')
-rw-r--r--libavcodec/psymodel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h
index 5bcf556f0b..bc19d49f73 100644
--- a/libavcodec/psymodel.h
+++ b/libavcodec/psymodel.h
@@ -30,29 +30,29 @@
/**
* single band psychoacoustic information
*/
-typedef struct FFPsyBand{
+typedef struct FFPsyBand {
int bits;
float energy;
float threshold;
float distortion;
float perceptual_weight;
-}FFPsyBand;
+} FFPsyBand;
/**
* windowing related information
*/
-typedef struct FFPsyWindowInfo{
+typedef struct FFPsyWindowInfo {
int window_type[3]; ///< window type (short/long/transitional, etc.) - current, previous and next
int window_shape; ///< window shape (sine/KBD/whatever)
int num_windows; ///< number of windows in a frame
int grouping[8]; ///< window grouping (for e.g. AAC)
int *window_sizes; ///< sequence of window sizes inside one frame (for eg. WMA)
-}FFPsyWindowInfo;
+} FFPsyWindowInfo;
/**
* context used by psychoacoustic model
*/
-typedef struct FFPsyContext{
+typedef struct FFPsyContext {
AVCodecContext *avctx; ///< encoder context
const struct FFPsyModel *model; ///< encoder-specific model functions
@@ -63,7 +63,7 @@ typedef struct FFPsyContext{
int num_lens; ///< number of scalefactor band sets
void* model_priv_data; ///< psychoacoustic model implementation private data
-}FFPsyContext;
+} FFPsyContext;
/**
* codec-specific psychoacoustic model implementation
@@ -74,7 +74,7 @@ typedef struct FFPsyModel {
FFPsyWindowInfo (*window)(FFPsyContext *ctx, const int16_t *audio, const int16_t *la, int channel, int prev_type);
void (*analyze)(FFPsyContext *ctx, int channel, const float *coeffs, FFPsyWindowInfo *wi);
void (*end) (FFPsyContext *apc);
-}FFPsyModel;
+} FFPsyModel;
/**
* Initialize psychoacoustic model.