Skip to content

Commit

Permalink
[VP] Fix RGBP 444 PL3 input Channel Swap Issue
Browse files Browse the repository at this point in the history
Fix RGBP 444 PL3 input Channel Swap Issue.
  • Loading branch information
VickyZengg authored and intel-mediadev committed Oct 11, 2024
1 parent 0db8036 commit ce9892c
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce9892c

Please sign in to comment.