ソースを参照

修改亮度范围调节
1、亮灭控制需要反转,用PQ_BRIGHTNESS_DRV_FOR_OSD_SET_END减去usBrightness
2、#define PQ_DBLSMOOTHNUM (5) //存储连续5帧的全局平均亮度值
#define PQ_DBLPWMSTEP (50) //限制单帧PWM最大变化步长
3、设置背光频率为45500hz,利用工具计算HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_TOTAL=4308, HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_MULT=0

robbin 3 日 前
コミット
9ad7519060
38 ファイル変更13436 行追加13436 行削除
  1. BIN
      out/His7315Upgrade.bin
  2. BIN
      out/Monitor_SOC_PM.bin
  3. BIN
      out/Monitor_SOC_hiview_ht7315_product_uhd_20250527_GIT42a7f37_FLASH.bin
  4. BIN
      out/Monitor_SOC_hiview_ht7315_product_uhd_20250527_GIT42a7f37_OTA.bin
  5. BIN
      out/ddr-Monitor_SOC.bin
  6. BIN
      out/ddr-Monitor_SOC.bin-DB
  7. BIN
      out/ht7315/img/Monitor_SOC.bin
  8. BIN
      out/ht7315/img/Monitor_SOC.bin-DB
  9. BIN
      out/ht7315/img/Monitor_SOC.elf
  10. BIN
      out/ht7315/img/Monitor_SOC.elf-DB
  11. 6711 6711
      out/ht7315/img/Monitor_SOC.map
  12. 6711 6711
      out/ht7315/img/Monitor_SOC.map-DB
  13. BIN
      out/ht7315/img/Monitor_SOC_PM.bin
  14. BIN
      out/ht7315/img/ddr-Monitor_SOC.bin
  15. BIN
      out/ht7315/img/ddr-Monitor_SOC.bin-DB
  16. BIN
      out/ht7315/img/libboot.a
  17. BIN
      out/ht7315/img/libcommon.a
  18. BIN
      out/ht7315/img/libdatabase.a
  19. BIN
      out/ht7315/img/libddcci.a
  20. BIN
      out/ht7315/img/libdriver.a
  21. BIN
      out/ht7315/img/libedid.a
  22. BIN
      out/ht7315/img/libmiddleware.a
  23. BIN
      out/ht7315/img/libosd.a
  24. BIN
      out/ht7315/img/libplatform.a
  25. BIN
      out/ht7315/img/libvos.a
  26. BIN
      out/ht7315/obj/hv_app_OsdFactory.o
  27. BIN
      out/ht7315/obj/hv_app_PQ.o
  28. BIN
      out/ht7315/obj/hv_comm_shell_debug_cmd.o
  29. BIN
      out/ht7315/obj/hv_drv_DpuCommon.o
  30. BIN
      out/ht7315/obj/hv_drv_Mprt.o
  31. BIN
      out/ht7315/obj/hv_mw_Ddcci.o
  32. BIN
      out/ht7315/obj/hv_mw_Factory.o
  33. BIN
      out/ht7315/obj/hv_mw_PQ.o
  34. BIN
      out/ht7315/obj/hv_vos_Init.o
  35. 1 1
      sdk/MiddleWare/ChannelManager/Video/src/hv_mw_PQ.c
  36. 8 8
      user/hiview/ht7315_product_uhd/DataBase/inc/hv_comm_PqDef.h
  37. 2 2
      user/hiview/ht7315_product_uhd/PQ/src/hv_app_PQ.c
  38. 3 3
      user/hiview/ht7315_product_uhd/ProjectConfig.h

BIN
out/His7315Upgrade.bin


BIN
out/Monitor_SOC_PM.bin


BIN
out/Monitor_SOC_hiview_ht7315_product_uhd_20250527_GIT42a7f37_FLASH.bin


BIN
out/Monitor_SOC_hiview_ht7315_product_uhd_20250527_GIT42a7f37_OTA.bin


BIN
out/ddr-Monitor_SOC.bin


BIN
out/ddr-Monitor_SOC.bin-DB


BIN
out/ht7315/img/Monitor_SOC.bin


BIN
out/ht7315/img/Monitor_SOC.bin-DB


BIN
out/ht7315/img/Monitor_SOC.elf


BIN
out/ht7315/img/Monitor_SOC.elf-DB


ファイルの差分が大きいため隠しています
+ 6711 - 6711
out/ht7315/img/Monitor_SOC.map


ファイルの差分が大きいため隠しています
+ 6711 - 6711
out/ht7315/img/Monitor_SOC.map-DB


BIN
out/ht7315/img/Monitor_SOC_PM.bin


BIN
out/ht7315/img/ddr-Monitor_SOC.bin


BIN
out/ht7315/img/ddr-Monitor_SOC.bin-DB


BIN
out/ht7315/img/libboot.a


BIN
out/ht7315/img/libcommon.a


BIN
out/ht7315/img/libdatabase.a


BIN
out/ht7315/img/libddcci.a


BIN
out/ht7315/img/libdriver.a


BIN
out/ht7315/img/libedid.a


BIN
out/ht7315/img/libmiddleware.a


BIN
out/ht7315/img/libosd.a


BIN
out/ht7315/img/libplatform.a


BIN
out/ht7315/img/libvos.a


BIN
out/ht7315/obj/hv_app_OsdFactory.o


BIN
out/ht7315/obj/hv_app_PQ.o


BIN
out/ht7315/obj/hv_comm_shell_debug_cmd.o


BIN
out/ht7315/obj/hv_drv_DpuCommon.o


BIN
out/ht7315/obj/hv_drv_Mprt.o


BIN
out/ht7315/obj/hv_mw_Ddcci.o


BIN
out/ht7315/obj/hv_mw_Factory.o


BIN
out/ht7315/obj/hv_mw_PQ.o


BIN
out/ht7315/obj/hv_vos_Init.o


+ 1 - 1
sdk/MiddleWare/ChannelManager/Video/src/hv_mw_PQ.c

@@ -979,7 +979,7 @@ VOID Hv_Mw_PQ_SetBrightness(USHORT16 usBrightness)
     UINT32 uiLow = 0; 
     UINT32 uiHigh = 0; 
 
-    usBrightness = 0xFFF - usBrightness;
+    usBrightness = PQ_BRIGHTNESS_DRV_FOR_OSD_SET_END - usBrightness;
 
     uiHigh = usBrightness;
     uiLow = HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_TOTAL - uiHigh;

+ 8 - 8
user/hiview/ht7315_product_uhd/DataBase/inc/hv_comm_PqDef.h

@@ -24,14 +24,14 @@
 #define PQ_DRV_DARKSTABILIZER_MAX  (0xff)
 #define PQ_DRV_HUE_MAX             (0xff)
 
-#define PQ_BRIGHTNESS_OSD_START    (0)
-#define PQ_BRIGHTNESS_OSD_MIDDLE   (90)
-#define PQ_BRIGHTNESS_OSD_END      (100)
-
-#define PQ_BRIGHTNESS_DRV_FOR_OSD_SET_START    (0)
-#define PQ_BRIGHTNESS_DRV_FOR_OSD_SET_MIDDLE   (2150)
-#define PQ_BRIGHTNESS_DRV_FOR_OSD_SET_END      (4000)//(2700)
-#define PQ_BRIGHTNESS_DRV_FOR_HDR_MAX          (4200)//(2700)
+#define PQ_BRIGHTNESS_OSD_START    (0)      //OSD界面最小值
+#define PQ_BRIGHTNESS_OSD_MIDDLE   (80)     //OSD界面默认值
+#define PQ_BRIGHTNESS_OSD_END      (100)    //OSD界面最大值
+
+#define PQ_BRIGHTNESS_DRV_FOR_OSD_SET_START    (0)     //OSD界面对应的PWM的最小值   
+#define PQ_BRIGHTNESS_DRV_FOR_OSD_SET_MIDDLE   (3446)  //OSD界面对应的PWM的默认值
+#define PQ_BRIGHTNESS_DRV_FOR_OSD_SET_END      (4308)  //OSD界面对应的PWM的最大值
+#define PQ_BRIGHTNESS_DRV_FOR_HDR_MAX          (4308)
 #define PQ_BRIGHTNESS_FOR_PAT1     (1691)
 #define PQ_BRIGHTNESS_FOR_PAT2     (237)
 #define PQ_BRIGHTNESS_FOR_PAT3     (237)

+ 2 - 2
user/hiview/ht7315_product_uhd/PQ/src/hv_app_PQ.c

@@ -1513,8 +1513,8 @@ UCHAR8 Hv_App_PQ_RatioMapping()
     return HV_COMMON_DATABASE_GET(UserData, ucProportion);
 }
 /* 动态背光参数 */
-#define PQ_DBLSMOOTHNUM     (10)
-#define PQ_DBLPWMSTEP       (10)
+#define PQ_DBLSMOOTHNUM     (5)     //存储连续5帧的全局平均亮度值
+#define PQ_DBLPWMSTEP       (50)    //限制单帧PWM最大变化步长
 /* 光感调试平滑buffer */
 static USHORT16 s_usSmoothBuf[PQ_DBLSMOOTHNUM] = {0};
 static UCHAR8   s_ucSmoothId = 0;

+ 3 - 3
user/hiview/ht7315_product_uhd/ProjectConfig.h

@@ -188,7 +188,7 @@
 #define HV_PROJECT_CONFIG_BACKLIGHT_ENABLE                   1       //背光开
 #define HV_PROJECT_CONFIG_BACKLIGHT_DISABLE                  0       //背光关
 /* 输出固定高频PWM所需的固定参数,根据要设置的频率查表得到此值 */
-#define HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_TOTAL          4300
+#define HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_TOTAL          4308
 #define HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_MULT           0
 #define HV_PROJECT_CONFIG_MPRT_HIGHT_FREQ_PWM_DUTY           90
 
@@ -215,8 +215,8 @@
 /* Device Info Define*/
 #define HV_PROJECT_CONFIG_FACTORY_MONITOR_MODE               "HIVIEW 27G5F UHD"
 #define HV_PROJECT_CONFIG_FACTORY_SCALER_MODE                "HT7315"
-#define HV_PROJECT_CONFIG_FACTORY_FW_VERSION                 "1.0.6"
-#define HV_PROJECT_CONFIG_FACTORY_FW_CHANGE_DATE             "20250527"
+#define HV_PROJECT_CONFIG_FACTORY_FW_VERSION                 "1.0.7"
+#define HV_PROJECT_CONFIG_FACTORY_FW_CHANGE_DATE             "20250616"
 #define HV_PROJECT_CONFIG_FACTORY_PANEL_TYPE                 "DV430QUM_N10_UHD60"
 #define HV_PROJECT_CONFIG_FACTORY_PANEL_SIZE                 "43.0"
 /* 8Bytes Max */

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません