Raw Video
The CX2388x video stream (function 0) allows for raw pixel data to be transferred either from an analog frontend or VIP-compliant device into host memory. The raw video stream supports a variety of pixel formats, and can utilize either packed or planar color formats. One DMA channel is used to transfer either packed pixel data or the Y color plane, while two additional channels are provided to transfer the U and V color planes (obviously for planar formats only). A fourth DMA channel can be used to transfer vertical blanking interval (VBI) data, which is typically used to convey teletext or closed captioning.
The ioctl(2) interface is provided by /usr/local/include/cx88/cx88_video_ioctl.h, and works in a similar fashion to the MPEG TS ioctl interface.