Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
FrameSubtract.h
Go to the documentation of this file.
1 /*
2  * FrameSubtract.h
3  *
4  * Created on: Nov 6, 2014
5  * Author: mitycam
6  */
7 
8 #ifndef FRAMESUBTRACT_H_
9 #define FRAMESUBTRACT_H_
10 
11 #include "libfpga/sgdma_dispatcher.h"
12 #include <libfpga/fpgaregister.h>
13 #include "RAMStreamer.h"
14 #include "Types.h"
15 
16 namespace SocCamera {
17 
19 public:
23  tcFrameSubtract(uint32 anAddress, tcRAMStreamer *apStreamer, uint32 anFramePacketizer);
24 
25  virtual ~tcFrameSubtract();
26 
30  int32 initialize();
31 
35  int32 setFrameSize(uint32 anFrameSizeBytes);
36 
40  int32 setFrameAddress(uint32 anFrameAddress);
41 
45  int32 reset(bool abReset);
46 
50  int32 enableFrameSubtraction(bool abEnable);
51 
55  int32 setFrameFrequency(uint32 anNumber);
56 private:
57  tcFPGARegister<uint32> mcRegisters;
58 
59  tcFPGARegister<uint32> mcPacketizer;
60 
61  tcRAMStreamer *mpStreamer;
62 };
63 
64 } /* namespace SocCamera */
65 
66 #endif /* FRAMESUBTRACT_H_ */
int32
int32_t int32
Definition: Types.h:8
Types.h
SocCamera::tcFrameSubtract::enableFrameSubtraction
int32 enableFrameSubtraction(bool abEnable)
Definition: FrameSubtract.cpp:73
RAMStreamer.h
SocCamera::tcFrameSubtract::setFrameFrequency
int32 setFrameFrequency(uint32 anNumber)
Definition: FrameSubtract.cpp:84
tcRAMStreamer
Definition: RAMStreamer.h:8
SocCamera::tcFrameSubtract::reset
int32 reset(bool abReset)
Definition: FrameSubtract.cpp:58
SocCamera::tcFrameSubtract::initialize
int32 initialize()
Definition: FrameSubtract.cpp:93
SocCamera::tcFrameSubtract::tcFrameSubtract
tcFrameSubtract(uint32 anAddress, tcRAMStreamer *apStreamer, uint32 anFramePacketizer)
Definition: FrameSubtract.cpp:23
SocCamera::tcFrameSubtract::setFrameAddress
int32 setFrameAddress(uint32 anFrameAddress)
Definition: FrameSubtract.cpp:48
SocCamera::tcFrameSubtract::setFrameSize
int32 setFrameSize(uint32 anFrameSizeBytes)
Definition: FrameSubtract.cpp:36
SocCamera::tcFrameSubtract
Definition: FrameSubtract.h:18
SocCamera
Definition: CameraTypes.h:7
uint32
uint32_t uint32
Definition: Types.h:11
SocCamera::tcFrameSubtract::~tcFrameSubtract
virtual ~tcFrameSubtract()
Definition: FrameSubtract.cpp:31