We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197841a commit 376eac5Copy full SHA for 376eac5
media_softlet/agnostic/common/vp/hal/packet/vp_vebox_cmd_packet.cpp
@@ -2336,7 +2336,10 @@ MOS_STATUS VpVeboxCmdPacket::SetUpdatedExecuteResource(
2336
VP_SURFACE_SETTING &surfSetting)
2337
{
2338
VP_FUNC_CALL();
2339
-
+ VP_RENDER_CHK_NULL_RETURN(inputSurface);
2340
+ VP_RENDER_CHK_NULL_RETURN(outputSurface);
2341
+ VP_RENDER_CHK_NULL_RETURN(inputSurface->osSurface);
2342
+ VP_RENDER_CHK_NULL_RETURN(outputSurface->osSurface);
2343
m_allocator->UpdateResourceUsageType(&inputSurface->osSurface->OsResource, MOS_HW_RESOURCE_USAGE_VP_INPUT_PICTURE_FF);
2344
m_allocator->UpdateResourceUsageType(&outputSurface->osSurface->OsResource, MOS_HW_RESOURCE_USAGE_VP_OUTPUT_PICTURE_FF);
2345
0 commit comments