X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpsymodel.h;h=317974bca4dc336a707eea4ee51c9937da3f2668;hb=0bb57f8bf029427059be21a562527dcfa0e264c9;hp=a7b7948cd2835aca89c107a2763d329c41e9ccb5;hpb=b404ab9e74d3bca12d5989c366f5cfd746279067;p=ffmpeg diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h index a7b7948cd28..317974bca4d 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. @@ -174,14 +174,10 @@ av_cold struct FFPsyPreprocessContext* ff_psy_preprocess_init(AVCodecContext *av * Preprocess several channel in audio frame in order to compress it better. * * @param ctx preprocessing context - * @param audio samples to preprocess - * @param dest place to put filtered samples - * @param tag channel number - * @param channels number of channel to preprocess (some additional work may be done on stereo pair) + * @param audio samples to be filtered (in place) + * @param channels number of channel to preprocess */ -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, float **audio, int channels); /** * Cleanup audio preprocessing module.