Function adder_codec_rs::transcoder::source::davis::get_next_image
source · pub fn get_next_image(
reconstructor: Reconstructor,
thread_pool: ThreadPool,
with_events: bool
) -> Result<(Reconstructor, ThreadPool, Option<IterVal>), ReconstructionError>
Expand description
Get the next APS image from the video source. Returns a tuple of the image, the timestamp of the image, the timestamp of the end of the frame, and the events occurring during the interval.
Arguments
with_events
- Whether to return events along with the imagethread_pool
- The thread pool to use for parallelization
Errors
ReconstructionError
- Some error indavis-edi-rs