From ce9892cb812b214c9c3739fc5d02fe07d312adb1 Mon Sep 17 00:00:00 2001 From: Zeng_Vicky Date: Fri, 11 Oct 2024 18:42:25 +0800 Subject: [PATCH] [VP] Fix RGBP 444 PL3 input Channel Swap Issue Fix RGBP 444 PL3 input Channel Swap Issue. --- .../agnostic/common/vp/hal/features/vp_l0_fc_filter.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/media_softlet/agnostic/common/vp/hal/features/vp_l0_fc_filter.cpp b/media_softlet/agnostic/common/vp/hal/features/vp_l0_fc_filter.cpp index ab9bba4a9de..0d628ee1f28 100644 --- a/media_softlet/agnostic/common/vp/hal/features/vp_l0_fc_filter.cpp +++ b/media_softlet/agnostic/common/vp/hal/features/vp_l0_fc_filter.cpp @@ -1729,13 +1729,18 @@ MOS_STATUS VpL0FcFilter::ConvertInputChannelIndicesToKrnParam(MOS_FORMAT format, case Format_A16R16G16B16F: case Format_R5G6B5: case Format_R8G8B8: - case Format_RGBP: case Format_444P: inputChannelIndices[0] = 0; inputChannelIndices[1] = 1; inputChannelIndices[2] = 2; inputChannelIndices[3] = 3; break; + case Format_RGBP: + inputChannelIndices[0] = 2; + inputChannelIndices[1] = 0; + inputChannelIndices[2] = 1; + inputChannelIndices[3] = 3; + break; case Format_AYUV: inputChannelIndices[0] = 1; inputChannelIndices[1] = 2;