class PVideoOutputDevice: public PVideoDevice

This class defines a video output device

Inheritance:


Public Methods

[more] PVideoOutputDevice ()
Create a new video output device
[more]virtual ~PVideoOutputDevice ()
Close the video output device on destruction
[more]virtual BOOL Redraw ( const void * )
Cause the referenced data to be drawn to the previously defined media
[more]virtual void SetNow ( int _now )
Set the current time


Inherited from PVideoDevice:

Public Methods

ovirtual BOOL Open( const PString & deviceName, BOOL startImmediate = TRUE )
ovirtual BOOL IsOpen()
ovirtual BOOL Close()
ovirtual BOOL Start()
ovirtual BOOL Stop()
oconst PString& GetDeviceName() const
ovirtual PStringList GetDeviceNames() 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
ovirtual PINDEX GetMaxFrameBytes()
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 CanCaptureVideo(void)

Protected Fields

o

Protected Methods

ovirtual void SetCanCaptureVideo(BOOL newState)


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

This class defines a video output device
o PVideoOutputDevice()
Create a new video output device

ovirtual ~PVideoOutputDevice()
Close the video output device on destruction

ovirtual BOOL Redraw( const void * )
Cause the referenced data to be drawn to the previously defined media

ovirtual void SetNow( int _now )
Set the current time


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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