Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_jpegxl_export_tools.h File Reference
#include <QByteArray>
#include <KisDocument.h>
#include <KoColorModelStandardIds.h>
#include <KoColorProfile.h>
#include <KoColorTransferFunctions.h>
#include <kis_iterator_ng.h>
#include <kis_types.h>
#include <jxl/encode_cxx.h>

Go to the source code of this file.

Classes

struct  JXLExpTool::JxlOutputProcessor
 

Namespaces

namespace  HDR
 
namespace  JXLExpTool
 

Functions

template<ConversionPolicy policy>
ALWAYS_INLINE float HDR::applyCurveAsNeeded (float value)
 
template<typename... Args>
QByteArray JXLExpTool::writeCMYKLayer (const KoID &id, Args &&...args)
 
template<typename CSTrait >
QByteArray JXLExpTool::writeCMYKPixels (bool isTrichromatic, int chPos, const int width, const int height, KisHLineConstIteratorSP it)
 
template<typename CSTrait , bool swap, bool convertToRec2020, bool isLinear, ConversionPolicy conversionPolicy, typename DestTrait , bool removeOOTF>
QByteArray HDR::writeLayer (const int width, const int height, KisHLineConstIteratorSP it, float hlgGamma, float hlgNominalPeak, const KoColorSpace *cs)
 
template<typename... Args>
auto HDR::writeLayer (const KoID &id, Args &&...args)
 
template<typename CSTrait , bool swap>
QByteArray HDR::writeLayerNoConversion (const int width, const int height, KisHLineConstIteratorSP it, float hlgGamma, float hlgNominalPeak, const KoColorSpace *cs)
 
template<typename CSTrait , bool swap, bool convertToRec2020, bool isLinear, ConversionPolicy linearizePolicy, typename DestTrait , bool removeOOTF, typename... Args>
ALWAYS_INLINE auto HDR::writeLayerSimplify (Args &&...args)
 
template<typename CSTrait , bool swap, bool convertToRec2020, bool isLinear, typename... Args>
ALWAYS_INLINE auto HDR::writeLayerWithLinear (ConversionPolicy linearizePolicy, Args &&...args)
 
template<typename CSTrait , bool swap, bool convertToRec2020, bool isLinear, ConversionPolicy linearizePolicy, typename DestTrait , typename... Args>
ALWAYS_INLINE auto HDR::writeLayerWithPolicy (bool removeOOTF, Args &&...args)
 
template<typename CSTrait , bool swap, bool convertToRec2020, typename... Args>
ALWAYS_INLINE auto HDR::writeLayerWithRec2020 (bool isLinear, Args &&...args)
 
template<typename CSTrait , bool swap, typename... Args>
ALWAYS_INLINE auto HDR::writeLayerWithSwap (bool convertToRec2020, Args &&...args)