Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
d
e
r
t
x
Functions
Variables
Typedefs
Enumerations
Enumerator
e
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
Enumerations
t
Enumerator
e
f
o
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
c
d
f
g
h
i
j
m
o
p
r
s
t
u
x
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
Enumerations
Enumerator
c
e
j
x
z
Macros
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
PixelCal.h
Go to the documentation of this file.
1
/*
2
* PixelCal.h
3
*
4
* Created on: Feb 1, 2015
5
* Author: mitycam
6
*/
7
8
#ifndef PIXELCAL_H_
9
#define PIXELCAL_H_
10
11
#include "
CameraTypes.h
"
12
#include <libfpga/fpgaregister.h>
13
#include "
Types.h
"
14
15
#include "libfpga/sgdma_dispatcher.h"
16
17
class
tcPixelCal
{
18
public
:
27
tcPixelCal
(
uint32
anControlAddress,
uint32
anMemoryAddress,
int32
anWidth,
int32
anHeight, tcSGDMADispatcher *apSGDMA);
28
29
virtual
~tcPixelCal
();
30
35
bool
initialized
();
36
42
int32
reset
(
bool
abOn);
43
48
int32
clearMemory
();
49
50
enum
teSetPixelCalReturn
{
51
FILE_MISSING_PIXELS
= -1,
52
FILE_NOT_FOUND
= -2
53
};
54
63
int32
setPixelCal
(
const
char
*apFilename,
SocCamera::ROI
asROI);
64
76
int32
setPixelCal
(
const
int16
*aaBias,
const
uint16
*aaGain,
SocCamera::ROI
asROI);
77
84
int32
setClipValue
(
uint16
anClipValue);
85
86
private
:
87
tcFPGARegister<uint32> mcRegisters;
88
tcSGDMADispatcher *mpSgdma;
89
int32
mnMemorySize;
90
int32
mnNumWords;
91
int32
mnMaxWords;
92
int32
mnNumCols;
93
uint32
mnMemoryAddress;
94
volatile
uint32
*mpMemory;
95
bool
mbInitialized;
96
};
97
98
#endif
/* PIXELCAL_H_ */
tcPixelCal::~tcPixelCal
virtual ~tcPixelCal()
Definition:
PixelCal.cpp:64
int32
int32_t int32
Definition:
Types.h:8
Types.h
tcPixelCal
Definition:
PixelCal.h:17
tcPixelCal::initialized
bool initialized()
Definition:
PixelCal.cpp:68
tcPixelCal::setClipValue
int32 setClipValue(uint16 anClipValue)
Definition:
PixelCal.cpp:168
tcPixelCal::FILE_NOT_FOUND
@ FILE_NOT_FOUND
Definition:
PixelCal.h:52
tcPixelCal::teSetPixelCalReturn
teSetPixelCalReturn
Definition:
PixelCal.h:50
CameraTypes.h
tcPixelCal::setPixelCal
int32 setPixelCal(const char *apFilename, SocCamera::ROI asROI)
Definition:
PixelCal.cpp:107
int16
int16_t int16
Definition:
Types.h:7
tcPixelCal::clearMemory
int32 clearMemory()
Definition:
PixelCal.cpp:91
tcPixelCal::FILE_MISSING_PIXELS
@ FILE_MISSING_PIXELS
Definition:
PixelCal.h:51
uint32
uint32_t uint32
Definition:
Types.h:11
tcPixelCal::reset
int32 reset(bool abOn)
Definition:
PixelCal.cpp:73
SocCamera::ROI
Definition:
ROI.h:10
uint16
uint16_t uint16
Definition:
Types.h:10
tcPixelCal::tcPixelCal
tcPixelCal(uint32 anControlAddress, uint32 anMemoryAddress, int32 anWidth, int32 anHeight, tcSGDMADispatcher *apSGDMA)
Definition:
PixelCal.cpp:32
src
Utility
PixelCal.h
Generated on Wed Mar 23 2022 10:59:09 for Critical Link MityCam SoC Firmware by
1.8.17