X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Faacenc_pred.h;h=999af869f5e924de635012393bc7837c49351020;hb=2751d5f0ba2e4da18fe72d91d317423f1662dd9b;hp=0694c8a56c3fd8ed7bee2fc71a3cc215747fd510;hpb=11014dd3d47b5ba974972dc3fb3796074e27b6df;p=ffmpeg diff --git a/libavcodec/aacenc_pred.h b/libavcodec/aacenc_pred.h index 0694c8a56c3..999af869f5e 100644 --- a/libavcodec/aacenc_pred.h +++ b/libavcodec/aacenc_pred.h @@ -34,16 +34,12 @@ #define PRED_RESET_FRAME_MIN 240 /* Any frame with less than this amount of frames since last reset is ok */ -#define PRED_RESET_MIN 128 +#define PRED_RESET_MIN 64 /* Raise to filter any low frequency artifacts due to prediction */ #define PRED_SFB_START 10 -/* Offset for the number of bits to encode normal coefficients */ -#define PRICE_OFFSET 440 - void ff_aac_apply_main_pred(AACEncContext *s, SingleChannelElement *sce); -void ff_aac_update_main_pred(AACEncContext *s, SingleChannelElement *sce, ChannelElement *cpe); void ff_aac_adjust_common_prediction(AACEncContext *s, ChannelElement *cpe); void ff_aac_search_for_pred(AACEncContext *s, SingleChannelElement *sce); void ff_aac_encode_main_pred(AACEncContext *s, SingleChannelElement *sce);