|
Krita Source Code Documentation
|
#include <kis_tiff_reader.h>
Inheritance diagram for KisTIFFReaderTarget< T >:Public Types | |
| using | type = T |
Public Member Functions | |
| uint32_t | copyDataToChannels (quint32 x, quint32 y, quint32 dataWidth, QSharedPointer< KisBufferStreamBase > tiffstream) override |
| KisTIFFReaderTarget (KisPaintDeviceSP device, const std::array< quint8, 5 > &poses, int32_t alphapos, uint16_t sourceDepth, uint16_t sample_format, uint16_t nbcolorssamples, uint16_t extrasamplescount, bool premultipliedAlpha, KoColorTransformation *transformProfile, QSharedPointer< KisTIFFPostProcessor > postprocessor, T alphaValue) | |
Public Member Functions inherited from KisTIFFReaderBase | |
| virtual void | finalize () |
| KisTIFFReaderBase (KisPaintDeviceSP device, const std::array< quint8, 5 > &poses, int32_t alphapos, uint16_t sourceDepth, uint16_t sample_format, uint16_t nbcolorssamples, uint16_t extrasamplescount, bool premultipliedAlpha, KoColorTransformation *transformProfile, QSharedPointer< KisTIFFPostProcessor > postprocessor) | |
| virtual | ~KisTIFFReaderBase ()=default |
Private Member Functions | |
| template<typename U = T, typename std::enable_if<!std::numeric_limits< U >::is_integer, void >::type * = nullptr> | |
| uint32_t | _copyDataToChannels (quint32 x, quint32 y, quint32 dataWidth, QSharedPointer< KisBufferStreamBase > tiffstream) |
| template<typename U = T, typename std::enable_if< std::numeric_limits< U >::is_integer, void >::type * = nullptr> | |
| uint32_t | _copyDataToChannels (quint32 x, quint32 y, quint32 dataWidth, QSharedPointer< KisBufferStreamBase > tiffstream) |
Private Attributes | |
| T | m_alphaValue |
Additional Inherited Members | |
Protected Member Functions inherited from KisTIFFReaderBase | |
| qint32 | alphaPos () const |
| bool | hasPremultipliedAlpha () const |
| quint16 | nbColorsSamples () const |
| quint16 | nbExtraSamples () const |
| KisPaintDeviceSP | paintDevice () const |
| const std::array< quint8, 5 > & | poses () const |
| const KisTIFFPostProcessor * | postProcessor () const |
| uint16_t | sampleFormat () const |
| quint16 | sourceDepth () const |
| KoColorTransformation * | transform () const |
Definition at line 257 of file kis_tiff_reader.h.
| using KisTIFFReaderTarget< T >::type = T |
Definition at line 260 of file kis_tiff_reader.h.
|
inline |
Definition at line 262 of file kis_tiff_reader.h.
|
inlineprivate |
Definition at line 300 of file kis_tiff_reader.h.
References KisTIFFReaderBase::alphaPos(), KisPaintDevice::createHLineIteratorNG(), KisTIFFReaderBase::hasPremultipliedAlpha(), KisTIFFReaderTarget< T >::m_alphaValue, KisTIFFReaderBase::nbColorsSamples(), KisTIFFReaderBase::nbExtraSamples(), KisTIFFReaderBase::paintDevice(), KisTIFFReaderBase::poses(), KisTIFFPostProcessor::postProcess(), KisTIFFReaderBase::postProcessor(), qFuzzyCompare(), KisTIFFReaderBase::transform(), KoColorTransformation::transform(), v, and void().
|
inlineprivate |
Definition at line 376 of file kis_tiff_reader.h.
References KisTIFFReaderBase::alphaPos(), KisPaintDevice::createHLineIteratorNG(), KisTIFFReaderBase::hasPremultipliedAlpha(), KisTIFFReaderTarget< T >::m_alphaValue, KisTIFFReaderBase::nbColorsSamples(), KisTIFFReaderBase::nbExtraSamples(), KisTIFFReaderBase::paintDevice(), KisTIFFReaderBase::poses(), KisTIFFPostProcessor::postProcess(), KisTIFFReaderBase::postProcessor(), KisTIFFReaderBase::sampleFormat(), KisTIFFReaderBase::sourceDepth(), KisTIFFReaderBase::transform(), KoColorTransformation::transform(), v, and value().
|
inlineoverridevirtual |
This function copy data from the tiff stream to the paint device starting at the given position.
| x | horizontal start position |
| y | vertical start position |
| dataWidth | width of the data to copy |
| tiffstream | source of data |
Implements KisTIFFReaderBase.
Definition at line 288 of file kis_tiff_reader.h.
References KisTIFFReaderTarget< T >::_copyDataToChannels().
|
private |
Definition at line 451 of file kis_tiff_reader.h.