class PVideoOutputDevice

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 CanCaptureVideo () const
Is the device a camera, and obtain video
[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 PVideoDevice:

Public Methods

ovirtual BOOL OpenFull( const OpenArgs & args, BOOL startImmediate = TRUE )
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 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 video output device
o PVideoOutputDevice()
Create a new video output device

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

ovirtual BOOL CanCaptureVideo() const
Is the device a camera, and obtain video

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

ovirtual BOOL EndFrame() = 0
Indicate frame may be displayed


Direct child classes:
PVideoOutputDeviceRGB
PVideoOutputDeviceNULL

Alphabetic index HTML hierarchy of classes or Java



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