#include <psymodel.h>
Data Fields | |
const char * | name |
int(* | init )(FFPsyContext *apc) |
FFPsyWindowInfo(* | window )(FFPsyContext *ctx, const int16_t *audio, const int16_t *la, int channel, int prev_type) |
Suggest window sequence for channel. | |
void(* | analyze )(FFPsyContext *ctx, int channel, const float *coeffs, const FFPsyWindowInfo *wi) |
Perform psychoacoustic analysis and set band info (threshold, energy). | |
void(* | end )(FFPsyContext *apc) |
Definition at line 80 of file psymodel.h.
void(* FFPsyModel::analyze)(FFPsyContext *ctx, int channel, const float *coeffs, const FFPsyWindowInfo *wi) |
Perform psychoacoustic analysis and set band info (threshold, energy).
ctx | model context | |
channel | audio channel number | |
coeffs | pointer to the transformed coefficients | |
wi | window information |
Referenced by aac_encode_frame().
void(* FFPsyModel::end)(FFPsyContext *apc) |
Referenced by ff_psy_end().
int(* FFPsyModel::init)(FFPsyContext *apc) |
Referenced by ff_psy_init().
const char* FFPsyModel::name |
Definition at line 81 of file psymodel.h.
FFPsyWindowInfo(* FFPsyModel::window)(FFPsyContext *ctx, const int16_t *audio, const int16_t *la, int channel, int prev_type) |
Suggest window sequence for channel.
ctx | model context | |
audio | samples for the current frame | |
la | lookahead samples (NULL when unavailable) | |
channel | number of channel element to analyze | |
prev_type | previous window type |
Referenced by aac_encode_frame().