MCPcopy Create free account
hub / github.com/IENT/YUView / addPolygonValue

Method addPolygonValue

YUViewLib/src/statistics/FrameTypeData.cpp:111–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void FrameTypeData::addPolygonValue(const Polygon &points, int val)
112{
113 StatsItemPolygonValue value;
114 value.corners = points;
115 value.value = val;
116
117 // todo: how to do this nicely?
118 // // Always keep the biggest block size updated.
119 // unsigned int wh = w*h;
120 // if (wh > maxBlockSize)
121 // maxBlockSize = wh;
122
123 polygonValueData.push_back(value);
124}
125
126void FrameTypeData::addPolygonVector(const Polygon &points, int vecX, int vecY)
127{

Callers 1

loadStatisticDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected