roqvideo.h File Reference
#include "libavutil/lfg.h"
#include "avcodec.h"
#include "bytestream.h"
Include dependency graph for roqvideo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  roq_cell
 
struct  roq_qcell
 
struct  motion_vect
 
struct  RoqContext
 

Macros

#define RoQ_INFO   0x1001
 
#define RoQ_QUAD_CODEBOOK   0x1002
 
#define RoQ_QUAD_VQ   0x1011
 
#define RoQ_SOUND_MONO   0x1020
 
#define RoQ_SOUND_STEREO   0x1021
 
#define RoQ_ID_MOT   0x00
 
#define RoQ_ID_FCC   0x01
 
#define RoQ_ID_SLD   0x02
 
#define RoQ_ID_CCC   0x03
 

Typedefs

typedef struct roq_cell roq_cell
 
typedef struct roq_qcell roq_qcell
 
typedef struct motion_vect motion_vect
 
typedef struct RoqContext RoqContext
 

Functions

void ff_apply_vector_2x2 (RoqContext *ri, int x, int y, roq_cell *cell)
 
void ff_apply_vector_4x4 (RoqContext *ri, int x, int y, roq_cell *cell)
 
void ff_apply_motion_4x4 (RoqContext *ri, int x, int y, int deltax, int deltay)
 
void ff_apply_motion_8x8 (RoqContext *ri, int x, int y, int deltax, int deltay)
 

Macro Definition Documentation

#define RoQ_ID_CCC   0x03
#define RoQ_ID_FCC   0x01
#define RoQ_ID_MOT   0x00
#define RoQ_ID_SLD   0x02
#define RoQ_INFO   0x1001

Definition at line 75 of file roqvideo.h.

Referenced by roq_write_video_info_chunk().

#define RoQ_QUAD_CODEBOOK   0x1002

Definition at line 76 of file roqvideo.h.

Referenced by roqvideo_decode_frame(), and write_codebooks().

#define RoQ_QUAD_VQ   0x1011

Definition at line 77 of file roqvideo.h.

Referenced by reconstruct_and_encode_image(), and roqvideo_decode_frame().

#define RoQ_SOUND_MONO   0x1020

Definition at line 78 of file roqvideo.h.

#define RoQ_SOUND_STEREO   0x1021

Definition at line 79 of file roqvideo.h.

Typedef Documentation

typedef struct motion_vect motion_vect
typedef struct roq_cell roq_cell
typedef struct roq_qcell roq_qcell
typedef struct RoqContext RoqContext

Function Documentation

void ff_apply_motion_4x4 ( RoqContext ri,
int  x,
int  y,
int  deltax,
int  deltay 
)

Definition at line 133 of file roqvideo.c.

Referenced by reconstruct_and_encode_image(), and roqvideo_decode_frame().

void ff_apply_motion_8x8 ( RoqContext ri,
int  x,
int  y,
int  deltax,
int  deltay 
)

Definition at line 139 of file roqvideo.c.

Referenced by reconstruct_and_encode_image(), and roqvideo_decode_frame().

void ff_apply_vector_2x2 ( RoqContext ri,
int  x,
int  y,
roq_cell cell 
)

Definition at line 41 of file roqvideo.c.

Referenced by reconstruct_and_encode_image(), and roqvideo_decode_frame().

void ff_apply_vector_4x4 ( RoqContext ri,
int  x,
int  y,
roq_cell cell 
)

Definition at line 71 of file roqvideo.c.

Referenced by reconstruct_and_encode_image(), and roqvideo_decode_frame().