TestDropFrames¶
-
class TestDropFrames : public kotekan::Stage¶
Config-driven dropping of frames.
This stage can be interposed between two buffers to drop frames specified in the configuration.
- Buffers
in_bufInput kotekan buffer, to be (selectively) copied over to out_bufFormat: Array of
anyMetadata:
none, or a class derived fromkotekanMetadata
out_bufOutput kotekan buffer, with config-specified frames from in_buf missingFormat: Array of
datatypeMetadata:
none, or a class derived fromkotekanMetadata
- Author
James Willis, Davor Cubranic
- Param missing_frames:
Vectorof UInt32 (Default: empty). Frames to drop.- Param drop_frame_chance:
Double(Default: 0). Chance of dropping a frame if not in themissing_frameslist.