class PVideoOutputDevicePPM

This class defines a video output device which outputs to a series of PPM files

Inheritance:


Public Methods

[more] PVideoOutputDevicePPM ()
Create a new video output device
[more]virtual BOOL Open ( const PString & deviceName, BOOL startImmediate = TRUE )
Open the device given the device name.
[more]virtual BOOL IsOpen ()
Determine if the device is currently open
[more]virtual BOOL Close ()
Close the device
[more]virtual PStringList GetDeviceNames () const
Get a list of all of the drivers available
[more]virtual BOOL EndFrame ()
Indicate frame may be displayed


Inherited from PVideoOutputDeviceRGB:

Public Methods

ovirtual BOOL SetColourFormat( const PString & colourFormat )
ovirtual BOOL SetFrameSize( unsigned width, unsigned height )
ovirtual PINDEX GetMaxFrameBytes()
ovirtual BOOL SetFrameData( unsigned x, unsigned y, unsigned width, unsigned height, const BYTE* data, BOOL endFrame = TRUE )


Inherited from PVideoOutputDevice:

Public Methods

ostatic PStringList GetDriverNames(PPluginManager* pluginMgr = NULL)
ostatic PStringList GetDriversDeviceNames( const PString &driverName, PPluginManager* pluginMgr = NULL )
ostatic PVideoOutputDevice* CreateDevice( const PString &driverName, PPluginManager* pluginMgr = NULL )
ostatic PVideoOutputDevice* CreateOpenedDevice( const PString & driverName, const PString & deviceName, BOOL startImmediate = TRUE, PPluginManager* pluginMgr = NULL )
ovirtual BOOL CanCaptureVideo() const
ovirtual BOOL Stop()

Public Members

o Indicate frame may be displayed


Inherited from PVideoDevice:

Public Methods

ovirtual BOOL OpenFull( const OpenArgs & args, BOOL startImmediate = TRUE )
ovirtual BOOL Start()
oconst PString& GetDeviceName() const
ovirtual BOOL SetVideoFormat( VideoFormat videoFormat )
ovirtual VideoFormat GetVideoFormat() const
ovirtual int GetNumChannels()
ovirtual BOOL SetChannel( int channelNumber )
ovirtual int GetChannel() const
ovirtual BOOL SetColourFormatConverter( const PString & colourFormat )
oconst PString& GetColourFormat() const
ovirtual BOOL SetFrameRate( unsigned rate )
ovirtual unsigned GetFrameRate() const
ovirtual BOOL GetFrameSizeLimits( unsigned & minWidth, unsigned & minHeight, unsigned & maxWidth, unsigned & maxHeight )
ovirtual BOOL SetFrameSizeConverter( unsigned width, unsigned height, BOOL bScaleNotCrop )
ovirtual BOOL GetFrameSize( unsigned & width, unsigned & height )
ovirtual unsigned GetFrameWidth() const
ovirtual unsigned GetFrameHeight() const
ostatic unsigned CalculateFrameBytes( unsigned width, unsigned height, const PString & colourFormat )
oint GetLastError() const
ovirtual int GetBrightness()
ovirtual BOOL SetBrightness(unsigned newBrightness)
ovirtual int GetWhiteness()
ovirtual BOOL SetWhiteness(unsigned newWhiteness)
ovirtual int GetColour()
ovirtual BOOL SetColour(unsigned newColour)
ovirtual int GetContrast()
ovirtual BOOL SetContrast(unsigned newContrast)
ovirtual int GetHue()
ovirtual BOOL SetHue(unsigned newHue)
ovirtual BOOL GetParameters( int* whiteness, int* brightness, int* colour, int* contrast, int* hue )
ovirtual BOOL SetVideoChannelFormat( int channelNumber, VideoFormat videoFormat )
ovirtual BOOL GetVFlipState()
ovirtual BOOL SetVFlipState( BOOL newVFlipState )
ovoid SetPreferredColourFormat(const PString & colourFmt)
oconst PString& GetPreferredColourFormat()


Inherited from PObject:

Public Methods

Run Time Type functions

I/O functions

Public Members

Comparison functions


Documentation

This class defines a video output device which outputs to a series of PPM files
o PVideoOutputDevicePPM()
Create a new video output device

ovirtual BOOL Open( const PString & deviceName, BOOL startImmediate = TRUE )
Open the device given the device name.
Parameters:
deviceName - Device name (filename base) to open
startImmediate - Immediately start device

ovirtual BOOL IsOpen()
Determine if the device is currently open

ovirtual BOOL Close()
Close the device

ovirtual PStringList GetDeviceNames() const
Get a list of all of the drivers available

ovirtual BOOL EndFrame()
Indicate frame may be displayed


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.