first compilable Accumulation into control layer

parent 2da304cb
......@@ -69,9 +69,6 @@ class BufferCtrlObj : public HwBufferCtrlObj
virtual void setNbConcatFrames(int nb_concat_frames);
virtual void getNbConcatFrames(int& nb_concat_frames);
virtual void setNbAccFrames(int nb_acc_frames);
virtual void getNbAccFrames(int& nb_acc_frames);
virtual void getMaxNbBuffers(int& max_nb_buffers);
virtual void *getBufferPtr(int buffer_nb, int concat_frame_nb = 0);
......
......@@ -57,9 +57,6 @@ class BufferCtrlObj : HwBufferCtrlObj
virtual void setNbConcatFrames(int nb_concat_frames);
virtual void getNbConcatFrames(int& nb_concat_frames /Out/);
virtual void setNbAccFrames(int nb_acc_frames);
virtual void getNbAccFrames(int& nb_acc_frames /Out/);
virtual void getMaxNbBuffers(int& max_nb_buffers /Out/);
virtual void *getBufferPtr(int buffer_nb, int concat_frame_nb = 0);
......
......@@ -148,18 +148,6 @@ void BufferCtrlObj::getNbConcatFrames(int& nb_concat_frames)
m_buffer_mgr.getNbConcatFrames(nb_concat_frames);
}
void BufferCtrlObj::setNbAccFrames(int nb_acc_frames)
{
DEB_MEMBER_FUNCT();
m_buffer_mgr.setNbAccFrames(nb_acc_frames);
}
void BufferCtrlObj::getNbAccFrames(int& nb_acc_frames)
{
DEB_MEMBER_FUNCT();
m_buffer_mgr.getNbAccFrames(nb_acc_frames);
}
void BufferCtrlObj::getMaxNbBuffers(int& max_nb_buffers)
{
DEB_MEMBER_FUNCT();
......@@ -504,7 +492,6 @@ void Interface::reset(ResetLevel reset_level)
m_buffer.setFrameDim(frame_dim);
m_buffer.setNbConcatFrames(1);
m_buffer.setNbAccFrames(1);
m_buffer.setNbBuffers(1);
}
......
......@@ -525,25 +525,6 @@ void test_frelon_hw_inter(bool do_reset)
hw_inter.stopAcq();
print_status(hw_inter);
hw_buffer->setFrameDim(effect_frame_dim);
hw_buffer->setNbAccFrames(5);
hw_buffer->setNbBuffers(10);
check_sps_image_frame_dim(hw_inter, bin, set_roi, sps_image);
hw_sync->setNbFrames(3);
DebParams::disableModuleFlags(DebModEspia);
print_deb_flags();
print_status(hw_inter);
acq_state.set(AcqState::Acquiring);
hw_inter.startAcq();
acq_state.waitNot(AcqState::Acquiring);
PoolThreadMgr::get().wait();
print_status(hw_inter);
hw_inter.stopAcq();
print_status(hw_inter);
DebParams::enableTypeFlags (DebParams::AllFlags);
DebParams::enableFormatFlags(DebParams::AllFlags);
DebParams::enableModuleFlags(DebParams::AllFlags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment