-
Notifications
You must be signed in to change notification settings - Fork 4
New Api definition #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/RDKEMW-6120-B1
Are you sure you want to change the base?
New Api definition #138
Changes from 5 commits
c6844fe
7ee7d18
395a941
c21c705
0a3aff7
5d713e9
98003a0
fdc8c6f
4b0ed85
d8729a3
5215f26
d2f414c
78a5580
7989c4e
67b69a5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| /* | ||
| * If not stated otherwise in this file or this component's LICENSE file the | ||
| * following copyright and licenses apply: | ||
|
Check failure on line 3 in ds/videoOutputPort.cpp
|
||
| * | ||
| * Copyright 2016 RDK Management | ||
| * | ||
|
|
@@ -911,18 +911,38 @@ | |
| return hdcpProtocol; | ||
| } | ||
|
|
||
| bool VideoOutputPort::SetStandbyVideoState(const string port , const bool enable) | ||
Dosakaya marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Dosakaya marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| { | ||
| dsError_t ret = dsSetStandbyVideoState(port, enable); | ||
|
||
| if (ret != dsERR_NONE) { | ||
| return false; | ||
| } | ||
| return true; | ||
|
|
||
| } | ||
|
|
||
| bool VideoOutputPort::GetStandbyVideoState(const string port, bool isEnabled) | ||
Dosakaya marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Dosakaya marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| { | ||
| dsError_t ret = dsGetStandbyVideoState(port, isEnabled); | ||
| if (ret != dsERR_NONE) { | ||
| return false; | ||
| } | ||
| return true; | ||
|
|
||
| } | ||
|
|
||
| /** | ||
| * @fn void setAllmEnabled(bool enable); | ||
| * @brief Enables/Disables ALLM mode for connected HDMI display. | ||
| */ | ||
| void VideoOutputPort::Display::setAllmEnabled(bool enable) const | ||
| { | ||
| printf("VideoOutputPort::Display::setAllmEnabled \r\n"); | ||
| dsError_t ret = dsSetAllmEnabled(_handle,enable); | ||
| if (ret != dsERR_NONE) { | ||
| throw Exception(ret); | ||
| } | ||
| } | ||
| void VideoOutputPort::Display::setAllmEnabled(bool enable) const | ||
| { | ||
| printf("VideoOutputPort::Display::setAllmEnabled \r\n"); | ||
| dsError_t ret = dsSetAllmEnabled(_handle,enable); | ||
| if (ret != dsERR_NONE) { | ||
| throw Exception(ret); | ||
| } | ||
| } | ||
|
|
||
| /** | ||
| * @fn void setAVIContentType(dsAviContentType_t contentType); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.