Application developing hints

Some hints for developer who wishes to use Video4Linux API on Solaris...

Compilation Procedure

To compile with bt8x8x, add -I/opt/KSWbt8x8/include/ into C compiler flags, and then insert preprocessor directive
#include "solaris/videodev.h"
#include "linux/videodev.h"
or simply
#include "videodev.h"
into your code.

API Compatibility with Video4Linux

Capture Width Problem

Width of capture area should be dividable by 16 for VIDEO_PALETTE_YUV4xxP, and should be dividable by 4 for VIDEO_PALETTE_YUV4xx. If not so, driver silently ignores it, and generates odd images.

Next section: Adding Peripheral Chip support
Up: Return to chapter top
bt848x is hosted by Logo