87 {
return myData.capacity(); }
90 {
return myData.array(); }
93 {
return myData.getRawArray(); }
96 {
return myData.entries(); }
108 {
return (
unsigned short)myName.hash(); }
111 {
return myNameBaseLength; }
114 {
return myNameBaseHash; }
118 if (myNameNumberDirty)
119 ((
CL_Track *)
this)->calcNameNumber();
123 static void getNameComposition(
const UT_StringRef &name,
124 unsigned short &base_length,
125 unsigned short &base_hash);
128 const char *info(
fpreal t,
const char *prefix = 0,
129 const char *suffix = 0)
const;
131 int isTimeDependent()
const;
133 int isWithinRange(
fpreal low,
fpreal hi,
int completely=1)
const;
149 const char *getLeft()
const;
150 const char *getRight()
const;
152 int64 getMemoryUsage(
bool inclusive)
const;
157 {
return myDefault; }
159 void dupAttributes(
const CL_Track *,
160 int data_too=0,
int name_too=0);
166 void cycle(
int howmany);
171 int convolveCenter(
fpreal *data2,
int n2,
int passes = 1);
172 int convolveCenterDirect(
fpreal *data2,
int n2,
int passes);
176 int getThresholdTimes(
fpreal thresh,
180 void despike(
fpreal tol,
fpreal effect=1.0,
int maxwidth=1);
201 int constant_area,
int iscycle = 0,
219 void smoothRotate(
fpreal delta = 180.0);
221 void pitchShift(
fpreal shift,
int chunk,
223 fpreal (*callback)(
void *,
int,
int)=0,
241 int getIndex()
const;
262 fpreal *fix,
int portion)
const;
264 void evaluateCenter(
fpreal start_index,
fpreal stop_index,
267 void evaluateLeftSlope(
fpreal start_index,
fpreal stop_index,
269 void evaluateRightSlope(
fpreal start_index,
fpreal stop_index,
276 void evaluateCycle(
fpreal start_index,
fpreal stop_index,
278 void evaluateMirror(
fpreal start_index,
fpreal stop_index,
280 void evaluateCycleStep(
fpreal start_index,
fpreal stop_index,
290 BinaryIO() : myTaintVersion(0), myOffset(0), myDoubleFlag(false) {}
297 int save(
UT_OStream &os, BinaryIO *binary_options)
const;
298 bool load(
UT_IStream &is, BinaryIO *binary_options,
299 const char *
path = 0);
302 void calcNameNumber();
309 unsigned short myNameBaseLength;
310 unsigned short myNameNumber;
311 unsigned short myNameBaseHash;
313 char myNameNumberDirty;
const UT_StringHolder & getName() const
UT_ValArray< const CL_Track * > CL_TrackListC
GLsizei const GLchar *const * path
void reverse(I begin, I end)
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
int getNameNumber() const
unsigned short getNameBaseLength() const
vint4 blend(const vint4 &a, const vint4 &b, const vbool4 &mask)
const CL_Clip * getClip() const
unsigned short getNameHash() const
int getDataCapacity() const
GLuint const GLchar * name
unsigned short getNameBaseHash() const
int getTrackLength() const
GLenum GLsizei GLsizei GLint * values
fpreal getDefault() const
LeafData & operator=(const LeafData &)=delete
const fpreal * getData() const
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
UT_ValArray< CL_Track * > CL_TrackList
ImageBuf OIIO_API resample(const ImageBuf &src, bool interpolate=true, ROI roi={}, int nthreads=0)
ImageBuf OIIO_API convolve(const ImageBuf &src, const ImageBuf &kernel, bool normalize=true, ROI roi={}, int nthreads=0)
constexpr T normalize(UT_FixedVector< T, D > &a) noexcept