|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
38 #include "illegalArgumentException.hpp"
39 #include "videoOutputPortConfig.hpp"
45 const char *_names[] = {
52 inline const bool isValid(
int id) {
81 return VideoOutputPortConfig::getInstance().getSSMode(
id);
104 _name = std::string(_names[
id]);
int _id
Indicates the id of the instance inheriting this class.
This class extentds DSConstant to implement StereoScopicMode. It manages the stereoscopic mode of the...
static const int kMax
Indicates the maximum number of supported stereoscopy types.
StereoScopicMode(int id)
This function is a parameterised constructor of StereoScopicMode class. It initializes the instance w...
#define dsVideoPortStereoScopicMode_isValid(t)
static const int kUnkown
Indicates video stereoscopy of unknown type.
Device Settings HAL types.
static bool isValid(int min, int max, int val)
This function checks if the given value lies between min and max values provided.
static const StereoScopicMode & getInstance(int id)
This function gets an instance of the StereoScopicMode against the specified id, only if the id passe...
Device Settings HAL utilities.
virtual ~StereoScopicMode()
This function is the default destructor for StereoScopicMode class.
@ dsVIDEO_SSMODE_3D_TOP_AND_BOTTOM
std::string _name
Indicates the name string of the instance inheriting this class.
static const int k3DSidebySide
Indicates video stereoscopy of type 3D Side-by-Side.
@ dsVIDEO_SSMODE_3D_SIDE_BY_SIDE
static const int k3dTopAndBottom
Indicates video stereoscopy of type 3D top and bottom.
This file defines StereoScopicMode class to manage the video stereoscopy types.
This class extends Exception class to manage the expections caused due to illegal arguments.
#define dsUTL_DIM(arr)
Device Settings general Array dimension calculation inline definition.
static const int k2D
Indicates video stereoscopy of type 2D.