Phonon  4.7.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
Phonon::VideoGraphicsObjectInterface Class Referenceabstract

Public Member Functions

virtual ~VideoGraphicsObjectInterface ()
 
virtual void lock ()=0
 
virtual bool tryLock ()=0
 
virtual void unlock ()=0
 
virtual const VideoFrameframe () const =0
 
virtual QList< VideoFrame::Formatoffering (QList< VideoFrame::Format > offers)=0
 
virtual void choose (VideoFrame::Format format)=0
 
virtual void frameReady ()=0
 
virtual void reset ()=0
 
virtual void needFormat ()=0
 

Constructor & Destructor Documentation

virtual Phonon::VideoGraphicsObjectInterface::~VideoGraphicsObjectInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void Phonon::VideoGraphicsObjectInterface::choose ( VideoFrame::Format  format)
pure virtual

Chooses

Parameters
formatas frame format
virtual const VideoFrame* Phonon::VideoGraphicsObjectInterface::frame ( ) const
pure virtual

Access the most current video frame. Please mind that an internal mutex must be locked/unlocked accordingly.

Returns
the current frame (held in the interface implementation)
virtual void Phonon::VideoGraphicsObjectInterface::frameReady ( )
pure virtual

Signal to be emitted when a new frame is ready for painting.

virtual void Phonon::VideoGraphicsObjectInterface::lock ( )
pure virtual

Lock video frame.

virtual void Phonon::VideoGraphicsObjectInterface::needFormat ( )
pure virtual

To be emitted when the backend requires the format negotiation now.

virtual QList<VideoFrame::Format> Phonon::VideoGraphicsObjectInterface::offering ( QList< VideoFrame::Format offers)
pure virtual

Offers a list of video formats to the backend. This function may be called multiple times as part of format negotiation usually until the frontend found a painter that supports a format also supported by the backend.

Parameters
offersthe possible formats (may be empty)
Returns
the preferred choice or Invalid
virtual void Phonon::VideoGraphicsObjectInterface::reset ( )
pure virtual

Signal to be emitted when the frontend object should reset (Painters for instance).

virtual bool Phonon::VideoGraphicsObjectInterface::tryLock ( )
pure virtual

Try to lock video frame.

Returns
whether locking was successful.
virtual void Phonon::VideoGraphicsObjectInterface::unlock ( )
pure virtual

Unlock video frame.


The documentation for this class was generated from the following file: