 |
RDK Documentation (Open Sourced RDK Components)
|
44 int main(
int argc,
char *argv[])
53 for (
size_t i = 0; i < vPorts.
size(); i++) {
55 printf(
"VideoOuputPort Name- [%s] =======================\r\n", vPort.
getName().c_str());
56 printf(
"\t Enabled- [%s]\r\n", vPort.
isEnabled() ?
"Yes" :
"No");
58 printf(
"\t Active - [%s]\r\n", vPort.
isActive() ?
"Yes" :
"No");
61 printf(
"RxSense is NOT supported\r\n");
67 printf(
"Resolution Size [%d] =======================\r\n",resolutions.
size());
69 for (
size_t j = 0; j < resolutions.
size(); j++) {
71 printf(
"Resolution Name Name- [%s] =======================\r\n",resolution.
getName().c_str());
77 printf(
"\t Port Type- [%s]\r\n", vPort.
getType().
getName().c_str());
82 printf(
" ==========================================\r\n\r\n");
bool isActive() const
This API is used to check if Port is connected to active port of Sink device.
bool isContentProtected() const
This API is used to Check if the port or the content output on the port has DTCP or HDCP in use.
const std::string & getName() const
This API gets the name of the VideoOutputPort. The VideoOutputPort names can be HDMI,...
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
bool isEnabled() const
This API is used to check whether this Video output port is enabled or not.
Class extending DSConstant to implement the videoResolution interface.
List< VideoOutputPort > getVideoOutputPorts()
This API is used to get the list of the video output ports supported on the device....
bool isDTCPSupported() const
This API is used to query if DTCP is supported by the port type.
bool isDisplayConnected() const
This API is used to Check if the port is currently connected to any display device.
Class extending enumerable to implement the videoooutputport interface.
It contains class referenced by manager.cpp file.
bool isHDCPSupported() const
This API is used to query if HDCP is supported by the port type.
Device Settings HAL error codes.
size_t size()
This function gets the size of the container.
Device Settings HAL utilities.
const VideoOutputPortType & getType() const
This API is used to get the type of the video output port. A type of the video output port represent ...
const VideoResolution & getResolution()
This API is used to get the current video resolution output from the video output port....
IARM_Result_t IARM_Bus_Disconnect(void)
This API disconnect Application from IARM Bus so the application will not receive any IARM event or R...
It contains structures and class referenced by the videoOutputportTypes.cpp file.
static void Initialize()
This API is used to initialize the Device Setting module. Each API should be called by any client of ...
It contains class and structure refrenced by the videoResolution.cpp file.
RDK IARM-Bus API Declarations.
const List< VideoResolution > getSupportedResolutions() const
This API is used to get a list of supported Video Resolutions by the port type.
virtual const std::string & getName() const
This function is used to the get the data member name.
It contains class and structure refrenced by the videooutputport.cpp file.
This class extends Exception class to manage unsupported operations in devicesettings.
static void DeInitialize()
This API is used to deinitialize the device settings module. DeInitialize() must be called to release...
static Host & getInstance(void)
This API is used to get a reference to the single instance of the Host object.
int getRestrictedResolution() const
This function is used to get the resolution type which has been restricted from usage.
IARM_Result_t IARM_Bus_Connect(void)
This API is used to connect application to the IARM bus daemon. After connected, the application can ...
bool isDynamicResolutionSupported() const
This API is used to check whether the video output port supports the dynamic super resolution or not.
This file defines UnsupportedOperationException class.
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.