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

#include <ImfTiledRgbaFile.h>

Public Member Functions

IMF_EXPORT TiledRgbaOutputFile (const char name[], const Header &header, RgbaChannels rgbaChannels, int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode=ROUND_DOWN, int numThreads=globalThreadCount())
 
IMF_EXPORT TiledRgbaOutputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, const Header &header, RgbaChannels rgbaChannels, int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode=ROUND_DOWN, int numThreads=globalThreadCount())
 
IMF_EXPORT TiledRgbaOutputFile (const char name[], int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode, 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=ZIP_COMPRESSION, int numThreads=globalThreadCount())
 
IMF_EXPORT TiledRgbaOutputFile (const char name[], int width, int height, int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode=ROUND_DOWN, 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=ZIP_COMPRESSION, int numThreads=globalThreadCount())
 
virtual IMF_EXPORT ~TiledRgbaOutputFile ()
 
IMF_EXPORT void setFrameBuffer (const Rgba *base, size_t xStride, size_t yStride)
 
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 unsigned int tileXSize () const
 
IMF_EXPORT unsigned int tileYSize () const
 
IMF_EXPORT LevelMode levelMode () const
 
IMF_EXPORT LevelRoundingMode levelRoundingMode () const
 
IMF_EXPORT int numLevels () const
 
IMF_EXPORT int numXLevels () const
 
IMF_EXPORT int numYLevels () const
 
IMF_EXPORT bool isValidLevel (int lx, int ly) const
 
IMF_EXPORT int levelWidth (int lx) const
 
IMF_EXPORT int levelHeight (int ly) const
 
IMF_EXPORT int numXTiles (int lx=0) const
 
IMF_EXPORT int numYTiles (int ly=0) const
 
IMF_EXPORT IMATH_NAMESPACE::Box2i dataWindowForLevel (int l=0) const
 
IMF_EXPORT IMATH_NAMESPACE::Box2i dataWindowForLevel (int lx, int ly) const
 
IMF_EXPORT IMATH_NAMESPACE::Box2i dataWindowForTile (int dx, int dy, int l=0) const
 
IMF_EXPORT IMATH_NAMESPACE::Box2i dataWindowForTile (int dx, int dy, int lx, int ly) const
 
IMF_EXPORT void writeTile (int dx, int dy, int l=0)
 
IMF_EXPORT void writeTile (int dx, int dy, int lx, int ly)
 
IMF_EXPORT void writeTiles (int dxMin, int dxMax, int dyMin, int dyMax, int lx, int ly)
 
IMF_EXPORT void writeTiles (int dxMin, int dxMax, int dyMin, int dyMax, int l=0)
 
IMF_EXPORT void updatePreviewImage (const PreviewRgba[])
 
IMF_EXPORT void breakTile (int dx, int dy, int lx, int ly, int offset, int length, char c)
 

Detailed Description

Definition at line 68 of file ImfTiledRgbaFile.h.

Constructor & Destructor Documentation

IMF_EXPORT TiledRgbaOutputFile::TiledRgbaOutputFile ( const char  name[],
const Header header,
RgbaChannels  rgbaChannels,
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode = ROUND_DOWN,
int  numThreads = globalThreadCount() 
)
IMF_EXPORT TiledRgbaOutputFile::TiledRgbaOutputFile ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &  os,
const Header header,
RgbaChannels  rgbaChannels,
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode = ROUND_DOWN,
int  numThreads = globalThreadCount() 
)
IMF_EXPORT TiledRgbaOutputFile::TiledRgbaOutputFile ( const char  name[],
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode,
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 = ZIP_COMPRESSION,
int  numThreads = globalThreadCount() 
)
IMF_EXPORT TiledRgbaOutputFile::TiledRgbaOutputFile ( const char  name[],
int  width,
int  height,
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode = ROUND_DOWN,
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 = ZIP_COMPRESSION,
int  numThreads = globalThreadCount() 
)
virtual IMF_EXPORT TiledRgbaOutputFile::~TiledRgbaOutputFile ( )
virtual

Member Function Documentation

IMF_EXPORT void TiledRgbaOutputFile::breakTile ( int  dx,
int  dy,
int  lx,
int  ly,
int  offset,
int  length,
char  c 
)
IMF_EXPORT RgbaChannels TiledRgbaOutputFile::channels ( ) const
IMF_EXPORT Compression TiledRgbaOutputFile::compression ( ) const
IMF_EXPORT const IMATH_NAMESPACE::Box2i& TiledRgbaOutputFile::dataWindow ( ) const
IMF_EXPORT IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForLevel ( int  l = 0) const
IMF_EXPORT IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForLevel ( int  lx,
int  ly 
) const
IMF_EXPORT IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForTile ( int  dx,
int  dy,
int  l = 0 
) const
IMF_EXPORT IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForTile ( int  dx,
int  dy,
int  lx,
int  ly 
) const
IMF_EXPORT const IMATH_NAMESPACE::Box2i& TiledRgbaOutputFile::displayWindow ( ) const
IMF_EXPORT const FrameBuffer& TiledRgbaOutputFile::frameBuffer ( ) const
IMF_EXPORT const Header& TiledRgbaOutputFile::header ( ) const
IMF_EXPORT bool TiledRgbaOutputFile::isValidLevel ( int  lx,
int  ly 
) const
IMF_EXPORT int TiledRgbaOutputFile::levelHeight ( int  ly) const
IMF_EXPORT LevelMode TiledRgbaOutputFile::levelMode ( ) const
IMF_EXPORT LevelRoundingMode TiledRgbaOutputFile::levelRoundingMode ( ) const
IMF_EXPORT int TiledRgbaOutputFile::levelWidth ( int  lx) const
IMF_EXPORT LineOrder TiledRgbaOutputFile::lineOrder ( ) const
IMF_EXPORT int TiledRgbaOutputFile::numLevels ( ) const
IMF_EXPORT int TiledRgbaOutputFile::numXLevels ( ) const
IMF_EXPORT int TiledRgbaOutputFile::numXTiles ( int  lx = 0) const
IMF_EXPORT int TiledRgbaOutputFile::numYLevels ( ) const
IMF_EXPORT int TiledRgbaOutputFile::numYTiles ( int  ly = 0) const
IMF_EXPORT float TiledRgbaOutputFile::pixelAspectRatio ( ) const
IMF_EXPORT const IMATH_NAMESPACE::V2f TiledRgbaOutputFile::screenWindowCenter ( ) const
IMF_EXPORT float TiledRgbaOutputFile::screenWindowWidth ( ) const
IMF_EXPORT void TiledRgbaOutputFile::setFrameBuffer ( const Rgba base,
size_t  xStride,
size_t  yStride 
)
IMF_EXPORT unsigned int TiledRgbaOutputFile::tileXSize ( ) const
IMF_EXPORT unsigned int TiledRgbaOutputFile::tileYSize ( ) const
IMF_EXPORT void TiledRgbaOutputFile::updatePreviewImage ( const PreviewRgba  [])
IMF_EXPORT void TiledRgbaOutputFile::writeTile ( int  dx,
int  dy,
int  l = 0 
)
IMF_EXPORT void TiledRgbaOutputFile::writeTile ( int  dx,
int  dy,
int  lx,
int  ly 
)
IMF_EXPORT void TiledRgbaOutputFile::writeTiles ( int  dxMin,
int  dxMax,
int  dyMin,
int  dyMax,
int  lx,
int  ly 
)
IMF_EXPORT void TiledRgbaOutputFile::writeTiles ( int  dxMin,
int  dxMax,
int  dyMin,
int  dyMax,
int  l = 0 
)

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