File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
_studio/mfx_lib/encode_hw/av1/agnostic/base Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,8 @@ inline mfxStatus CheckAndFixMasteringDisplayColourVolumeInfo(mfxExtMasteringDisp
5252 changed += CheckMaxOrClip (pMDCV->DisplayPrimariesY [0 ], 50000u );
5353 changed += CheckMaxOrClip (pMDCV->DisplayPrimariesY [1 ], 50000u );
5454 changed += CheckMaxOrClip (pMDCV->DisplayPrimariesY [2 ], 50000u );
55- changed += CheckMinOrClip (pMDCV->MaxDisplayMasteringLuminance , 1u );
56- changed += CheckMaxOrClip (pMDCV->MaxDisplayMasteringLuminance , 65535u );
57- changed += CheckMinOrClip (pMDCV->MinDisplayMasteringLuminance , 1u );
58- changed += CheckMaxOrClip (pMDCV->MinDisplayMasteringLuminance , 65535u );
55+ changed += CheckMaxOrClip (pMDCV->MaxDisplayMasteringLuminance , 16777215u );
56+ changed += CheckMaxOrClip (pMDCV->MinDisplayMasteringLuminance , 262143u );
5957
6058 return changed ? MFX_WRN_INCOMPATIBLE_VIDEO_PARAM : MFX_ERR_NONE;
6159}
You can’t perform that action at this time.
0 commit comments