Release MergeVideoFace EnhanceVideoQuality.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include "model/AdjustVideoColorResult.h"
|
||||
#include "model/ChangeVideoSizeRequest.h"
|
||||
#include "model/ChangeVideoSizeResult.h"
|
||||
#include "model/EnhanceVideoQualityRequest.h"
|
||||
#include "model/EnhanceVideoQualityResult.h"
|
||||
#include "model/EraseVideoLogoRequest.h"
|
||||
#include "model/EraseVideoLogoResult.h"
|
||||
#include "model/EraseVideoSubtitlesRequest.h"
|
||||
@@ -38,6 +40,8 @@
|
||||
#include "model/GenerateVideoResult.h"
|
||||
#include "model/GetAsyncJobResultRequest.h"
|
||||
#include "model/GetAsyncJobResultResult.h"
|
||||
#include "model/MergeVideoFaceRequest.h"
|
||||
#include "model/MergeVideoFaceResult.h"
|
||||
#include "model/SuperResolveVideoRequest.h"
|
||||
#include "model/SuperResolveVideoResult.h"
|
||||
|
||||
@@ -61,6 +65,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ChangeVideoSizeResult> ChangeVideoSizeOutcome;
|
||||
typedef std::future<ChangeVideoSizeOutcome> ChangeVideoSizeOutcomeCallable;
|
||||
typedef std::function<void(const VideoenhanClient*, const Model::ChangeVideoSizeRequest&, const ChangeVideoSizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeVideoSizeAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::EraseVideoLogoResult> EraseVideoLogoOutcome;
|
||||
typedef std::future<EraseVideoLogoOutcome> EraseVideoLogoOutcomeCallable;
|
||||
typedef std::function<void(const VideoenhanClient*, const Model::EraseVideoLogoRequest&, const EraseVideoLogoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EraseVideoLogoAsyncHandler;
|
||||
@@ -73,6 +80,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetAsyncJobResultResult> GetAsyncJobResultOutcome;
|
||||
typedef std::future<GetAsyncJobResultOutcome> GetAsyncJobResultOutcomeCallable;
|
||||
typedef std::function<void(const VideoenhanClient*, const Model::GetAsyncJobResultRequest&, const GetAsyncJobResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAsyncJobResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::MergeVideoFaceResult> MergeVideoFaceOutcome;
|
||||
typedef std::future<MergeVideoFaceOutcome> MergeVideoFaceOutcomeCallable;
|
||||
typedef std::function<void(const VideoenhanClient*, const Model::MergeVideoFaceRequest&, const MergeVideoFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeVideoFaceAsyncHandler;
|
||||
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;
|
||||
@@ -93,6 +103,9 @@ namespace AlibabaCloud
|
||||
ChangeVideoSizeOutcome changeVideoSize(const Model::ChangeVideoSizeRequest &request)const;
|
||||
void changeVideoSizeAsync(const Model::ChangeVideoSizeRequest& request, const ChangeVideoSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeVideoSizeOutcomeCallable changeVideoSizeCallable(const Model::ChangeVideoSizeRequest& 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;
|
||||
EraseVideoLogoOutcome eraseVideoLogo(const Model::EraseVideoLogoRequest &request)const;
|
||||
void eraseVideoLogoAsync(const Model::EraseVideoLogoRequest& request, const EraseVideoLogoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EraseVideoLogoOutcomeCallable eraseVideoLogoCallable(const Model::EraseVideoLogoRequest& request) const;
|
||||
@@ -105,6 +118,9 @@ namespace AlibabaCloud
|
||||
GetAsyncJobResultOutcome getAsyncJobResult(const Model::GetAsyncJobResultRequest &request)const;
|
||||
void getAsyncJobResultAsync(const Model::GetAsyncJobResultRequest& request, const GetAsyncJobResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAsyncJobResultOutcomeCallable getAsyncJobResultCallable(const Model::GetAsyncJobResultRequest& request) const;
|
||||
MergeVideoFaceOutcome mergeVideoFace(const Model::MergeVideoFaceRequest &request)const;
|
||||
void mergeVideoFaceAsync(const Model::MergeVideoFaceRequest& request, const MergeVideoFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MergeVideoFaceOutcomeCallable mergeVideoFaceCallable(const Model::MergeVideoFaceRequest& 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;
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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_ENHANCEVIDEOQUALITYREQUEST_H_
|
||||
#define ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEVIDEOQUALITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/videoenhan/VideoenhanExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Videoenhan
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_VIDEOENHAN_EXPORT EnhanceVideoQualityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnhanceVideoQualityRequest();
|
||||
~EnhanceVideoQualityRequest();
|
||||
|
||||
std::string getHDRFormat()const;
|
||||
void setHDRFormat(const std::string& hDRFormat);
|
||||
int getFrameRate()const;
|
||||
void setFrameRate(int frameRate);
|
||||
int getMaxIlluminance()const;
|
||||
void setMaxIlluminance(int maxIlluminance);
|
||||
int getBitrate()const;
|
||||
void setBitrate(int bitrate);
|
||||
int getOutPutWidth()const;
|
||||
void setOutPutWidth(int outPutWidth);
|
||||
int getOutPutHeight()const;
|
||||
void setOutPutHeight(int outPutHeight);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
std::string getVideoURL()const;
|
||||
void setVideoURL(const std::string& videoURL);
|
||||
|
||||
private:
|
||||
std::string hDRFormat_;
|
||||
int frameRate_;
|
||||
int maxIlluminance_;
|
||||
int bitrate_;
|
||||
int outPutWidth_;
|
||||
int outPutHeight_;
|
||||
bool async_;
|
||||
std::string videoURL_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEVIDEOQUALITYREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_ENHANCEVIDEOQUALITYRESULT_H_
|
||||
#define ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEVIDEOQUALITYRESULT_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 EnhanceVideoQualityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string videoURL;
|
||||
};
|
||||
|
||||
|
||||
EnhanceVideoQualityResult();
|
||||
explicit EnhanceVideoQualityResult(const std::string &payload);
|
||||
~EnhanceVideoQualityResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_ENHANCEVIDEOQUALITYRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_MERGEVIDEOFACEREQUEST_H_
|
||||
#define ALIBABACLOUD_VIDEOENHAN_MODEL_MERGEVIDEOFACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/videoenhan/VideoenhanExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Videoenhan
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_VIDEOENHAN_EXPORT MergeVideoFaceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MergeVideoFaceRequest();
|
||||
~MergeVideoFaceRequest();
|
||||
|
||||
std::string getPostURL()const;
|
||||
void setPostURL(const std::string& postURL);
|
||||
std::string getReferenceURL()const;
|
||||
void setReferenceURL(const std::string& referenceURL);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
std::string getVideoURL()const;
|
||||
void setVideoURL(const std::string& videoURL);
|
||||
|
||||
private:
|
||||
std::string postURL_;
|
||||
std::string referenceURL_;
|
||||
bool async_;
|
||||
std::string videoURL_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_MERGEVIDEOFACEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_MERGEVIDEOFACERESULT_H_
|
||||
#define ALIBABACLOUD_VIDEOENHAN_MODEL_MERGEVIDEOFACERESULT_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 MergeVideoFaceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string videoURL;
|
||||
};
|
||||
|
||||
|
||||
MergeVideoFaceResult();
|
||||
explicit MergeVideoFaceResult(const std::string &payload);
|
||||
~MergeVideoFaceResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_VIDEOENHAN_MODEL_MERGEVIDEOFACERESULT_H_
|
||||
Reference in New Issue
Block a user