~ubuntu-branches/ubuntu/saucy/gst-libav1.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavcodec/aacenc.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-30 09:00:15 UTC
  • mfrom: (1.1.16) (7.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130730090015-sc1ou2yssu7q5w4e
Tags: 1.1.3-1
* New upstream development snapshot:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef AVCODEC_AACENC_H
23
23
#define AVCODEC_AACENC_H
24
24
 
 
25
#include "libavutil/float_dsp.h"
25
26
#include "avcodec.h"
26
27
#include "put_bits.h"
27
28
#include "dsputil.h"
28
29
 
29
30
#include "aac.h"
30
 
 
 
31
#include "audio_frame_queue.h"
31
32
#include "psymodel.h"
32
33
 
33
34
typedef struct AACEncOptions {
58
59
    FFTContext mdct1024;                         ///< long (1024 samples) frame transform context
59
60
    FFTContext mdct128;                          ///< short (128 samples) frame transform context
60
61
    DSPContext  dsp;
61
 
    int16_t *samples;                            ///< saved preprocessed input
 
62
    AVFloatDSPContext fdsp;
 
63
    float *planar_samples[6];                    ///< saved preprocessed input
62
64
 
63
65
    int samplerate_index;                        ///< MPEG-4 samplerate index
 
66
    int channels;                                ///< channel count
64
67
    const uint8_t *chan_map;                     ///< channel configuration map
65
68
 
66
69
    ChannelElement *cpe;                         ///< channel elements
70
73
    int cur_channel;
71
74
    int last_frame;
72
75
    float lambda;
 
76
    AudioFrameQueue afq;
73
77
    DECLARE_ALIGNED(16, int,   qcoefs)[96];      ///< quantized coefficients
74
78
    DECLARE_ALIGNED(32, float, scoefs)[1024];    ///< scaled coefficients
 
79
 
 
80
    struct {
 
81
        float *samples;
 
82
    } buffer;
75
83
} AACEncContext;
76
84
 
 
85
extern float ff_aac_pow34sf_tab[428];
 
86
 
77
87
#endif /* AVCODEC_AACENC_H */