6 #ifndef INCLUDED_IMF_COMPRESSION_H
7 #define INCLUDED_IMF_COMPRESSION_H
54 NUM_COMPRESSION_METHODS
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
IMF_EXPORT bool isValidCompression(int id)
Return true if a compression id exists.
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM Compression
IMF_EXPORT void getCompressionNameFromId(Compression id, std::string &name)
Returns a codec ID's short name (lowercase).
IMF_EXPORT bool isLossyCompression(Compression id)
Return true is the compression method exists and doesn't preserves data integrity.
constexpr auto in(type t, int set) -> bool
IMF_EXPORT void setDefaultDwaCompressionLevel(float level)
Controls the default quality level for the DWA lossy compression.
IMF_EXPORT int getCompressionNumScanlines(Compression id)
Return the number of scan lines expected by a given compression method.
IMF_EXPORT void getCompressionNamesString(const std::string &separator, std::string &in)
Return a string enumerating all compression names, with a custom separator.
GLuint const GLchar * name
IMF_EXPORT void getCompressionIdFromName(const std::string &name, Compression &id)
Returns the codec name's ID, NUM_COMPRESSION_METHODS if not found.
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
IMF_EXPORT void setDefaultZipCompressionLevel(int level)
IMF_EXPORT void getCompressionDescriptionFromId(Compression id, std::string &desc)
Returns a codec ID's short description (lowercase).
IMF_EXPORT bool isValidDeepCompression(Compression id)
Return true is the compression method exists and supports deep data.