From e533927bb269d6d6b09fde38a747829be0151736 Mon Sep 17 00:00:00 2001 From: "Chen, Bohan" Date: Sat, 11 May 2024 16:18:48 +0800 Subject: [PATCH] [Encode] Modify HDR params range check --- .../mfx_lib/encode_hw/av1/agnostic/base/av1ehw_base_hdr.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_studio/mfx_lib/encode_hw/av1/agnostic/base/av1ehw_base_hdr.cpp b/_studio/mfx_lib/encode_hw/av1/agnostic/base/av1ehw_base_hdr.cpp index 9df6cc0c38..55ca074565 100644 --- a/_studio/mfx_lib/encode_hw/av1/agnostic/base/av1ehw_base_hdr.cpp +++ b/_studio/mfx_lib/encode_hw/av1/agnostic/base/av1ehw_base_hdr.cpp @@ -52,10 +52,6 @@ inline mfxStatus CheckAndFixMasteringDisplayColourVolumeInfo(mfxExtMasteringDisp changed += CheckMaxOrClip(pMDCV->DisplayPrimariesY[0], 50000u); changed += CheckMaxOrClip(pMDCV->DisplayPrimariesY[1], 50000u); changed += CheckMaxOrClip(pMDCV->DisplayPrimariesY[2], 50000u); - changed += CheckMinOrClip(pMDCV->MaxDisplayMasteringLuminance, 1u); - changed += CheckMaxOrClip(pMDCV->MaxDisplayMasteringLuminance, 65535u); - changed += CheckMinOrClip(pMDCV->MinDisplayMasteringLuminance, 1u); - changed += CheckMaxOrClip(pMDCV->MinDisplayMasteringLuminance, 65535u); return changed ? MFX_WRN_INCOMPATIBLE_VIDEO_PARAM : MFX_ERR_NONE; }