zoneminder/src/zm_frame.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
456 B
C++
Raw Normal View History

#include "zm_frame.h"
2021-04-25 23:33:24 +08:00
Frame::Frame(event_id_t p_event_id,
int p_frame_id,
FrameType p_type,
struct timeval p_timestamp,
Microseconds p_delta,
2021-04-25 23:33:24 +08:00
int p_score,
std::vector<ZoneStats> p_stats)
: event_id(p_event_id),
frame_id(p_frame_id),
type(p_type),
timestamp(p_timestamp),
delta(p_delta),
score(p_score),
2021-04-25 23:33:24 +08:00
zone_stats(std::move(p_stats)) {}