84 {
return myData.array(); }
87 {
return myData.getRawArray(); }
90 {
return myData.entries(); }
102 {
return (
unsigned short)myName.hash(); }
105 {
return myNameBaseLength; }
108 {
return myNameBaseHash; }
112 if (myNameNumberDirty)
113 ((
CL_Track *)
this)->calcNameNumber();
117 static void getNameComposition(
const UT_StringRef &name,
118 unsigned short &base_length,
119 unsigned short &base_hash);
122 const char *info(
fpreal t,
const char *prefix = 0,
123 const char *suffix = 0)
const;
125 int isTimeDependent()
const;
127 int isWithinRange(
fpreal low,
fpreal hi,
int completely=1)
const;
143 const char *getLeft()
const;
144 const char *getRight()
const;
146 int64 getMemoryUsage(
bool inclusive)
const;
151 {
return myDefault; }
153 void dupAttributes(
const CL_Track *,
154 int data_too=0,
int name_too=0);
160 void cycle(
int howmany);
165 int convolveCenter(
fpreal *data2,
int n2,
int passes = 1);
166 int convolveCenterDirect(
fpreal *data2,
int n2,
int passes);
167 int convolveCenterFFT(
fpreal *data2,
int n2,
int passes);
171 int getThresholdTimes(
fpreal thresh,
175 void despike(
fpreal tol,
fpreal effect=1.0,
int maxwidth=1);
196 int constant_area,
int iscycle = 0,
214 void smoothRotate(
fpreal delta = 180.0);
224 void filterFrequency(
int filter_size,
235 void pitchShift(
fpreal shift,
int chunk,
237 fpreal (*callback)(
void *,
int,
int)=0,
255 int getIndex()
const;
278 void evaluateCenter(
fpreal start_index,
fpreal stop_index,
281 void evaluateLeftSlope(
fpreal start_index,
fpreal stop_index,
283 void evaluateRightSlope(
fpreal start_index,
fpreal stop_index,
290 void evaluateCycle(
fpreal start_index,
fpreal stop_index,
292 void evaluateMirror(
fpreal start_index,
fpreal stop_index,
294 void evaluateCycleStep(
fpreal start_index,
fpreal stop_index,
304 BinaryIO() : myTaintVersion(0), myOffset(0), myDoubleFlag(false) {}
311 int save(
UT_OStream &os, BinaryIO *binary_options)
const;
312 bool load(
UT_IStream &is, BinaryIO *binary_options,
313 const char *
path = 0);
316 void calcNameNumber();
323 unsigned short myNameBaseLength;
324 unsigned short myNameNumber;
325 unsigned short myNameBaseHash;
327 char myNameNumberDirty;
vint4 max(const vint4 &a, const vint4 &b)
const UT_StringHolder & getName() const
UT_ValArray< const CL_Track * > CL_TrackListC
GLuint const GLchar * name
GLint GLsizei const GLuint64 * values
void reverse(I begin, I end)
int getNameNumber() const
unsigned short getNameBaseLength() const
vint4 blend(const vint4 &a, const vint4 &b, const vbool4 &mask)
const CL_Clip * getClip() const
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
unsigned short getNameHash() const
GLint GLenum GLsizei GLint GLsizei const void * data
GLuint GLuint GLsizei GLenum type
unsigned short getNameBaseHash() const
GLsizei const GLchar *const * path
int getTrackLength() const
fpreal getDefault() const
const fpreal * getData() const
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
vint4 min(const vint4 &a, const vint4 &b)
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)
GLsizei const GLfloat * value