MFSM || Philips webcam input module

Alexandre R.J. François

Module version: 0.2
FSF code version: 0.8
ARJF © 2005-2007

contents

Description
Reference guide
Index

description

The PWC Input module regroups components for live video input from Philips webcams (using the PWC driver).

The module implements the push version of the interface i/o model: an interface node communicates with the dice, which triggers the creation of pulses that are put on the active stream via an input cell.

Images are captured in YUV 4:2:0 Planar format and converted to 24 bits Yuv or RGB.

reference guide

PwcInput module elements are defined in the pwc namespace. This section lists all the elements defined in the module, in alphabetical order.

CCloseDevice (fsf::CCell) "PWC_CLOSE_DEVICE"

Active filter[FSF_ACTIVE_FILTER "Root"]
Passive filter[PWC_INTERFACE "Pwc input interface"]
Output(x (FSF_BOOL_NODE "Status"))

Close device action cell: deactivate interface and close device.

Member functions

Constructors, destructor and other functions that are part of any derived cell class
Active stream processing

CInput (fsf::CCell) "PWC_INPUT"

Active filter[FSF_ACTIVE_FILTER "Root"]
Passive filter[FSF_PASSIVE_PULSE "Root"]
Output(x (IMAGE_IMAGE "Input"+interface name))

Input cell. Passive element: all actions are triggered by the interface. The output name is the concatenation fo the cell's output name and the name of the interface node that pushed the frame. This allows to distinguish between frames generated by multiple interface nodes.

Member functions

Constructors, destructor and other functions that are part of any derived cell class
Member functions

CInterface (fsf::CNode) "PWC_INTERFACE"

Interface node. Communicates with the device and generates the stream of frames through an input cell.

Data members

Member functions

Constructors, destructor and other functions that are part of any derived node class
Member functions

CloseDevice(fsf::CSource *pCaptureSource, std::string &strInterfaceName)

Utility scripting functions for CCloseDevice action cell.

COpenDevice (fsf::CCell) "PWC_OPEN_DEVICE"

Active filter[FSF_ACTIVE_FILTER "Root"
[FSF_STRING_NODE "Device" OPEN_DEVICE]
[FSF_INT32_NODE "Frame rate" OPEN_FRAME_RATE]*
[FSF_INT32_NODE "Width" OPEN_WIDTH]*
[FSF_INT32_NODE "Height" OPEN_HEIGHT]*
[FSF_INT32_NODE "Output format" OPEN_OUTPUT_FORMAT]* ]
Passive filter[PWC_INTERFACE "Pwc input interface"]
Output(x (FSF_BOOL_NODE "Status"))

Open device action cell: initialize device with passed parameters and activate interface

Member functions

Constructors, destructor and other functions that are part of any derived cell class
Active stream processing

OpenDevice(fsf::CSource *pCaptureSource, std::string &strInterfaceName, std::string &strDevice, unsigned long nFrameRate, unsigned long nWidth, unsigned long nHeight)

Utility scripting functions for COpenDevice action cell.

RegisterFactories()

Registers the factories for the nodes and cells defined in the module, with the unique system instance.

index

C

O

R

ARJF © 2005-2007