Mako 7.5.0 API
Loading...
Searching...
No Matches
IImageDecoder Class Referenceabstract

IImageDecoder returns IImageFrame objects as requested by the client. This object knows about the imageformat internals and knows how to unpack the image. More...

#include <iimagecodec.h>

Inheritance diagram for IImageDecoder:

Public Member Functions

 IImageDecoder ()
 Constructor.
 
virtual ~IImageDecoder ()
 Destructor.
 
virtual uint32 getNumFrames ()
 Returns the number of frames in this image file. Mako does not currently support reading extra frames in image files; this API is present for future expansion.
 
virtual IImageFramePtr getFrame (uint32 frameNo=0)=0
 Get the frame from the decoder for the image. Mako does not currently support reading extra frames in image files; this API is present for future expansion.
 
- Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () const =0
 Returns class ID of IEDLObject.
 
virtual bool init (CClassParams *pData)
 The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
 
virtual bool clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory)
 Create a copy of EDLObject.
 
- Public Member Functions inherited from IRCObject
virtual void addRef () const =0
 Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
 
virtual bool decRef () const =0
 Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
 
virtual int32 getRefCount () const =0
 Retrieve the current reference count of the actual object pointed to.
 

Additional Inherited Members

- Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.
 

Detailed Description

IImageDecoder returns IImageFrame objects as requested by the client. This object knows about the imageformat internals and knows how to unpack the image.

Member Function Documentation

◆ getFrame()

virtual IImageFramePtr IImageDecoder::getFrame ( uint32 frameNo = 0)
pure virtual

Get the frame from the decoder for the image. Mako does not currently support reading extra frames in image files; this API is present for future expansion.

Returns
IImageFramePtr The image frame

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