Disable direct rendering of YUV444 using vaPutSurface()
It doesn't work as of libva 2.21 + iHD 24.2.5 despite the fact that the VAEntrypointVideoProc advertises VA_RT_FORMAT_YUV444.
This commit is contained in:
parent
d1dffdc34c
commit
b266f61ba6
1 changed files with 5 additions and 0 deletions
|
|
@ -548,6 +548,11 @@ VAAPIRenderer::isDirectRenderingSupported()
|
||||||
"Using indirect rendering for 10-bit video");
|
"Using indirect rendering for 10-bit video");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if (m_VideoFormat & VIDEO_FORMAT_MASK_YUV444) {
|
||||||
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
|
"Using indirect rendering for YUV 4:4:4 video");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
AVHWDeviceContext* deviceContext = (AVHWDeviceContext*)m_HwContext->data;
|
AVHWDeviceContext* deviceContext = (AVHWDeviceContext*)m_HwContext->data;
|
||||||
AVVAAPIDeviceContext* vaDeviceContext = (AVVAAPIDeviceContext*)deviceContext->hwctx;
|
AVVAAPIDeviceContext* vaDeviceContext = (AVVAAPIDeviceContext*)deviceContext->hwctx;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue