Skip to content

Commit

Permalink
[VP] Enable Hdr 3dlut caculate by CPU
Browse files Browse the repository at this point in the history
Enable Hdr 3dlut caculate by CPU.
  • Loading branch information
VickyZengg authored and intel-mediadev committed Jul 21, 2023
1 parent 1cbf090 commit cd4c267
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ MOS_STATUS VpUserSetting::InitVpUserSetting(MediaUserSettingSharedPtr userSettin
MediaUserSetting::Group::Sequence,
0,
true);

DeclareUserSettingKey( // Enable HDR 3DLut table caculate by CPU. 1: enabled, 0: disabled.
userSettingPtr,
__VPHAL_HDR_3DLUT_CPU_PATH,
MediaUserSetting::Group::Sequence,
0,
true);
#endif
}

Expand Down
1 change: 1 addition & 0 deletions media_softlet/agnostic/common/vp/hal/utils/vp_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ class Trace
#define __VPHAL_HDR_ENABLE_QUALITY_TUNING "VPHAL HDR Enable Quality Tuning"
#define __VPHAL_HDR_ENABLE_KERNEL_DUMP "VPHAL HDR Enable Kernel Dump"
#define __VPHAL_HDR_H2S_RGB_TM "VPHAL H2S TM RGB Based"
#define __VPHAL_HDR_3DLUT_CPU_PATH "HDR 3DLut Table Use CPU Caculate"

// Compression
#define __VPHAL_MMC_ENABLE "VP MMC In Use"
Expand Down

0 comments on commit cd4c267

Please sign in to comment.