diff options
author | Alex Converse <alex.converse@gmail.com> | 2009-07-08 20:36:45 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2009-07-08 20:36:45 +0000 |
commit | fd257dc4c0ee751ecf15830b91d28c15276fe93b (patch) | |
tree | ea435dfa1fdef450eabc9fc2f422624850acff83 /libavcodec/psymodel.h | |
parent | 78e65cd7726942a1615ead039abe0bfa79341212 (diff) | |
download | ffmpeg-fd257dc4c0ee751ecf15830b91d28c15276fe93b.tar.gz |
Cosmetics: Pretty print the AAC encoder.
Originally committed as revision 19376 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/psymodel.h')
-rw-r--r-- | libavcodec/psymodel.h | 14 |
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. |