HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RgbaOutputFile Class Reference

#include <ImfRgbaFile.h>

Public Member Functions

IMF_EXPORT RgbaOutputFile (const char name[], const Header &header, RgbaChannels rgbaChannels=WRITE_RGBA, int numThreads=globalThreadCount())
 
IMF_EXPORT RgbaOutputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, const Header &header, RgbaChannels rgbaChannels=WRITE_RGBA, int numThreads=globalThreadCount())
 
IMF_EXPORT RgbaOutputFile (const char name[], const IMATH_NAMESPACE::Box2i &displayWindow, const IMATH_NAMESPACE::Box2i &dataWindow=IMATH_NAMESPACE::Box2i(), RgbaChannels rgbaChannels=WRITE_RGBA, float pixelAspectRatio=1, const IMATH_NAMESPACE::V2f screenWindowCenter=IMATH_NAMESPACE::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression compression=PIZ_COMPRESSION, int numThreads=globalThreadCount())
 
IMF_EXPORT RgbaOutputFile (const char name[], int width, int height, RgbaChannels rgbaChannels=WRITE_RGBA, float pixelAspectRatio=1, const IMATH_NAMESPACE::V2f screenWindowCenter=IMATH_NAMESPACE::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression compression=PIZ_COMPRESSION, int numThreads=globalThreadCount())
 
virtual IMF_EXPORT ~RgbaOutputFile ()
 
IMF_EXPORT void setFrameBuffer (const Rgba *base, size_t xStride, size_t yStride)
 
IMF_EXPORT void writePixels (int numScanLines=1)
 
IMF_EXPORT int currentScanLine () const
 
IMF_EXPORT const Headerheader () const
 
IMF_EXPORT const FrameBufferframeBuffer () const
 
IMF_EXPORT const
IMATH_NAMESPACE::Box2i
displayWindow () const
 
IMF_EXPORT const
IMATH_NAMESPACE::Box2i
dataWindow () const
 
IMF_EXPORT float pixelAspectRatio () const
 
IMF_EXPORT const
IMATH_NAMESPACE::V2f 
screenWindowCenter () const
 
IMF_EXPORT float screenWindowWidth () const
 
IMF_EXPORT LineOrder lineOrder () const
 
IMF_EXPORT Compression compression () const
 
IMF_EXPORT RgbaChannels channels () const
 
IMF_EXPORT void updatePreviewImage (const PreviewRgba[])
 
IMF_EXPORT void setYCRounding (unsigned int roundY, unsigned int roundC)
 
IMF_EXPORT void breakScanLine (int y, int offset, int length, char c)
 

Detailed Description

Definition at line 97 of file ImfRgbaFile.h.

Constructor & Destructor Documentation

IMF_EXPORT RgbaOutputFile::RgbaOutputFile ( const char  name[],
const Header header,
RgbaChannels  rgbaChannels = WRITE_RGBA,
int  numThreads = globalThreadCount() 
)
IMF_EXPORT RgbaOutputFile::RgbaOutputFile ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream os,
const Header header,
RgbaChannels  rgbaChannels = WRITE_RGBA,
int  numThreads = globalThreadCount() 
)
IMF_EXPORT RgbaOutputFile::RgbaOutputFile ( const char  name[],
const IMATH_NAMESPACE::Box2i displayWindow,
const IMATH_NAMESPACE::Box2i dataWindow = IMATH_NAMESPACE::Box2i(),
RgbaChannels  rgbaChannels = WRITE_RGBA,
float  pixelAspectRatio = 1,
const IMATH_NAMESPACE::V2f  screenWindowCenter = IMATH_NAMESPACE::V2f(0, 0),
float  screenWindowWidth = 1,
LineOrder  lineOrder = INCREASING_Y,
Compression  compression = PIZ_COMPRESSION,
int  numThreads = globalThreadCount() 
)
IMF_EXPORT RgbaOutputFile::RgbaOutputFile ( const char  name[],
int  width,
int  height,
RgbaChannels  rgbaChannels = WRITE_RGBA,
float  pixelAspectRatio = 1,
const IMATH_NAMESPACE::V2f  screenWindowCenter = IMATH_NAMESPACE::V2f(0, 0),
float  screenWindowWidth = 1,
LineOrder  lineOrder = INCREASING_Y,
Compression  compression = PIZ_COMPRESSION,
int  numThreads = globalThreadCount() 
)
virtual IMF_EXPORT RgbaOutputFile::~RgbaOutputFile ( )
virtual

Member Function Documentation

IMF_EXPORT void RgbaOutputFile::breakScanLine ( int  y,
int  offset,
int  length,
char  c 
)
IMF_EXPORT RgbaChannels RgbaOutputFile::channels ( ) const
IMF_EXPORT Compression RgbaOutputFile::compression ( ) const
IMF_EXPORT int RgbaOutputFile::currentScanLine ( ) const
IMF_EXPORT const IMATH_NAMESPACE::Box2i& RgbaOutputFile::dataWindow ( ) const
IMF_EXPORT const IMATH_NAMESPACE::Box2i& RgbaOutputFile::displayWindow ( ) const
IMF_EXPORT const FrameBuffer& RgbaOutputFile::frameBuffer ( ) const
IMF_EXPORT const Header& RgbaOutputFile::header ( ) const
IMF_EXPORT LineOrder RgbaOutputFile::lineOrder ( ) const
IMF_EXPORT float RgbaOutputFile::pixelAspectRatio ( ) const
IMF_EXPORT const IMATH_NAMESPACE::V2f RgbaOutputFile::screenWindowCenter ( ) const
IMF_EXPORT float RgbaOutputFile::screenWindowWidth ( ) const
IMF_EXPORT void RgbaOutputFile::setFrameBuffer ( const Rgba base,
size_t  xStride,
size_t  yStride 
)
IMF_EXPORT void RgbaOutputFile::setYCRounding ( unsigned int  roundY,
unsigned int  roundC 
)
IMF_EXPORT void RgbaOutputFile::updatePreviewImage ( const PreviewRgba  [])
IMF_EXPORT void RgbaOutputFile::writePixels ( int  numScanLines = 1)

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