Skip to content

Commit

Permalink
Remove unused header, fix attribute spec order to work with clang
Browse files Browse the repository at this point in the history
Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd committed Apr 18, 2024
1 parent 2297c10 commit 43155c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/lib/OpenEXR/ImfContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <mutex>

#include <string.h>
#include <string_view>

#include <ImfBoxAttribute.h>
#include <ImfChannelListAttribute.h>
Expand Down
17 changes: 9 additions & 8 deletions src/lib/OpenEXR/ImfInputFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class IMF_EXPORT_TYPE InputFile : public GenericInputFile
// Access to the file header
//--------------------------

IMF_EXPORT
OPENEXR_DEPRECATED (
"Use context-based attribute access for faster retrieval")
IMF_EXPORT
const Header& header () const;

//----------------------------------
Expand All @@ -101,18 +101,18 @@ class IMF_EXPORT_TYPE InputFile : public GenericInputFile
// to readPixels().
//-----------------------------------------------------------

IMF_EXPORT
OPENEXR_DEPRECATED (
"Use stateless API to pass framebuffer with read request")
IMF_EXPORT
void setFrameBuffer (const FrameBuffer& frameBuffer);

//-----------------------------------
// Access to the current frame buffer
//-----------------------------------

IMF_EXPORT
OPENEXR_DEPRECATED (
"Use stateless API to pass framebuffer with read request")
IMF_EXPORT
const FrameBuffer& frameBuffer () const;

//---------------------------------------------------------------
Expand Down Expand Up @@ -145,8 +145,8 @@ class IMF_EXPORT_TYPE InputFile : public GenericInputFile
//
//---------------------------------------------------------------

IMF_EXPORT
OPENEXR_DEPRECATED ("No longer meaningful")
IMF_EXPORT
bool isOptimizationEnabled () const;

//---------------------------------------------------------------
Expand All @@ -168,13 +168,14 @@ class IMF_EXPORT_TYPE InputFile : public GenericInputFile
//
//---------------------------------------------------------------

IMF_EXPORT
OPENEXR_DEPRECATED (
"Use stateless API to pass framebuffer with read request")
void readPixels (int scanLine1, int scanLine2);
IMF_EXPORT
void readPixels (int scanLine1, int scanLine2);

OPENEXR_DEPRECATED (
"Use stateless API to pass framebuffer with read request")
IMF_EXPORT
void readPixels (int scanLine);

//----------------------------------------------
Expand All @@ -183,8 +184,8 @@ class IMF_EXPORT_TYPE InputFile : public GenericInputFile
// used to implement OutputFile::copyPixels()).
//----------------------------------------------

IMF_EXPORT
OPENEXR_DEPRECATED ("Prefer using externally managed buffer")
IMF_EXPORT
void rawPixelData (
int firstScanLine, const char*& pixelData, int& pixelDataSize);

Expand Down Expand Up @@ -214,8 +215,8 @@ class IMF_EXPORT_TYPE InputFile : public GenericInputFile
// used to implement TiledOutputFile::copyPixels()).
//--------------------------------------------------

IMF_EXPORT
OPENEXR_DEPRECATED ("Prefer using externally managed buffer")
IMF_EXPORT
void rawTileData (
int& dx,
int& dy,
Expand Down

0 comments on commit 43155c0

Please sign in to comment.