#ifndef AVCODEC_ROQVIDEO_H
#define AVCODEC_ROQVIDEO_H
+#include "libavutil/random.h"
#include "avcodec.h"
#include "dsputil.h"
-#include "random.h"
typedef struct {
- unsigned char y[4];
- unsigned char u, v;
+ unsigned char y[4];
+ unsigned char u, v;
} roq_cell;
typedef struct {
- int idx[4];
+ int idx[4];
} roq_qcell;
typedef struct {
AVFrame *last_frame;
AVFrame *current_frame;
int first_frame;
- int y_stride;
- int c_stride;
roq_cell cb2x2[256];
roq_qcell cb4x4[256];
- unsigned char *buf;
+ const unsigned char *buf;
int size;
int width, height;
void ff_apply_motion_8x8(RoqContext *ri, int x, int y, int deltax, int deltay);
-#endif // AVCODEC_ROQVIDEO_H
+#endif /* AVCODEC_ROQVIDEO_H */