]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/svq1enc.h
lavc: Drop deprecated public symbols
[ffmpeg] / libavcodec / svq1enc.h
index 1fe2815f19fde0f3e20d1ec2b537bc2ed3a189c1..94458d62b932e5124829c96a4e28159e59ff82ea 100644 (file)
 #include <stdint.h>
 
 #include "libavutil/frame.h"
+
 #include "avcodec.h"
-#include "dsputil.h"
-#include "get_bits.h"
 #include "hpeldsp.h"
+#include "me_cmp.h"
 #include "mpegvideo.h"
 #include "put_bits.h"
 
@@ -37,12 +37,15 @@ typedef struct SVQ1EncContext {
      * of MpegEncContext, so this will be removed then. */
     MpegEncContext m;
     AVCodecContext *avctx;
-    DSPContext dsp;
+    MECmpContext mecc;
     HpelDSPContext hdsp;
     AVFrame *current_picture;
     AVFrame *last_picture;
     PutBitContext pb;
-    GetBitContext gb;
+
+    /* Some compression statistics */
+    enum AVPictureType pict_type;
+    int quality;
 
     /* why ooh why this sick breadth first order,
      * everything is slower and more complex */
@@ -68,6 +71,8 @@ typedef struct SVQ1EncContext {
 
     uint8_t *scratchbuf;
 
+    int motion_est;
+
     int (*ssd_int8_vs_int16)(const int8_t *pix1, const int16_t *pix2,
                              int size);
 } SVQ1EncContext;