Libav 0.7.1
Data Fields
FFPsyModel Struct Reference

codec-specific psychoacoustic model implementation More...

#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)

Detailed Description

codec-specific psychoacoustic model implementation

Definition at line 80 of file psymodel.h.


Field Documentation

void(* FFPsyModel::analyze)(FFPsyContext *ctx, int channel, const float *coeffs, const FFPsyWindowInfo *wi)

Perform psychoacoustic analysis and set band info (threshold, energy).

Parameters:
ctxmodel context
channelaudio channel number
coeffspointer to the transformed coefficients
wiwindow information

Definition at line 105 of file psymodel.h.

Referenced by aac_encode_frame().

Definition at line 107 of file psymodel.h.

Referenced by ff_psy_end().

Definition at line 82 of file psymodel.h.

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.

Parameters:
ctxmodel context
audiosamples for the current frame
lalookahead samples (NULL when unavailable)
channelnumber of channel element to analyze
prev_typeprevious window type
Returns:
suggested window information in a structure

Definition at line 95 of file psymodel.h.

Referenced by aac_encode_frame().


The documentation for this struct was generated from the following file: