|
RDK Documentation (Open Sourced RDK Components)
|
31 #define BOOST_TEST_MODULE GetVideoOutputPorts
32 #define BOOST_TEST_MAIN
33 #include "boost/test/included/unit_test.hpp"
38 #include "videoOutputPortConfig.hpp"
52 #undef _DS_VIDEOOUTPUTPORTSETTINGS_H
53 #include "dsVideoPortSettings.h"
54 #undef _DS_VIDEORESOLUTIONSETTINGS_H
55 #include "dsVideoResolutionSettings.h"
57 BOOST_AUTO_TEST_CASE(test_VideoOutputPort_get_Methods)
75 BOOST_CHECK(vPorts.
size() != 0);
76 for (
size_t i = 0; i < vPorts.
size(); i++) {
100 for (
size_t j = 0; j < resolutions.
size(); j++) {
117 BOOST_AUTO_TEST_CASE(testDummy)
const std::string & getName() const
This API gets the name of the VideoOutputPort. The VideoOutputPort names can be HDMI,...
const FrameRate & getFrameRate() const
This API is used to get the frame rate of the given video output port.
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.
bool isHDCPSupported() const
This API is used to query if HDCP is supported by the port type.
Device Settings HAL error codes.
const StereoScopicMode & getStereoscopicMode() const
This API is used to get the stereoscopic mode of the given video output port.
size_t size()
This function gets the size of the container.
Device Settings HAL utilities.
bool isInterlaced() const
This API is used to check the video is interlaced or not.
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 ...
This file defines AudioStereoMode class for managing audio mode types.
const VideoResolution & getResolution()
This API is used to get the current video resolution output from the video output port....
bool isDynamicResolutionsSupported() const
This function is used to query if dynamic resolutions are supported by the port type.
It contains class and structure refrenced by the videoResolution.cpp file.
This file defines FrameRate class to manage the video frame rate types.
const List< VideoResolution > getSupportedResolutions() const
This API is used to get a list of supported Video Resolutions by the port type.
const PixelResolution & getPixelResolution() const
This API is used to get the pixel format of the given video output port.
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.
virtual const std::string & toString() const
This function is used to the get the data member name in string format.
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.
It contain variables,stuctures,class and functions referenced by audiooutputportType code.
It contain variables,stuctures,class and functions referenced by audiooutputport code.
const AspectRatio & getAspectRatio() const
This API is used to get the current Aspect Ratio setting of the Display Device (i....
This file defines AudioCompression class for managing audio compression levels.
virtual int getId() const
This function is used to get the id.
This file defines AudioEncoding class for managing audio encoding types.