RDK Documentation (Open Sourced RDK Components)
|
Functions | |
static VideoDevice & | device::VideoDevice::getInstance (int id) |
This API is used to get the instance of the video device port based on the port id returned by the getsupported videodevice config. More... | |
device::VideoDevice::VideoDevice (int id) | |
Constructor for videodevice class. This function initializes the the handle for the corresponding video device based on id. IllegalArgumentException will be thrown if the specified id of the device is not recognized. More... | |
virtual | device::VideoDevice::~VideoDevice () |
This is a default destructor of the class VideoDevice. More... | |
void | device::VideoDevice::setDFC (const VideoDFC &dfc) |
This API is used to set the DFC[Decoder format convention used for zoom purpose] setting by its property name. Exception will be thrown if the DFC name is not recognized. More... | |
void | device::VideoDevice::setDFC (int id) |
This API is used to set the DFC with the passed dfc parameter. This function is used to get the instance of VideoDFC. More... | |
void | device::VideoDevice::setDFC (const std::string &name) |
This API is used to set the DFC with the passed dfc parameter. This function is used to get the instance of VideoDFC IllegalArgumentException will be thrown if the DFC name is not recognized. UnsupportedOperationException will be thrown if DFC cannot be changed. More... | |
void | device::VideoDevice::setDFC () |
This API is used to set the default dfc. More... | |
void | device::VideoDevice::setPlatformDFC () |
This API is used to set the DFC setting to the default one supported by the platform. The actual Platform DFC is determined by underlying platform implementation. Applications can use getDFC() API to query the actual DFC set after calling this API. More... | |
const VideoDFC & | device::VideoDevice::getDFC () |
This API is used to get the current DFC setting. More... | |
const List< VideoDFC > | device::VideoDevice::getSupportedDFCs () const |
This API is used to get the list of supported DFC (i.e. Zoom Settings) by the video device. More... | |
void | device::VideoDevice::addDFC (const VideoDFC &dfc) |
This function is used to push DFC into the list of supported DFC (i.e. Zoom Settings) by the device. More... | |
void | device::VideoDevice::getHDRCapabilities (int *capabilities) |
void | device::VideoDevice::getSettopSupportedResolutions (std::list< std::string > &stbSupportedResoltuions) |
unsigned int | device::VideoDevice::getSupportedVideoCodingFormats () const |
dsVideoCodecInfo_t | device::VideoDevice::getVideoCodecInfo (dsVideoCodingFormat_t format) const |
int | device::VideoDevice::forceDisableHDRSupport (bool disable) |
int | device::VideoDevice::setFRFMode (int frfmode) const |
int | device::VideoDevice::getFRFMode (int *frfmode) const |
int | device::VideoDevice::setDisplayframerate (const char *framerate) const |
int | device::VideoDevice::getCurrentDisframerate (char *framerate) const |
|
static |
This API is used to get the instance of the video device port based on the port id returned by the getsupported videodevice config.
[in] | id | port id |
Definition at line 84 of file videoDevice.cpp.
device::VideoDevice::VideoDevice | ( | int | id | ) |
Constructor for videodevice class. This function initializes the the handle for the corresponding video device based on id. IllegalArgumentException will be thrown if the specified id of the device is not recognized.
[in] | id | Port id. |
Definition at line 104 of file videoDevice.cpp.
|
virtual |
This is a default destructor of the class VideoDevice.
Definition at line 130 of file videoDevice.cpp.
|
private |
This API is used to set the DFC[Decoder format convention used for zoom purpose] setting by its property name. Exception will be thrown if the DFC name is not recognized.
[in] | dfc | new zoom setting |
Definition at line 144 of file videoDevice.cpp.
void device::VideoDevice::setDFC | ( | int | dfc | ) |
This API is used to set the DFC with the passed dfc parameter. This function is used to get the instance of VideoDFC.
[in] | dfc | new zoom setting |
Definition at line 163 of file videoDevice.cpp.
void device::VideoDevice::setDFC | ( | const std::string & | dfc | ) |
This API is used to set the DFC with the passed dfc parameter. This function is used to get the instance of VideoDFC IllegalArgumentException will be thrown if the DFC name is not recognized. UnsupportedOperationException will be thrown if DFC cannot be changed.
[in] | dfc | Name of the new zoom setting |
Definition at line 180 of file videoDevice.cpp.
|
private |
This API is used to set the default dfc.
Definition at line 192 of file videoDevice.cpp.
void device::VideoDevice::setPlatformDFC | ( | ) |
This API is used to set the DFC setting to the default one supported by the platform. The actual Platform DFC is determined by underlying platform implementation. Applications can use getDFC() API to query the actual DFC set after calling this API.
Definition at line 208 of file videoDevice.cpp.
const VideoDFC & device::VideoDevice::getDFC | ( | ) |
This API is used to get the current DFC setting.
Definition at line 220 of file videoDevice.cpp.
This API is used to get the list of supported DFC (i.e. Zoom Settings) by the video device.
Definition at line 238 of file videoDevice.cpp.
void device::VideoDevice::addDFC | ( | const VideoDFC & | dfc | ) |
This function is used to push DFC into the list of supported DFC (i.e. Zoom Settings) by the device.
[in] | dfc | Supported Zoom setting. |
Definition at line 251 of file videoDevice.cpp.