]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideo.h
doc/APIchanges: add hashes and version numbers for recent entries
[ffmpeg] / libavcodec / roqvideo.h
index 3da6eaa991033baf6e3eff5f1136a976e80a5787..8318b6e5a0bd0ecee1aaf3d259cfd8039cc40a7c 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef AVCODEC_ROQVIDEO_H
 #define AVCODEC_ROQVIDEO_H
 
-#include "libavutil/lfg.h"
 #include "avcodec.h"
-#include "bytestream.h"
 
 typedef struct roq_cell {
     unsigned char y[4];
@@ -39,40 +37,15 @@ typedef struct motion_vect {
     int d[2];
 } motion_vect;
 
-struct RoqTempData;
-
 typedef struct RoqContext {
-
     const AVClass *class;
     AVCodecContext *avctx;
     AVFrame *last_frame;
     AVFrame *current_frame;
-    int first_frame;
+    int width, height;
 
     roq_cell cb2x2[256];
     roq_qcell cb4x4[256];
-
-    GetByteContext gb;
-    int width, height;
-
-    /* Encoder only data */
-    AVLFG randctx;
-    uint64_t lambda;
-
-    motion_vect *this_motion4;
-    motion_vect *last_motion4;
-
-    motion_vect *this_motion8;
-    motion_vect *last_motion8;
-
-    unsigned int framesSinceKeyframe;
-
-    const AVFrame *frame_to_enc;
-    uint8_t *out_buf;
-    struct RoqTempData *tmpData;
-
-    int quake3_compat; // Quake 3 compatibility option
-
 } RoqContext;
 
 #define RoQ_INFO              0x1001