FFmpeg
Data Structures | Macros | Functions
roqvideo.h File Reference
#include "libavutil/lfg.h"
#include "avcodec.h"
#include "bytestream.h"

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
 

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

◆ RoQ_INFO

#define RoQ_INFO   0x1001

Definition at line 78 of file roqvideo.h.

◆ RoQ_QUAD_CODEBOOK

#define RoQ_QUAD_CODEBOOK   0x1002

Definition at line 79 of file roqvideo.h.

◆ RoQ_QUAD_VQ

#define RoQ_QUAD_VQ   0x1011

Definition at line 80 of file roqvideo.h.

◆ RoQ_SOUND_MONO

#define RoQ_SOUND_MONO   0x1020

Definition at line 81 of file roqvideo.h.

◆ RoQ_SOUND_STEREO

#define RoQ_SOUND_STEREO   0x1021

Definition at line 82 of file roqvideo.h.

◆ RoQ_ID_MOT

#define RoQ_ID_MOT   0x00

Definition at line 84 of file roqvideo.h.

◆ RoQ_ID_FCC

#define RoQ_ID_FCC   0x01

Definition at line 85 of file roqvideo.h.

◆ RoQ_ID_SLD

#define RoQ_ID_SLD   0x02

Definition at line 86 of file roqvideo.h.

◆ RoQ_ID_CCC

#define RoQ_ID_CCC   0x03

Definition at line 87 of file roqvideo.h.

Function Documentation

◆ ff_apply_vector_2x2()

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().

◆ ff_apply_vector_4x4()

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().

◆ ff_apply_motion_4x4()

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().

◆ ff_apply_motion_8x8()

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().