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

Merge pull request #20836 from alexgiving:atrutnev/rename_Adapter_to_IAdapter

* Rename RMat::Adapter to RMat::IAdapter

* Add comments
This commit is contained in:
Trutnev Aleksei
2021-11-01 15:43:27 +03:00
committed by GitHub
parent 7b57df02a7
commit 17234f82d0
6 changed files with 18 additions and 16 deletions
@@ -45,7 +45,7 @@ namespace gimpl {
#endif
}
class RMatAdapter : public RMat::Adapter {
class RMatAdapter : public RMat::IAdapter {
cv::Mat m_mat;
public:
const void* data() const { return m_mat.data; }
@@ -58,7 +58,7 @@ namespace gimpl {
struct Data;
struct RcDesc;
struct GAPI_EXPORTS RMatMediaFrameAdapter final: public cv::RMat::Adapter
struct GAPI_EXPORTS RMatMediaFrameAdapter final: public cv::RMat::IAdapter
{
using MapDescF = std::function<cv::GMatDesc(const GFrameDesc&)>;
using MapDataF = std::function<cv::Mat(const GFrameDesc&, const cv::MediaFrame::View&)>;