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

Sample program for converting RGB to YCbCr to DCT coefficients and vice versa.

common.h
rgb_ybr.h
dct_video.h
encode.h
dctplayer.cpp
encode.cpp
dct_video.cpp
rgb_ybr.cpp
Makefile
sample_video.raw



dct_video.h:
#ifndef DCT_VIDEO_H
#define DCT_VIDEO_H
void dct(int *X, int *Y);
void idct(int *Y, int *X);
#endif