Release ReduceVideoNoise and EnhancePortraitVideo.

This commit is contained in:
sdk-team
2023-03-28 02:22:17 +00:00
parent 077d8093c7
commit 593ca5f90e
12 changed files with 527 additions and 1 deletions

View File

@@ -36,6 +36,8 @@
#include "model/ConvertHdrVideoResult.h"
#include "model/DeleteFaceVideoTemplateRequest.h"
#include "model/DeleteFaceVideoTemplateResult.h"
#include "model/EnhancePortraitVideoRequest.h"
#include "model/EnhancePortraitVideoResult.h"
#include "model/EnhanceVideoQualityRequest.h"
#include "model/EnhanceVideoQualityResult.h"
#include "model/EraseVideoLogoRequest.h"
@@ -56,6 +58,8 @@
#include "model/MergeVideoModelFaceResult.h"
#include "model/QueryFaceVideoTemplateRequest.h"
#include "model/QueryFaceVideoTemplateResult.h"
#include "model/ReduceVideoNoiseRequest.h"
#include "model/ReduceVideoNoiseResult.h"
#include "model/SuperResolveVideoRequest.h"
#include "model/SuperResolveVideoResult.h"
#include "model/ToneSdrVideoRequest.h"
@@ -90,6 +94,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteFaceVideoTemplateResult> DeleteFaceVideoTemplateOutcome;
typedef std::future<DeleteFaceVideoTemplateOutcome> DeleteFaceVideoTemplateOutcomeCallable;
typedef std::function<void(const VideoenhanClient*, const Model::DeleteFaceVideoTemplateRequest&, const DeleteFaceVideoTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceVideoTemplateAsyncHandler;
typedef Outcome<Error, Model::EnhancePortraitVideoResult> EnhancePortraitVideoOutcome;
typedef std::future<EnhancePortraitVideoOutcome> EnhancePortraitVideoOutcomeCallable;
typedef std::function<void(const VideoenhanClient*, const Model::EnhancePortraitVideoRequest&, const EnhancePortraitVideoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnhancePortraitVideoAsyncHandler;
typedef Outcome<Error, Model::EnhanceVideoQualityResult> EnhanceVideoQualityOutcome;
typedef std::future<EnhanceVideoQualityOutcome> EnhanceVideoQualityOutcomeCallable;
typedef std::function<void(const VideoenhanClient*, const Model::EnhanceVideoQualityRequest&, const EnhanceVideoQualityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnhanceVideoQualityAsyncHandler;
@@ -120,6 +127,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryFaceVideoTemplateResult> QueryFaceVideoTemplateOutcome;
typedef std::future<QueryFaceVideoTemplateOutcome> QueryFaceVideoTemplateOutcomeCallable;
typedef std::function<void(const VideoenhanClient*, const Model::QueryFaceVideoTemplateRequest&, const QueryFaceVideoTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryFaceVideoTemplateAsyncHandler;
typedef Outcome<Error, Model::ReduceVideoNoiseResult> ReduceVideoNoiseOutcome;
typedef std::future<ReduceVideoNoiseOutcome> ReduceVideoNoiseOutcomeCallable;
typedef std::function<void(const VideoenhanClient*, const Model::ReduceVideoNoiseRequest&, const ReduceVideoNoiseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReduceVideoNoiseAsyncHandler;
typedef Outcome<Error, Model::SuperResolveVideoResult> SuperResolveVideoOutcome;
typedef std::future<SuperResolveVideoOutcome> SuperResolveVideoOutcomeCallable;
typedef std::function<void(const VideoenhanClient*, const Model::SuperResolveVideoRequest&, const SuperResolveVideoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuperResolveVideoAsyncHandler;
@@ -152,6 +162,9 @@ namespace AlibabaCloud
DeleteFaceVideoTemplateOutcome deleteFaceVideoTemplate(const Model::DeleteFaceVideoTemplateRequest &request)const;
void deleteFaceVideoTemplateAsync(const Model::DeleteFaceVideoTemplateRequest& request, const DeleteFaceVideoTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceVideoTemplateOutcomeCallable deleteFaceVideoTemplateCallable(const Model::DeleteFaceVideoTemplateRequest& request) const;
EnhancePortraitVideoOutcome enhancePortraitVideo(const Model::EnhancePortraitVideoRequest &request)const;
void enhancePortraitVideoAsync(const Model::EnhancePortraitVideoRequest& request, const EnhancePortraitVideoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnhancePortraitVideoOutcomeCallable enhancePortraitVideoCallable(const Model::EnhancePortraitVideoRequest& request) const;
EnhanceVideoQualityOutcome enhanceVideoQuality(const Model::EnhanceVideoQualityRequest &request)const;
void enhanceVideoQualityAsync(const Model::EnhanceVideoQualityRequest& request, const EnhanceVideoQualityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnhanceVideoQualityOutcomeCallable enhanceVideoQualityCallable(const Model::EnhanceVideoQualityRequest& request) const;
@@ -182,6 +195,9 @@ namespace AlibabaCloud
QueryFaceVideoTemplateOutcome queryFaceVideoTemplate(const Model::QueryFaceVideoTemplateRequest &request)const;
void queryFaceVideoTemplateAsync(const Model::QueryFaceVideoTemplateRequest& request, const QueryFaceVideoTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryFaceVideoTemplateOutcomeCallable queryFaceVideoTemplateCallable(const Model::QueryFaceVideoTemplateRequest& request) const;
ReduceVideoNoiseOutcome reduceVideoNoise(const Model::ReduceVideoNoiseRequest &request)const;
void reduceVideoNoiseAsync(const Model::ReduceVideoNoiseRequest& request, const ReduceVideoNoiseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReduceVideoNoiseOutcomeCallable reduceVideoNoiseCallable(const Model::ReduceVideoNoiseRequest& request) const;
SuperResolveVideoOutcome superResolveVideo(const Model::SuperResolveVideoRequest &request)const;
void superResolveVideoAsync(const Model::SuperResolveVideoRequest& request, const SuperResolveVideoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SuperResolveVideoOutcomeCallable superResolveVideoCallable(const Model::SuperResolveVideoRequest& request) const;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEPORTRAITVIDEOREQUEST_H_
#define ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEPORTRAITVIDEOREQUEST_H_
#include <alibabacloud/videoenhan/VideoenhanExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Videoenhan {
namespace Model {
class ALIBABACLOUD_VIDEOENHAN_EXPORT EnhancePortraitVideoRequest : public RpcServiceRequest {
public:
EnhancePortraitVideoRequest();
~EnhancePortraitVideoRequest();
bool getAsync() const;
void setAsync(bool async);
std::string getVideoUrl() const;
void setVideoUrl(const std::string &videoUrl);
private:
bool async_;
std::string videoUrl_;
};
} // namespace Model
} // namespace Videoenhan
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEPORTRAITVIDEOREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEPORTRAITVIDEORESULT_H_
#define ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEPORTRAITVIDEORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/videoenhan/VideoenhanExport.h>
namespace AlibabaCloud
{
namespace Videoenhan
{
namespace Model
{
class ALIBABACLOUD_VIDEOENHAN_EXPORT EnhancePortraitVideoResult : public ServiceResult
{
public:
struct Data
{
std::string videoUrl;
};
EnhancePortraitVideoResult();
explicit EnhancePortraitVideoResult(const std::string &payload);
~EnhancePortraitVideoResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEPORTRAITVIDEORESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VIDEOENHAN_MODEL_REDUCEVIDEONOISEREQUEST_H_
#define ALIBABACLOUD_VIDEOENHAN_MODEL_REDUCEVIDEONOISEREQUEST_H_
#include <alibabacloud/videoenhan/VideoenhanExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Videoenhan {
namespace Model {
class ALIBABACLOUD_VIDEOENHAN_EXPORT ReduceVideoNoiseRequest : public RpcServiceRequest {
public:
ReduceVideoNoiseRequest();
~ReduceVideoNoiseRequest();
bool getAsync() const;
void setAsync(bool async);
std::string getVideoUrl() const;
void setVideoUrl(const std::string &videoUrl);
private:
bool async_;
std::string videoUrl_;
};
} // namespace Model
} // namespace Videoenhan
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_REDUCEVIDEONOISEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VIDEOENHAN_MODEL_REDUCEVIDEONOISERESULT_H_
#define ALIBABACLOUD_VIDEOENHAN_MODEL_REDUCEVIDEONOISERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/videoenhan/VideoenhanExport.h>
namespace AlibabaCloud
{
namespace Videoenhan
{
namespace Model
{
class ALIBABACLOUD_VIDEOENHAN_EXPORT ReduceVideoNoiseResult : public ServiceResult
{
public:
struct Data
{
std::string videoUrl;
};
ReduceVideoNoiseResult();
explicit ReduceVideoNoiseResult(const std::string &payload);
~ReduceVideoNoiseResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_REDUCEVIDEONOISERESULT_H_