]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/g722.h
Remove put_no_rnd_pixels_l2 function pointer for w=16 from dsputil.
[ffmpeg] / libavcodec / g722.h
index 5edb6c811901aa59bc1277a7a820b9606c49c7c2..bab1da48cc3f4c680ce4b3e438e782c6f110060f 100644 (file)
 #define AVCODEC_G722_H
 
 #include <stdint.h>
+#include "avcodec.h"
 
 #define PREV_SAMPLES_BUF_SIZE 1024
 
-typedef struct {
+typedef struct G722Context {
+    const AVClass *class;
+    AVFrame frame;
+    int     bits_per_codeword;
     int16_t prev_samples[PREV_SAMPLES_BUF_SIZE]; ///< memory of past decoded samples
     int     prev_samples_pos;        ///< the number of values in prev_samples