Skip to content

Minor fixes to plugin compilation and VA feature#19610

Merged
opencv-pushbot merged 2 commits intoopencv:masterfrom
mshabunin:plugin-va-compile
Feb 24, 2021
Merged

Minor fixes to plugin compilation and VA feature#19610
opencv-pushbot merged 2 commits intoopencv:masterfrom
mshabunin:plugin-va-compile

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin commented Feb 24, 2021

related #19470 and #19562

allow_multiple_commits=1

VERIFY HAVE_LIBREALSENSE)
OCV_OPTION(WITH_VA "Include VA support" ON
VISIBLE_IF UNIX AND NOT ANDROID
OCV_OPTION(WITH_VA "Include VA support" (X86_64 OR X86)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why do we need to restrict this for x86 only?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Although VA-API is not locked to this platform, I'm not aware of implementations on other platforms (see https://trac.ffmpeg.org/wiki/HWAccelIntro for example). Since we don't verify it we should disable it by default to avoid potential problems.

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

Thank you 👍

@opencv-pushbot opencv-pushbot merged commit 3a062ee into opencv:master Feb 24, 2021
@mshabunin mshabunin deleted the plugin-va-compile branch February 24, 2021 12:09
@alalek alalek mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants