Class Video.CppProxy

java.lang.Object
com.banuba.sdk.scene.Video.CppProxy
All Implemented Interfaces:
Video
Enclosing interface:
Video

public static final class Video.CppProxy extends Object implements Video
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

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

      public 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(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
    • getFilteringMode

      public TextureFilteringMode getFilteringMode()
      Specified by:
      getFilteringMode in interface Video
      Returns:
      filtering mode (texture_filtering_mode)