6 #ifndef INCLUDED_IMF_TILED_RGBA_FILE_H
7 #define INCLUDED_IMF_TILED_RGBA_FILE_H
99 float screenWindowWidth = 1,
111 TiledRgbaOutputFile (
123 float screenWindowWidth = 1,
129 virtual ~TiledRgbaOutputFile ();
140 void setFrameBuffer (
const Rgba* base,
size_t xStride,
size_t yStride);
147 const Header& header ()
const;
159 float screenWindowWidth ()
const;
172 unsigned int tileXSize ()
const;
174 unsigned int tileYSize ()
const;
181 int numLevels ()
const;
183 int numXLevels ()
const;
185 int numYLevels ()
const;
187 bool isValidLevel (
int lx,
int ly)
const;
190 int levelWidth (
int lx)
const;
192 int levelHeight (
int ly)
const;
195 int numXTiles (
int lx = 0)
const;
197 int numYTiles (
int ly = 0)
const;
209 dataWindowForTile (
int dx,
int dy,
int lx,
int ly)
const;
240 void writeTile (
int dx,
int dy,
int l = 0);
242 void writeTile (
int dx,
int dy,
int lx,
int ly);
246 writeTiles (
int dxMin,
int dxMax,
int dyMin,
int dyMax,
int lx,
int ly);
249 void writeTiles (
int dxMin,
int dxMax,
int dyMin,
int dyMax,
int l = 0);
271 breakTile (
int dx,
int dy,
int lx,
int ly,
int offset,
int length,
char c);
278 TiledRgbaOutputFile (
const TiledRgbaOutputFile&) =
delete;
279 TiledRgbaOutputFile&
operator= (
const TiledRgbaOutputFile&) =
delete;
280 TiledRgbaOutputFile (TiledRgbaOutputFile&&) =
delete;
281 TiledRgbaOutputFile&
operator= (TiledRgbaOutputFile&&) =
delete;
344 virtual ~TiledRgbaInputFile ();
355 void setFrameBuffer (
Rgba* base,
size_t xStride,
size_t yStride);
372 const Header& header ()
const;
384 float screenWindowWidth ()
const;
392 const char* fileName ()
const;
394 bool isComplete ()
const;
408 unsigned int tileXSize ()
const;
410 unsigned int tileYSize ()
const;
417 int numLevels ()
const;
419 int numXLevels ()
const;
421 int numYLevels ()
const;
423 bool isValidLevel (
int lx,
int ly)
const;
426 int levelWidth (
int lx)
const;
428 int levelHeight (
int ly)
const;
431 int numXTiles (
int lx = 0)
const;
433 int numYTiles (
int ly = 0)
const;
445 dataWindowForTile (
int dx,
int dy,
int lx,
int ly)
const;
477 void readTile (
int dx,
int dy,
int l = 0);
479 void readTile (
int dx,
int dy,
int lx,
int ly);
482 void readTiles (
int dxMin,
int dxMax,
int dyMin,
int dyMax,
int lx,
int ly);
485 void readTiles (
int dxMin,
int dxMax,
int dyMin,
int dyMax,
int l = 0);
492 TiledRgbaInputFile (
const TiledRgbaInputFile&) =
delete;
493 TiledRgbaInputFile&
operator= (
const TiledRgbaInputFile&) =
delete;
494 TiledRgbaInputFile (TiledRgbaInputFile&&) =
delete;
495 TiledRgbaInputFile&
operator= (TiledRgbaInputFile&&) =
delete;
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM Compression
GLsizei const GLchar *const * string
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM LineOrder
GLuint GLsizei GLsizei * length
enum IMF_EXPORT_ENUM LevelRoundingMode
GLint GLsizei GLsizei height
Box< V2i > Box2i
2D box of base type int.
GLuint const GLchar * name
HUSD_API const char * pixelAspectRatio()
class IMF_EXPORT_TYPE OStream
GT_API const UT_StringHolder version
Vec2< float > V2f
Vec2 of float.
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER IMF_EXPORT int globalThreadCount()
LeafData & operator=(const LeafData &)=delete
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM LevelMode
enum IMF_EXPORT_ENUM RgbaChannels
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)
class IMF_EXPORT_TYPE IStream