1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-28 14:53:03 +04:00

videoio: apply CV_OVERRIDE/CV_FINAL

This commit is contained in:
Alexander Alekhin
2018-03-15 16:16:53 +03:00
parent a91953b15c
commit 8f0669c300
26 changed files with 138 additions and 140 deletions
+5 -5
View File
@@ -438,9 +438,9 @@ public:
return true;
}
bool isOpened() const { return container.isOpenedStream(); }
bool isOpened() const CV_OVERRIDE { return container.isOpenedStream(); }
void write(InputArray _img)
void write(InputArray _img) CV_OVERRIDE
{
Mat img = _img.getMat();
size_t chunkPointer = container.getStreamPos();
@@ -493,7 +493,7 @@ public:
}
}
double getProperty(int propId) const
double getProperty(int propId) const CV_OVERRIDE
{
if( propId == VIDEOWRITER_PROP_QUALITY )
return quality;
@@ -507,7 +507,7 @@ public:
return 0.;
}
bool setProperty(int propId, double value)
bool setProperty(int propId, double value) CV_OVERRIDE
{
if( propId == VIDEOWRITER_PROP_QUALITY )
{
@@ -1186,7 +1186,7 @@ public:
m_buffer_list.allocate_buffers(stripes_count, (height*width*2)/stripes_count);
}
void operator()( const cv::Range& range ) const
void operator()( const cv::Range& range ) const CV_OVERRIDE
{
const int CAT_TAB_SIZE = 4096;
unsigned code = 0;