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:
@@ -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&)>;
|
||||
|
||||
Reference in New Issue
Block a user