comparison aacenc.h @ 9936:7f42ae22c351 libavcodec

Cosmetics: Pretty print the AAC encoder.
author alexc
date Wed, 08 Jul 2009 20:36:45 +0000
parents d09283aeeef8
children 38ab367d4231
comparison
equal deleted inserted replaced
9935:d09283aeeef8 9936:7f42ae22c351
30 30
31 #include "psymodel.h" 31 #include "psymodel.h"
32 32
33 struct AACEncContext; 33 struct AACEncContext;
34 34
35 typedef struct AACCoefficientsEncoder{ 35 typedef struct AACCoefficientsEncoder {
36 void (*search_for_quantizers)(AVCodecContext *avctx, struct AACEncContext *s, 36 void (*search_for_quantizers)(AVCodecContext *avctx, struct AACEncContext *s,
37 SingleChannelElement *sce, const float lambda); 37 SingleChannelElement *sce, const float lambda);
38 void (*encode_window_bands_info)(struct AACEncContext *s, SingleChannelElement *sce, 38 void (*encode_window_bands_info)(struct AACEncContext *s, SingleChannelElement *sce,
39 int win, int group_len, const float lambda); 39 int win, int group_len, const float lambda);
40 void (*quantize_and_encode_band)(struct AACEncContext *s, PutBitContext *pb, const float *in, int size, 40 void (*quantize_and_encode_band)(struct AACEncContext *s, PutBitContext *pb, const float *in, int size,
41 int scale_idx, int cb, const float lambda); 41 int scale_idx, int cb, const float lambda);
42 void (*search_for_ms)(struct AACEncContext *s, ChannelElement *cpe, const float lambda); 42 void (*search_for_ms)(struct AACEncContext *s, ChannelElement *cpe, const float lambda);
43 }AACCoefficientsEncoder; 43 } AACCoefficientsEncoder;
44 44
45 extern AACCoefficientsEncoder ff_aac_coders[]; 45 extern AACCoefficientsEncoder ff_aac_coders[];
46 46
47 /** 47 /**
48 * AAC encoder context 48 * AAC encoder context