FFmpeg
4.0
|
AAC encoder main-type prediction. More...
#include "aactab.h"
#include "aacenc_pred.h"
#include "aacenc_utils.h"
#include "aacenc_is.h"
#include "aacenc_quantization.h"
Go to the source code of this file.
Macros | |
#define | RESTORE_PRED(sce, sfb) |
Functions | |
static float | flt16_round (float pf) |
static float | flt16_even (float pf) |
static float | flt16_trunc (float pf) |
static void | predict (PredictorState *ps, float *coef, float *rcoef, int set) |
static void | reset_predict_state (PredictorState *ps) |
static void | reset_all_predictors (PredictorState *ps) |
static void | reset_predictor_group (SingleChannelElement *sce, int group_num) |
void | ff_aac_apply_main_pred (AACEncContext *s, SingleChannelElement *sce) |
static int | update_counters (IndividualChannelStream *ics, int inc) |
void | ff_aac_adjust_common_pred (AACEncContext *s, ChannelElement *cpe) |
static void | update_pred_resets (SingleChannelElement *sce) |
void | ff_aac_search_for_pred (AACEncContext *s, SingleChannelElement *sce) |
void | ff_aac_encode_main_pred (AACEncContext *s, SingleChannelElement *sce) |
Encoder predictors data. More... | |
AAC encoder main-type prediction.
Definition in file aacenc_pred.c.
#define RESTORE_PRED | ( | sce, | |
sfb | |||
) |
Definition at line 34 of file aacenc_pred.c.
Referenced by ff_aac_adjust_common_pred(), and ff_aac_search_for_pred().
|
inlinestatic |
Definition at line 40 of file aacenc_pred.c.
Referenced by predict().
|
inlinestatic |
Definition at line 48 of file aacenc_pred.c.
Referenced by predict().
|
inlinestatic |
Definition at line 56 of file aacenc_pred.c.
Referenced by predict().
|
inlinestatic |
Definition at line 64 of file aacenc_pred.c.
Referenced by ff_aac_apply_main_pred().
|
inlinestatic |
Definition at line 92 of file aacenc_pred.c.
Referenced by reset_all_predictors(), and reset_predictor_group().
|
inlinestatic |
Definition at line 104 of file aacenc_pred.c.
Referenced by ff_aac_apply_main_pred(), and ff_aac_search_for_pred().
|
inlinestatic |
Definition at line 111 of file aacenc_pred.c.
Referenced by ff_aac_apply_main_pred().
void ff_aac_apply_main_pred | ( | AACEncContext * | s, |
SingleChannelElement * | sce | ||
) |
Definition at line 119 of file aacenc_pred.c.
|
inlinestatic |
Definition at line 140 of file aacenc_pred.c.
Referenced by update_pred_resets().
void ff_aac_adjust_common_pred | ( | AACEncContext * | s, |
ChannelElement * | cpe | ||
) |
Definition at line 151 of file aacenc_pred.c.
|
static |
Definition at line 207 of file aacenc_pred.c.
Referenced by ff_aac_search_for_pred().
void ff_aac_search_for_pred | ( | AACEncContext * | s, |
SingleChannelElement * | sce | ||
) |
Definition at line 233 of file aacenc_pred.c.
void ff_aac_encode_main_pred | ( | AACEncContext * | s, |
SingleChannelElement * | sce | ||
) |
Encoder predictors data.
Definition at line 332 of file aacenc_pred.c.