Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
6825b9d
RDKEMW-6161 devicesettings interface changes
skamath Aug 20, 2025
f9d38b7
wip
skamath Aug 21, 2025
b1d3e6f
pc build done
skamath Aug 21, 2025
e6f79bb
remove power event listener
skamath Aug 22, 2025
d395b23
added .clang-format
skamath Aug 22, 2025
9e967b4
Revert "wip"
skamath Aug 22, 2025
d7e99ca
remove unused Display Connection Change Listener
skamath Aug 22, 2025
014ffdc
script to build devicesettings alone
skamath Aug 22, 2025
8960999
remove unused OnSleepModeChanged
skamath Aug 22, 2025
33100b1
Video implementation
skamath Aug 22, 2025
d658324
major refactoring
skamath Aug 22, 2025
9ae2ea9
self review
skamath Aug 22, 2025
7fe1193
cov_build.sh cleanup
skamath Aug 22, 2025
94b3d53
dtor to clean up CallbackList
skamath Aug 22, 2025
7a95632
minor cleanup before stating audio
skamath Aug 22, 2025
5a0acad
added implementation for IAudioPortEvents
skamath Aug 22, 2025
aa3d8df
revert / clean up audioOutputPort
skamath Aug 22, 2025
f6ea35a
make dispatch private
skamath Aug 22, 2025
7fba7be
copilot review rework
skamath Aug 22, 2025
072e09b
clean up audioOutputPort
skamath Aug 22, 2025
e4bbd3d
some more cleanupgit add .
skamath Aug 22, 2025
afc86a4
some more cleanupgit status
skamath Aug 22, 2025
97f054a
some more cleanup!!
skamath Aug 22, 2025
83a0dd4
treat all c string to be null terminated
skamath Aug 23, 2025
5c36bc4
avoid templates for dispatch handling
skamath Aug 23, 2025
27e17a1
better indentation
skamath Aug 23, 2025
bcb69ce
some more documentation
skamath Aug 23, 2025
ea8ad1b
some more documentation
skamath Aug 23, 2025
465bb28
revert some interface changes
skamath Aug 26, 2025
7e828d1
some rename, remove OnAudioLevelChangedEvent
skamath Aug 26, 2025
d9535eb
restore OnAudioLevelChanged, implement OnZoomSettingsChanged
skamath Aug 26, 2025
b81e758
improv error handling
skamath Aug 26, 2025
ba81509
Revert "pc build done"
skamath Aug 26, 2025
3376445
revert compositeIn interface changes
skamath Aug 26, 2025
7724bc2
revert pc build
skamath Aug 26, 2025
b67ea32
minor undo pcbuild
skamath Aug 26, 2025
1d32fea
remove unused header
skamath Aug 26, 2025
dcb98af
Merge pull request #101 from rdkcentral/feature/RDKEMW-6120-skamath
skamath Aug 26, 2025
78162bb
fix full stack build error (#109)
skamath Aug 26, 2025
a75df87
implement OnDisplayHDMIHotPlug event
skamath Aug 26, 2025
6ab5cde
minor rename
skamath Aug 26, 2025
cfc3ffd
fix typo
skamath Aug 26, 2025
fe5bd1b
implement a pending TODO (Video Out OnHDCPStatusChange)
skamath Aug 26, 2025
224ac42
avoid redundant type aliases
skamath Aug 26, 2025
c55ebc4
IARMGroupHdmiIn changes added
karuppaiyak Aug 26, 2025
999266f
Implement OnDisplayHDMIHotPlug event (#112)
skamath Aug 26, 2025
baeb4d5
Merge remote-tracking branch 'origin/feature/RDKEMW-6120-B1' into fea…
skamath Aug 26, 2025
73284a2
fix incorrect merge
skamath Aug 26, 2025
1e21c1b
topic/RDKEMW6161- Composite and Display Implementation Changes
rababu2 Aug 26, 2025
7e324dd
topic/RDKEMW6161- Composite and Display Implementation: Native Build …
rababu2 Aug 26, 2025
7ea0aad
topic/RDKEMW6161- Composite and Display Implementation: Remove Native…
rababu2 Aug 26, 2025
bfa9954
Merge pull request #116 from rdkcentral/feature/RDKEMW-6120-B1-Ramesh
rababu2 Aug 26, 2025
31a0199
topic/RDKEMW6161- Composite and Display Implementation: Error Fix and…
rababu2 Aug 26, 2025
ec907c8
Merge pull request #117 from rdkcentral/feature/RDKEMW-6120-B2-Ramesh
rababu2 Aug 26, 2025
9861cd8
hdmi-in implementation
karuppaiyak Aug 28, 2025
4431b6c
Merge branch 'feature/RDKEMW-6120-B1' into feature/RDKEMW-6156-fr6120B1
karuppaiyak Aug 28, 2025
c211fab
hdmi-in copilot comments
karuppaiyak Aug 28, 2025
1a674b0
hdmi-in copilot comments1
karuppaiyak Aug 28, 2025
b333ec7
to trigger nav build to user branch
karuppaiyak Aug 28, 2025
096a44e
Merge pull request #113 from rdkcentral/feature/RDKEMW-6156-fr6120B1
karuppaiyak Aug 28, 2025
69339a4
temporarily enable native builds for feature branches
skamath Aug 28, 2025
74dff05
Merge branch 'feature/RDKEMW-6120-B1' into feature/RDKEMW-6120-B1-ska…
skamath Aug 28, 2025
076db73
Merge pull request #122 from rdkcentral/feature/RDKEMW-6120-B1-skamat…
skamath Aug 28, 2025
6603194
resolve all compiler warnings
skamath Aug 28, 2025
11019d0
minor indentation changes
skamath Aug 28, 2025
29dc8f0
Merge pull request #120 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Aug 28, 2025
c1ac587
Merge pull request #123 from rdkcentral/develop (port #87)
skamath Aug 28, 2025
e32be6a
topic/RDKEMW6161- Comments Update and Warning Fix
rababu2 Aug 28, 2025
d7f61da
continue1
karuppaiyak Aug 28, 2025
c65f691
topic/RDKEMW6161- Update Error Fix
rababu2 Aug 28, 2025
2293a21
Merge pull request #125 from rdkcentral/feature/RDKEMW-6120-B1-Ramesh
rababu2 Aug 28, 2025
e63f0fe
topic/RDKEMW6161- Update copilot Fix
rababu2 Aug 28, 2025
bbf0b00
Merge pull request #127 from rdkcentral/feature/RDKEMW-6120-B1-Ramesh
rababu2 Aug 28, 2025
e2b24c7
minor: indentation changes
skamath Aug 28, 2025
a66124b
implement mutex per callabacklist
skamath Aug 28, 2025
0a44b36
associate clientName with notification listener
skamath Aug 29, 2025
7f3c21d
prepend IarmHostImpl scope
skamath Aug 29, 2025
abd4e2a
minor: resolve compilation error
skamath Aug 29, 2025
43e82df
redefine dsAudioPortState_t, but then control visibility
skamath Aug 29, 2025
7c37d80
fixing hdmi in warnings
karuppaiyak Aug 29, 2025
1a5eb21
name changed to Hdmi
karuppaiyak Aug 29, 2025
5a6be87
Merge branch 'feature/RDKEMW-6120-B1' into feature/RDKEMW-6156-1fr6120B1
karuppaiyak Aug 29, 2025
d862702
Merge pull request #126 from rdkcentral/feature/RDKEMW-6156-1fr6120B1
karuppaiyak Aug 29, 2025
aacabd1
fix full stack build failure
skamath Aug 29, 2025
f09b651
Merge remote-tracking branch 'origin/feature/RDKEMW-6120-B1' into fea…
skamath Aug 29, 2025
546c010
minor fix, after rebasing to latest
skamath Aug 29, 2025
fabe729
Merge pull request #128 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 1, 2025
2e7ad4f
improve logging in libds
skamath Sep 1, 2025
c786637
minor fixes
skamath Sep 1, 2025
6554494
Merge pull request #129 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 1, 2025
77bc38a
fix minor compile error
skamath Sep 1, 2025
0bbe5d1
fix minor compile error
skamath Sep 1, 2025
8f1fe05
Merge pull request #130 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 1, 2025
1ae8046
Ensure buffer is null-terminated if snprintf fails
skamath Sep 2, 2025
0417a49
Copilot review comment suggesting wrong fix
skamath Sep 2, 2025
dcc6554
remove OnDisplayHDCPStatus() from IDisplayEvents
skamath Sep 3, 2025
02eb38a
rename IarmHostImpl => IarmImpl
skamath Sep 3, 2025
5bbfd48
topic/RDKEMW6161- Comments Updated
rababu2 Sep 3, 2025
aca333b
topic/RDKEMW6161- Copilot fix for Updated Comments
rababu2 Sep 3, 2025
2ba240d
Merge pull request #135 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 4, 2025
d8e2233
Merge pull request #136 from rdkcentral/develop
skamath Sep 4, 2025
c6844fe
Supported below apis..
Dosakaya Sep 4, 2025
73f59f0
compile time enable / disable INT_DEBUG logs
skamath Sep 8, 2025
82fdd08
LOG_LEVEL => DS_LOG_LEVEL in comments
skamath Sep 8, 2025
b1926db
Merge pull request #139 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 8, 2025
5490cb4
avoid unused compiler warnings.
skamath Sep 8, 2025
b6828d2
clean up unsupported apis
skamath Sep 8, 2025
2df01b1
Merge remote-tracking branch 'origin/feature/RDKEMW-6120-B1' into fea…
skamath Sep 8, 2025
2e3e278
Merge pull request #140 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 8, 2025
bf61322
Revert "clean up unsupported apis"
skamath Sep 8, 2025
ef37ad8
Revert "avoid unused compiler warnings."
skamath Sep 8, 2025
3f8a8fb
Merge pull request #141 from rdkcentral/feature/RDKEMW-6120-B1-skamath
skamath Sep 8, 2025
0a6f2c2
vnsprintf / snprintf both take care of null termination
skamath Sep 8, 2025
a701944
more idiomatic nop
skamath Sep 8, 2025
18a4f4f
remove unused const
skamath Sep 9, 2025
7ee7d18
removed unwanted apis...
Dosakaya Sep 9, 2025
395a941
removed unwanted apis...
Dosakaya Sep 9, 2025
c21c705
Merge pull request #142 from rdkcentral/feature/RDKEMW-6120-B1
Dosakaya Sep 9, 2025
0a3aff7
Update videoOutputPort.hpp
Dosakaya Sep 9, 2025
5d713e9
removed src code
Dosakaya Sep 9, 2025
98003a0
Update videoOutputPort.hpp
Dosakaya Sep 9, 2025
fdc8c6f
HDMIIn ARC api added.
Dosakaya Sep 9, 2025
4b0ed85
fixed comments
Dosakaya Sep 9, 2025
d8729a3
fixed comments
Dosakaya Sep 9, 2025
5215f26
fixed comments
Dosakaya Sep 9, 2025
d2f414c
Update hdmiIn.cpp
Dosakaya Sep 9, 2025
78a5580
fixed comments
Dosakaya Sep 9, 2025
7989c4e
fixed compilation errors
Dosakaya Sep 9, 2025
67b69a5
fixing compilation errors
Dosakaya Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/native_full_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ main, 'sprint/**', 'release/**', develop ]
pull_request:
branches: [ main, 'sprint/**', 'release/**', topic/RDK*, develop ]
branches: [ main, 'sprint/**', 'release/**', topic/RDK*, feature/RDK*, develop ]

jobs:
build-devicesettings-on-pr:
Expand All @@ -23,4 +23,4 @@ jobs:
sh -e cov_build.sh
env:
GITHUB_TOKEN: ${{ secrets.RDKCM_RDKE }}
RDK_PLATFORM_SOC: broadcom
RDK_PLATFORM_SOC: broadcom
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,54 @@
/install/bin/TODO
/install/lib/TODO

*.o
*.so
# test samples
sample/IsOutputHDR
sample/enableSurroundDecoder
sample/getAudioConfig
sample/getCPUTemp
sample/getDSHalVersion
sample/getDisplayAttributes
sample/getDrmHdmiStatus
sample/getEDIDBytes
sample/getFPBrightness
sample/getHDCPStatus
sample/getHdmiPreference
sample/getHostEDID
sample/getSocIDFromSDK
sample/getVideoOutputPorts
sample/getZoomSettings
sample/hdmiIn
sample/isDisplayConnected
sample/ms12ProfileTest
sample/powerModeTest
sample/resetOutputToSDR
sample/setARCSAD
sample/setAudioDucking
sample/setAudioEnable
sample/setAudioGain
sample/setAudioLevel
sample/setAudioMode
sample/setAudioMute
sample/setBassEnhancer
sample/setDRCMode
sample/setDialogEnhancement
sample/setFPBrightness
sample/setFPColor
sample/setFPColorRGB
sample/setFPTextDisplay
sample/setFPTextTimeFormat
sample/setGraphicEQ
sample/setHdmiPreference
sample/setMISteering
sample/setResolution
sample/setSurroundVirtualizer
sample/setVolumeLeveller
sample/setZoomSettings
sample/testFrontPanel

.cache
.clang-format
compile_commands.json
.harper-dictionary.txt
2 changes: 1 addition & 1 deletion build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cd rfc
autoreconf -i
./configure --enable-rfctool=yes --enable-tr181set=yes
cd rfcapi
make librfcapi_la_CPPFLAGS="-I/usr/include/cjson"
make CXXFLAGS="-DUSE_IARMBUS" librfcapi_la_CPPFLAGS="-I/usr/include/cjson"
make install
export RFC_PATH=$ROOT/rfc

Expand Down
4 changes: 3 additions & 1 deletion ds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ RM := rm -rf
CFLAGS += -std=c++0x -g -fPIC -D_REENTRANT -Wall
LIBNAME := ds
LIBNAMEFULL := lib$(LIBNAME).so
LIBNAMECLI := lib$(LIBNAME)-cli.so
LIBNAMECLI := lib$(LIBNAME)-cli.so
INSTALL := $(PWD)/install
OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp))
# In future add a conditional to choose implementation class based on build configuration
OBJS += iarm/IarmImpl.o
#$(PWD)/config should be first include path
# to override generic configs
ifneq ($(STANDALONE_BUILD_ENABLED),y)
Expand Down
37 changes: 22 additions & 15 deletions ds/dslogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
* @{
**/

#include <cstdio>
#include <cstdarg>

#include "dslogger.h"
#include <stdarg.h>

#define MAX_LOG_BUFF 500
#define unlikely(x) (__builtin_expect(!!(x), 0))
#define MAX_LOG_BUFF 512

DS_LogCb logCb = NULL;

Expand All @@ -38,26 +40,31 @@ void DS_RegisterForLog(DS_LogCb cb)
logCb = cb;
}

int ds_log(int priority,const char *format, ...)
int ds_log(int priority, const char* fileName, int lineNum, const char *format, ...)
{
char tmp_buff[MAX_LOG_BUFF];
char tmp_buff[MAX_LOG_BUFF] = {'\0'};

int offset = snprintf(tmp_buff, MAX_LOG_BUFF, "[%s:%d] ", fileName, lineNum);

// formatting error
if (unlikely(offset < 0)) {
offset = 0;
tmp_buff[0] = '\0'; // Ensure buffer is null-terminated if snprintf fails
}

va_list args;
va_start(args, format);
vsnprintf(tmp_buff,MAX_LOG_BUFF-1,format, args);
vsnprintf(tmp_buff + offset, MAX_LOG_BUFF - offset, format, args);
va_end(args);
if(logCb != NULL)
{
logCb(priority,tmp_buff);
}
else
{
return printf(tmp_buff);

if (nullptr != logCb) {
logCb(priority, tmp_buff);
} else {
return printf("%s\n", tmp_buff);
}

return 0;
}




/** @} */
/** @} */
11 changes: 11 additions & 0 deletions ds/hdmiIn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,17 @@ void HdmiInput::getHdmiVersion (int iHdmiPort, dsHdmiMaxCapabilityVersion_t *cap
printf ("%s:%d - HDMI Compatibility Version = %d\n", __PRETTY_FUNCTION__, __LINE__, *capversion);
}

dsError_t HdmiInput::getHDMIARCPortId(int &portId) {

dsError_t error = dsERR_GENERAL;
error = dsGetHDMIARCPortId(portId);
if(dsERR_NONE != error)
{
portId = -1;
}
return error;
}

}


Expand Down
Loading
Loading