From fd257dc4c0ee751ecf15830b91d28c15276fe93b Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Wed, 8 Jul 2009 20:36:45 +0000 Subject: Cosmetics: Pretty print the AAC encoder. Originally committed as revision 19376 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/psymodel.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libavcodec/psymodel.h') 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. -- cgit v1.2.3