61 vector<float> buf(1440*1024*6+160*1024*2+4);
63 memcpy(buf.data(),
fStats.data(), (4*1024*1440+4)*
sizeof(
float));
65 for (
int i=0;
i<1440;
i++)
67 memcpy(buf.data()+4+1440*1024*4 +
i*1024,
fStats.data()+4 + 4*1024*1440 + roi*
i, roi*
sizeof(float));
68 memcpy(buf.data()+4+1440*1024*5 +
i*1024,
fStats.data()+4 + 4*1024*1440 + roi*1440 + roi*
i, roi*
sizeof(float));
78 #warning Time marker channels not sent 81 const uint32_t night =
time.NightAsInt();
87 vector<uint32_t>
data(5);
88 memcpy(
data.data(), buf.data(), 4*
sizeof(uint32_t));
89 data[4] = night<19700000 ? 0 : night;
static std::vector< float > fStats
void setQuality(int quality)
Adds some functionality to boost::posix_time::ptime for our needs.
void setData(const void *ptr, size_t sz)
static DrsCalibration fData
Warning because the service this data corrsponds to might have been last updated longer ago than Local time