FFmpeg
|
codec-specific psychoacoustic model implementation More...
#include <psymodel.h>
Data Fields | |
const char * | name |
int(* | init )(FFPsyContext *apc) |
FFPsyWindowInfo(* | window )(FFPsyContext *ctx, const float *audio, const float *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) for a group of channels. | |
void(* | end )(FFPsyContext *apc) |
codec-specific psychoacoustic model implementation
Definition at line 99 of file psymodel.h.
const char* FFPsyModel::name |
Definition at line 100 of file psymodel.h.
int(* FFPsyModel::init)(FFPsyContext *apc) |
Definition at line 101 of file psymodel.h.
Referenced by ff_psy_init().
FFPsyWindowInfo(* FFPsyModel::window)(FFPsyContext *ctx, const float *audio, const float *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 |
Definition at line 114 of file psymodel.h.
Referenced by aac_encode_frame().
void(* FFPsyModel::analyze)(FFPsyContext *ctx, int channel, const float **coeffs, const FFPsyWindowInfo *wi) |
Perform psychoacoustic analysis and set band info (threshold, energy) for a group of channels.
ctx | model context |
channel | channel number of the first channel in the group to perform analysis on |
coeffs | array of pointers to the transformed coefficients |
wi | window information for the channels in the group |
Definition at line 124 of file psymodel.h.
Referenced by aac_encode_frame().
void(* FFPsyModel::end)(FFPsyContext *apc) |
Definition at line 126 of file psymodel.h.
Referenced by ff_psy_end().