Class Video.CppProxy

  • All Implemented Interfaces:
    Video
    Enclosing interface:
    Video

    public static final class Video.CppProxy
    extends java.lang.Object
    implements Video
    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • getCurrentVideo

        public java.lang.String getCurrentVideo()
        Specified by:
        getCurrentVideo in interface Video
        Returns:
        current loaded video file (string).
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface Video
        Returns:
        current loaded video pixels width (int).
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface Video
        Returns:
        current loaded video pixels height (int).
      • load

        public void load​(java.lang.String videoPath,
                         VideoLoadingResultListener onLoadingFinished)
        Description copied from interface: Video
        Load video file for decoding.
        Specified by:
        load in interface Video
      • loadByFd

        public void loadByFd​(int fd,
                             VideoLoadingResultListener onLoadingFinished)
        Description copied from interface: Video
        Load video file for decoding by file descriptor.
        Specified by:
        loadByFd in interface Video
        Parameters:
        fd - (i32): file descriptor, should be closed on the caller side.
      • asMedia

        public Media asMedia()
        Description copied from interface: Video
        cast video to media parent class (media).
        Specified by:
        asMedia in interface Video
      • asImage

        public Image asImage()
        Specified by:
        asImage in interface Video
        Returns:
        upcast to image type
      • getRotationAngle

        public float getRotationAngle()
        Description copied from interface: Video
        Video own rotation angle
        Specified by:
        getRotationAngle in interface Video
      • setFilteringMode

        public void setFilteringMode​(TextureFilteringMode value)
        Description copied from interface: Video
        set gpu video texture filtering mode param mode (texture_filtering_mode)
        Specified by:
        setFilteringMode in interface Video