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 and vice versa.

common.h
rgb_ybr.h
encode.h
rgb_ybr.cpp
encode.cpp
typlayer.cpp
Makefile
sample_video.raw



encode.h:
#ifndef ENCODE_H
#define ENCODE_H
void encode ( char *image,  FILE *fpo );

#endif