Class Videoio


  • public class Videoio
    extends Object
    • Constructor Detail

      • Videoio

        public Videoio()
    • Method Detail

      • getBackendName

        public static String getBackendName​(int api)
        Returns backend API name or "UnknownVideoAPI(xxx)"
        Parameters:
        api - backend ID (#VideoCaptureAPIs)
        Returns:
        automatically generated
      • hasBackend

        public static boolean hasBackend​(int api)
        Returns true if backend is available
        Parameters:
        api - automatically generated
        Returns:
        automatically generated
      • isBackendBuiltIn

        public static boolean isBackendBuiltIn​(int api)
        Returns true if backend is built in (false if backend is used as plugin)
        Parameters:
        api - automatically generated
        Returns:
        automatically generated
      • getCameraBackendPluginVersion

        public static String getCameraBackendPluginVersion​(int api,
                                                           int[] version_ABI,
                                                           int[] version_API)
        Returns description and ABI/API version of videoio plugin's camera interface
        Parameters:
        api - automatically generated
        version_ABI - automatically generated
        version_API - automatically generated
        Returns:
        automatically generated
      • getStreamBackendPluginVersion

        public static String getStreamBackendPluginVersion​(int api,
                                                           int[] version_ABI,
                                                           int[] version_API)
        Returns description and ABI/API version of videoio plugin's stream capture interface
        Parameters:
        api - automatically generated
        version_ABI - automatically generated
        version_API - automatically generated
        Returns:
        automatically generated
      • getWriterBackendPluginVersion

        public static String getWriterBackendPluginVersion​(int api,
                                                           int[] version_ABI,
                                                           int[] version_API)
        Returns description and ABI/API version of videoio plugin's writer interface
        Parameters:
        api - automatically generated
        version_ABI - automatically generated
        version_API - automatically generated
        Returns:
        automatically generated