summaryrefslogtreecommitdiff
path: root/libavcodec/psymodel.h
diff options
context:
space:
mode:
authorNathan Caldwell <saintdev@gmail.com>2011-12-17 18:45:55 -0700
committerAlex Converse <alex.converse@gmail.com>2012-01-23 11:40:46 -0800
commit025ccf1f8bd669f45b628acf51e7febcb1fddd3b (patch)
tree01729ec4ed66b3c439fe963b3c3e8a512034af31 /libavcodec/psymodel.h
parent6381f913d19d78513bab06fad7c50548975475a3 (diff)
aacenc: Request normalized float samples instead of converting s16 samples to float.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
Diffstat (limited to 'libavcodec/psymodel.h')
-rw-r--r--libavcodec/psymodel.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h
index 3e866e40cc..03d078ed58 100644
--- a/libavcodec/psymodel.h
+++ b/libavcodec/psymodel.h
@@ -109,7 +109,7 @@ typedef struct FFPsyModel {
*
* @return suggested window information in a structure
*/
- FFPsyWindowInfo (*window)(FFPsyContext *ctx, const int16_t *audio, const int16_t *la, int channel, int prev_type);
+ FFPsyWindowInfo (*window)(FFPsyContext *ctx, const float *audio, const float *la, int channel, int prev_type);
/**
* Perform psychoacoustic analysis and set band info (threshold, energy) for a group of channels.
@@ -179,9 +179,8 @@ av_cold struct FFPsyPreprocessContext* ff_psy_preprocess_init(AVCodecContext *av
* @param tag channel number
* @param channels number of channel to preprocess (some additional work may be done on stereo pair)
*/
-void ff_psy_preprocess(struct FFPsyPreprocessContext *ctx,
- const int16_t *audio, int16_t *dest,
- int tag, int channels);
+void ff_psy_preprocess(struct FFPsyPreprocessContext *ctx, const float *audio,
+ float *dest, int tag, int channels);
/**
* Cleanup audio preprocessing module.