93 return (channelType ==
eIECNone) ? 0 : 1;
120 %apply
bool &OUTPUT {
bool &isNoisy };
142 %clear
bool &isNoisy;
166 %apply
char *ARRAY_OUTPUT_SIZEINDEX_1 {
void *pRow };
169 %apply
signed char *INOUT {
void *pRow};
172 %apply
char INOUT[] {
void *pRow};
194 for (
uint32 r = 0; r < skipCount; r++)
208#define edlobj2IImageFrame(src) edl_cast((IDOM *)NULL, src)
231 %apply
unsigned char INPUT[] {
const void *pScanLine};
234 %apply
signed char *INOUT {
const void *pScanLine};
237 %apply
char INPUT[] {
const void *pScanLine};
246 %clear
const void *pScanLine;
293 %apply
char *ARRAY_OUTPUT_SIZEINDEX_1 {
void *pRow };
296 %apply
signed char *INOUT {
void *pRow};
299 %apply
char INOUT[] {
void *pRow};
Definition edlsimplebuffer.h:24
size_t size() const
Definition edlsimplebuffer.h:66
IEDLObject is an abstract base class that is used by all classes that are intended to be created via ...
Definition iedlobject.h:53
IImageDecoder returns IImageFrame objects as requested by the client. This object knows about the ima...
Definition iimagecodec.h:346
virtual ~IImageDecoder()
Destructor.
Definition iimagecodec.h:354
IImageDecoder()
Constructor.
Definition iimagecodec.h:349
virtual uint32 getNumFrames()
Returns the number of frames in this image file. Mako does not currently support reading extra frames...
Definition iimagecodec.h:366
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...
IImageEncoder accepts IImageFrame objects and streams it out to an image format.
Definition iimagecodec.h:386
IImageEncoder()
Constructor.
Definition iimagecodec.h:389
virtual IImageFrameWriterPtr createFrame()=0
Create a frame to write images from this encoder.
virtual ~IImageEncoder()
Destructor.
Definition iimagecodec.h:394
IImageFrame encapsulates an EDL image with its details.
Definition iimagecodec.h:47
virtual void skipScanLines(uint32 skipCount)
Skips the given number of scanline rows, which may be fast for some image types.
Definition iimagecodec.h:191
virtual double getXResolution() const =0
Gets the resolution of the image in the X direction.
virtual eImageExtraChannelType getExtraChannelType() const =0
Gets the type of information contained in the extra channel.
virtual bool getHasMask(bool &isNoisy) const
Indicates if the image has a mask (i.e. a binary alpha channel)
Definition iimagecodec.h:127
virtual uint8 getNumExtraChannels() const
Gets the number of image extra channels (for example an alpha or mask)
Definition iimagecodec.h:89
virtual void readScanLine(void *pRow, size_t bufferSize)=0
Gets an image row scanline (of size given by getRawBytesPerRow())
virtual uint8 getBPS() const =0
Gets the bits per sample of the image.
virtual bool getHasAlphaChannel() const
Indicates if the image has an alpha mask.
Definition iimagecodec.h:112
virtual IDOMColorSpacePtr getColorSpace() const =0
Gets the color space.
virtual uint8 getNumChannels() const
Gets the total number of image channels (including extra channels)
Definition iimagecodec.h:101
virtual uint32 getRawBytesPerRow() const =0
Gets the image row size in bytes, which may include padding space.
virtual double getYResolution() const =0
Gets the resolution of the image in the Y direction.
virtual bool getEfficientlySkippable() const =0
Determine if the image may be efficiently skipped via skipScanLines (rather than having to decode eve...
virtual uint32 getWidth() const =0
Gets the width of the image.
virtual ~IImageFrame()
Definition iimagecodec.h:49
virtual uint32 getHeight() const =0
Gets the height of the image.
IImageFrameWriter writes an image from an imageframe.
Definition iimagecodec.h:217
virtual void setXResolution(double xRes)=0
Set the resolution of the frame in the X direction.
virtual void setYResolution(double yRes)=0
Set the resolution of the frame in the Y direction.
virtual void setHeight(uint32 height)=0
Set the height of the frame in pixels.
IImageFrameWriter()
Constructor.
Definition iimagecodec.h:220
virtual void prepareForData()=0
virtual void readScanLine(void *pRow, size_t bufferSize)
It is not possible to read a scanline from an image frame writer.
Definition iimagecodec.h:307
virtual void setImageExtraChannelType(eImageExtraChannelType extraChannelType)=0
Set the type of the extra image channel, if present.
virtual void writeScanLine(const void *pScanLine)=0
Writes an image row into the image frame.
virtual void setWidth(uint32 width)=0
Set the width of the frame in pixels.
virtual ~IImageFrameWriter()
Destructor.
Definition iimagecodec.h:225
virtual void flushData()=0
Finish the image and flush. Must be called after the last scanline has been written.
virtual bool getEfficientlySkippable() const
Skipping is not possible when writing images.
Definition iimagecodec.h:330
virtual void setColorSpace(const IDOMColorSpacePtr &colorSpace)=0
Set the color space of the frame's pixels.
virtual void setBPS(uint8 bps)=0
Set the bits per sample/components of the frame.
EDL_API void throwEDLError(uint32 errorcode)
Utility - Throw an IEDLError exception with the given error code.
#define _BEGIN_EDL_NAMESPACE
Definition edlnamespaces.h:75
#define _END_EDL_NAMESPACE
Definition edlnamespaces.h:76
Simple buffer class which preserves the allocation context where the buffers were created.
unsigned int uint32
Definition edltypes.h:34
unsigned char uint8
Definition edltypes.h:32
@ JM_ERR_UNSUPPORTED
An attempt was made to use an unsupported, unimplemented feature.
Definition edlerrors.h:51
eImageExtraChannelType
Type used to uniquely identify the type of extra image channel.
Definition iimagecodec.h:32
@ eIECPremultipliedAlpha
Extra channel is an alpha, and the color samples have been premultiplied.
Definition iimagecodec.h:35
@ eIECNoisyMask
Definition iimagecodec.h:37
@ eIECAlpha
Extra channel is an alpha mask.
Definition iimagecodec.h:34
@ eIECNone
No extra channel present.
Definition iimagecodec.h:33
@ eIECMask
Extra channel is an binary mask.
Definition iimagecodec.h:36
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211