|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
30 #ifndef _DS_VIDEOOUTPUTPORTTYPE_H_
31 #define _DS_VIDEOOUTPUTPORTTYPE_H_
64 int _restrictedResolution;
71 static const int kBaseband;
72 static const int kSVideo;
73 static const int k1394;
74 static const int kDVI;
75 static const int kComponent;
76 static const int kHDMI;
77 static const int kInternal;
78 static const int kScart;
79 static const int kMax;
89 int getTypeId()
const;
99 void enabledHDCP(
bool contentProtect =
true,
char *dhcpKey = 0,
size_t keySize = 0);
static VideoOutputPortType & getInstance(const int id)
This function is used to get the instance of the video output port type based on the port id....
This class is implemented using templates and it is used to maintain a container with the list of sup...
bool _dtcpSupported
Method variable to check whether dtcp is supported or not.
bool _hdcpSupported
Method variable to check whether hdcp is supported o rnot.
This file defines DSConstant class which is inherited by most of the device settings classes.
Class extending DSConstant to implement the videoResolution interface.
void setRestrictedResolution(int resolution)
This function is used to set the restricted resolution of the videooutput port type.
bool isDTCPSupported() const
This API is used to query if DTCP is supported by the port type.
Class extending enumerable to implement the videoooutputport interface.
Device Settings HAL types.
This class is used to store and manage the names and id's. It is derived by many classes like VideoRe...
bool isHDCPSupported() const
This API is used to query if HDCP is supported by the port type.
bool isDynamicResolutionsSupported() const
This function is used to query if dynamic resolutions are supported by the port type.
const List< VideoOutputPort > getPorts() const
This function is used to get the list of videooutputporttype.
It contains class and structure refrenced by the videoResolution.cpp file.
void addPort(const VideoOutputPort &port)
This function is used to add video output port type in the videooutputport list.
const List< VideoResolution > getSupportedResolutions() const
This API is used to get a list of supported Video Resolutions by the port type.
virtual ~VideoOutputPortType()
This is a default destructor of the class VideoOutputPortType.
It contains class and structure refrenced by the videooutputport.cpp file.
int getRestrictedResolution() const
This function is used to get the resolution type which has been restricted from usage.
Class extending DSConstant to implement the VideoOutputporttype interface.
bool _dynamic
Method variable to check whether dynamic resolution is supported or not.
void enabledHDCP(bool contentProtect=true, char *dhcpKey=0, size_t keySize=0)
This function is used to enable the HDCP content protection.
void enabledDTCP()
This function is used to enable the DTCP for videooutputport type.