dmuVideoIn

Inherits from: dmuVideo

#include "dmuVideoIn.h"

Overview

The dmuVideoIn class creates a video path from a single video input source (on an O2 with the pro-video option, this is either camera, composite video, or s-video input) into memory. After the transfer has been started, video events from the VL come into the object and trigger the file descriptor associated with the path to notify the user program. The user program should then call the handleEvents method on the dmuVideo object. If the video event is signaling the succesful capture of a full video frame (or field, depending on the CaptureType control value), then the video frame associated with the event is pulled into a DMbuffer, and propagated down the dmu chain. See dmuVideo for more information on control values and setup procedures for a dmuVideo class Note - There are known problems with capturing video into graphics-mode dmbuffers that are non-square in size. The best parameters for texture mapping are: 512x512, with the video origin set to 32.

See the source code for more info and implementation details.

Public Methods


Overview    Object List     Object Hierarchy       Sample Apps