You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
3.9 KiB
119 lines
3.9 KiB
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd.. 2012-2019. All rights reserved.
|
|
* Description:
|
|
* Author:
|
|
* Create:
|
|
*/
|
|
|
|
#ifndef IPCSETTING_H
|
|
#define IPCSETTING_H
|
|
|
|
#include <utils/RefBase.h>
|
|
|
|
/* ****************************** API Declaration **************************** */
|
|
/* * \addtogroup TVMW */
|
|
/* * @{ */ /* * <!-- [TVMW] */
|
|
|
|
namespace android {
|
|
class IPCSetting : virtual public RefBase {
|
|
public:
|
|
/**
|
|
\brief VGA Auto Adjust. CNcomment:VGA自动校正 CNend
|
|
\attention this func can be called for user VGA Auto Adjustting. CNcomment:用户可以调用该接口进行VGA自动校正 CNend
|
|
\param CNcomment:CNend
|
|
\retval 0 :success. CNcomment:0 成功CNend
|
|
\retval -1:failure. CNcomment:-1 失败CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int autoAdjust() = 0;
|
|
|
|
/**
|
|
\brief set HPosition. CNcomment:设置水平位置CNend
|
|
\attention this func can be called for user setting HPosition. CNcomment:用户可以调用该接口设置水平位置CNend
|
|
\param hposition value, range [0-100]. CNcomment:水平位置值, 范围[0-100]CNend
|
|
\retval 0 :success. CNcomment:0 成功CNend
|
|
\retval -1:failure. CNcomment:-1 失败CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int setHPosition(int position) = 0;
|
|
|
|
/**
|
|
\brief get HPosition. CNcomment:获取当前水平位置值CNend
|
|
\attention this func can be called for user getting HPosition. CNcomment:用户可以调用该接口获取当前水平位置信息CNend
|
|
\param CNcomment:CNend
|
|
\retval hposition value, range [0-100]. CNcomment:水平位置值, 范围[0-100]CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int getHPosition() = 0;
|
|
|
|
/**
|
|
\brief set VPosition. CNcomment:设置垂直位置CNend
|
|
\attention this func can be called for user setting VPosition. CNcomment:用户可以调用该接口设置垂直位置CNend
|
|
\param vposition value, range [0-100]. CNcomment:垂直位置值, 范围[0-100]CNend
|
|
\retval 0 :success. CNcomment:0 成功CNend
|
|
\retval -1:failure. CNcomment:-1 失败CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int setVPosition(int position) = 0;
|
|
|
|
/**
|
|
\brief get VPosition. CNcomment:获取当前垂直位置值CNend
|
|
\attention this func can be called for user getting VPosition. CNcomment:用户可以调用该接口获取当前垂直位置信息CNend
|
|
\param CNcomment:CNend
|
|
\retval vposition value, range [0-100]. CNcomment:垂直位置值, 范围[0-100]CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int getVPosition() = 0;
|
|
|
|
/**
|
|
\brief set Clock. CNcomment:设置时钟CNend
|
|
\attention this func can be called for user setting Clock. CNcomment:用户可以调用该接口设置时钟CNend
|
|
\param clock value, range [0-100]. CNcomment:时钟值, 范围[0-100]CNend
|
|
\retval 0 :success. CNcomment:0 成功CNend
|
|
\retval -1:failure. CNcomment:-1 失败CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int setClock(int clock) = 0;
|
|
|
|
/**
|
|
\brief get Clock. CNcomment:获取当前时钟值CNend
|
|
\attention this func can be called for user getting Clock. CNcomment:用户可以调用该接口获取当前时钟信息CNend
|
|
\param CNcomment:CNend
|
|
\retval clock value, range [0-100]. CNcomment:时钟值, 范围[0-100]CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int getClock() = 0;
|
|
|
|
/**
|
|
\brief set Phase. CNcomment:设置相位CNend
|
|
\attention this func can be called for user setting Phase. CNcomment:用户可以调用该接口设置相位CNend
|
|
\param phase value, range [0-100]. CNcomment:相位值, 范围[0-100]CNend
|
|
\retval 0 :success. CNcomment:0 成功CNend
|
|
\retval -1:failure. CNcomment:-1 失败CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int setPhase(int phase) = 0;
|
|
|
|
/**
|
|
\brief get Phase. CNcomment:获取当前相位值CNend
|
|
\attention this func can be called for user getting Phase. CNcomment:用户可以调用该接口获取当前相位信息CNend
|
|
\param CNcomment:CNend
|
|
\retval phase value, range [0-100]. CNcomment:相位值, 范围[0-100]CNend
|
|
\see \n
|
|
CNcomment:CNend
|
|
*/
|
|
virtual int getPhase() = 0;
|
|
};
|
|
}; // namespace android
|
|
|
|
/* * @} */ /* * <!-- ==== API declaration end ==== */
|
|
|
|
#endif |