Skip to content

Commit b6b4d77

Browse files
jiafengy1intel-mediadev
authored andcommitted
[VP] fix_coverity_2
fix coverity
1 parent bdd0998 commit b6b4d77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

media_softlet/agnostic/common/vp/hal/features/vp_filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ struct _SFC_CSC_PARAMS
187187
struct _SFC_ROT_MIR_PARAMS
188188
{
189189
VPHAL_ROTATION rotationMode; // Rotation mode -- 0, 90, 180 or 270
190-
uint32_t mirrorType; // Mirror Type -- vert/horiz
190+
int32_t mirrorType; // Mirror Type -- vert/horiz
191191
bool bMirrorEnable; // Mirror mode -- enable/disable
192192
};
193193

media_softlet/agnostic/common/vp/hal/packet/vp_render_hdr_kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4156,7 +4156,7 @@ MOS_STATUS VpRenderHdrKernel::GetCurbeState(void *&curbe, uint32_t &curbeLength)
41564156
m_hdrCurbe.DW58.TwoLayerOperationLayer0 = VPHAL_HDR_TWO_LAYER_OPTION_COMP;
41574157
}
41584158

4159-
m_hdrCurbe.DW63.FormatDescriptorDestination = FormatDescriptor;
4159+
m_hdrCurbe.DW63.FormatDescriptorDestination = (uint32_t)FormatDescriptor;
41604160
m_hdrCurbe.DW63.ChromaSittingLocationDestination = ChromaSiting;
41614161
m_hdrCurbe.DW63.ChannelSwapEnablingFlagDestination = bChannelSwap;
41624162

0 commit comments

Comments
 (0)