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>
|
| 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.
|
|
virtual const CClassID & | getClassID () 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.
|
|
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.
|
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
IImageDecoder returns IImageFrame objects as requested by the client. This object knows about the imageformat internals and knows how to unpack the image.
◆ 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.
- Parameters
-
frameNo | The frame number requested. |
- Returns
- IImageFramePtr The image frame
◆ getNumFrames()
virtual uint32 IImageDecoder::getNumFrames |
( |
| ) |
|
|
inlinevirtual |
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.
- Returns
- uint32 Always zero
The documentation for this class was generated from the following file: