Blame toonz/sources/image/exr/tiio_exr.h
|
shun-iwasawa |
7bad49 |
#pragma once
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
#ifndef TTIO_EXR_INCLUDED
|
|
shun-iwasawa |
7bad49 |
#define TTIO_EXR_INCLUDED
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
#include "tiio.h"
|
|
shun-iwasawa |
7bad49 |
#include "tproperty.h"
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
#include <qcoreapplication></qcoreapplication>
|
|
shun-iwasawa |
7bad49 |
namespace Tiio {
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
//===========================================================================
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
class ExrWriterProperties final : public TPropertyGroup {
|
|
shun-iwasawa |
7bad49 |
Q_DECLARE_TR_FUNCTIONS(ExrWriterProperties)
|
|
shun-iwasawa |
7bad49 |
public:
|
|
shun-iwasawa |
7bad49 |
TEnumProperty m_compressionType;
|
|
shun-iwasawa |
7bad49 |
TEnumProperty m_storageType;
|
|
shun-iwasawa |
7bad49 |
TEnumProperty m_bitsPerPixel;
|
|
shun-iwasawa |
481b59 |
TDoubleProperty m_colorSpaceGamma;
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
ExrWriterProperties();
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
void updateTranslation() override;
|
|
shun-iwasawa |
7bad49 |
};
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
//===========================================================================
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
Tiio::Reader* makeExrReader();
|
|
shun-iwasawa |
7bad49 |
Tiio::Writer* makeExrWriter();
|
|
shun-iwasawa |
7bad49 |
} // namespace Tiio
|
|
shun-iwasawa |
7bad49 |
|
|
shun-iwasawa |
7bad49 |
#endif
|