Video Data-2-Image task is not included in Lima processing state
CtVideo
must be active
in order to update the data returned by CtVideo.getLastImage()
. When active
, an independent task is systematically included in the frame processing pipeline by CtVideo::frameReady/_data_2_image
. However, the task status is not taken into account by the acquisition state machine in CtControl
. This is a potential point of failure because HW buffers
can be re-allocated before the Mapped Data's
are consumed.
A possible solution is to modify CtControl::_calcAcqStatus
to take into account CtVideo::m_ready_flag
(if CtVideo::m_active_flag
), and to call it from CtVideo::_data2image_finished