HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CL_RealtimeStamp.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: CL_RealtimeStamp.h ( Clip Library, C++)
7
*
8
* COMMENTS:
9
* Does a realtime stamp or convolve
10
*
11
*/
12
13
14
#ifndef __CL_RealtimeStamp__
15
#define __CL_RealtimeStamp__
16
17
#include "
CL_API.h
"
18
#include "
CL_SlidingWindow.h
"
19
#include <
SYS/SYS_Types.h
>
20
21
22
class
CL_API
CL_RealtimeStamp
:
public
CL_SlidingWindow
23
{
24
public
:
25
enum
{
26
REALTIME_STAMP = 0,
27
REALTIME_CONVOLVE = 1
28
};
29
30
CL_RealtimeStamp
(
int
size
);
31
~
CL_RealtimeStamp
()
override
;
32
33
void
setStampData(
int
size
,
const
fpreal
*
data
,
fpreal
threshold);
34
void
setFunction(
int
func
);
35
void
setStampState(
int
state);
36
int
getStampState();
37
void
setStampCallback(
void
(*callback)(
void
*,
int
,
CL_RealtimeStamp
*),
38
void
*
data
);
39
40
int
getLastStampedIndex
()
const
{
return
myLastStampedSample; }
41
void
reset
(
fpreal
val
= 0.0)
override
;
42
43
private
:
44
45
void
doShiftOp(
int
nsamples,
const
fpreal
*
source
,
46
int
nshift)
override
;
47
void
doWindowOp(
int
nsamples,
fpreal
*dest)
override
;
48
49
void
doStamp(
int
nsamples,
const
fpreal
*
source
);
50
void
doConvolve(
int
nsamples,
const
fpreal
*
source
);
51
52
int
myStampSize;
53
const
fpreal
*myStampData;
54
int
myFunction;
55
int
myStampOn;
56
int
myLastStampedSample;
57
fpreal
myStampThreshold;
58
void
(*myCallback)(
void
*,
int
,
CL_RealtimeStamp
*);
59
void
*myData;
60
};
61
62
#endif
int
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
CL_API.h
CL_RealtimeStamp
Definition:
CL_RealtimeStamp.h:22
void
void
Definition:
png.h:1083
CL_SlidingWindow.h
CL_API
#define CL_API
Definition:
CL_API.h:10
SYS_Types.h
source
GLsizei GLsizei GLchar * source
Definition:
glcorearb.h:803
CL_SlidingWindow::reset
virtual void reset(fpreal val=0.0)
CL_SlidingWindow
Definition:
CL_SlidingWindow.h:25
size
GLsizeiptr size
Definition:
glcorearb.h:664
func
GLenum func
Definition:
glcorearb.h:783
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
val
GLuint GLfloat * val
Definition:
glcorearb.h:1608
data
Definition:
format.h:895
CL_RealtimeStamp::getLastStampedIndex
int getLastStampedIndex() const
Definition:
CL_RealtimeStamp.h:40
CL
CL_RealtimeStamp.h
Generated on Sat Dec 21 2024 02:46:35 for HDK by
1.8.6