Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
content_inspect_device_i.h
1//
2// Agora RTC/MEDIA SDK
3//
4// Created by Ning Huang in 2022-06.
5// Copyright (c) 2022 Agora.io. All rights reserved.
6//
7#pragma once // NOLINT(build/header_guard)
8
9#include "AgoraRefPtr.h"
10#include "AgoraMediaBase.h"
11
12namespace agora {
13namespace rtc {
14// I420
15
16 class ContentInspectExtension : public RefCountInterface {
17public:
18 virtual ~ContentInspectExtension() {};
19
20 virtual bool Init() = 0;
21 virtual bool Process(media::base::VideoFrame &image, float score[3]) = 0;
22};
23
24} // namespace rtc
25} // namespace agora
agora::RefCountInterface
Definition AgoraRefPtr.h:31
agora::rtc::ContentInspectExtension
Definition content_inspect_device_i.h:16
agora::rtc::ContentInspectExtension::Init
virtual bool Init()=0
agora::rtc::ContentInspectExtension::~ContentInspectExtension
virtual ~ContentInspectExtension()
Definition content_inspect_device_i.h:18
agora::rtc::ContentInspectExtension::Process
virtual bool Process(media::base::VideoFrame &image, float score[3])=0
agora::rtc
Definition AgoraExtensions.h:5
agora
Definition AgoraAtomicOps.h:21
agora::media::base::VideoFrame
Configurations of the video frame.
Definition AgoraMediaBase.h:1024