class PVideoOutputDeviceNULL

This class defines a NULL video output device.

Inheritance:


Public Methods

[more] PVideoOutputDeviceNULL ()
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 PStringList GetDeviceNames () const
Get a list of all of the drivers available
[more]virtual PINDEX GetMaxFrameBytes ()
Get the maximum frame size in bytes.
[more]virtual BOOL SetFrameData ( unsigned x, unsigned y, unsigned width, unsigned height, const BYTE* data, BOOL endFrame = TRUE )
Set a section of the output frame buffer
[more]virtual BOOL EndFrame ()
Indicate frame may be displayed


Inherited from PVideoOutputDevice:

Public Methods

ovirtual BOOL CanCaptureVideo() const


Inherited from PVideoDevice:

Public Methods

ovirtual BOOL OpenFull( const OpenArgs & args, BOOL startImmediate = TRUE )
ovirtual BOOL Close()
ovirtual BOOL Start()
ovirtual BOOL Stop()
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 )
ovirtual BOOL SetColourFormat( 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 SetFrameSize( unsigned width, unsigned height )
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

Miscellaneous functions

Public Members

Comparison functions


Documentation

This class defines a NULL video output device. This will do precisely nothing with the output.
o PVideoOutputDeviceNULL()
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 to open
startImmediate - Immediately start device

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

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

ovirtual PINDEX GetMaxFrameBytes()
Get the maximum frame size in bytes.

Note a particular device may be able to provide variable length frames (eg motion JPEG) so will be the maximum size of all frames.

ovirtual BOOL SetFrameData( unsigned x, unsigned y, unsigned width, unsigned height, const BYTE* data, BOOL endFrame = TRUE )
Set a section of the output frame buffer

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++.