#ifndef AVCODEC_ROQVIDEO_H
#define AVCODEC_ROQVIDEO_H
-#include "libavutil/random.h"
+#include "libavutil/lfg.h"
#include "avcodec.h"
#include "dsputil.h"
int d[2];
} motion_vect;
+struct RoqTempData;
+
typedef struct RoqContext {
AVCodecContext *avctx;
int width, height;
/* Encoder only data */
- AVRandomState randctx;
+ AVLFG randctx;
uint64_t lambda;
motion_vect *this_motion4;
AVFrame *frame_to_enc;
uint8_t *out_buf;
+ struct RoqTempData *tmpData;
} RoqContext;
#define RoQ_INFO 0x1001