Amlogic: implement CAP_FLAG_AT_END mode

The OSD will use 20Hz for frame capture frequency
The video capture frequency is based on the amlvideodri capture module
This commit is contained in:
Portisch
2019-03-27 09:07:20 +01:00
parent 101855fe4f
commit f2eef4ecea
9 changed files with 32 additions and 30 deletions

View File

@@ -17,9 +17,8 @@ public:
///
/// @param[in] grabWidth The width of the grabbed image [pixels]
/// @param[in] grabHeight The height of the grabbed images [pixels]
/// @param[in] updateRate_Hz The image grab rate [Hz]
///
AmlogicWrapper(const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
AmlogicWrapper(const unsigned grabWidth, const unsigned grabHeight);
///
/// Destructor of this dispmanx frame grabber. Releases any claimed resources.

View File

@@ -24,7 +24,7 @@ class GrabberWrapper : public QObject
{
Q_OBJECT
public:
GrabberWrapper(QString grabberName, Grabber * ggrabber, unsigned width, unsigned height, const unsigned updateRate_Hz);
GrabberWrapper(QString grabberName, Grabber * ggrabber, unsigned width, unsigned height, const unsigned updateRate_Hz = 0);
virtual ~GrabberWrapper();