#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"
* 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 */
uint8_t *scratchbuf;
+ int motion_est;
+
int (*ssd_int8_vs_int16)(const int8_t *pix1, const int16_t *pix2,
int size);
} SVQ1EncContext;