MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetSourceWidth

Method GetSourceWidth

samples/common/src/CVUtils/CvVideoFrameReader.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40int CvVideoFrameReader::GetSourceWidth() const
41{
42 return static_cast<int>(lround(m_capture.get(cv::CAP_PROP_FRAME_WIDTH)));
43}
44
45int CvVideoFrameReader::GetSourceHeight() const
46{

Callers 2

GetFrameSourceAndSinkFunction · 0.80

Calls 2

lroundFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected