6 #ifndef INCLUDED_IMF_SAMPLE_COUNT_CHANNEL_H
7 #define INCLUDED_IMF_SAMPLE_COUNT_CHANNEL_H
80 const unsigned int & operator () (
int x,
int y)
const;
89 const unsigned int & at (
int x,
int y)
const;
100 const unsigned int *
row (
int r)
const;
137 void set(
int x,
int y,
unsigned int newNumSamples);
139 void set(
int r,
unsigned int newNumSamples[]);
180 unsigned int * beginEdit();
198 Edit (
const Edit& other) =
delete;
199 Edit& operator = (
const Edit& other) =
delete;
200 Edit (Edit&& other) =
delete;
201 Edit& operator = (Edit&& other) =
delete;
208 unsigned int * sampleCounts ()
const;
213 unsigned int * _sampleCounts;
222 const unsigned int * numSamples ()
const;
224 const unsigned int * sampleListSizes ()
const;
226 const size_t * sampleListPositions ()
const;
228 size_t sampleBufferSize ()
const;
245 void resetBasePointer ();
247 unsigned int * _numSamples;
249 unsigned int * _base;
252 unsigned int * _sampleListSizes;
255 size_t * _sampleListPositions;
259 size_t _totalNumSamples;
262 size_t _totalSamplesOccupied;
267 size_t _sampleBufferSize;
279 _sampleCounts (channel.beginEdit())
292 inline unsigned int *
295 return _sampleCounts;
299 inline const unsigned int *
306 inline const unsigned int *
309 return _sampleListSizes;
313 inline const size_t *
316 return _sampleListPositions;
323 return _sampleBufferSize;
327 inline const unsigned int &
334 inline const unsigned int &
342 inline const unsigned int *
IMFUTIL_EXPORT const unsigned int * sampleListSizes() const
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
IMFUTIL_EXPORT size_t sampleBufferSize() const
IMFUTIL_EXPORT const unsigned int * numSamples() const
IMFUTIL_EXPORT const size_t * sampleListPositions() const
virtual PixelType pixelType() const =0
IMFUTIL_EXPORT const unsigned int * row(int r) const
IMFUTIL_EXPORT const unsigned int & operator()(int x, int y) const
IMFUTIL_EXPORT DeepImageChannel & channel() const
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM PixelType
#define IMFUTIL_EXPORT_TYPE
IMFUTIL_EXPORT unsigned int * sampleCounts() const
IMFUTIL_EXPORT const unsigned int & at(int x, int y) const
virtual IMFUTIL_EXPORT void resize()
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
GLenum GLenum GLsizei void * row
IMFUTIL_EXPORT Edit(SampleCountChannel &level)
IMFUTIL_EXPORT void boundsCheck(int x, int y) const
friend class SampleCountChannel