(HDR) Add sublabels

This commit is contained in:
twinaphex 2021-09-04 19:58:48 +02:00
parent 017f9f8939
commit 28d1788e1e
2 changed files with 20 additions and 4 deletions

View File

@ -1768,11 +1768,11 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_VIDEO_HDR_MAX_NITS,
"Max Nits"
"Maximum Luminance (Nits)"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_VIDEO_HDR_MAX_NITS,
""
"The maximum intensity of your display in nits or Cd/m2, candela per square meter."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_VIDEO_HDR_PAPER_WHITE_NITS,
@ -1780,7 +1780,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_VIDEO_HDR_PAPER_WHITE_NITS,
""
"Controls the brightness (in nits) of how bright a paper white surface should be, the rest of the scene's brightness will be calculated relative to this Paper White value. This is used as a baseline for how much light your display should be outputting and controls how bright the scene should look overall. Useful for adjusting to different lighting conditions in your environment."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_VIDEO_HDR_CONTRAST,
@ -1788,7 +1788,7 @@ MSG_HASH(
)
MSG_HASH(
MENU_ENUM_SUBLABEL_VIDEO_HDR_CONTRAST,
""
"Gamma control for the final image. Takes the colors and increases the overall range between the brightest parts and the darkest parts of the image. The higher HDR Contrast is, the larger this difference becomes, while the lower the contrast is, the more washed out the image becomes. Helps users tune the image to their liking and what they feel looks best on their display."
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_VIDEO_HDR_EXPAND_GAMUT,

View File

@ -134,6 +134,10 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_quick_menu_start_recording,
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_quick_menu_stop_streaming, MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_STREAMING)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_quick_menu_stop_recording, MENU_ENUM_SUBLABEL_QUICK_MENU_STOP_RECORDING)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres, MENU_ENUM_SUBLABEL_CRT_SWITCH_RESOLUTION)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_enable, MENU_ENUM_SUBLABEL_VIDEO_HDR_ENABLE)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_paper_white_nits, MENU_ENUM_SUBLABEL_VIDEO_HDR_PAPER_WHITE_NITS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_max_nits, MENU_ENUM_SUBLABEL_VIDEO_HDR_MAX_NITS)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_hdr_contrast, MENU_ENUM_SUBLABEL_VIDEO_HDR_CONTRAST)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres_super, MENU_ENUM_SUBLABEL_CRT_SWITCH_RESOLUTION_SUPER)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres_x_axis_centering, MENU_ENUM_SUBLABEL_CRT_SWITCH_X_AXIS_CENTERING)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_crt_switchres_porch_adjust, MENU_ENUM_SUBLABEL_CRT_SWITCH_PORCH_ADJUST)
@ -3882,6 +3886,18 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
case MENU_ENUM_LABEL_VIDEO_HDR_SETTINGS:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_hdr_settings_list);
break;
case MENU_ENUM_LABEL_VIDEO_HDR_PAPER_WHITE_NITS:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_hdr_paper_white_nits);
break;
case MENU_ENUM_LABEL_VIDEO_HDR_ENABLE:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_hdr_enable);
break;
case MENU_ENUM_LABEL_VIDEO_HDR_MAX_NITS:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_hdr_max_nits);
break;
case MENU_ENUM_LABEL_VIDEO_HDR_CONTRAST:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_hdr_contrast);
break;
case MENU_ENUM_LABEL_VIDEO_OUTPUT_SETTINGS:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_output_settings_list);
break;