-
Notifications
You must be signed in to change notification settings - Fork 6
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
gh #46 Remove ODM specific apis - phase1 #47
Conversation
6ac9995
to
974f0b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added review comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the review comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe I have addressed your review comments. Please let me know if you have any questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added review comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ok
974f0b1
to
aa1eb12
Compare
L1 and L2 PR
rdkcentral/rdkv-halif-test-tvsettings#57
Main Objective
The current activity focuses on removing soon-to-be deprecated ODM APIs and types from the TvSettings HAL headers, particularly those exposed to plugins and factory code.
APIs Removed
From include/tvSettingsExtODM.h:
int ReadCapabilitiesFromConfODM(...)
Defintion moved to the plugin.
From include/tvSettingsODM.h:
tvError_t GetSupportedVideoFormatsODM(unsigned int *videoFormats, unsigned short *numberOfFormats)
tvVideoHDRFormat_t GetCurrentVideoFormatODM(void)
tvError_t GetTVSupportedDimmingModesODM(char **dimmingModes, unsigned short *numDimmingModes)
Stubbed replacements are now present in tvSettings.h.
Conversion APIs like ConvertVideoFormatToHDRFormatODM and ConvertHDRFormatToContentFormatODM
Removed due to the deprecation of types like tvhdr_type_t and tvVideoHDRFormat_t.
int GetPanelIDODM(char *panelid)
Moved definition to the plugin. Further updates will encapsulate Panel ID retrieval in Phase 2.
tvError_t TvSyncCalibrationInfoODM()
Removed as the calibration data will now be handled differently.
tvError_t GetTVSupportedDolbyVisionModesODM(pic_modes_t *dvModes[],unsigned short *count)
tvError_t SetWakeupConfig(const tvWakeupSrcType_t src_type, const bool value);
tvError_t SetTVDolbyVisionModeODM(const char * dolbyMode);
int GetCMSDefault(tvComponentType_t component_type);
Note:
Additional function removals are included in preparation for Phase 2.
Modified APIs
In include/tvSettings.h:
tvError_t GetCurrentVideoSource(int *currentSource)
Updated to: tvError_t GetCurrentVideoSource(tvVideoSrcType_t *currentSource)
Rationale: To align with the expected type, ensuring consistency in API usage.
These changes are foundational for the overall API clean-up and ensure the TvSettings HAL interfaces are maintainable, and aligned with the upcoming architectural requirements.