Linux Game Programming for PC & Embedded Systems using SDL
Presented by
Fore June
Author of Windows Fan, Linux Fan

A simple video codec.

codecio.h
runhuf.h
encode.h
decode.h
dct_video.h
common.h
fbitios.h
avilib.h
vcodec.cpp
runhuf.cpp
encode.cpp
decode.cpp
dct_video.cpp
fbitios.cpp
Makefile
sample_video.avi ( not zipped )
avilib.o ( not zipped )



codecio.h:
#ifndef VCODEC_H
#define VCODEC_H
typedef struct {
  char id[10];		//I.D. of file, should be "FORJUNEV"	
  short fps;		//frame per second
  int   nframes;	//number  of frames
  short width;		//width of video frame
  short height;		//height of video frame
  char  bpp;		//bits per pixel
  char  qmethod;	//quantization method
  char  ext;		//extension
} VHEADER;

#endif