frontends/va/postproc: do not use efc if image is to be translated
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10658 Signed-off-by: Thong Thai <thong.thai@amd.com> Tested-by: Andrej Benz <hello@benz.dev> Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27802>
This commit is contained in:
@@ -584,6 +584,8 @@ vlVaHandleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *contex
|
||||
if (!param->num_filters &&
|
||||
src_region->width == dst_region->width &&
|
||||
src_region->height == dst_region->height &&
|
||||
src_region->x == dst_region->x &&
|
||||
src_region->y == dst_region->y &&
|
||||
can_convert_with_efc(src_surface, dst_surface) &&
|
||||
pscreen->get_video_param(pscreen,
|
||||
PIPE_VIDEO_PROFILE_UNKNOWN,
|
||||
|
||||
Reference in New Issue
Block a user