Skip to content

Conversation

@dylanintel
Copy link

No description provided.

{
usleep(10000); //sleep 10ms for the first frame
iframe++;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add comments here for just work around, will fix later.

PDDI_MEDIA_CONTEXT mediaCtx = DdiMedia_GetMediaContext(ctx);
DDI_CHK_NULL(mediaCtx, "nullptr mediaCtx", VA_STATUS_ERROR_INVALID_CONTEXT);

mediaCtx->bBltMode = false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please initialize the bBltMode in the context initialize stage.

{
DDI_CHK_NULL(attrib_list, "nullptr attrib_list", VA_STATUS_ERROR_INVALID_PARAMETER);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why to add check here?

VPHAL_RENDER_ASSERT(pRenderState->GetRenderHalInterface());

pRenderer->pRender[VPHAL_RENDER_ID_VEBOX+pRenderer->uiCurrentChannel]->SetStatusReportParams(pRenderer, pRenderParams);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which place to initialize the "uiCurrentChannel"? Suggest to use VPHAL_RENDER_ID_BLITTER to find the render instance.

MOS_GPU_CONTEXT_COMPUTE = 14, //Compute Context
MOS_GPU_CONTEXT_CM_COMPUTE = 15, // MDF Compute
MOS_GPU_CONTEXT_MAX = 16,
MOS_GPU_CONTEXT_BLITTER = 17,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please define the MOS_GPU_CONTEXT_BLITTER before MOS_GPU_CONTEXT_MAX.

@hongbolv
Copy link

Please align the the code layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants