PD#SWPL-8799
Problem:
HDR-001-TC3 GXF is brighter than VID in LL mode
Solution:
dolby_vision_target_graphics_L for LL mode
Verify:
verified on u212
Change-Id: I3b39ec048bfff3d8ae797702c1c783356d59e604
Signed-off-by: yao liu <yao.liu@amlogic.com>
static unsigned int dolby_vision_target_graphics_max[3] = {
300, 300, 100
}; /* DOVI/HDR/SDR */
+static unsigned int dolby_vision_target_graphics_LL = 210;
/*these two parameters form OSD*/
static unsigned int osd_graphic_width = 1920;
graphic_max =
dolby_vision_target_graphics_max[dst_format];
+ if (dst_format == FORMAT_DOVI) {
+ if ((dolby_vision_flags
+ & FLAG_FORCE_DOVI_LL) ||
+ (dolby_vision_ll_policy
+ >= DOLBY_VISION_LL_YUV422))
+ graphic_max = dolby_vision_target_graphics_LL;
+ }
+
if (is_graphics_output_off()) {
graphic_min = 0;
graphic_max = 0;