Skip to content
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 #29 WB and CMS Header changes #30

Open
wants to merge 35 commits into
base: develop
Choose a base branch
from

Conversation

aktamilbe
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Aug 8, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ hari22yuva
✅ aktamilbe
✅ ashishkumarrai1998
❌ tamilselvanak
You have signed the CLA already but the status is still pending? Let us recheck it.

@aktamilbe aktamilbe force-pushed the feature/AVOutput_Porting branch from e777ba5 to 47f483c Compare August 30, 2024 12:05
Copy link
Contributor

@tsenapathy tsenapathy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added comments, please check. I see it's only custom 2 point WB. So, it's all for user configurable 2 point white balance. (not for factory use).

Copy link
Contributor

@Anbukannadhasan Anbukannadhasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added review comments

config/pq_capabilities.ini Show resolved Hide resolved
include/tvSettings.h Outdated Show resolved Hide resolved
include/tvSettings.h Outdated Show resolved Hide resolved
include/tvSettings.h Show resolved Hide resolved
include/tvSettingsODM.h Show resolved Hide resolved
include/tvTypes.h Outdated Show resolved Hide resolved
config/pq_capabilities.ini Outdated Show resolved Hide resolved
include/tvTypes.h Outdated Show resolved Hide resolved
include/tvTypes.h Outdated Show resolved Hide resolved
include/tvSettings.h Outdated Show resolved Hide resolved
Copy link
Contributor

@Anbukannadhasan Anbukannadhasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added review comments

include/tvSettings.h Outdated Show resolved Hide resolved
include/tvSettings.h Outdated Show resolved Hide resolved
include/tvSettings.h Show resolved Hide resolved
@tsenapathy
Copy link
Contributor

pls check

Copy link
Contributor

@Anbukannadhasan Anbukannadhasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Copy link
Contributor

@Anbukannadhasan Anbukannadhasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

tsenapathy
tsenapathy previously approved these changes Jan 20, 2025
Copy link
Contributor

@hari22yuva hari22yuva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check review comments

@@ -119,150 +119,6 @@ format = SDR,HDR10,HLG,DV
source = All,Composite1,HDMI1,HDMI2,HDMI3,IP,Tuner
platformsupport = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why always the name of the file is changing?
and we need less update this file and we need add only new feature parameters, not modify old once

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.Its a spelling mistake which is corrected now. It was missed in previous reviews.
2.Currently CMS has total 18 entries in pq_capabilities.ini. To make it more convenient we have combined all 18 entries into single entry like below and added corresponding code changes in HAL.
[CMS]
range_Saturation_from = 0
range_Saturation_to = 100
range_Hue_from = 0
range_Hue_to = 100
range_Luma_from = 0
range_Luma_to = 30
color = Red,Green,Blue,Cyan,Magenta,Yellow
component = Saturation,Hue,Luma
pqmode = Entertainment,Dynamic,Expert,Movie,Sports,Graphics,Dynamic2
format = SDR,HDR10,HLG,DV
source = All,Composite1,HDMI1,HDMI2,HDMI3,IP,Tuner
I have already updated this in description.

Tvsettings-hal is improving every day and we can expect more changes in future too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we have any other entries like this please do it now

Copy link
Contributor Author

@aktamilbe aktamilbe Jan 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As part of this ticket we have worked on Custom WhiteBalance and CMS.
This ticket is meant for include above features to AVOutput plugin.
Remaining things will be handled on new ticket only.

*
* @pre TvInit() should be called before calling this API
*/
tvError_t SetCustom2PointWhiteBalance(tvWBColor_t color, tvWBControl_t control, int value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why numeric number in the function? is that required ?
Update https://github.com/rdkcentral/rdkv-halif-tvsettings/blob/main/docs/pages/tv-settings_halSpec.md
with this new api

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why numeric number in the function? is that required ?
Yes, It is Custom WhiteBalance Value to be set. Valid range gain (0 - 2047) and offset (-1024 to 1023)

updated new Enum in hal-spec.md

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry maybe confused
why function name like this SetCustom2PointWhiteBalance

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CustomWhiteBalance changes only affects the Custom/User Color temperature. So only it named as Custom2PointWhiteBalance.

Updated this information already in both set and get.

Set:
The Custom WhiteBalance (Red, Green, Blue Gain/Offset) is applicable only when the color temperature is set to tvColorTemp_USER.

Get:
The function always retrieves the custom WhiteBalance (Red, Green, Blue Gain/Offset) associated with tvColorTemp_USER.

*
* This function sets WhiteBalance (Red,Green,Blue Gain/Offset) for the current picture mode index, current video source,
* and current video format.
* The custom WhiteBalance (Red, Green, Blue Gain/Offset) is applicable only when the color temperature is set to tvColorTemp_USER.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how we can very the color temperature is set to tvColorTemp_USER.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already We have API for this GetColorTemperature( ) in tvSettings.h

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so for this API, SetColorTemperature( ) is pre-requisite?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes Its caller responsibility to set the color Temperature to "tvColorTemp_USER." before calling this function.
I will update it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends on the platforms. Some platforms allow all colour temperatures to be customised. So customer can have their preferred cool, warm and normal colour temperature.

@aktamilbe aktamilbe dismissed stale reviews from tsenapathy and Anbukannadhasan via 67bb3c6 January 20, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Review Requested
Development

Successfully merging this pull request may close these issues.

10 participants